1 #ifndef __LINUX_VIDEODEV_H 2 #define __LINUX_VIDEODEV_H 4 #include <linux/types.h> 47 #define VID_TYPE_CAPTURE 1 48 #define VID_TYPE_TUNER 2 49 #define VID_TYPE_TELETEXT 4 50 #define VID_TYPE_OVERLAY 8 51 #define VID_TYPE_CHROMAKEY 16 52 #define VID_TYPE_CLIPPING 32 53 #define VID_TYPE_FRAMERAM 64 54 #define VID_TYPE_SCALES 128 55 #define VID_TYPE_MONOCHROME 256 56 #define VID_TYPE_SUBCAPTURE 512 77 #define VIDEO_VC_TUNER 1 78 #define VIDEO_VC_AUDIO 2 80 #define VIDEO_TYPE_TV 1 81 #define VIDEO_TYPE_CAMERA 2 91 #define VIDEO_TUNER_PAL 1 92 #define VIDEO_TUNER_NTSC 2 93 #define VIDEO_TUNER_SECAM 4 94 #define VIDEO_TUNER_LOW 8 95 #define VIDEO_TUNER_NORM 16 96 #define VIDEO_TUNER_STEREO_ON 128 98 #define VIDEO_MODE_PAL 0 99 #define VIDEO_MODE_NTSC 1 100 #define VIDEO_MODE_SECAM 2 101 #define VIDEO_MODE_AUTO 3 114 #define VIDEO_PALETTE_GREY 1 115 #define VIDEO_PALETTE_HI240 2 116 #define VIDEO_PALETTE_RGB565 3 117 #define VIDEO_PALETTE_RGB24 4 118 #define VIDEO_PALETTE_RGB32 5 119 #define VIDEO_PALETTE_RGB555 6 120 #define VIDEO_PALETTE_YUV422 7 121 #define VIDEO_PALETTE_YUYV 8 122 #define VIDEO_PALETTE_UYVY 9 123 #define VIDEO_PALETTE_YUV420 10 124 #define VIDEO_PALETTE_YUV411 11 125 #define VIDEO_PALETTE_RAW 12 126 #define VIDEO_PALETTE_YUV422P 13 127 #define VIDEO_PALETTE_YUV411P 14 128 #define VIDEO_PALETTE_YUV420P 15 129 #define VIDEO_PALETTE_YUV410P 16 130 #define VIDEO_PALETTE_PLANAR 13 131 #define VIDEO_PALETTE_COMPONENT 7 140 #define VIDEO_AUDIO_MUTE 1 141 #define VIDEO_AUDIO_MUTABLE 2 142 #define VIDEO_AUDIO_VOLUME 4 143 #define VIDEO_AUDIO_BASS 8 144 #define VIDEO_AUDIO_TREBLE 16 146 #define VIDEO_SOUND_MONO 1 147 #define VIDEO_SOUND_STEREO 2 148 #define VIDEO_SOUND_LANG1 4 149 #define VIDEO_SOUND_LANG2 8 170 #define VIDEO_WINDOW_INTERLACE 1 171 #define VIDEO_CLIP_BITMAP -1 173 #define VIDEO_CLIPMAP_SIZE (128 * 625) 182 #define VIDEO_CAPTURE_ODD 0 183 #define VIDEO_CAPTURE_EVEN 1 208 #define VIDEO_MAX_FRAME 32 218 #define VIDEO_NO_UNIT (-1) 230 #define VIDIOCGCAP _IOR('v',1,struct video_capability) 231 #define VIDIOCGCHAN _IOWR('v',2,struct video_channel) 232 #define VIDIOCSCHAN _IOW('v',3,struct video_channel) 233 #define VIDIOCGTUNER _IOWR('v',4,struct video_tuner) 234 #define VIDIOCSTUNER _IOW('v',5,struct video_tuner) 235 #define VIDIOCGPICT _IOR('v',6,struct video_picture) 236 #define VIDIOCSPICT _IOW('v',7,struct video_picture) 237 #define VIDIOCCAPTURE _IOW('v',8,int) 238 #define VIDIOCGWIN _IOR('v',9, struct video_window) 239 #define VIDIOCSWIN _IOW('v',10, struct video_window) 240 #define VIDIOCGFBUF _IOR('v',11, struct video_buffer) 241 #define VIDIOCSFBUF _IOW('v',12, struct video_buffer) 242 #define VIDIOCKEY _IOR('v',13, struct video_key) 243 #define VIDIOCGFREQ _IOR('v',14, unsigned long) 244 #define VIDIOCSFREQ _IOW('v',15, unsigned long) 245 #define VIDIOCGAUDIO _IOR('v',16, struct video_audio) 246 #define VIDIOCSAUDIO _IOW('v',17, struct video_audio) 247 #define VIDIOCSYNC _IOW('v',18, int) 248 #define VIDIOCMCAPTURE _IOW('v',19, struct video_mmap) 249 #define VIDIOCGMBUF _IOR('v', 20, struct video_mbuf) 250 #define VIDIOCGUNIT _IOR('v', 21, struct video_unit) 251 #define VIDIOCGCAPTURE _IOR('v',22, struct video_capture) 252 #define VIDIOCSCAPTURE _IOW('v',23, struct video_capture) 254 #define BASE_VIDIOCPRIVATE 192 257 #define VID_HARDWARE_BT848 1 258 #define VID_HARDWARE_QCAM_BW 2 259 #define VID_HARDWARE_PMS 3 260 #define VID_HARDWARE_QCAM_C 4 261 #define VID_HARDWARE_PSEUDO 5 262 #define VID_HARDWARE_SAA5249 6 263 #define VID_HARDWARE_AZTECH 7 264 #define VID_HARDWARE_SF16MI 8 265 #define VID_HARDWARE_RTRACK 9 266 #define VID_HARDWARE_ZOLTRIX 10 267 #define VID_HARDWARE_SAA7146 11 268 #define VID_HARDWARE_VIDEUM 12 269 #define VID_HARDWARE_RTRACK2 13 270 #define VID_HARDWARE_PERMEDIA2 14 271 #define VID_HARDWARE_RIVA128 15
struct video_clip * clips