FACT++  1.0
videodev.h File Reference
#include <linux/types.h>
+ Include dependency graph for videodev.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  video_capability
 
struct  video_channel
 
struct  video_tuner
 
struct  video_picture
 
struct  video_audio
 
struct  video_clip
 
struct  video_window
 
struct  video_capture
 
struct  video_buffer
 
struct  video_mmap
 
struct  video_key
 
struct  video_mbuf
 
struct  video_unit
 
struct  video_init
 

Macros

#define VID_TYPE_CAPTURE   1 /* Can capture */
 
#define VID_TYPE_TUNER   2 /* Can tune */
 
#define VID_TYPE_TELETEXT   4 /* Does teletext */
 
#define VID_TYPE_OVERLAY   8 /* Overlay onto frame buffer */
 
#define VID_TYPE_CHROMAKEY   16 /* Overlay by chromakey */
 
#define VID_TYPE_CLIPPING   32 /* Can clip */
 
#define VID_TYPE_FRAMERAM   64 /* Uses the frame buffer memory */
 
#define VID_TYPE_SCALES   128 /* Scalable */
 
#define VID_TYPE_MONOCHROME   256 /* Monochrome only */
 
#define VID_TYPE_SUBCAPTURE   512 /* Can capture subareas of the image */
 
#define VIDEO_VC_TUNER   1 /* Channel has a tuner */
 
#define VIDEO_VC_AUDIO   2 /* Channel has audio */
 
#define VIDEO_TYPE_TV   1
 
#define VIDEO_TYPE_CAMERA   2
 
#define VIDEO_TUNER_PAL   1
 
#define VIDEO_TUNER_NTSC   2
 
#define VIDEO_TUNER_SECAM   4
 
#define VIDEO_TUNER_LOW   8 /* Uses KHz not MHz */
 
#define VIDEO_TUNER_NORM   16 /* Tuner can set norm */
 
#define VIDEO_TUNER_STEREO_ON   128 /* Tuner is seeing stereo */
 
#define VIDEO_MODE_PAL   0
 
#define VIDEO_MODE_NTSC   1
 
#define VIDEO_MODE_SECAM   2
 
#define VIDEO_MODE_AUTO   3
 
#define VIDEO_PALETTE_GREY   1 /* Linear greyscale */
 
#define VIDEO_PALETTE_HI240   2 /* High 240 cube (BT848) */
 
#define VIDEO_PALETTE_RGB565   3 /* 565 16 bit RGB */
 
#define VIDEO_PALETTE_RGB24   4 /* 24bit RGB */
 
#define VIDEO_PALETTE_RGB32   5 /* 32bit RGB */
 
#define VIDEO_PALETTE_RGB555   6 /* 555 15bit RGB */
 
#define VIDEO_PALETTE_YUV422   7 /* YUV422 capture */
 
#define VIDEO_PALETTE_YUYV   8
 
#define VIDEO_PALETTE_UYVY   9 /* The great thing about standards is ... */
 
#define VIDEO_PALETTE_YUV420   10
 
#define VIDEO_PALETTE_YUV411   11 /* YUV411 capture */
 
#define VIDEO_PALETTE_RAW   12 /* RAW capture (BT848) */
 
#define VIDEO_PALETTE_YUV422P   13 /* YUV 4:2:2 Planar */
 
#define VIDEO_PALETTE_YUV411P   14 /* YUV 4:1:1 Planar */
 
#define VIDEO_PALETTE_YUV420P   15 /* YUV 4:2:0 Planar */
 
#define VIDEO_PALETTE_YUV410P   16 /* YUV 4:1:0 Planar */
 
#define VIDEO_PALETTE_PLANAR   13 /* start of planar entries */
 
#define VIDEO_PALETTE_COMPONENT   7 /* start of component entries */
 
#define VIDEO_AUDIO_MUTE   1
 
#define VIDEO_AUDIO_MUTABLE   2
 
#define VIDEO_AUDIO_VOLUME   4
 
#define VIDEO_AUDIO_BASS   8
 
#define VIDEO_AUDIO_TREBLE   16
 
#define VIDEO_SOUND_MONO   1
 
#define VIDEO_SOUND_STEREO   2
 
#define VIDEO_SOUND_LANG1   4
 
