diff options
Diffstat (limited to 'libc/kernel/common/linux/videodev.h')
| -rw-r--r-- | libc/kernel/common/linux/videodev.h | 162 |
1 files changed, 81 insertions, 81 deletions
diff --git a/libc/kernel/common/linux/videodev.h b/libc/kernel/common/linux/videodev.h index ee55483..5899cad 100644 --- a/libc/kernel/common/linux/videodev.h +++ b/libc/kernel/common/linux/videodev.h @@ -22,23 +22,23 @@ #include <linux/ioctl.h> /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <linux/videodev2.h> -#define VID_TYPE_CAPTURE 1 -#define VID_TYPE_TUNER 2 -#define VID_TYPE_TELETEXT 4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VID_TYPE_OVERLAY 8 -#define VID_TYPE_CHROMAKEY 16 -#define VID_TYPE_CLIPPING 32 -#define VID_TYPE_FRAMERAM 64 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VID_TYPE_SCALES 128 -#define VID_TYPE_MONOCHROME 256 -#define VID_TYPE_SUBCAPTURE 512 -#define VID_TYPE_MPEG_DECODER 1024 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VID_TYPE_MPEG_ENCODER 2048 -#define VID_TYPE_MJPEG_DECODER 4096 -#define VID_TYPE_MJPEG_ENCODER 8192 +#define VID_TYPE_CAPTURE 1 +#define VID_TYPE_TUNER 2 +#define VID_TYPE_TELETEXT 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VID_TYPE_OVERLAY 8 +#define VID_TYPE_CHROMAKEY 16 +#define VID_TYPE_CLIPPING 32 +#define VID_TYPE_FRAMERAM 64 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VID_TYPE_SCALES 128 +#define VID_TYPE_MONOCHROME 256 +#define VID_TYPE_SUBCAPTURE 512 +#define VID_TYPE_MPEG_DECODER 1024 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VID_TYPE_MPEG_ENCODER 2048 +#define VID_TYPE_MJPEG_DECODER 4096 +#define VID_TYPE_MJPEG_ENCODER 8192 struct video_capability /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ { @@ -61,8 +61,8 @@ struct video_channel int tuners; __u32 flags; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_VC_TUNER 1 -#define VIDEO_VC_AUDIO 2 +#define VIDEO_VC_TUNER 1 +#define VIDEO_VC_AUDIO 2 __u16 type; #define VIDEO_TYPE_TV 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -81,12 +81,12 @@ struct video_tuner #define VIDEO_TUNER_NTSC 2 #define VIDEO_TUNER_SECAM 4 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_TUNER_LOW 8 -#define VIDEO_TUNER_NORM 16 -#define VIDEO_TUNER_STEREO_ON 128 -#define VIDEO_TUNER_RDS_ON 256 +#define VIDEO_TUNER_LOW 8 +#define VIDEO_TUNER_NORM 16 +#define VIDEO_TUNER_STEREO_ON 128 +#define VIDEO_TUNER_RDS_ON 256 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_TUNER_MBS_ON 512 +#define VIDEO_TUNER_MBS_ON 512 __u16 mode; #define VIDEO_MODE_PAL 0 #define VIDEO_MODE_NTSC 1 @@ -107,28 +107,28 @@ struct video_picture __u16 depth; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 palette; -#define VIDEO_PALETTE_GREY 1 -#define VIDEO_PALETTE_HI240 2 -#define VIDEO_PALETTE_RGB565 3 +#define VIDEO_PALETTE_GREY 1 +#define VIDEO_PALETTE_HI240 2 +#define VIDEO_PALETTE_RGB565 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_PALETTE_RGB24 4 -#define VIDEO_PALETTE_RGB32 5 -#define VIDEO_PALETTE_RGB555 6 -#define VIDEO_PALETTE_YUV422 7 +#define VIDEO_PALETTE_RGB24 4 +#define VIDEO_PALETTE_RGB32 5 +#define VIDEO_PALETTE_RGB555 6 +#define VIDEO_PALETTE_YUV422 7 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define VIDEO_PALETTE_YUYV 8 -#define VIDEO_PALETTE_UYVY 9 +#define VIDEO_PALETTE_UYVY 9 #define VIDEO_PALETTE_YUV420 10 -#define VIDEO_PALETTE_YUV411 11 +#define VIDEO_PALETTE_YUV411 11 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_PALETTE_RAW 12 -#define VIDEO_PALETTE_YUV422P 13 -#define VIDEO_PALETTE_YUV411P 14 -#define VIDEO_PALETTE_YUV420P 15 +#define VIDEO_PALETTE_RAW 12 +#define VIDEO_PALETTE_YUV422P 13 +#define VIDEO_PALETTE_YUV411P 14 +#define VIDEO_PALETTE_YUV420P 15 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_PALETTE_YUV410P 16 -#define VIDEO_PALETTE_PLANAR 13 -#define VIDEO_PALETTE_COMPONENT 7 +#define VIDEO_PALETTE_YUV410P 16 +#define VIDEO_PALETTE_PLANAR 13 +#define VIDEO_PALETTE_COMPONENT 7 }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct video_audio @@ -176,7 +176,7 @@ struct video_window int clipcount; #define VIDEO_WINDOW_INTERLACE 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDEO_WINDOW_CHROMAKEY 16 +#define VIDEO_WINDOW_CHROMAKEY 16 #define VIDEO_CLIP_BITMAP -1 #define VIDEO_CLIPMAP_SIZE (128 * 625) }; @@ -188,7 +188,7 @@ struct video_capture /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u16 decimation; __u16 flags; -#define VIDEO_CAPTURE_ODD 0 +#define VIDEO_CAPTURE_ODD 0 #define VIDEO_CAPTURE_EVEN 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; @@ -242,8 +242,8 @@ struct vbi_format { __u32 count[2]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u32 flags; -#define VBI_UNSYNC 1 -#define VBI_INTERLACED 2 +#define VBI_UNSYNC 1 +#define VBI_INTERLACED 2 }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct video_info @@ -273,43 +273,43 @@ struct video_code /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ __u8 *data; }; -#define VIDIOCGCAP _IOR('v',1,struct video_capability) -#define VIDIOCGCHAN _IOWR('v',2,struct video_channel) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCSCHAN _IOW('v',3,struct video_channel) -#define VIDIOCGTUNER _IOWR('v',4,struct video_tuner) -#define VIDIOCSTUNER _IOW('v',5,struct video_tuner) -#define VIDIOCGPICT _IOR('v',6,struct video_picture) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCSPICT _IOW('v',7,struct video_picture) -#define VIDIOCCAPTURE _IOW('v',8,int) -#define VIDIOCGWIN _IOR('v',9, struct video_window) -#define VIDIOCSWIN _IOW('v',10, struct video_window) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCGFBUF _IOR('v',11, struct video_buffer) -#define VIDIOCSFBUF _IOW('v',12, struct video_buffer) -#define VIDIOCKEY _IOR('v',13, struct video_key) -#define VIDIOCGFREQ _IOR('v',14, unsigned long) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCSFREQ _IOW('v',15, unsigned long) -#define VIDIOCGAUDIO _IOR('v',16, struct video_audio) -#define VIDIOCSAUDIO _IOW('v',17, struct video_audio) -#define VIDIOCSYNC _IOW('v',18, int) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCMCAPTURE _IOW('v',19, struct video_mmap) -#define VIDIOCGMBUF _IOR('v',20, struct video_mbuf) -#define VIDIOCGUNIT _IOR('v',21, struct video_unit) -#define VIDIOCGCAPTURE _IOR('v',22, struct video_capture) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCSCAPTURE _IOW('v',23, struct video_capture) -#define VIDIOCSPLAYMODE _IOW('v',24, struct video_play_mode) -#define VIDIOCSWRITEMODE _IOW('v',25, int) -#define VIDIOCGPLAYINFO _IOR('v',26, struct video_info) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define VIDIOCSMICROCODE _IOW('v',27, struct video_code) -#define VIDIOCGVBIFMT _IOR('v',28, struct vbi_format) -#define VIDIOCSVBIFMT _IOW('v',29, struct vbi_format) -#define BASE_VIDIOCPRIVATE 192 +#define VIDIOCGCAP _IOR('v',1,struct video_capability) +#define VIDIOCGCHAN _IOWR('v',2,struct video_channel) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCSCHAN _IOW('v',3,struct video_channel) +#define VIDIOCGTUNER _IOWR('v',4,struct video_tuner) +#define VIDIOCSTUNER _IOW('v',5,struct video_tuner) +#define VIDIOCGPICT _IOR('v',6,struct video_picture) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCSPICT _IOW('v',7,struct video_picture) +#define VIDIOCCAPTURE _IOW('v',8,int) +#define VIDIOCGWIN _IOR('v',9, struct video_window) +#define VIDIOCSWIN _IOW('v',10, struct video_window) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCGFBUF _IOR('v',11, struct video_buffer) +#define VIDIOCSFBUF _IOW('v',12, struct video_buffer) +#define VIDIOCKEY _IOR('v',13, struct video_key) +#define VIDIOCGFREQ _IOR('v',14, unsigned long) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCSFREQ _IOW('v',15, unsigned long) +#define VIDIOCGAUDIO _IOR('v',16, struct video_audio) +#define VIDIOCSAUDIO _IOW('v',17, struct video_audio) +#define VIDIOCSYNC _IOW('v',18, int) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCMCAPTURE _IOW('v',19, struct video_mmap) +#define VIDIOCGMBUF _IOR('v',20, struct video_mbuf) +#define VIDIOCGUNIT _IOR('v',21, struct video_unit) +#define VIDIOCGCAPTURE _IOR('v',22, struct video_capture) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCSCAPTURE _IOW('v',23, struct video_capture) +#define VIDIOCSPLAYMODE _IOW('v',24, struct video_play_mode) +#define VIDIOCSWRITEMODE _IOW('v',25, int) +#define VIDIOCGPLAYINFO _IOR('v',26, struct video_info) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VIDIOCSMICROCODE _IOW('v',27, struct video_code) +#define VIDIOCGVBIFMT _IOR('v',28, struct vbi_format) +#define VIDIOCSVBIFMT _IOW('v',29, struct vbi_format) +#define BASE_VIDIOCPRIVATE 192 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define VID_WRITE_MPEG_AUD 0 #define VID_WRITE_MPEG_VID 1 |
