38 #ifndef __V4LCAPTURE__H_
39 #define __V4LCAPTURE__H_
54 #include <sys/ioctl.h>
58 #include <linux/kernel.h>
60 #include <sys/types.h>
61 #include <linux/videodev.h>
69 #ifndef VIDEO_PALETTE_JPEG
70 #define VIDEO_PALETTE_JPEG 21
74 #define FG_DEFAULT_DEVICE "/dev/video0"
77 #define FG_DEFAULT_WIDTH 640
78 #define FG_DEFAULT_HEIGHT 480
81 #define FG_PERCENT(n) ((n)*65535/100)
82 #define FG_50PC FG_PERCENT(50)
85 #define FG_SOURCE_TV 0
86 #define FG_SOURCE_COMPOSITE 1
87 #define FG_SOURCE_SVIDEO 2
103 struct video_capability caps;
104 struct video_channel* sources;
106 struct video_tuner tuner;
107 struct video_window window;
108 struct video_picture picture;
109 struct video_mmap mmap;
110 struct video_buffer fbuffer;
111 struct video_mbuf mbuf;
327 int x,
int y,
int width,
int height );
Definition: v4lcapture.h:100
Definition: v4lframe.h:64