#define VIDEO_SOUND_LANG2   8
 
#define VIDEO_WINDOW_INTERLACE   1
 
#define VIDEO_CLIP_BITMAP   -1
 
#define VIDEO_CLIPMAP_SIZE   (128 * 625)
 
#define VIDEO_CAPTURE_ODD   0 /* Temporal */
 
#define VIDEO_CAPTURE_EVEN   1
 
#define VIDEO_MAX_FRAME   32
 
#define VIDEO_NO_UNIT   (-1)
 
#define VIDIOCGCAP   _IOR('v',1,struct video_capability) /* Get capabilities */
 
#define VIDIOCGCHAN   _IOWR('v',2,struct video_channel) /* Get channel info (sources) */
 
#define VIDIOCSCHAN   _IOW('v',3,struct video_channel) /* Set channel */
 
#define VIDIOCGTUNER   _IOWR('v',4,struct video_tuner) /* Get tuner abilities */
 
#define VIDIOCSTUNER   _IOW('v',5,struct video_tuner) /* Tune the tuner for the current channel */
 
#define VIDIOCGPICT   _IOR('v',6,struct video_picture) /* Get picture properties */
 
#define VIDIOCSPICT   _IOW('v',7,struct video_picture) /* Set picture properties */
 
#define VIDIOCCAPTURE   _IOW('v',8,int) /* Start, end capture */
 
#define VIDIOCGWIN   _IOR('v',9, struct video_window) /* Set the video overlay window */
 
#define VIDIOCSWIN   _IOW('v',10, struct video_window) /* Set the video overlay window - passes clip list for hardware smarts , chromakey etc */
 
#define VIDIOCGFBUF   _IOR('v',11, struct video_buffer) /* Get frame buffer */
 
#define VIDIOCSFBUF   _IOW('v',12, struct video_buffer) /* Set frame buffer - root only */
 
#define VIDIOCKEY   _IOR('v',13, struct video_key) /* Video key event - to dev 255 is to all - cuts capture on all DMA windows with this key (0xFFFFFFFF == all) */
 
#define VIDIOCGFREQ   _IOR('v',14, unsigned long) /* Set tuner */
 
#define VIDIOCSFREQ   _IOW('v',15, unsigned long) /* Set tuner */
 
#define VIDIOCGAUDIO   _IOR('v',16, struct video_audio) /* Get audio info */
 
#define VIDIOCSAUDIO   _IOW('v',17, struct video_audio) /* Audio source, mute etc */
 
#define VIDIOCSYNC   _IOW('v',18, int) /* Sync with mmap grabbing */
 
#define VIDIOCMCAPTURE   _IOW('v',19, struct video_mmap) /* Grab frames */
 
#define VIDIOCGMBUF   _IOR('v', 20, struct video_mbuf) /* Memory map buffer info */
 
#define VIDIOCGUNIT   _IOR('v', 21, struct video_unit) /* Get attached units */
 
#define VIDIOCGCAPTURE   _IOR('v',22, struct video_capture) /* Get frame buffer */
 
#define VIDIOCSCAPTURE   _IOW('v',23, struct video_capture) /* Set frame buffer - root only */
 
#define BASE_VIDIOCPRIVATE   192 /* 192-255 are private */
 
#define VID_HARDWARE_BT848   1
 
#define VID_HARDWARE_QCAM_BW   2
 
#define VID_HARDWARE_PMS   3
 
#define VID_HARDWARE_QCAM_C   4
 
#define VID_HARDWARE_PSEUDO   5
 
#define VID_HARDWARE_SAA5249   6
 
#define VID_HARDWARE_AZTECH   7
 
#define VID_HARDWARE_SF16MI   8
 
#define VID_HARDWARE_RTRACK   9
 
#define VID_HARDWARE_ZOLTRIX   10
 
#define VID_HARDWARE_SAA7146   11
 
#define VID_HARDWARE_VIDEUM   12 /* Reserved for Winnov videum */
 
#define VID_HARDWARE_RTRACK2   13
 
#define VID_HARDWARE_PERMEDIA2   14 /* Reserved for Permedia2 */
 
#define VID_HARDWARE_RIVA128   15 /* Reserved for RIVA 128 */