Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
videodev2.h File Reference
#include <sys/time.h>
#include <linux/compiler.h>
#include <linux/ioctl.h>
#include <linux/types.h>
#include <linux/v4l2-common.h>
#include <linux/v4l2-controls.h>

Go to the source code of this file.

Data Structures

struct  v4l2_rect
 
struct  v4l2_fract
 
struct  v4l2_capability
 
struct  v4l2_pix_format
 
struct  v4l2_fmtdesc
 
struct  v4l2_frmsize_discrete
 
struct  v4l2_frmsize_stepwise
 
struct  v4l2_frmsizeenum
 
struct  v4l2_frmival_stepwise
 
struct  v4l2_frmivalenum
 
struct  v4l2_timecode
 
struct  v4l2_jpegcompression
 
struct  v4l2_requestbuffers
 
struct  v4l2_plane
 
struct  v4l2_buffer
 
struct  v4l2_framebuffer
 
struct  v4l2_clip
 
struct  v4l2_window
 
struct  v4l2_captureparm
 
struct  v4l2_outputparm
 
struct  v4l2_cropcap
 
struct  v4l2_crop
 
struct  v4l2_selection
 
struct  v4l2_standard
 
struct  v4l2_dv_preset
 
struct  v4l2_dv_enum_preset
 
struct  v4l2_bt_timings
 
struct  v4l2_dv_timings
 
struct  v4l2_enum_dv_timings
 
struct  v4l2_bt_timings_cap
 
struct  v4l2_dv_timings_cap
 
struct  v4l2_input
 
struct  v4l2_output
 
struct  v4l2_control
 
struct  v4l2_ext_control
 
struct  v4l2_ext_controls
 
struct  v4l2_queryctrl
 
struct  v4l2_querymenu
 
struct  v4l2_tuner
 
struct  v4l2_modulator
 
struct  v4l2_frequency
 
struct  v4l2_frequency_band
 
struct  v4l2_hw_freq_seek
 
struct  v4l2_rds_data
 
struct  v4l2_audio
 
struct  v4l2_audioout
 
struct  v4l2_enc_idx_entry
 
struct  v4l2_enc_idx
 
struct  v4l2_encoder_cmd
 
struct  v4l2_decoder_cmd
 
struct  v4l2_vbi_format
 
struct  v4l2_sliced_vbi_format
 
struct  v4l2_sliced_vbi_cap
 
struct  v4l2_sliced_vbi_data
 
struct  v4l2_mpeg_vbi_itv0_line
 
struct  v4l2_mpeg_vbi_itv0
 
struct  v4l2_mpeg_vbi_ITV0
 
struct  v4l2_mpeg_vbi_fmt_ivtv
 
struct  v4l2_plane_pix_format
 
struct  v4l2_pix_format_mplane
 
struct  v4l2_format
 
struct  v4l2_streamparm
 
struct  v4l2_event_vsync
 
struct  v4l2_event_ctrl
 
struct  v4l2_event_frame_sync
 
struct  v4l2_event
 
struct  v4l2_event_subscription
 
struct  v4l2_dbg_match
 
struct  v4l2_dbg_register
 
struct  v4l2_dbg_chip_ident
 
struct  v4l2_create_buffers
 

Macros

#define VIDEO_MAX_FRAME   32
 
#define VIDEO_MAX_PLANES   8
 
#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 VID_TYPE_MPEG_DECODER   1024 /* Can decode MPEG streams */
 
#define VID_TYPE_MPEG_ENCODER   2048 /* Can encode MPEG streams */
 
#define VID_TYPE_MJPEG_DECODER   4096 /* Can decode MJPEG streams */
 
#define VID_TYPE_MJPEG_ENCODER   8192 /* Can encode MJPEG streams */
 
#define v4l2_fourcc(a, b, c, d)   ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) << 24))
 
#define V4L2_FIELD_HAS_TOP(field)
 
#define V4L2_FIELD_HAS_BOTTOM(field)
 
#define V4L2_FIELD_HAS_BOTH(field)
 
#define V4L2_TYPE_IS_MULTIPLANAR(type)
 
#define V4L2_TYPE_IS_OUTPUT(type)
 
#define V4L2_CAP_VIDEO_CAPTURE   0x00000001 /* Is a video capture device */
 
#define V4L2_CAP_VIDEO_OUTPUT   0x00000002 /* Is a video output device */
 
#define V4L2_CAP_VIDEO_OVERLAY   0x00000004 /* Can do video overlay */
 
#define V4L2_CAP_VBI_CAPTURE   0x00000010 /* Is a raw VBI capture device */
 
#define V4L2_CAP_VBI_OUTPUT   0x00000020 /* Is a raw VBI output device */
 
#define V4L2_CAP_SLICED_VBI_CAPTURE   0x00000040 /* Is a sliced VBI capture device */
 
#define V4L2_CAP_SLICED_VBI_OUTPUT   0x00000080 /* Is a sliced VBI output device */
 
#define V4L2_CAP_RDS_CAPTURE   0x00000100 /* RDS data capture */
 
#define V4L2_CAP_VIDEO_OUTPUT_OVERLAY   0x00000200 /* Can do video output overlay */
 
#define V4L2_CAP_HW_FREQ_SEEK   0x00000400 /* Can do hardware frequency seek */
 
#define V4L2_CAP_RDS_OUTPUT   0x00000800 /* Is an RDS encoder */
 
#define V4L2_CAP_VIDEO_CAPTURE_MPLANE   0x00001000
 
#define V4L2_CAP_VIDEO_OUTPUT_MPLANE   0x00002000
 
#define V4L2_CAP_VIDEO_M2M_MPLANE   0x00004000
 
#define V4L2_CAP_VIDEO_M2M   0x00008000
 
#define V4L2_CAP_TUNER   0x00010000 /* has a tuner */
 
#define V4L2_CAP_AUDIO   0x00020000 /* has audio support */
 
#define V4L2_CAP_RADIO   0x00040000 /* is a radio device */
 
#define V4L2_CAP_MODULATOR   0x00080000 /* has a modulator */
 
#define V4L2_CAP_READWRITE   0x01000000 /* read/write systemcalls */
 
#define V4L2_CAP_ASYNCIO   0x02000000 /* async I/O */
 
#define V4L2_CAP_STREAMING   0x04000000 /* streaming I/O ioctls */
 
#define V4L2_CAP_DEVICE_CAPS   0x80000000 /* sets device capabilities field */
 
#define V4L2_PIX_FMT_RGB332   v4l2_fourcc('R', 'G', 'B', '1') /* 8 RGB-3-3-2 */
 
#define V4L2_PIX_FMT_RGB444   v4l2_fourcc('R', '4', '4', '4') /* 16 xxxxrrrr ggggbbbb */
 
#define V4L2_PIX_FMT_RGB555   v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */
 
#define V4L2_PIX_FMT_RGB565   v4l2_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
 
#define V4L2_PIX_FMT_RGB555X   v4l2_fourcc('R', 'G', 'B', 'Q') /* 16 RGB-5-5-5 BE */
 
#define V4L2_PIX_FMT_RGB565X   v4l2_fourcc('R', 'G', 'B', 'R') /* 16 RGB-5-6-5 BE */
 
#define V4L2_PIX_FMT_BGR666   v4l2_fourcc('B', 'G', 'R', 'H') /* 18 BGR-6-6-6 */
 
#define V4L2_PIX_FMT_BGR24   v4l2_fourcc('B', 'G', 'R', '3') /* 24 BGR-8-8-8 */
 
#define V4L2_PIX_FMT_RGB24   v4l2_fourcc('R', 'G', 'B', '3') /* 24 RGB-8-8-8 */
 
#define V4L2_PIX_FMT_BGR32   v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */
 
#define V4L2_PIX_FMT_RGB32   v4l2_fourcc('R', 'G', 'B', '4') /* 32 RGB-8-8-8-8 */
 
#define V4L2_PIX_FMT_GREY   v4l2_fourcc('G', 'R', 'E', 'Y') /* 8 Greyscale */
 
#define V4L2_PIX_FMT_Y4   v4l2_fourcc('Y', '0', '4', ' ') /* 4 Greyscale */
 
#define V4L2_PIX_FMT_Y6   v4l2_fourcc('Y', '0', '6', ' ') /* 6 Greyscale */
 
#define V4L2_PIX_FMT_Y10   v4l2_fourcc('Y', '1', '0', ' ') /* 10 Greyscale */
 
#define V4L2_PIX_FMT_Y12   v4l2_fourcc('Y', '1', '2', ' ') /* 12 Greyscale */
 
#define V4L2_PIX_FMT_Y16   v4l2_fourcc('Y', '1', '6', ' ') /* 16 Greyscale */
 
#define V4L2_PIX_FMT_Y10BPACK   v4l2_fourcc('Y', '1', '0', 'B') /* 10 Greyscale bit-packed */
 
#define V4L2_PIX_FMT_PAL8   v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */
 
#define V4L2_PIX_FMT_YVU410   v4l2_fourcc('Y', 'V', 'U', '9') /* 9 YVU 4:1:0 */
 
#define V4L2_PIX_FMT_YVU420   v4l2_fourcc('Y', 'V', '1', '2') /* 12 YVU 4:2:0 */
 
#define V4L2_PIX_FMT_YUYV   v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */
 
#define V4L2_PIX_FMT_YYUV   v4l2_fourcc('Y', 'Y', 'U', 'V') /* 16 YUV 4:2:2 */
 
#define V4L2_PIX_FMT_YVYU   v4l2_fourcc('Y', 'V', 'Y', 'U') /* 16 YVU 4:2:2 */
 
#define V4L2_PIX_FMT_UYVY   v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */
 
#define V4L2_PIX_FMT_VYUY   v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */
 
#define V4L2_PIX_FMT_YUV422P   v4l2_fourcc('4', '2', '2', 'P') /* 16 YVU422 planar */
 
#define V4L2_PIX_FMT_YUV411P   v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */
 
#define V4L2_PIX_FMT_Y41P   v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */
 
#define V4L2_PIX_FMT_YUV444   v4l2_fourcc('Y', '4', '4', '4') /* 16 xxxxyyyy uuuuvvvv */
 
#define V4L2_PIX_FMT_YUV555   v4l2_fourcc('Y', 'U', 'V', 'O') /* 16 YUV-5-5-5 */
 
#define V4L2_PIX_FMT_YUV565   v4l2_fourcc('Y', 'U', 'V', 'P') /* 16 YUV-5-6-5 */
 
#define V4L2_PIX_FMT_YUV32   v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */
 
#define V4L2_PIX_FMT_YUV410   v4l2_fourcc('Y', 'U', 'V', '9') /* 9 YUV 4:1:0 */
 
#define V4L2_PIX_FMT_YUV420   v4l2_fourcc('Y', 'U', '1', '2') /* 12 YUV 4:2:0 */
 
#define V4L2_PIX_FMT_HI240   v4l2_fourcc('H', 'I', '2', '4') /* 8 8-bit color */
 
#define V4L2_PIX_FMT_HM12   v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */
 
#define V4L2_PIX_FMT_M420   v4l2_fourcc('M', '4', '2', '0') /* 12 YUV 4:2:0 2 lines y, 1 line uv interleaved */
 
#define V4L2_PIX_FMT_NV12   v4l2_fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */
 
#define V4L2_PIX_FMT_NV21   v4l2_fourcc('N', 'V', '2', '1') /* 12 Y/CrCb 4:2:0 */
 
#define V4L2_PIX_FMT_NV16   v4l2_fourcc('N', 'V', '1', '6') /* 16 Y/CbCr 4:2:2 */
 
#define V4L2_PIX_FMT_NV61   v4l2_fourcc('N', 'V', '6', '1') /* 16 Y/CrCb 4:2:2 */
 
#define V4L2_PIX_FMT_NV24   v4l2_fourcc('N', 'V', '2', '4') /* 24 Y/CbCr 4:4:4 */
 
#define V4L2_PIX_FMT_NV42   v4l2_fourcc('N', 'V', '4', '2') /* 24 Y/CrCb 4:4:4 */
 
#define V4L2_PIX_FMT_NV12M   v4l2_fourcc('N', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 */
 
#define V4L2_PIX_FMT_NV21M   v4l2_fourcc('N', 'M', '2', '1') /* 21 Y/CrCb 4:2:0 */
 
#define V4L2_PIX_FMT_NV12MT   v4l2_fourcc('T', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 64x32 macroblocks */
 
#define V4L2_PIX_FMT_NV12MT_16X16   v4l2_fourcc('V', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 macroblocks */
 
#define V4L2_PIX_FMT_YUV420M   v4l2_fourcc('Y', 'M', '1', '2') /* 12 YUV420 planar */
 
#define V4L2_PIX_FMT_YVU420M   v4l2_fourcc('Y', 'M', '2', '1') /* 12 YVU420 planar */
 
#define V4L2_PIX_FMT_SBGGR8   v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */
 
#define V4L2_PIX_FMT_SGBRG8   v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */
 
#define V4L2_PIX_FMT_SGRBG8   v4l2_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */
 
#define V4L2_PIX_FMT_SRGGB8   v4l2_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */
 
#define V4L2_PIX_FMT_SBGGR10   v4l2_fourcc('B', 'G', '1', '0') /* 10 BGBG.. GRGR.. */
 
#define V4L2_PIX_FMT_SGBRG10   v4l2_fourcc('G', 'B', '1', '0') /* 10 GBGB.. RGRG.. */
 
#define V4L2_PIX_FMT_SGRBG10   v4l2_fourcc('B', 'A', '1', '0') /* 10 GRGR.. BGBG.. */
 
#define V4L2_PIX_FMT_SRGGB10   v4l2_fourcc('R', 'G', '1', '0') /* 10 RGRG.. GBGB.. */
 
#define V4L2_PIX_FMT_SBGGR12   v4l2_fourcc('B', 'G', '1', '2') /* 12 BGBG.. GRGR.. */
 
#define V4L2_PIX_FMT_SGBRG12   v4l2_fourcc('G', 'B', '1', '2') /* 12 GBGB.. RGRG.. */
 
#define V4L2_PIX_FMT_SGRBG12   v4l2_fourcc('B', 'A', '1', '2') /* 12 GRGR.. BGBG.. */
 
#define V4L2_PIX_FMT_SRGGB12   v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */
 
#define V4L2_PIX_FMT_SBGGR10DPCM8   v4l2_fourcc('b', 'B', 'A', '8')
 
#define V4L2_PIX_FMT_SGBRG10DPCM8   v4l2_fourcc('b', 'G', 'A', '8')
 
#define V4L2_PIX_FMT_SGRBG10DPCM8   v4l2_fourcc('B', 'D', '1', '0')
 
#define V4L2_PIX_FMT_SRGGB10DPCM8   v4l2_fourcc('b', 'R', 'A', '8')
 
#define V4L2_PIX_FMT_SBGGR16   v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */
 
#define V4L2_PIX_FMT_MJPEG   v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */
 
#define V4L2_PIX_FMT_JPEG   v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */
 
#define V4L2_PIX_FMT_DV   v4l2_fourcc('d', 'v', 's', 'd') /* 1394 */
 
#define V4L2_PIX_FMT_MPEG   v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 Multiplexed */
 
#define V4L2_PIX_FMT_H264   v4l2_fourcc('H', '2', '6', '4') /* H264 with start codes */
 
#define V4L2_PIX_FMT_H264_NO_SC   v4l2_fourcc('A', 'V', 'C', '1') /* H264 without start codes */
 
#define V4L2_PIX_FMT_H264_MVC   v4l2_fourcc('M', '2', '6', '4') /* H264 MVC */
 
#define V4L2_PIX_FMT_H263   v4l2_fourcc('H', '2', '6', '3') /* H263 */
 
#define V4L2_PIX_FMT_MPEG1   v4l2_fourcc('M', 'P', 'G', '1') /* MPEG-1 ES */
 
#define V4L2_PIX_FMT_MPEG2   v4l2_fourcc('M', 'P', 'G', '2') /* MPEG-2 ES */
 
#define V4L2_PIX_FMT_MPEG4   v4l2_fourcc('M', 'P', 'G', '4') /* MPEG-4 ES */
 
#define V4L2_PIX_FMT_XVID   v4l2_fourcc('X', 'V', 'I', 'D') /* Xvid */
 
#define V4L2_PIX_FMT_VC1_ANNEX_G   v4l2_fourcc('V', 'C', '1', 'G') /* SMPTE 421M Annex G compliant stream */
 
#define V4L2_PIX_FMT_VC1_ANNEX_L   v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */
 
#define V4L2_PIX_FMT_VP8   v4l2_fourcc('V', 'P', '8', '0') /* VP8 */
 
#define V4L2_PIX_FMT_CPIA1   v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */
 
#define V4L2_PIX_FMT_WNVA   v4l2_fourcc('W', 'N', 'V', 'A') /* Winnov hw compress */
 
#define V4L2_PIX_FMT_SN9C10X   v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
 
#define V4L2_PIX_FMT_SN9C20X_I420   v4l2_fourcc('S', '9', '2', '0') /* SN9C20x YUV 4:2:0 */
 
#define V4L2_PIX_FMT_PWC1   v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam */
 
#define V4L2_PIX_FMT_PWC2   v4l2_fourcc('P', 'W', 'C', '2') /* pwc newer webcam */
 
#define V4L2_PIX_FMT_ET61X251   v4l2_fourcc('E', '6', '2', '5') /* ET61X251 compression */
 
#define V4L2_PIX_FMT_SPCA501   v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */
 
#define V4L2_PIX_FMT_SPCA505   v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */
 
#define V4L2_PIX_FMT_SPCA508   v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */
 
#define V4L2_PIX_FMT_SPCA561   v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
 
#define V4L2_PIX_FMT_PAC207   v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */
 
#define V4L2_PIX_FMT_MR97310A   v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
 
#define V4L2_PIX_FMT_JL2005BCD   v4l2_fourcc('J', 'L', '2', '0') /* compressed RGGB bayer */
 
#define V4L2_PIX_FMT_SN9C2028   v4l2_fourcc('S', 'O', 'N', 'X') /* compressed GBRG bayer */
 
#define V4L2_PIX_FMT_SQ905C   v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer */
 
#define V4L2_PIX_FMT_PJPG   v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */
 
#define V4L2_PIX_FMT_OV511   v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
 
#define V4L2_PIX_FMT_OV518   v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
 
#define V4L2_PIX_FMT_STV0680   v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer */
 
#define V4L2_PIX_FMT_TM6000   v4l2_fourcc('T', 'M', '6', '0') /* tm5600/tm60x0 */
 
#define V4L2_PIX_FMT_CIT_YYVYUY   v4l2_fourcc('C', 'I', 'T', 'V') /* one line of Y then 1 line of VYUY */
 
#define V4L2_PIX_FMT_KONICA420   v4l2_fourcc('K', 'O', 'N', 'I') /* YUV420 planar in blocks of 256 pixels */
 
#define V4L2_PIX_FMT_JPGL   v4l2_fourcc('J', 'P', 'G', 'L') /* JPEG-Lite */
 
#define V4L2_PIX_FMT_SE401   v4l2_fourcc('S', '4', '0', '1') /* se401 janggu compressed rgb */
 
#define V4L2_PIX_FMT_S5C_UYVY_JPG   v4l2_fourcc('S', '5', 'C', 'I') /* S5C73M3 interleaved UYVY/JPEG */
 
#define V4L2_FMT_FLAG_COMPRESSED   0x0001
 
#define V4L2_FMT_FLAG_EMULATED   0x0002
 
#define V4L2_TC_TYPE_24FPS   1
 
#define V4L2_TC_TYPE_25FPS   2
 
#define V4L2_TC_TYPE_30FPS   3
 
#define V4L2_TC_TYPE_50FPS   4
 
#define V4L2_TC_TYPE_60FPS   5
 
#define V4L2_TC_FLAG_DROPFRAME   0x0001 /* "drop-frame" mode */
 
#define V4L2_TC_FLAG_COLORFRAME   0x0002
 
#define V4L2_TC_USERBITS_field   0x000C
 
#define V4L2_TC_USERBITS_USERDEFINED   0x0000
 
#define V4L2_TC_USERBITS_8BITCHARS   0x0008
 
#define V4L2_JPEG_MARKER_DHT   (1<<3) /* Define Huffman Tables */
 
#define V4L2_JPEG_MARKER_DQT   (1<<4) /* Define Quantization Tables */
 
#define V4L2_JPEG_MARKER_DRI   (1<<5) /* Define Restart Interval */
 
#define V4L2_JPEG_MARKER_COM   (1<<6) /* Comment segment */
 
#define V4L2_JPEG_MARKER_APP
 
#define V4L2_BUF_FLAG_MAPPED   0x0001 /* Buffer is mapped (flag) */
 
#define V4L2_BUF_FLAG_QUEUED   0x0002 /* Buffer is queued for processing */
 
#define V4L2_BUF_FLAG_DONE   0x0004 /* Buffer is ready */
 
#define V4L2_BUF_FLAG_KEYFRAME   0x0008 /* Image is a keyframe (I-frame) */
 
#define V4L2_BUF_FLAG_PFRAME   0x0010 /* Image is a P-frame */
 
#define V4L2_BUF_FLAG_BFRAME   0x0020 /* Image is a B-frame */
 
#define V4L2_BUF_FLAG_ERROR   0x0040
 
#define V4L2_BUF_FLAG_TIMECODE   0x0100 /* timecode field is valid */
 
#define V4L2_BUF_FLAG_PREPARED   0x0400 /* Buffer is prepared for queuing */
 
#define V4L2_BUF_FLAG_NO_CACHE_INVALIDATE   0x0800
 
#define V4L2_BUF_FLAG_NO_CACHE_CLEAN   0x1000
 
#define V4L2_FBUF_CAP_EXTERNOVERLAY   0x0001
 
#define V4L2_FBUF_CAP_CHROMAKEY   0x0002
 
#define V4L2_FBUF_CAP_LIST_CLIPPING   0x0004
 
#define V4L2_FBUF_CAP_BITMAP_CLIPPING   0x0008
 
#define V4L2_FBUF_CAP_LOCAL_ALPHA   0x0010
 
#define V4L2_FBUF_CAP_GLOBAL_ALPHA   0x0020
 
#define V4L2_FBUF_CAP_LOCAL_INV_ALPHA   0x0040
 
#define V4L2_FBUF_CAP_SRC_CHROMAKEY   0x0080
 
#define V4L2_FBUF_FLAG_PRIMARY   0x0001
 
#define V4L2_FBUF_FLAG_OVERLAY   0x0002
 
#define V4L2_FBUF_FLAG_CHROMAKEY   0x0004
 
#define V4L2_FBUF_FLAG_LOCAL_ALPHA   0x0008
 
#define V4L2_FBUF_FLAG_GLOBAL_ALPHA   0x0010
 
#define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA   0x0020
 
#define V4L2_FBUF_FLAG_SRC_CHROMAKEY   0x0040
 
#define V4L2_MODE_HIGHQUALITY   0x0001 /* High quality imaging mode */
 
#define V4L2_CAP_TIMEPERFRAME   0x1000 /* timeperframe field is supported */
 
#define V4L2_STD_PAL_B   ((v4l2_std_id)0x00000001)
 
#define V4L2_STD_PAL_B1   ((v4l2_std_id)0x00000002)
 
#define V4L2_STD_PAL_G   ((v4l2_std_id)0x00000004)
 
#define V4L2_STD_PAL_H   ((v4l2_std_id)0x00000008)
 
#define V4L2_STD_PAL_I   ((v4l2_std_id)0x00000010)
 
#define V4L2_STD_PAL_D   ((v4l2_std_id)0x00000020)
 
#define V4L2_STD_PAL_D1   ((v4l2_std_id)0x00000040)
 
#define V4L2_STD_PAL_K   ((v4l2_std_id)0x00000080)
 
#define V4L2_STD_PAL_M   ((v4l2_std_id)0x00000100)
 
#define V4L2_STD_PAL_N   ((v4l2_std_id)0x00000200)
 
#define V4L2_STD_PAL_Nc   ((v4l2_std_id)0x00000400)
 
#define V4L2_STD_PAL_60   ((v4l2_std_id)0x00000800)
 
#define V4L2_STD_NTSC_M   ((v4l2_std_id)0x00001000) /* BTSC */
 
#define V4L2_STD_NTSC_M_JP   ((v4l2_std_id)0x00002000) /* EIA-J */
 
#define V4L2_STD_NTSC_443   ((v4l2_std_id)0x00004000)
 
#define V4L2_STD_NTSC_M_KR   ((v4l2_std_id)0x00008000) /* FM A2 */
 
#define V4L2_STD_SECAM_B   ((v4l2_std_id)0x00010000)
 
#define V4L2_STD_SECAM_D   ((v4l2_std_id)0x00020000)
 
#define V4L2_STD_SECAM_G   ((v4l2_std_id)0x00040000)
 
#define V4L2_STD_SECAM_H   ((v4l2_std_id)0x00080000)
 
#define V4L2_STD_SECAM_K   ((v4l2_std_id)0x00100000)
 
#define V4L2_STD_SECAM_K1   ((v4l2_std_id)0x00200000)
 
#define V4L2_STD_SECAM_L   ((v4l2_std_id)0x00400000)
 
#define V4L2_STD_SECAM_LC   ((v4l2_std_id)0x00800000)
 
#define V4L2_STD_ATSC_8_VSB   ((v4l2_std_id)0x01000000)
 
#define V4L2_STD_ATSC_16_VSB   ((v4l2_std_id)0x02000000)
 
#define V4L2_STD_NTSC
 
#define V4L2_STD_SECAM_DK
 
#define V4L2_STD_SECAM
 
#define V4L2_STD_PAL_BG
 
#define V4L2_STD_PAL_DK
 
#define V4L2_STD_PAL
 
#define V4L2_STD_B
 
#define V4L2_STD_G
 
#define V4L2_STD_H
 
#define V4L2_STD_L
 
#define V4L2_STD_GH
 
#define V4L2_STD_DK
 
#define V4L2_STD_BG
 
#define V4L2_STD_MN
 
#define V4L2_STD_MTS
 
#define V4L2_STD_525_60
 
#define V4L2_STD_625_50
 
#define V4L2_STD_ATSC
 
#define V4L2_STD_UNKNOWN   0
 
#define V4L2_STD_ALL
 
#define V4L2_DV_INVALID   0
 
#define V4L2_DV_480P59_94   1 /* BT.1362 */
 
#define V4L2_DV_576P50   2 /* BT.1362 */
 
#define V4L2_DV_720P24   3 /* SMPTE 296M */
 
#define V4L2_DV_720P25   4 /* SMPTE 296M */
 
#define V4L2_DV_720P30   5 /* SMPTE 296M */
 
#define V4L2_DV_720P50   6 /* SMPTE 296M */
 
#define V4L2_DV_720P59_94   7 /* SMPTE 274M */
 
#define V4L2_DV_720P60   8 /* SMPTE 274M/296M */
 
#define V4L2_DV_1080I29_97   9 /* BT.1120/ SMPTE 274M */
 
#define V4L2_DV_1080I30   10 /* BT.1120/ SMPTE 274M */
 
#define V4L2_DV_1080I25   11 /* BT.1120 */
 
#define V4L2_DV_1080I50   12 /* SMPTE 296M */
 
#define V4L2_DV_1080I60   13 /* SMPTE 296M */
 
#define V4L2_DV_1080P24   14 /* SMPTE 296M */
 
#define V4L2_DV_1080P25   15 /* SMPTE 296M */
 
#define V4L2_DV_1080P30   16 /* SMPTE 296M */
 
#define V4L2_DV_1080P50   17 /* BT.1120 */
 
#define V4L2_DV_1080P60   18 /* BT.1120 */
 
#define V4L2_DV_PROGRESSIVE   0
 
#define V4L2_DV_INTERLACED   1
 
#define V4L2_DV_VSYNC_POS_POL   0x00000001
 
#define V4L2_DV_HSYNC_POS_POL   0x00000002
 
#define V4L2_DV_BT_STD_CEA861   (1 << 0) /* CEA-861 Digital TV Profile */
 
#define V4L2_DV_BT_STD_DMT   (1 << 1) /* VESA Discrete Monitor Timings */
 
#define V4L2_DV_BT_STD_CVT   (1 << 2) /* VESA Coordinated Video Timings */
 
#define V4L2_DV_BT_STD_GTF   (1 << 3) /* VESA Generalized Timings Formula */
 
#define V4L2_DV_FL_REDUCED_BLANKING   (1 << 0)
 
#define V4L2_DV_FL_CAN_REDUCE_FPS   (1 << 1)
 
#define V4L2_DV_FL_REDUCED_FPS   (1 << 2)
 
#define V4L2_DV_FL_HALF_LINE   (1 << 0)
 
#define V4L2_DV_BT_656_1120   0 /* BT.656/1120 timing type */
 
#define V4L2_DV_BT_CAP_INTERLACED   (1 << 0)
 
#define V4L2_DV_BT_CAP_PROGRESSIVE   (1 << 1)
 
#define V4L2_DV_BT_CAP_REDUCED_BLANKING   (1 << 2)
 
#define V4L2_DV_BT_CAP_CUSTOM   (1 << 3)
 
#define V4L2_INPUT_TYPE_TUNER   1
 
#define V4L2_INPUT_TYPE_CAMERA   2
 
#define V4L2_IN_ST_NO_POWER   0x00000001 /* Attached device is off */
 
#define V4L2_IN_ST_NO_SIGNAL   0x00000002
 
#define V4L2_IN_ST_NO_COLOR   0x00000004
 
#define V4L2_IN_ST_HFLIP   0x00000010 /* Frames are flipped horizontally */
 
#define V4L2_IN_ST_VFLIP   0x00000020 /* Frames are flipped vertically */
 
#define V4L2_IN_ST_NO_H_LOCK   0x00000100 /* No horizontal sync lock */
 
#define V4L2_IN_ST_COLOR_KILL   0x00000200 /* Color killer is active */
 
#define V4L2_IN_ST_NO_SYNC   0x00010000 /* No synchronization lock */
 
#define V4L2_IN_ST_NO_EQU   0x00020000 /* No equalizer lock */
 
#define V4L2_IN_ST_NO_CARRIER   0x00040000 /* Carrier recovery failed */
 
#define V4L2_IN_ST_MACROVISION   0x01000000 /* Macrovision detected */
 
#define V4L2_IN_ST_NO_ACCESS   0x02000000 /* Conditional access denied */
 
#define V4L2_IN_ST_VTR   0x04000000 /* VTR time constant */
 
#define V4L2_IN_CAP_PRESETS   0x00000001 /* Supports S_DV_PRESET */
 
#define V4L2_IN_CAP_DV_TIMINGS   0x00000002 /* Supports S_DV_TIMINGS */
 
#define V4L2_IN_CAP_CUSTOM_TIMINGS   V4L2_IN_CAP_DV_TIMINGS /* For compatibility */
 
#define V4L2_IN_CAP_STD   0x00000004 /* Supports S_STD */
 
#define V4L2_OUTPUT_TYPE_MODULATOR   1
 
#define V4L2_OUTPUT_TYPE_ANALOG   2
 
#define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY   3
 
#define V4L2_OUT_CAP_PRESETS   0x00000001 /* Supports S_DV_PRESET */
 
#define V4L2_OUT_CAP_DV_TIMINGS   0x00000002 /* Supports S_DV_TIMINGS */
 
#define V4L2_OUT_CAP_CUSTOM_TIMINGS   V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */
 
#define V4L2_OUT_CAP_STD   0x00000004 /* Supports S_STD */
 
#define V4L2_CTRL_ID_MASK   (0x0fffffff)
 
#define V4L2_CTRL_ID2CLASS(id)   ((id) & 0x0fff0000UL)
 
#define V4L2_CTRL_DRIVER_PRIV(id)   (((id) & 0xffff) >= 0x1000)
 
#define V4L2_CTRL_FLAG_DISABLED   0x0001
 
#define V4L2_CTRL_FLAG_GRABBED   0x0002
 
#define V4L2_CTRL_FLAG_READ_ONLY   0x0004
 
#define V4L2_CTRL_FLAG_UPDATE   0x0008
 
#define V4L2_CTRL_FLAG_INACTIVE   0x0010
 
#define V4L2_CTRL_FLAG_SLIDER   0x0020
 
#define V4L2_CTRL_FLAG_WRITE_ONLY   0x0040
 
#define V4L2_CTRL_FLAG_VOLATILE   0x0080
 
#define V4L2_CTRL_FLAG_NEXT_CTRL   0x80000000
 
#define V4L2_CID_MAX_CTRLS   1024
 
#define V4L2_CID_PRIVATE_BASE   0x08000000
 
#define V4L2_CID_DV_CLASS_BASE   (V4L2_CTRL_CLASS_DV | 0x900)
 
#define V4L2_CID_DV_CLASS   (V4L2_CTRL_CLASS_DV | 1)
 
#define V4L2_CID_DV_TX_HOTPLUG   (V4L2_CID_DV_CLASS_BASE + 1)
 
#define V4L2_CID_DV_TX_RXSENSE   (V4L2_CID_DV_CLASS_BASE + 2)
 
#define V4L2_CID_DV_TX_EDID_PRESENT   (V4L2_CID_DV_CLASS_BASE + 3)
 
#define V4L2_CID_DV_TX_MODE   (V4L2_CID_DV_CLASS_BASE + 4)
 
#define V4L2_CID_DV_TX_RGB_RANGE   (V4L2_CID_DV_CLASS_BASE + 5)
 
#define V4L2_CID_DV_RX_POWER_PRESENT   (V4L2_CID_DV_CLASS_BASE + 100)
 
#define V4L2_CID_DV_RX_RGB_RANGE   (V4L2_CID_DV_CLASS_BASE + 101)
 
#define V4L2_TUNER_CAP_LOW   0x0001
 
#define V4L2_TUNER_CAP_NORM   0x0002
 
#define V4L2_TUNER_CAP_HWSEEK_BOUNDED   0x0004
 
#define V4L2_TUNER_CAP_HWSEEK_WRAP   0x0008
 
#define V4L2_TUNER_CAP_STEREO   0x0010
 
#define V4L2_TUNER_CAP_LANG2   0x0020
 
#define V4L2_TUNER_CAP_SAP   0x0020
 
#define V4L2_TUNER_CAP_LANG1   0x0040
 
#define V4L2_TUNER_CAP_RDS   0x0080
 
#define V4L2_TUNER_CAP_RDS_BLOCK_IO   0x0100
 
#define V4L2_TUNER_CAP_RDS_CONTROLS   0x0200
 
#define V4L2_TUNER_CAP_FREQ_BANDS   0x0400
 
#define V4L2_TUNER_CAP_HWSEEK_PROG_LIM   0x0800
 
#define V4L2_TUNER_SUB_MONO   0x0001
 
#define V4L2_TUNER_SUB_STEREO   0x0002
 
#define V4L2_TUNER_SUB_LANG2   0x0004
 
#define V4L2_TUNER_SUB_SAP   0x0004
 
#define V4L2_TUNER_SUB_LANG1   0x0008
 
#define V4L2_TUNER_SUB_RDS   0x0010
 
#define V4L2_TUNER_MODE_MONO   0x0000
 
#define V4L2_TUNER_MODE_STEREO   0x0001
 
#define V4L2_TUNER_MODE_LANG2   0x0002
 
#define V4L2_TUNER_MODE_SAP   0x0002
 
#define V4L2_TUNER_MODE_LANG1   0x0003
 
#define V4L2_TUNER_MODE_LANG1_LANG2   0x0004
 
#define V4L2_BAND_MODULATION_VSB   (1 << 1)
 
#define V4L2_BAND_MODULATION_FM   (1 << 2)
 
#define V4L2_BAND_MODULATION_AM   (1 << 3)
 
#define V4L2_RDS_BLOCK_MSK   0x7
 
#define V4L2_RDS_BLOCK_A   0
 
#define V4L2_RDS_BLOCK_B   1
 
#define V4L2_RDS_BLOCK_C   2
 
#define V4L2_RDS_BLOCK_D   3
 
#define V4L2_RDS_BLOCK_C_ALT   4
 
#define V4L2_RDS_BLOCK_INVALID   7
 
#define V4L2_RDS_BLOCK_CORRECTED   0x40
 
#define V4L2_RDS_BLOCK_ERROR   0x80
 
#define V4L2_AUDCAP_STEREO   0x00001
 
#define V4L2_AUDCAP_AVL   0x00002
 
#define V4L2_AUDMODE_AVL   0x00001
 
#define V4L2_ENC_IDX_FRAME_I   (0)
 
#define V4L2_ENC_IDX_FRAME_P   (1)
 
#define V4L2_ENC_IDX_FRAME_B   (2)
 
#define V4L2_ENC_IDX_FRAME_MASK   (0xf)
 
#define V4L2_ENC_IDX_ENTRIES   (64)
 
#define V4L2_ENC_CMD_START   (0)
 
#define V4L2_ENC_CMD_STOP   (1)
 
#define V4L2_ENC_CMD_PAUSE   (2)
 
#define V4L2_ENC_CMD_RESUME   (3)
 
#define V4L2_ENC_CMD_STOP_AT_GOP_END   (1 << 0)
 
#define V4L2_DEC_CMD_START   (0)
 
#define V4L2_DEC_CMD_STOP   (1)
 
#define V4L2_DEC_CMD_PAUSE   (2)
 
#define V4L2_DEC_CMD_RESUME   (3)
 
#define V4L2_DEC_CMD_START_MUTE_AUDIO   (1 << 0)
 
#define V4L2_DEC_CMD_PAUSE_TO_BLACK   (1 << 0)
 
#define V4L2_DEC_CMD_STOP_TO_BLACK   (1 << 0)
 
#define V4L2_DEC_CMD_STOP_IMMEDIATELY   (1 << 1)
 
#define V4L2_DEC_START_FMT_NONE   (0)
 
#define V4L2_DEC_START_FMT_GOP   (1)
 
#define V4L2_VBI_UNSYNC   (1 << 0)
 
#define V4L2_VBI_INTERLACED   (1 << 1)
 
#define V4L2_SLICED_TELETEXT_B   (0x0001)
 
#define V4L2_SLICED_VPS   (0x0400)
 
#define V4L2_SLICED_CAPTION_525   (0x1000)
 
#define V4L2_SLICED_WSS_625   (0x4000)
 
#define V4L2_SLICED_VBI_525   (V4L2_SLICED_CAPTION_525)
 
#define V4L2_SLICED_VBI_625   (V4L2_SLICED_TELETEXT_B | V4L2_SLICED_VPS | V4L2_SLICED_WSS_625)
 
#define V4L2_MPEG_VBI_IVTV_TELETEXT_B   (1)
 
#define V4L2_MPEG_VBI_IVTV_CAPTION_525   (4)
 
#define V4L2_MPEG_VBI_IVTV_WSS_625   (5)
 
#define V4L2_MPEG_VBI_IVTV_VPS   (7)
 
#define V4L2_MPEG_VBI_IVTV_MAGIC0   "itv0"
 
#define V4L2_MPEG_VBI_IVTV_MAGIC1   "ITV0"
 
#define V4L2_EVENT_ALL   0
 
#define V4L2_EVENT_VSYNC   1
 
#define V4L2_EVENT_EOS   2
 
#define V4L2_EVENT_CTRL   3
 
#define V4L2_EVENT_FRAME_SYNC   4
 
#define V4L2_EVENT_PRIVATE_START   0x08000000
 
#define V4L2_EVENT_CTRL_CH_VALUE   (1 << 0)
 
#define V4L2_EVENT_CTRL_CH_FLAGS   (1 << 1)
 
#define V4L2_EVENT_SUB_FL_SEND_INITIAL   (1 << 0)
 
#define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK   (1 << 1)
 
#define V4L2_CHIP_MATCH_HOST   0 /* Match against chip ID on host (0 for the host) */
 
#define V4L2_CHIP_MATCH_I2C_DRIVER   1 /* Match against I2C driver name */
 
#define V4L2_CHIP_MATCH_I2C_ADDR   2 /* Match against I2C 7-bit address */
 
#define V4L2_CHIP_MATCH_AC97   3 /* Match against anciliary AC97 chip */
 
#define VIDIOC_QUERYCAP   _IOR('V', 0, struct v4l2_capability)
 
#define VIDIOC_RESERVED   _IO('V', 1)
 
#define VIDIOC_ENUM_FMT   _IOWR('V', 2, struct v4l2_fmtdesc)
 
#define VIDIOC_G_FMT   _IOWR('V', 4, struct v4l2_format)
 
#define VIDIOC_S_FMT   _IOWR('V', 5, struct v4l2_format)
 
#define VIDIOC_REQBUFS   _IOWR('V', 8, struct v4l2_requestbuffers)
 
#define VIDIOC_QUERYBUF   _IOWR('V', 9, struct v4l2_buffer)
 
#define VIDIOC_G_FBUF   _IOR('V', 10, struct v4l2_framebuffer)
 
#define VIDIOC_S_FBUF   _IOW('V', 11, struct v4l2_framebuffer)
 
#define VIDIOC_OVERLAY   _IOW('V', 14, int)
 
#define VIDIOC_QBUF   _IOWR('V', 15, struct v4l2_buffer)
 
#define VIDIOC_DQBUF   _IOWR('V', 17, struct v4l2_buffer)
 
#define VIDIOC_STREAMON   _IOW('V', 18, int)
 
#define VIDIOC_STREAMOFF   _IOW('V', 19, int)
 
#define VIDIOC_G_PARM   _IOWR('V', 21, struct v4l2_streamparm)
 
#define VIDIOC_S_PARM   _IOWR('V', 22, struct v4l2_streamparm)
 
#define VIDIOC_G_STD   _IOR('V', 23, v4l2_std_id)
 
#define VIDIOC_S_STD   _IOW('V', 24, v4l2_std_id)
 
#define VIDIOC_ENUMSTD   _IOWR('V', 25, struct v4l2_standard)
 
#define VIDIOC_ENUMINPUT   _IOWR('V', 26, struct v4l2_input)
 
#define VIDIOC_G_CTRL   _IOWR('V', 27, struct v4l2_control)
 
#define VIDIOC_S_CTRL   _IOWR('V', 28, struct v4l2_control)
 
#define VIDIOC_G_TUNER   _IOWR('V', 29, struct v4l2_tuner)
 
#define VIDIOC_S_TUNER   _IOW('V', 30, struct v4l2_tuner)
 
#define VIDIOC_G_AUDIO   _IOR('V', 33, struct v4l2_audio)
 
#define VIDIOC_S_AUDIO   _IOW('V', 34, struct v4l2_audio)
 
#define VIDIOC_QUERYCTRL   _IOWR('V', 36, struct v4l2_queryctrl)
 
#define VIDIOC_QUERYMENU   _IOWR('V', 37, struct v4l2_querymenu)
 
#define VIDIOC_G_INPUT   _IOR('V', 38, int)
 
#define VIDIOC_S_INPUT   _IOWR('V', 39, int)
 
#define VIDIOC_G_OUTPUT   _IOR('V', 46, int)
 
#define VIDIOC_S_OUTPUT   _IOWR('V', 47, int)
 
#define VIDIOC_ENUMOUTPUT   _IOWR('V', 48, struct v4l2_output)
 
#define VIDIOC_G_AUDOUT   _IOR('V', 49, struct v4l2_audioout)
 
#define VIDIOC_S_AUDOUT   _IOW('V', 50, struct v4l2_audioout)
 
#define VIDIOC_G_MODULATOR   _IOWR('V', 54, struct v4l2_modulator)
 
#define VIDIOC_S_MODULATOR   _IOW('V', 55, struct v4l2_modulator)
 
#define VIDIOC_G_FREQUENCY   _IOWR('V', 56, struct v4l2_frequency)
 
#define VIDIOC_S_FREQUENCY   _IOW('V', 57, struct v4l2_frequency)
 
#define VIDIOC_CROPCAP   _IOWR('V', 58, struct v4l2_cropcap)
 
#define VIDIOC_G_CROP   _IOWR('V', 59, struct v4l2_crop)
 
#define VIDIOC_S_CROP   _IOW('V', 60, struct v4l2_crop)
 
#define VIDIOC_G_JPEGCOMP   _IOR('V', 61, struct v4l2_jpegcompression)
 
#define VIDIOC_S_JPEGCOMP   _IOW('V', 62, struct v4l2_jpegcompression)
 
#define VIDIOC_QUERYSTD   _IOR('V', 63, v4l2_std_id)
 
#define VIDIOC_TRY_FMT   _IOWR('V', 64, struct v4l2_format)
 
#define VIDIOC_ENUMAUDIO   _IOWR('V', 65, struct v4l2_audio)
 
#define VIDIOC_ENUMAUDOUT   _IOWR('V', 66, struct v4l2_audioout)
 
#define VIDIOC_G_PRIORITY   _IOR('V', 67, __u32) /* enum v4l2_priority */
 
#define VIDIOC_S_PRIORITY   _IOW('V', 68, __u32) /* enum v4l2_priority */
 
#define VIDIOC_G_SLICED_VBI_CAP   _IOWR('V', 69, struct v4l2_sliced_vbi_cap)
 
#define VIDIOC_LOG_STATUS   _IO('V', 70)
 
#define VIDIOC_G_EXT_CTRLS   _IOWR('V', 71, struct v4l2_ext_controls)
 
#define VIDIOC_S_EXT_CTRLS   _IOWR('V', 72, struct v4l2_ext_controls)
 
#define VIDIOC_TRY_EXT_CTRLS   _IOWR('V', 73, struct v4l2_ext_controls)
 
#define VIDIOC_ENUM_FRAMESIZES   _IOWR('V', 74, struct v4l2_frmsizeenum)
 
#define VIDIOC_ENUM_FRAMEINTERVALS   _IOWR('V', 75, struct v4l2_frmivalenum)
 
#define VIDIOC_G_ENC_INDEX   _IOR('V', 76, struct v4l2_enc_idx)
 
#define VIDIOC_ENCODER_CMD   _IOWR('V', 77, struct v4l2_encoder_cmd)
 
#define VIDIOC_TRY_ENCODER_CMD   _IOWR('V', 78, struct v4l2_encoder_cmd)
 
#define VIDIOC_DBG_S_REGISTER   _IOW('V', 79, struct v4l2_dbg_register)
 
#define VIDIOC_DBG_G_REGISTER   _IOWR('V', 80, struct v4l2_dbg_register)
 
#define VIDIOC_DBG_G_CHIP_IDENT   _IOWR('V', 81, struct v4l2_dbg_chip_ident)
 
#define VIDIOC_S_HW_FREQ_SEEK   _IOW('V', 82, struct v4l2_hw_freq_seek)
 
#define VIDIOC_ENUM_DV_PRESETS   _IOWR('V', 83, struct v4l2_dv_enum_preset)
 
#define VIDIOC_S_DV_PRESET   _IOWR('V', 84, struct v4l2_dv_preset)
 
#define VIDIOC_G_DV_PRESET   _IOWR('V', 85, struct v4l2_dv_preset)
 
#define VIDIOC_QUERY_DV_PRESET   _IOR('V', 86, struct v4l2_dv_preset)
 
#define VIDIOC_S_DV_TIMINGS   _IOWR('V', 87, struct v4l2_dv_timings)
 
#define VIDIOC_G_DV_TIMINGS   _IOWR('V', 88, struct v4l2_dv_timings)
 
#define VIDIOC_DQEVENT   _IOR('V', 89, struct v4l2_event)
 
#define VIDIOC_SUBSCRIBE_EVENT   _IOW('V', 90, struct v4l2_event_subscription)
 
#define VIDIOC_UNSUBSCRIBE_EVENT   _IOW('V', 91, struct v4l2_event_subscription)
 
#define VIDIOC_CREATE_BUFS   _IOWR('V', 92, struct v4l2_create_buffers)
 
#define VIDIOC_PREPARE_BUF   _IOWR('V', 93, struct v4l2_buffer)
 
#define VIDIOC_G_SELECTION   _IOWR('V', 94, struct v4l2_selection)
 
#define VIDIOC_S_SELECTION   _IOWR('V', 95, struct v4l2_selection)
 
#define VIDIOC_DECODER_CMD   _IOWR('V', 96, struct v4l2_decoder_cmd)
 
#define VIDIOC_TRY_DECODER_CMD   _IOWR('V', 97, struct v4l2_decoder_cmd)
 
#define VIDIOC_ENUM_DV_TIMINGS   _IOWR('V', 98, struct v4l2_enum_dv_timings)
 
#define VIDIOC_QUERY_DV_TIMINGS   _IOR('V', 99, struct v4l2_dv_timings)
 
#define VIDIOC_DV_TIMINGS_CAP   _IOWR('V', 100, struct v4l2_dv_timings_cap)
 
#define VIDIOC_ENUM_FREQ_BANDS   _IOWR('V', 101, struct v4l2_frequency_band)
 
#define BASE_VIDIOC_PRIVATE   192 /* 192-255 are private */
 

Typedefs

typedef __u64 v4l2_std_id
 

Enumerations

enum  v4l2_field {
  V4L2_FIELD_ANY = 0, V4L2_FIELD_NONE = 1, V4L2_FIELD_TOP = 2, V4L2_FIELD_BOTTOM = 3,
  V4L2_FIELD_INTERLACED = 4, V4L2_FIELD_SEQ_TB = 5, V4L2_FIELD_SEQ_BT = 6, V4L2_FIELD_ALTERNATE = 7,
  V4L2_FIELD_INTERLACED_TB = 8, V4L2_FIELD_INTERLACED_BT = 9
}
 
enum  v4l2_buf_type {
  V4L2_BUF_TYPE_VIDEO_CAPTURE = 1, V4L2_BUF_TYPE_VIDEO_OUTPUT = 2, V4L2_BUF_TYPE_VIDEO_OVERLAY = 3, V4L2_BUF_TYPE_VBI_CAPTURE = 4,
  V4L2_BUF_TYPE_VBI_OUTPUT = 5, V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6, V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7, V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
  V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9, V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10, V4L2_BUF_TYPE_PRIVATE = 0x80
}
 
enum  v4l2_tuner_type { V4L2_TUNER_RADIO = 1, V4L2_TUNER_ANALOG_TV = 2, V4L2_TUNER_DIGITAL_TV = 3 }
 
enum  v4l2_memory { V4L2_MEMORY_MMAP = 1, V4L2_MEMORY_USERPTR = 2, V4L2_MEMORY_OVERLAY = 3 }
 
enum  v4l2_colorspace {
  V4L2_COLORSPACE_SMPTE170M = 1, V4L2_COLORSPACE_SMPTE240M = 2, V4L2_COLORSPACE_REC709 = 3, V4L2_COLORSPACE_BT878 = 4,
  V4L2_COLORSPACE_470_SYSTEM_M = 5, V4L2_COLORSPACE_470_SYSTEM_BG = 6, V4L2_COLORSPACE_JPEG = 7, V4L2_COLORSPACE_SRGB = 8
}
 
enum  v4l2_priority {
  V4L2_PRIORITY_UNSET = 0, V4L2_PRIORITY_BACKGROUND = 1, V4L2_PRIORITY_INTERACTIVE = 2, V4L2_PRIORITY_RECORD = 3,
  V4L2_PRIORITY_DEFAULT = V4L2_PRIORITY_INTERACTIVE
}
 
enum  v4l2_frmsizetypes { V4L2_FRMSIZE_TYPE_DISCRETE = 1, V4L2_FRMSIZE_TYPE_CONTINUOUS = 2, V4L2_FRMSIZE_TYPE_STEPWISE = 3 }
 
enum  v4l2_frmivaltypes { V4L2_FRMIVAL_TYPE_DISCRETE = 1, V4L2_FRMIVAL_TYPE_CONTINUOUS = 2, V4L2_FRMIVAL_TYPE_STEPWISE = 3 }
 
enum  v4l2_ctrl_type {
  V4L2_CTRL_TYPE_INTEGER = 1, V4L2_CTRL_TYPE_BOOLEAN = 2, V4L2_CTRL_TYPE_MENU = 3, V4L2_CTRL_TYPE_BUTTON = 4,
  V4L2_CTRL_TYPE_INTEGER64 = 5, V4L2_CTRL_TYPE_CTRL_CLASS = 6, V4L2_CTRL_TYPE_STRING = 7, V4L2_CTRL_TYPE_BITMASK = 8,
  V4L2_CTRL_TYPE_INTEGER_MENU = 9
}
 
enum  v4l2_dv_tx_mode { V4L2_DV_TX_MODE_DVI_D = 0, V4L2_DV_TX_MODE_HDMI = 1 }
 
enum  v4l2_dv_rgb_range { V4L2_DV_RGB_RANGE_AUTO = 0, V4L2_DV_RGB_RANGE_LIMITED = 1, V4L2_DV_RGB_RANGE_FULL = 2 }
 

Functions

struct v4l2_bt_timings __attribute__ ((packed))
 

Variables

__u32 width
 
__u32 height
 
__u32 interlaced
 
__u32 polarities
 
__u64 pixelclock
 
__u32 hfrontporch
 
__u32 hsync
 
__u32 hbackporch
 
__u32 vfrontporch
 
__u32 vsync
 
__u32 vbackporch
 
__u32 il_vfrontporch
 
__u32 il_vsync
 
__u32 il_vbackporch
 
__u32 standards
 
__u32 flags
 
__u32 reserved [14]
 
__u32 type
 
union {
   struct v4l2_bt_timings   bt
 
   __u32   reserved [32]
 
}; 
 
struct v4l2_enum_dv_timings __attribute__
 
__u32 min_width
 
__u32 max_width
 
__u32 min_height
 
__u32 max_height
 
__u64 min_pixelclock
 
__u64 max_pixelclock
 
__u32 capabilities
 
__u32 id
 
__u32 size
 
__u32 reserved2 [1]
 
union {
   __s32   value
 
   __s64   value64
 
   char *   string
 
}; 
 
__u32 index
 
union {
   __u8   name [32]
 
   __s64   value
 
}; 
 
__u8 lsb
 
__u8 msb
 
__u8 block
 
__u8 data [42]
 
__le32 linemask [2]
 
struct v4l2_mpeg_vbi_itv0_line line [35]
 
__u8 magic [4]
 
union {
   struct v4l2_mpeg_vbi_itv0   itv0
 
   struct v4l2_mpeg_vbi_ITV0   ITV0
 
}; 
 
__u32 sizeimage
 
__u16 bytesperline
 
__u32 pixelformat
 
__u32 field
 
__u32 colorspace
 
struct v4l2_plane_pix_format plane_fmt [VIDEO_MAX_PLANES]
 
__u8 num_planes
 
union {
   __u32   addr
 
   char   name [32]
 
}; 
 
struct v4l2_dbg_match match
 
__u64 reg
 
__u64 val
 
__u32 ident
 
__u32 revision
 

Macro Definition Documentation

#define BASE_VIDIOC_PRIVATE   192 /* 192-255 are private */

Definition at line 1995 of file videodev2.h.

#define V4L2_AUDCAP_AVL   0x00002

Definition at line 1457 of file videodev2.h.

#define V4L2_AUDCAP_STEREO   0x00001

Definition at line 1456 of file videodev2.h.

#define V4L2_AUDMODE_AVL   0x00001

Definition at line 1460 of file videodev2.h.

#define V4L2_BAND_MODULATION_AM   (1 << 3)

Definition at line 1399 of file videodev2.h.

#define V4L2_BAND_MODULATION_FM   (1 << 2)

Definition at line 1398 of file videodev2.h.

#define V4L2_BAND_MODULATION_VSB   (1 << 1)

Definition at line 1397 of file videodev2.h.

#define V4L2_BUF_FLAG_BFRAME   0x0020 /* Image is a B-frame */

Definition at line 680 of file videodev2.h.

#define V4L2_BUF_FLAG_DONE   0x0004 /* Buffer is ready */

Definition at line 677 of file videodev2.h.

#define V4L2_BUF_FLAG_ERROR   0x0040

Definition at line 682 of file videodev2.h.

#define V4L2_BUF_FLAG_KEYFRAME   0x0008 /* Image is a keyframe (I-frame) */

Definition at line 678 of file videodev2.h.

#define V4L2_BUF_FLAG_MAPPED   0x0001 /* Buffer is mapped (flag) */

Definition at line 675 of file videodev2.h.

#define V4L2_BUF_FLAG_NO_CACHE_CLEAN   0x1000

Definition at line 687 of file videodev2.h.

#define V4L2_BUF_FLAG_NO_CACHE_INVALIDATE   0x0800

Definition at line 686 of file videodev2.h.

#define V4L2_BUF_FLAG_PFRAME   0x0010 /* Image is a P-frame */

Definition at line 679 of file videodev2.h.

#define V4L2_BUF_FLAG_PREPARED   0x0400 /* Buffer is prepared for queuing */

Definition at line 684 of file videodev2.h.

#define V4L2_BUF_FLAG_QUEUED   0x0002 /* Buffer is queued for processing */

Definition at line 676 of file videodev2.h.

#define V4L2_BUF_FLAG_TIMECODE   0x0100 /* timecode field is valid */

Definition at line 683 of file videodev2.h.

#define V4L2_CAP_ASYNCIO   0x02000000 /* async I/O */

Definition at line 288 of file videodev2.h.

#define V4L2_CAP_AUDIO   0x00020000 /* has audio support */

Definition at line 283 of file videodev2.h.

#define V4L2_CAP_DEVICE_CAPS   0x80000000 /* sets device capabilities field */

Definition at line 291 of file videodev2.h.

#define V4L2_CAP_HW_FREQ_SEEK   0x00000400 /* Can do hardware frequency seek */

Definition at line 270 of file videodev2.h.

#define V4L2_CAP_MODULATOR   0x00080000 /* has a modulator */

Definition at line 285 of file videodev2.h.

#define V4L2_CAP_RADIO   0x00040000 /* is a radio device */

Definition at line 284 of file videodev2.h.

#define V4L2_CAP_RDS_CAPTURE   0x00000100 /* RDS data capture */

Definition at line 268 of file videodev2.h.

#define V4L2_CAP_RDS_OUTPUT   0x00000800 /* Is an RDS encoder */

Definition at line 271 of file videodev2.h.

#define V4L2_CAP_READWRITE   0x01000000 /* read/write systemcalls */

Definition at line 287 of file videodev2.h.

#define V4L2_CAP_SLICED_VBI_CAPTURE   0x00000040 /* Is a sliced VBI capture device */

Definition at line 266 of file videodev2.h.

#define V4L2_CAP_SLICED_VBI_OUTPUT   0x00000080 /* Is a sliced VBI output device */

Definition at line 267 of file videodev2.h.

#define V4L2_CAP_STREAMING   0x04000000 /* streaming I/O ioctls */

Definition at line 289 of file videodev2.h.

#define V4L2_CAP_TIMEPERFRAME   0x1000 /* timeperframe field is supported */

Definition at line 747 of file videodev2.h.

#define V4L2_CAP_TUNER   0x00010000 /* has a tuner */

Definition at line 282 of file videodev2.h.

#define V4L2_CAP_VBI_CAPTURE   0x00000010 /* Is a raw VBI capture device */

Definition at line 264 of file videodev2.h.

#define V4L2_CAP_VBI_OUTPUT   0x00000020 /* Is a raw VBI output device */

Definition at line 265 of file videodev2.h.

#define V4L2_CAP_VIDEO_CAPTURE   0x00000001 /* Is a video capture device */

Definition at line 261 of file videodev2.h.

#define V4L2_CAP_VIDEO_CAPTURE_MPLANE   0x00001000

Definition at line 274 of file videodev2.h.

#define V4L2_CAP_VIDEO_M2M   0x00008000

Definition at line 280 of file videodev2.h.

#define V4L2_CAP_VIDEO_M2M_MPLANE   0x00004000

Definition at line 278 of file videodev2.h.

#define V4L2_CAP_VIDEO_OUTPUT   0x00000002 /* Is a video output device */

Definition at line 262 of file videodev2.h.

#define V4L2_CAP_VIDEO_OUTPUT_MPLANE   0x00002000

Definition at line 276 of file videodev2.h.

#define V4L2_CAP_VIDEO_OUTPUT_OVERLAY   0x00000200 /* Can do video output overlay */

Definition at line 269 of file videodev2.h.

#define V4L2_CAP_VIDEO_OVERLAY   0x00000004 /* Can do video overlay */

Definition at line 263 of file videodev2.h.

#define V4L2_CHIP_MATCH_AC97   3 /* Match against anciliary AC97 chip */

Definition at line 1834 of file videodev2.h.

#define V4L2_CHIP_MATCH_HOST   0 /* Match against chip ID on host (0 for the host) */

Definition at line 1831 of file videodev2.h.

#define V4L2_CHIP_MATCH_I2C_ADDR   2 /* Match against I2C 7-bit address */

Definition at line 1833 of file videodev2.h.

#define V4L2_CHIP_MATCH_I2C_DRIVER   1 /* Match against I2C driver name */

Definition at line 1832 of file videodev2.h.

#define V4L2_CID_DV_CLASS   (V4L2_CTRL_CLASS_DV | 1)

Definition at line 1312 of file videodev2.h.

#define V4L2_CID_DV_CLASS_BASE   (V4L2_CTRL_CLASS_DV | 0x900)

Definition at line 1311 of file videodev2.h.

#define V4L2_CID_DV_RX_POWER_PRESENT   (V4L2_CID_DV_CLASS_BASE + 100)

Definition at line 1329 of file videodev2.h.

#define V4L2_CID_DV_RX_RGB_RANGE   (V4L2_CID_DV_CLASS_BASE + 101)

Definition at line 1330 of file videodev2.h.

#define V4L2_CID_DV_TX_EDID_PRESENT   (V4L2_CID_DV_CLASS_BASE + 3)

Definition at line 1316 of file videodev2.h.

#define V4L2_CID_DV_TX_HOTPLUG   (V4L2_CID_DV_CLASS_BASE + 1)

Definition at line 1314 of file videodev2.h.

#define V4L2_CID_DV_TX_MODE   (V4L2_CID_DV_CLASS_BASE + 4)

Definition at line 1317 of file videodev2.h.

#define V4L2_CID_DV_TX_RGB_RANGE   (V4L2_CID_DV_CLASS_BASE + 5)

Definition at line 1322 of file videodev2.h.

#define V4L2_CID_DV_TX_RXSENSE   (V4L2_CID_DV_CLASS_BASE + 2)

Definition at line 1315 of file videodev2.h.

#define V4L2_CID_MAX_CTRLS   1024

Definition at line 1305 of file videodev2.h.

#define V4L2_CID_PRIVATE_BASE   0x08000000

Definition at line 1307 of file videodev2.h.

#define V4L2_CTRL_DRIVER_PRIV (   id)    (((id) & 0xffff) >= 0x1000)

Definition at line 1253 of file videodev2.h.

#define V4L2_CTRL_FLAG_DISABLED   0x0001

Definition at line 1292 of file videodev2.h.

#define V4L2_CTRL_FLAG_GRABBED   0x0002

Definition at line 1293 of file videodev2.h.

#define V4L2_CTRL_FLAG_INACTIVE   0x0010

Definition at line 1296 of file videodev2.h.

#define V4L2_CTRL_FLAG_NEXT_CTRL   0x80000000

Definition at line 1302 of file videodev2.h.

#define V4L2_CTRL_FLAG_READ_ONLY   0x0004

Definition at line 1294 of file videodev2.h.

#define V4L2_CTRL_FLAG_SLIDER   0x0020

Definition at line 1297 of file videodev2.h.

#define V4L2_CTRL_FLAG_UPDATE   0x0008

Definition at line 1295 of file videodev2.h.

#define V4L2_CTRL_FLAG_VOLATILE   0x0080

Definition at line 1299 of file videodev2.h.

#define V4L2_CTRL_FLAG_WRITE_ONLY   0x0040

Definition at line 1298 of file videodev2.h.

#define V4L2_CTRL_ID2CLASS (   id)    ((id) & 0x0fff0000UL)

Definition at line 1252 of file videodev2.h.

#define V4L2_CTRL_ID_MASK   (0x0fffffff)

Definition at line 1251 of file videodev2.h.

#define V4L2_DEC_CMD_PAUSE   (2)

Definition at line 1519 of file videodev2.h.

#define V4L2_DEC_CMD_PAUSE_TO_BLACK   (1 << 0)

Definition at line 1526 of file videodev2.h.

#define V4L2_DEC_CMD_RESUME   (3)

Definition at line 1520 of file videodev2.h.

#define V4L2_DEC_CMD_START   (0)

Definition at line 1517 of file videodev2.h.

#define V4L2_DEC_CMD_START_MUTE_AUDIO   (1 << 0)

Definition at line 1523 of file videodev2.h.

#define V4L2_DEC_CMD_STOP   (1)

Definition at line 1518 of file videodev2.h.

#define V4L2_DEC_CMD_STOP_IMMEDIATELY   (1 << 1)

Definition at line 1530 of file videodev2.h.

#define V4L2_DEC_CMD_STOP_TO_BLACK   (1 << 0)

Definition at line 1529 of file videodev2.h.

#define V4L2_DEC_START_FMT_GOP   (1)

Definition at line 1537 of file videodev2.h.

#define V4L2_DEC_START_FMT_NONE   (0)

Definition at line 1535 of file videodev2.h.

#define V4L2_DV_1080I25   11 /* BT.1120 */

Definition at line 973 of file videodev2.h.

#define V4L2_DV_1080I29_97   9 /* BT.1120/ SMPTE 274M */

Definition at line 971 of file videodev2.h.

#define V4L2_DV_1080I30   10 /* BT.1120/ SMPTE 274M */

Definition at line 972 of file videodev2.h.

#define V4L2_DV_1080I50   12 /* SMPTE 296M */

Definition at line 974 of file videodev2.h.

#define V4L2_DV_1080I60   13 /* SMPTE 296M */

Definition at line 975 of file videodev2.h.

#define V4L2_DV_1080P24   14 /* SMPTE 296M */

Definition at line 976 of file videodev2.h.

#define V4L2_DV_1080P25   15 /* SMPTE 296M */

Definition at line 977 of file videodev2.h.

#define V4L2_DV_1080P30   16 /* SMPTE 296M */

Definition at line 978 of file videodev2.h.

#define V4L2_DV_1080P50   17 /* BT.1120 */

Definition at line 979 of file videodev2.h.

#define V4L2_DV_1080P60   18 /* BT.1120 */

Definition at line 980 of file videodev2.h.

#define V4L2_DV_480P59_94   1 /* BT.1362 */

Definition at line 963 of file videodev2.h.

#define V4L2_DV_576P50   2 /* BT.1362 */

Definition at line 964 of file videodev2.h.

#define V4L2_DV_720P24   3 /* SMPTE 296M */

Definition at line 965 of file videodev2.h.

#define V4L2_DV_720P25   4 /* SMPTE 296M */

Definition at line 966 of file videodev2.h.

#define V4L2_DV_720P30   5 /* SMPTE 296M */

Definition at line 967 of file videodev2.h.

#define V4L2_DV_720P50   6 /* SMPTE 296M */

Definition at line 968 of file videodev2.h.

#define V4L2_DV_720P59_94   7 /* SMPTE 274M */

Definition at line 969 of file videodev2.h.

#define V4L2_DV_720P60   8 /* SMPTE 274M/296M */

Definition at line 970 of file videodev2.h.

#define V4L2_DV_BT_656_1120   0 /* BT.656/1120 timing type */

Definition at line 1091 of file videodev2.h.

#define V4L2_DV_BT_CAP_CUSTOM   (1 << 3)

Definition at line 1135 of file videodev2.h.

#define V4L2_DV_BT_CAP_INTERLACED   (1 << 0)

Definition at line 1129 of file videodev2.h.

#define V4L2_DV_BT_CAP_PROGRESSIVE   (1 << 1)

Definition at line 1131 of file videodev2.h.

#define V4L2_DV_BT_CAP_REDUCED_BLANKING   (1 << 2)

Definition at line 1133 of file videodev2.h.

#define V4L2_DV_BT_STD_CEA861   (1 << 0) /* CEA-861 Digital TV Profile */

Definition at line 1047 of file videodev2.h.

#define V4L2_DV_BT_STD_CVT   (1 << 2) /* VESA Coordinated Video Timings */

Definition at line 1049 of file videodev2.h.

#define V4L2_DV_BT_STD_DMT   (1 << 1) /* VESA Discrete Monitor Timings */

Definition at line 1048 of file videodev2.h.

#define V4L2_DV_BT_STD_GTF   (1 << 3) /* VESA Generalized Timings Formula */

Definition at line 1050 of file videodev2.h.

#define V4L2_DV_FL_CAN_REDUCE_FPS   (1 << 1)

Definition at line 1062 of file videodev2.h.

#define V4L2_DV_FL_HALF_LINE   (1 << 0)

Definition at line 1075 of file videodev2.h.

#define V4L2_DV_FL_REDUCED_BLANKING   (1 << 0)

Definition at line 1058 of file videodev2.h.

#define V4L2_DV_FL_REDUCED_FPS   (1 << 2)

Definition at line 1070 of file videodev2.h.

#define V4L2_DV_HSYNC_POS_POL   0x00000002

Definition at line 1044 of file videodev2.h.

#define V4L2_DV_INTERLACED   1

Definition at line 1040 of file videodev2.h.

#define V4L2_DV_INVALID   0

Definition at line 962 of file videodev2.h.

#define V4L2_DV_PROGRESSIVE   0

Definition at line 1039 of file videodev2.h.

#define V4L2_DV_VSYNC_POS_POL   0x00000001

Definition at line 1043 of file videodev2.h.

#define V4L2_ENC_CMD_PAUSE   (2)

Definition at line 1500 of file videodev2.h.

#define V4L2_ENC_CMD_RESUME   (3)

Definition at line 1501 of file videodev2.h.

#define V4L2_ENC_CMD_START   (0)

Definition at line 1498 of file videodev2.h.

#define V4L2_ENC_CMD_STOP   (1)

Definition at line 1499 of file videodev2.h.

#define V4L2_ENC_CMD_STOP_AT_GOP_END   (1 << 0)

Definition at line 1504 of file videodev2.h.

#define V4L2_ENC_IDX_ENTRIES   (64)

Definition at line 1489 of file videodev2.h.

#define V4L2_ENC_IDX_FRAME_B   (2)

Definition at line 1478 of file videodev2.h.

#define V4L2_ENC_IDX_FRAME_I   (0)

Definition at line 1476 of file videodev2.h.

#define V4L2_ENC_IDX_FRAME_MASK   (0xf)

Definition at line 1479 of file videodev2.h.

#define V4L2_ENC_IDX_FRAME_P   (1)

Definition at line 1477 of file videodev2.h.

#define V4L2_EVENT_ALL   0

Definition at line 1762 of file videodev2.h.

#define V4L2_EVENT_CTRL   3

Definition at line 1765 of file videodev2.h.

#define V4L2_EVENT_CTRL_CH_FLAGS   (1 << 1)

Definition at line 1777 of file videodev2.h.

#define V4L2_EVENT_CTRL_CH_VALUE   (1 << 0)

Definition at line 1776 of file videodev2.h.

#define V4L2_EVENT_EOS   2

Definition at line 1764 of file videodev2.h.

#define V4L2_EVENT_FRAME_SYNC   4

Definition at line 1766 of file videodev2.h.

#define V4L2_EVENT_PRIVATE_START   0x08000000

Definition at line 1767 of file videodev2.h.

#define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK   (1 << 1)

Definition at line 1813 of file videodev2.h.

#define V4L2_EVENT_SUB_FL_SEND_INITIAL   (1 << 0)

Definition at line 1812 of file videodev2.h.

#define V4L2_EVENT_VSYNC   1

Definition at line 1763 of file videodev2.h.

#define V4L2_FBUF_CAP_BITMAP_CLIPPING   0x0008

Definition at line 704 of file videodev2.h.

#define V4L2_FBUF_CAP_CHROMAKEY   0x0002

Definition at line 702 of file videodev2.h.

#define V4L2_FBUF_CAP_EXTERNOVERLAY   0x0001

Definition at line 701 of file videodev2.h.

#define V4L2_FBUF_CAP_GLOBAL_ALPHA   0x0020

Definition at line 706 of file videodev2.h.

#define V4L2_FBUF_CAP_LIST_CLIPPING   0x0004

Definition at line 703 of file videodev2.h.

#define V4L2_FBUF_CAP_LOCAL_ALPHA   0x0010

Definition at line 705 of file videodev2.h.

#define V4L2_FBUF_CAP_LOCAL_INV_ALPHA   0x0040

Definition at line 707 of file videodev2.h.

#define V4L2_FBUF_CAP_SRC_CHROMAKEY   0x0080

Definition at line 708 of file videodev2.h.

#define V4L2_FBUF_FLAG_CHROMAKEY   0x0004

Definition at line 712 of file videodev2.h.

#define V4L2_FBUF_FLAG_GLOBAL_ALPHA   0x0010

Definition at line 714 of file videodev2.h.

#define V4L2_FBUF_FLAG_LOCAL_ALPHA   0x0008

Definition at line 713 of file videodev2.h.

#define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA   0x0020

Definition at line 715 of file videodev2.h.

#define V4L2_FBUF_FLAG_OVERLAY   0x0002

Definition at line 711 of file videodev2.h.

#define V4L2_FBUF_FLAG_PRIMARY   0x0001

Definition at line 710 of file videodev2.h.

#define V4L2_FBUF_FLAG_SRC_CHROMAKEY   0x0040

Definition at line 716 of file videodev2.h.

#define V4L2_FIELD_HAS_BOTH (   field)
#define V4L2_FIELD_HAS_BOTTOM (   field)
#define V4L2_FIELD_HAS_TOP (   field)
#define V4L2_FMT_FLAG_COMPRESSED   0x0001

Definition at line 456 of file videodev2.h.

#define V4L2_FMT_FLAG_EMULATED   0x0002

Definition at line 457 of file videodev2.h.

#define v4l2_fourcc (   a,
  b,
  c,
  d 
)    ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) << 24))

Definition at line 101 of file videodev2.h.

#define V4L2_IN_CAP_CUSTOM_TIMINGS   V4L2_IN_CAP_DV_TIMINGS /* For compatibility */

Definition at line 1197 of file videodev2.h.

#define V4L2_IN_CAP_DV_TIMINGS   0x00000002 /* Supports S_DV_TIMINGS */

Definition at line 1196 of file videodev2.h.

#define V4L2_IN_CAP_PRESETS   0x00000001 /* Supports S_DV_PRESET */

Definition at line 1195 of file videodev2.h.

#define V4L2_IN_CAP_STD   0x00000004 /* Supports S_STD */

Definition at line 1198 of file videodev2.h.

#define V4L2_IN_ST_COLOR_KILL   0x00000200 /* Color killer is active */

Definition at line 1182 of file videodev2.h.

#define V4L2_IN_ST_HFLIP   0x00000010 /* Frames are flipped horizontally */

Definition at line 1177 of file videodev2.h.

#define V4L2_IN_ST_MACROVISION   0x01000000 /* Macrovision detected */

Definition at line 1190 of file videodev2.h.

#define V4L2_IN_ST_NO_ACCESS   0x02000000 /* Conditional access denied */

Definition at line 1191 of file videodev2.h.

#define V4L2_IN_ST_NO_CARRIER   0x00040000 /* Carrier recovery failed */

Definition at line 1187 of file videodev2.h.

#define V4L2_IN_ST_NO_COLOR   0x00000004

Definition at line 1173 of file videodev2.h.

#define V4L2_IN_ST_NO_EQU   0x00020000 /* No equalizer lock */

Definition at line 1186 of file videodev2.h.

#define V4L2_IN_ST_NO_H_LOCK   0x00000100 /* No horizontal sync lock */

Definition at line 1181 of file videodev2.h.

#define V4L2_IN_ST_NO_POWER   0x00000001 /* Attached device is off */

Definition at line 1171 of file videodev2.h.

#define V4L2_IN_ST_NO_SIGNAL   0x00000002

Definition at line 1172 of file videodev2.h.

#define V4L2_IN_ST_NO_SYNC   0x00010000 /* No synchronization lock */

Definition at line 1185 of file videodev2.h.

#define V4L2_IN_ST_VFLIP   0x00000020 /* Frames are flipped vertically */

Definition at line 1178 of file videodev2.h.

#define V4L2_IN_ST_VTR   0x04000000 /* VTR time constant */

Definition at line 1192 of file videodev2.h.

#define V4L2_INPUT_TYPE_CAMERA   2

Definition at line 1168 of file videodev2.h.

#define V4L2_INPUT_TYPE_TUNER   1

Definition at line 1167 of file videodev2.h.

#define V4L2_JPEG_MARKER_APP
Value:
(1<<7) /* App segment, driver will
* allways use APP0 */

Definition at line 581 of file videodev2.h.

#define V4L2_JPEG_MARKER_COM   (1<<6) /* Comment segment */

Definition at line 580 of file videodev2.h.

#define V4L2_JPEG_MARKER_DHT   (1<<3) /* Define Huffman Tables */

Definition at line 577 of file videodev2.h.

#define V4L2_JPEG_MARKER_DQT   (1<<4) /* Define Quantization Tables */

Definition at line 578 of file videodev2.h.

#define V4L2_JPEG_MARKER_DRI   (1<<5) /* Define Restart Interval */

Definition at line 579 of file videodev2.h.

#define V4L2_MODE_HIGHQUALITY   0x0001 /* High quality imaging mode */

Definition at line 746 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_CAPTION_525   (4)

Definition at line 1657 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_MAGIC0   "itv0"

Definition at line 1675 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_MAGIC1   "ITV0"

Definition at line 1676 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_TELETEXT_B   (1)

Definition at line 1656 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_VPS   (7)

Definition at line 1659 of file videodev2.h.

#define V4L2_MPEG_VBI_IVTV_WSS_625   (5)

Definition at line 1658 of file videodev2.h.

#define V4L2_OUT_CAP_CUSTOM_TIMINGS   V4L2_OUT_CAP_DV_TIMINGS /* For compatibility */

Definition at line 1221 of file videodev2.h.

#define V4L2_OUT_CAP_DV_TIMINGS   0x00000002 /* Supports S_DV_TIMINGS */

Definition at line 1220 of file videodev2.h.

#define V4L2_OUT_CAP_PRESETS   0x00000001 /* Supports S_DV_PRESET */

Definition at line 1219 of file videodev2.h.

#define V4L2_OUT_CAP_STD   0x00000004 /* Supports S_STD */

Definition at line 1222 of file videodev2.h.

#define V4L2_OUTPUT_TYPE_ANALOG   2

Definition at line 1215 of file videodev2.h.

#define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY   3

Definition at line 1216 of file videodev2.h.

#define V4L2_OUTPUT_TYPE_MODULATOR   1

Definition at line 1214 of file videodev2.h.

#define V4L2_PIX_FMT_BGR24   v4l2_fourcc('B', 'G', 'R', '3') /* 24 BGR-8-8-8 */

Definition at line 317 of file videodev2.h.

#define V4L2_PIX_FMT_BGR32   v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */

Definition at line 319 of file videodev2.h.

#define V4L2_PIX_FMT_BGR666   v4l2_fourcc('B', 'G', 'R', 'H') /* 18 BGR-6-6-6 */

Definition at line 316 of file videodev2.h.

#define V4L2_PIX_FMT_CIT_YYVYUY   v4l2_fourcc('C', 'I', 'T', 'V') /* one line of Y then 1 line of VYUY */

Definition at line 438 of file videodev2.h.

#define V4L2_PIX_FMT_CPIA1   v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */

Definition at line 417 of file videodev2.h.

#define V4L2_PIX_FMT_DV   v4l2_fourcc('d', 'v', 's', 'd') /* 1394 */

Definition at line 402 of file videodev2.h.

#define V4L2_PIX_FMT_ET61X251   v4l2_fourcc('E', '6', '2', '5') /* ET61X251 compression */

Definition at line 423 of file videodev2.h.

#define V4L2_PIX_FMT_GREY   v4l2_fourcc('G', 'R', 'E', 'Y') /* 8 Greyscale */

Definition at line 323 of file videodev2.h.

#define V4L2_PIX_FMT_H263   v4l2_fourcc('H', '2', '6', '3') /* H263 */

Definition at line 407 of file videodev2.h.

#define V4L2_PIX_FMT_H264   v4l2_fourcc('H', '2', '6', '4') /* H264 with start codes */

Definition at line 404 of file videodev2.h.

#define V4L2_PIX_FMT_H264_MVC   v4l2_fourcc('M', '2', '6', '4') /* H264 MVC */

Definition at line 406 of file videodev2.h.

#define V4L2_PIX_FMT_H264_NO_SC   v4l2_fourcc('A', 'V', 'C', '1') /* H264 without start codes */

Definition at line 405 of file videodev2.h.

#define V4L2_PIX_FMT_HI240   v4l2_fourcc('H', 'I', '2', '4') /* 8 8-bit color */

Definition at line 353 of file videodev2.h.

#define V4L2_PIX_FMT_HM12   v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */

Definition at line 354 of file videodev2.h.

#define V4L2_PIX_FMT_JL2005BCD   v4l2_fourcc('J', 'L', '2', '0') /* compressed RGGB bayer */

Definition at line 430 of file videodev2.h.

#define V4L2_PIX_FMT_JPEG   v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */

Definition at line 401 of file videodev2.h.

#define V4L2_PIX_FMT_JPGL   v4l2_fourcc('J', 'P', 'G', 'L') /* JPEG-Lite */

Definition at line 440 of file videodev2.h.

#define V4L2_PIX_FMT_KONICA420   v4l2_fourcc('K', 'O', 'N', 'I') /* YUV420 planar in blocks of 256 pixels */

Definition at line 439 of file videodev2.h.

#define V4L2_PIX_FMT_M420   v4l2_fourcc('M', '4', '2', '0') /* 12 YUV 4:2:0 2 lines y, 1 line uv interleaved */

Definition at line 355 of file videodev2.h.

#define V4L2_PIX_FMT_MJPEG   v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */

Definition at line 400 of file videodev2.h.

#define V4L2_PIX_FMT_MPEG   v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 Multiplexed */

Definition at line 403 of file videodev2.h.

#define V4L2_PIX_FMT_MPEG1   v4l2_fourcc('M', 'P', 'G', '1') /* MPEG-1 ES */

Definition at line 408 of file videodev2.h.

#define V4L2_PIX_FMT_MPEG2   v4l2_fourcc('M', 'P', 'G', '2') /* MPEG-2 ES */

Definition at line 409 of file videodev2.h.

#define V4L2_PIX_FMT_MPEG4   v4l2_fourcc('M', 'P', 'G', '4') /* MPEG-4 ES */

Definition at line 410 of file videodev2.h.

#define V4L2_PIX_FMT_MR97310A   v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */

Definition at line 429 of file videodev2.h.

#define V4L2_PIX_FMT_NV12   v4l2_fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */

Definition at line 358 of file videodev2.h.

#define V4L2_PIX_FMT_NV12M   v4l2_fourcc('N', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 */

Definition at line 366 of file videodev2.h.

#define V4L2_PIX_FMT_NV12MT   v4l2_fourcc('T', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 64x32 macroblocks */

Definition at line 368 of file videodev2.h.

#define V4L2_PIX_FMT_NV12MT_16X16   v4l2_fourcc('V', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 macroblocks */

Definition at line 369 of file videodev2.h.

#define V4L2_PIX_FMT_NV16   v4l2_fourcc('N', 'V', '1', '6') /* 16 Y/CbCr 4:2:2 */

Definition at line 360 of file videodev2.h.

#define V4L2_PIX_FMT_NV21   v4l2_fourcc('N', 'V', '2', '1') /* 12 Y/CrCb 4:2:0 */

Definition at line 359 of file videodev2.h.

#define V4L2_PIX_FMT_NV21M   v4l2_fourcc('N', 'M', '2', '1') /* 21 Y/CrCb 4:2:0 */

Definition at line 367 of file videodev2.h.

#define V4L2_PIX_FMT_NV24   v4l2_fourcc('N', 'V', '2', '4') /* 24 Y/CbCr 4:4:4 */

Definition at line 362 of file videodev2.h.

#define V4L2_PIX_FMT_NV42   v4l2_fourcc('N', 'V', '4', '2') /* 24 Y/CrCb 4:4:4 */

Definition at line 363 of file videodev2.h.

#define V4L2_PIX_FMT_NV61   v4l2_fourcc('N', 'V', '6', '1') /* 16 Y/CrCb 4:2:2 */

Definition at line 361 of file videodev2.h.

#define V4L2_PIX_FMT_OV511   v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */

Definition at line 434 of file videodev2.h.

#define V4L2_PIX_FMT_OV518   v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */

Definition at line 435 of file videodev2.h.

#define V4L2_PIX_FMT_PAC207   v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */

Definition at line 428 of file videodev2.h.

#define V4L2_PIX_FMT_PAL8   v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */

Definition at line 334 of file videodev2.h.

#define V4L2_PIX_FMT_PJPG   v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */

Definition at line 433 of file videodev2.h.

#define V4L2_PIX_FMT_PWC1   v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam */

Definition at line 421 of file videodev2.h.

#define V4L2_PIX_FMT_PWC2   v4l2_fourcc('P', 'W', 'C', '2') /* pwc newer webcam */

Definition at line 422 of file videodev2.h.

#define V4L2_PIX_FMT_RGB24   v4l2_fourcc('R', 'G', 'B', '3') /* 24 RGB-8-8-8 */

Definition at line 318 of file videodev2.h.

#define V4L2_PIX_FMT_RGB32   v4l2_fourcc('R', 'G', 'B', '4') /* 32 RGB-8-8-8-8 */

Definition at line 320 of file videodev2.h.

#define V4L2_PIX_FMT_RGB332   v4l2_fourcc('R', 'G', 'B', '1') /* 8 RGB-3-3-2 */

Definition at line 310 of file videodev2.h.

#define V4L2_PIX_FMT_RGB444   v4l2_fourcc('R', '4', '4', '4') /* 16 xxxxrrrr ggggbbbb */

Definition at line 311 of file videodev2.h.

#define V4L2_PIX_FMT_RGB555   v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */

Definition at line 312 of file videodev2.h.

#define V4L2_PIX_FMT_RGB555X   v4l2_fourcc('R', 'G', 'B', 'Q') /* 16 RGB-5-5-5 BE */

Definition at line 314 of file videodev2.h.

#define V4L2_PIX_FMT_RGB565   v4l2_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */

Definition at line 313 of file videodev2.h.

#define V4L2_PIX_FMT_RGB565X   v4l2_fourcc('R', 'G', 'B', 'R') /* 16 RGB-5-6-5 BE */

Definition at line 315 of file videodev2.h.

#define V4L2_PIX_FMT_S5C_UYVY_JPG   v4l2_fourcc('S', '5', 'C', 'I') /* S5C73M3 interleaved UYVY/JPEG */

Definition at line 442 of file videodev2.h.

#define V4L2_PIX_FMT_SBGGR10   v4l2_fourcc('B', 'G', '1', '0') /* 10 BGBG.. GRGR.. */

Definition at line 380 of file videodev2.h.

#define V4L2_PIX_FMT_SBGGR10DPCM8   v4l2_fourcc('b', 'B', 'A', '8')

Definition at line 389 of file videodev2.h.

#define V4L2_PIX_FMT_SBGGR12   v4l2_fourcc('B', 'G', '1', '2') /* 12 BGBG.. GRGR.. */

Definition at line 384 of file videodev2.h.

#define V4L2_PIX_FMT_SBGGR16   v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */

Definition at line 397 of file videodev2.h.

#define V4L2_PIX_FMT_SBGGR8   v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */

Definition at line 376 of file videodev2.h.

#define V4L2_PIX_FMT_SE401   v4l2_fourcc('S', '4', '0', '1') /* se401 janggu compressed rgb */

Definition at line 441 of file videodev2.h.

#define V4L2_PIX_FMT_SGBRG10   v4l2_fourcc('G', 'B', '1', '0') /* 10 GBGB.. RGRG.. */

Definition at line 381 of file videodev2.h.

#define V4L2_PIX_FMT_SGBRG10DPCM8   v4l2_fourcc('b', 'G', 'A', '8')

Definition at line 390 of file videodev2.h.

#define V4L2_PIX_FMT_SGBRG12   v4l2_fourcc('G', 'B', '1', '2') /* 12 GBGB.. RGRG.. */

Definition at line 385 of file videodev2.h.

#define V4L2_PIX_FMT_SGBRG8   v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */

Definition at line 377 of file videodev2.h.

#define V4L2_PIX_FMT_SGRBG10   v4l2_fourcc('B', 'A', '1', '0') /* 10 GRGR.. BGBG.. */

Definition at line 382 of file videodev2.h.

#define V4L2_PIX_FMT_SGRBG10DPCM8   v4l2_fourcc('B', 'D', '1', '0')

Definition at line 391 of file videodev2.h.

#define V4L2_PIX_FMT_SGRBG12   v4l2_fourcc('B', 'A', '1', '2') /* 12 GRGR.. BGBG.. */

Definition at line 386 of file videodev2.h.

#define V4L2_PIX_FMT_SGRBG8   v4l2_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */

Definition at line 378 of file videodev2.h.

#define V4L2_PIX_FMT_SN9C10X   v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */

Definition at line 419 of file videodev2.h.

#define V4L2_PIX_FMT_SN9C2028   v4l2_fourcc('S', 'O', 'N', 'X') /* compressed GBRG bayer */

Definition at line 431 of file videodev2.h.

#define V4L2_PIX_FMT_SN9C20X_I420   v4l2_fourcc('S', '9', '2', '0') /* SN9C20x YUV 4:2:0 */

Definition at line 420 of file videodev2.h.

#define V4L2_PIX_FMT_SPCA501   v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */

Definition at line 424 of file videodev2.h.

#define V4L2_PIX_FMT_SPCA505   v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */

Definition at line 425 of file videodev2.h.

#define V4L2_PIX_FMT_SPCA508   v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */

Definition at line 426 of file videodev2.h.

#define V4L2_PIX_FMT_SPCA561   v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */

Definition at line 427 of file videodev2.h.

#define V4L2_PIX_FMT_SQ905C   v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer */

Definition at line 432 of file videodev2.h.

#define V4L2_PIX_FMT_SRGGB10   v4l2_fourcc('R', 'G', '1', '0') /* 10 RGRG.. GBGB.. */

Definition at line 383 of file videodev2.h.

#define V4L2_PIX_FMT_SRGGB10DPCM8   v4l2_fourcc('b', 'R', 'A', '8')

Definition at line 392 of file videodev2.h.

#define V4L2_PIX_FMT_SRGGB12   v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */

Definition at line 387 of file videodev2.h.

#define V4L2_PIX_FMT_SRGGB8   v4l2_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */

Definition at line 379 of file videodev2.h.

#define V4L2_PIX_FMT_STV0680   v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer */

Definition at line 436 of file videodev2.h.

#define V4L2_PIX_FMT_TM6000   v4l2_fourcc('T', 'M', '6', '0') /* tm5600/tm60x0 */

Definition at line 437 of file videodev2.h.

#define V4L2_PIX_FMT_UYVY   v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */

Definition at line 342 of file videodev2.h.

#define V4L2_PIX_FMT_VC1_ANNEX_G   v4l2_fourcc('V', 'C', '1', 'G') /* SMPTE 421M Annex G compliant stream */

Definition at line 412 of file videodev2.h.

#define V4L2_PIX_FMT_VC1_ANNEX_L   v4l2_fourcc('V', 'C', '1', 'L') /* SMPTE 421M Annex L compliant stream */

Definition at line 413 of file videodev2.h.

#define V4L2_PIX_FMT_VP8   v4l2_fourcc('V', 'P', '8', '0') /* VP8 */

Definition at line 414 of file videodev2.h.

#define V4L2_PIX_FMT_VYUY   v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */

Definition at line 343 of file videodev2.h.

#define V4L2_PIX_FMT_WNVA   v4l2_fourcc('W', 'N', 'V', 'A') /* Winnov hw compress */

Definition at line 418 of file videodev2.h.

#define V4L2_PIX_FMT_XVID   v4l2_fourcc('X', 'V', 'I', 'D') /* Xvid */

Definition at line 411 of file videodev2.h.

#define V4L2_PIX_FMT_Y10   v4l2_fourcc('Y', '1', '0', ' ') /* 10 Greyscale */

Definition at line 326 of file videodev2.h.

#define V4L2_PIX_FMT_Y10BPACK   v4l2_fourcc('Y', '1', '0', 'B') /* 10 Greyscale bit-packed */

Definition at line 331 of file videodev2.h.

#define V4L2_PIX_FMT_Y12   v4l2_fourcc('Y', '1', '2', ' ') /* 12 Greyscale */

Definition at line 327 of file videodev2.h.

#define V4L2_PIX_FMT_Y16   v4l2_fourcc('Y', '1', '6', ' ') /* 16 Greyscale */

Definition at line 328 of file videodev2.h.

#define V4L2_PIX_FMT_Y4   v4l2_fourcc('Y', '0', '4', ' ') /* 4 Greyscale */

Definition at line 324 of file videodev2.h.

#define V4L2_PIX_FMT_Y41P   v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */

Definition at line 346 of file videodev2.h.

#define V4L2_PIX_FMT_Y6   v4l2_fourcc('Y', '0', '6', ' ') /* 6 Greyscale */

Definition at line 325 of file videodev2.h.

#define V4L2_PIX_FMT_YUV32   v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */

Definition at line 350 of file videodev2.h.

#define V4L2_PIX_FMT_YUV410   v4l2_fourcc('Y', 'U', 'V', '9') /* 9 YUV 4:1:0 */

Definition at line 351 of file videodev2.h.

#define V4L2_PIX_FMT_YUV411P   v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */

Definition at line 345 of file videodev2.h.

#define V4L2_PIX_FMT_YUV420   v4l2_fourcc('Y', 'U', '1', '2') /* 12 YUV 4:2:0 */

Definition at line 352 of file videodev2.h.

#define V4L2_PIX_FMT_YUV420M   v4l2_fourcc('Y', 'M', '1', '2') /* 12 YUV420 planar */

Definition at line 372 of file videodev2.h.

#define V4L2_PIX_FMT_YUV422P   v4l2_fourcc('4', '2', '2', 'P') /* 16 YVU422 planar */

Definition at line 344 of file videodev2.h.

#define V4L2_PIX_FMT_YUV444   v4l2_fourcc('Y', '4', '4', '4') /* 16 xxxxyyyy uuuuvvvv */

Definition at line 347 of file videodev2.h.

#define V4L2_PIX_FMT_YUV555   v4l2_fourcc('Y', 'U', 'V', 'O') /* 16 YUV-5-5-5 */

Definition at line 348 of file videodev2.h.

#define V4L2_PIX_FMT_YUV565   v4l2_fourcc('Y', 'U', 'V', 'P') /* 16 YUV-5-6-5 */

Definition at line 349 of file videodev2.h.

#define V4L2_PIX_FMT_YUYV   v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */

Definition at line 339 of file videodev2.h.

#define V4L2_PIX_FMT_YVU410   v4l2_fourcc('Y', 'V', 'U', '9') /* 9 YVU 4:1:0 */

Definition at line 337 of file videodev2.h.

#define V4L2_PIX_FMT_YVU420   v4l2_fourcc('Y', 'V', '1', '2') /* 12 YVU 4:2:0 */

Definition at line 338 of file videodev2.h.

#define V4L2_PIX_FMT_YVU420M   v4l2_fourcc('Y', 'M', '2', '1') /* 12 YVU420 planar */

Definition at line 373 of file videodev2.h.

#define V4L2_PIX_FMT_YVYU   v4l2_fourcc('Y', 'V', 'Y', 'U') /* 16 YVU 4:2:2 */

Definition at line 341 of file videodev2.h.

#define V4L2_PIX_FMT_YYUV   v4l2_fourcc('Y', 'Y', 'U', 'V') /* 16 YUV 4:2:2 */

Definition at line 340 of file videodev2.h.

#define V4L2_RDS_BLOCK_A   0

Definition at line 1434 of file videodev2.h.

#define V4L2_RDS_BLOCK_B   1

Definition at line 1435 of file videodev2.h.

#define V4L2_RDS_BLOCK_C   2

Definition at line 1436 of file videodev2.h.

#define V4L2_RDS_BLOCK_C_ALT   4

Definition at line 1438 of file videodev2.h.

#define V4L2_RDS_BLOCK_CORRECTED   0x40

Definition at line 1441 of file videodev2.h.

#define V4L2_RDS_BLOCK_D   3

Definition at line 1437 of file videodev2.h.

#define V4L2_RDS_BLOCK_ERROR   0x80

Definition at line 1442 of file videodev2.h.

#define V4L2_RDS_BLOCK_INVALID   7

Definition at line 1439 of file videodev2.h.

#define V4L2_RDS_BLOCK_MSK   0x7

Definition at line 1433 of file videodev2.h.

#define V4L2_SLICED_CAPTION_525   (0x1000)

Definition at line 1613 of file videodev2.h.

#define V4L2_SLICED_TELETEXT_B   (0x0001)

Definition at line 1609 of file videodev2.h.

#define V4L2_SLICED_VBI_525   (V4L2_SLICED_CAPTION_525)

Definition at line 1617 of file videodev2.h.

#define V4L2_SLICED_VBI_625   (V4L2_SLICED_TELETEXT_B | V4L2_SLICED_VPS | V4L2_SLICED_WSS_625)

Definition at line 1618 of file videodev2.h.

#define V4L2_SLICED_VPS   (0x0400)

Definition at line 1611 of file videodev2.h.

#define V4L2_SLICED_WSS_625   (0x4000)

Definition at line 1615 of file videodev2.h.

#define V4L2_STD_525_60
Value:
V4L2_STD_PAL_60 |\
V4L2_STD_NTSC |\
V4L2_STD_NTSC_443)

Definition at line 910 of file videodev2.h.

#define V4L2_STD_625_50
Value:
V4L2_STD_PAL_N |\
V4L2_STD_PAL_Nc |\
V4L2_STD_SECAM)

Definition at line 915 of file videodev2.h.

#define V4L2_STD_ALL
Value:
V4L2_STD_625_50)

Definition at line 924 of file videodev2.h.

#define V4L2_STD_ATSC
Value:
V4L2_STD_ATSC_16_VSB)

Definition at line 920 of file videodev2.h.

#define V4L2_STD_ATSC_16_VSB   ((v4l2_std_id)0x02000000)

Definition at line 832 of file videodev2.h.

#define V4L2_STD_ATSC_8_VSB   ((v4l2_std_id)0x01000000)

Definition at line 831 of file videodev2.h.

#define V4L2_STD_B
Value:
V4L2_STD_PAL_B1 |\
V4L2_STD_SECAM_B)

Definition at line 883 of file videodev2.h.

#define V4L2_STD_BG
Value:
V4L2_STD_G)

Definition at line 896 of file videodev2.h.

#define V4L2_STD_DK
Value:
V4L2_STD_SECAM_DK)

Definition at line 894 of file videodev2.h.

#define V4L2_STD_G
Value:
V4L2_STD_SECAM_G)

Definition at line 886 of file videodev2.h.

#define V4L2_STD_GH
Value:
V4L2_STD_H)

Definition at line 892 of file videodev2.h.

#define V4L2_STD_H
Value:
V4L2_STD_SECAM_H)

Definition at line 888 of file videodev2.h.

#define V4L2_STD_L
Value:
V4L2_STD_SECAM_LC)

Definition at line 890 of file videodev2.h.

#define V4L2_STD_MN
Value:
V4L2_STD_PAL_N |\
V4L2_STD_PAL_Nc |\
V4L2_STD_NTSC)

Definition at line 898 of file videodev2.h.

#define V4L2_STD_MTS
Value:
V4L2_STD_PAL_M |\
V4L2_STD_PAL_N |\
V4L2_STD_PAL_Nc)

Definition at line 904 of file videodev2.h.

#define V4L2_STD_NTSC
Value:
V4L2_STD_NTSC_M_JP |\
V4L2_STD_NTSC_M_KR)

Definition at line 852 of file videodev2.h.

#define V4L2_STD_NTSC_443   ((v4l2_std_id)0x00004000)

Definition at line 818 of file videodev2.h.

#define V4L2_STD_NTSC_M   ((v4l2_std_id)0x00001000) /* BTSC */

Definition at line 816 of file videodev2.h.

#define V4L2_STD_NTSC_M_JP   ((v4l2_std_id)0x00002000) /* EIA-J */

Definition at line 817 of file videodev2.h.

#define V4L2_STD_NTSC_M_KR   ((v4l2_std_id)0x00008000) /* FM A2 */

Definition at line 819 of file videodev2.h.

#define V4L2_STD_PAL
Value:
V4L2_STD_PAL_DK |\
V4L2_STD_PAL_H |\
V4L2_STD_PAL_I)

Definition at line 878 of file videodev2.h.

#define V4L2_STD_PAL_60   ((v4l2_std_id)0x00000800)

Definition at line 814 of file videodev2.h.

#define V4L2_STD_PAL_B   ((v4l2_std_id)0x00000001)

Definition at line 802 of file videodev2.h.

#define V4L2_STD_PAL_B1   ((v4l2_std_id)0x00000002)

Definition at line 803 of file videodev2.h.

#define V4L2_STD_PAL_BG
Value:
V4L2_STD_PAL_B1 |\
V4L2_STD_PAL_G)

Definition at line 867 of file videodev2.h.

#define V4L2_STD_PAL_D   ((v4l2_std_id)0x00000020)

Definition at line 807 of file videodev2.h.

#define V4L2_STD_PAL_D1   ((v4l2_std_id)0x00000040)

Definition at line 808 of file videodev2.h.

#define V4L2_STD_PAL_DK
Value:
V4L2_STD_PAL_D1 |\
V4L2_STD_PAL_K)

Definition at line 870 of file videodev2.h.

#define V4L2_STD_PAL_G   ((v4l2_std_id)0x00000004)

Definition at line 804 of file videodev2.h.

#define V4L2_STD_PAL_H   ((v4l2_std_id)0x00000008)

Definition at line 805 of file videodev2.h.

#define V4L2_STD_PAL_I   ((v4l2_std_id)0x00000010)

Definition at line 806 of file videodev2.h.

#define V4L2_STD_PAL_K   ((v4l2_std_id)0x00000080)

Definition at line 809 of file videodev2.h.

#define V4L2_STD_PAL_M   ((v4l2_std_id)0x00000100)

Definition at line 811 of file videodev2.h.

#define V4L2_STD_PAL_N   ((v4l2_std_id)0x00000200)

Definition at line 812 of file videodev2.h.

#define V4L2_STD_PAL_Nc   ((v4l2_std_id)0x00000400)

Definition at line 813 of file videodev2.h.

#define V4L2_STD_SECAM
Value:
V4L2_STD_SECAM_G |\
V4L2_STD_SECAM_H |\
V4L2_STD_SECAM_DK |\
V4L2_STD_SECAM_L |\
V4L2_STD_SECAM_LC)

Definition at line 860 of file videodev2.h.

#define V4L2_STD_SECAM_B   ((v4l2_std_id)0x00010000)

Definition at line 821 of file videodev2.h.

#define V4L2_STD_SECAM_D   ((v4l2_std_id)0x00020000)

Definition at line 822 of file videodev2.h.

#define V4L2_STD_SECAM_DK
Value:
V4L2_STD_SECAM_K |\
V4L2_STD_SECAM_K1)

Definition at line 856 of file videodev2.h.

#define V4L2_STD_SECAM_G   ((v4l2_std_id)0x00040000)

Definition at line 823 of file videodev2.h.

#define V4L2_STD_SECAM_H   ((v4l2_std_id)0x00080000)

Definition at line 824 of file videodev2.h.

#define V4L2_STD_SECAM_K   ((v4l2_std_id)0x00100000)

Definition at line 825 of file videodev2.h.

#define V4L2_STD_SECAM_K1   ((v4l2_std_id)0x00200000)

Definition at line 826 of file videodev2.h.

#define V4L2_STD_SECAM_L   ((v4l2_std_id)0x00400000)

Definition at line 827 of file videodev2.h.

#define V4L2_STD_SECAM_LC   ((v4l2_std_id)0x00800000)

Definition at line 828 of file videodev2.h.

#define V4L2_STD_UNKNOWN   0

Definition at line 923 of file videodev2.h.

#define V4L2_TC_FLAG_COLORFRAME   0x0002

Definition at line 550 of file videodev2.h.

#define V4L2_TC_FLAG_DROPFRAME   0x0001 /* "drop-frame" mode */

Definition at line 549 of file videodev2.h.

#define V4L2_TC_TYPE_24FPS   1

Definition at line 542 of file videodev2.h.

#define V4L2_TC_TYPE_25FPS   2

Definition at line 543 of file videodev2.h.

#define V4L2_TC_TYPE_30FPS   3

Definition at line 544 of file videodev2.h.

#define V4L2_TC_TYPE_50FPS   4

Definition at line 545 of file videodev2.h.

#define V4L2_TC_TYPE_60FPS   5

Definition at line 546 of file videodev2.h.

#define V4L2_TC_USERBITS_8BITCHARS   0x0008

Definition at line 553 of file videodev2.h.

#define V4L2_TC_USERBITS_field   0x000C

Definition at line 551 of file videodev2.h.

#define V4L2_TC_USERBITS_USERDEFINED   0x0000

Definition at line 552 of file videodev2.h.

#define V4L2_TUNER_CAP_FREQ_BANDS   0x0400

Definition at line 1371 of file videodev2.h.

#define V4L2_TUNER_CAP_HWSEEK_BOUNDED   0x0004

Definition at line 1362 of file videodev2.h.

#define V4L2_TUNER_CAP_HWSEEK_PROG_LIM   0x0800

Definition at line 1372 of file videodev2.h.

#define V4L2_TUNER_CAP_HWSEEK_WRAP   0x0008

Definition at line 1363 of file videodev2.h.

#define V4L2_TUNER_CAP_LANG1   0x0040

Definition at line 1367 of file videodev2.h.

#define V4L2_TUNER_CAP_LANG2   0x0020

Definition at line 1365 of file videodev2.h.

#define V4L2_TUNER_CAP_LOW   0x0001

Definition at line 1360 of file videodev2.h.

#define V4L2_TUNER_CAP_NORM   0x0002

Definition at line 1361 of file videodev2.h.

#define V4L2_TUNER_CAP_RDS   0x0080

Definition at line 1368 of file videodev2.h.

#define V4L2_TUNER_CAP_RDS_BLOCK_IO   0x0100

Definition at line 1369 of file videodev2.h.

#define V4L2_TUNER_CAP_RDS_CONTROLS   0x0200

Definition at line 1370 of file videodev2.h.

#define V4L2_TUNER_CAP_SAP   0x0020

Definition at line 1366 of file videodev2.h.

#define V4L2_TUNER_CAP_STEREO   0x0010

Definition at line 1364 of file videodev2.h.

#define V4L2_TUNER_MODE_LANG1   0x0003

Definition at line 1387 of file videodev2.h.

#define V4L2_TUNER_MODE_LANG1_LANG2   0x0004

Definition at line 1388 of file videodev2.h.

#define V4L2_TUNER_MODE_LANG2   0x0002

Definition at line 1385 of file videodev2.h.

#define V4L2_TUNER_MODE_MONO   0x0000

Definition at line 1383 of file videodev2.h.

#define V4L2_TUNER_MODE_SAP   0x0002

Definition at line 1386 of file videodev2.h.

#define V4L2_TUNER_MODE_STEREO   0x0001

Definition at line 1384 of file videodev2.h.

#define V4L2_TUNER_SUB_LANG1   0x0008

Definition at line 1379 of file videodev2.h.

#define V4L2_TUNER_SUB_LANG2   0x0004

Definition at line 1377 of file videodev2.h.

#define V4L2_TUNER_SUB_MONO   0x0001

Definition at line 1375 of file videodev2.h.

#define V4L2_TUNER_SUB_RDS   0x0010

Definition at line 1380 of file videodev2.h.

#define V4L2_TUNER_SUB_SAP   0x0004

Definition at line 1378 of file videodev2.h.

#define V4L2_TUNER_SUB_STEREO   0x0002

Definition at line 1376 of file videodev2.h.

#define V4L2_TYPE_IS_MULTIPLANAR (   type)
#define V4L2_TYPE_IS_OUTPUT (   type)
#define V4L2_VBI_INTERLACED   (1 << 1)

Definition at line 1587 of file videodev2.h.

#define V4L2_VBI_UNSYNC   (1 << 0)

Definition at line 1586 of file videodev2.h.

#define VID_TYPE_CAPTURE   1 /* Can capture */

Definition at line 80 of file videodev2.h.

#define VID_TYPE_CHROMAKEY   16 /* Overlay by chromakey */

Definition at line 84 of file videodev2.h.

#define VID_TYPE_CLIPPING   32 /* Can clip */

Definition at line 85 of file videodev2.h.

#define VID_TYPE_FRAMERAM   64 /* Uses the frame buffer memory */

Definition at line 86 of file videodev2.h.

#define VID_TYPE_MJPEG_DECODER   4096 /* Can decode MJPEG streams */

Definition at line 92 of file videodev2.h.

#define VID_TYPE_MJPEG_ENCODER   8192 /* Can encode MJPEG streams */

Definition at line 93 of file videodev2.h.

#define VID_TYPE_MONOCHROME   256 /* Monochrome only */

Definition at line 88 of file videodev2.h.

#define VID_TYPE_MPEG_DECODER   1024 /* Can decode MPEG streams */

Definition at line 90 of file videodev2.h.

#define VID_TYPE_MPEG_ENCODER   2048 /* Can encode MPEG streams */

Definition at line 91 of file videodev2.h.

#define VID_TYPE_OVERLAY   8 /* Overlay onto frame buffer */

Definition at line 83 of file videodev2.h.

#define VID_TYPE_SCALES   128 /* Scalable */

Definition at line 87 of file videodev2.h.

#define VID_TYPE_SUBCAPTURE   512 /* Can capture subareas of the image */

Definition at line 89 of file videodev2.h.

#define VID_TYPE_TELETEXT   4 /* Does teletext */

Definition at line 82 of file videodev2.h.

#define VID_TYPE_TUNER   2 /* Can tune */

Definition at line 81 of file videodev2.h.

#define VIDEO_MAX_FRAME   32

Definition at line 72 of file videodev2.h.

#define VIDEO_MAX_PLANES   8

Definition at line 73 of file videodev2.h.

#define VIDIOC_CREATE_BUFS   _IOWR('V', 92, struct v4l2_create_buffers)

Definition at line 1970 of file videodev2.h.

#define VIDIOC_CROPCAP   _IOWR('V', 58, struct v4l2_cropcap)

Definition at line 1918 of file videodev2.h.

#define VIDIOC_DBG_G_CHIP_IDENT   _IOWR('V', 81, struct v4l2_dbg_chip_ident)

Definition at line 1951 of file videodev2.h.

#define VIDIOC_DBG_G_REGISTER   _IOWR('V', 80, struct v4l2_dbg_register)

Definition at line 1947 of file videodev2.h.

#define VIDIOC_DBG_S_REGISTER   _IOW('V', 79, struct v4l2_dbg_register)

Definition at line 1946 of file videodev2.h.

#define VIDIOC_DECODER_CMD   _IOWR('V', 96, struct v4l2_decoder_cmd)

Definition at line 1979 of file videodev2.h.

#define VIDIOC_DQBUF   _IOWR('V', 17, struct v4l2_buffer)

Definition at line 1890 of file videodev2.h.

#define VIDIOC_DQEVENT   _IOR('V', 89, struct v4l2_event)

Definition at line 1964 of file videodev2.h.

#define VIDIOC_DV_TIMINGS_CAP   _IOWR('V', 100, struct v4l2_dv_timings_cap)

Definition at line 1986 of file videodev2.h.

#define VIDIOC_ENCODER_CMD   _IOWR('V', 77, struct v4l2_encoder_cmd)

Definition at line 1938 of file videodev2.h.

#define VIDIOC_ENUM_DV_PRESETS   _IOWR('V', 83, struct v4l2_dv_enum_preset)

Definition at line 1958 of file videodev2.h.

#define VIDIOC_ENUM_DV_TIMINGS   _IOWR('V', 98, struct v4l2_enum_dv_timings)

Definition at line 1984 of file videodev2.h.

#define VIDIOC_ENUM_FMT   _IOWR('V', 2, struct v4l2_fmtdesc)

Definition at line 1881 of file videodev2.h.

#define VIDIOC_ENUM_FRAMEINTERVALS   _IOWR('V', 75, struct v4l2_frmivalenum)

Definition at line 1936 of file videodev2.h.

#define VIDIOC_ENUM_FRAMESIZES   _IOWR('V', 74, struct v4l2_frmsizeenum)

Definition at line 1935 of file videodev2.h.

#define VIDIOC_ENUM_FREQ_BANDS   _IOWR('V', 101, struct v4l2_frequency_band)

Definition at line 1990 of file videodev2.h.

#define VIDIOC_ENUMAUDIO   _IOWR('V', 65, struct v4l2_audio)

Definition at line 1925 of file videodev2.h.

#define VIDIOC_ENUMAUDOUT   _IOWR('V', 66, struct v4l2_audioout)

Definition at line 1926 of file videodev2.h.

#define VIDIOC_ENUMINPUT   _IOWR('V', 26, struct v4l2_input)

Definition at line 1898 of file videodev2.h.

#define VIDIOC_ENUMOUTPUT   _IOWR('V', 48, struct v4l2_output)

Definition at line 1911 of file videodev2.h.

#define VIDIOC_ENUMSTD   _IOWR('V', 25, struct v4l2_standard)

Definition at line 1897 of file videodev2.h.

#define VIDIOC_G_AUDIO   _IOR('V', 33, struct v4l2_audio)

Definition at line 1903 of file videodev2.h.

#define VIDIOC_G_AUDOUT   _IOR('V', 49, struct v4l2_audioout)

Definition at line 1912 of file videodev2.h.

#define VIDIOC_G_CROP   _IOWR('V', 59, struct v4l2_crop)

Definition at line 1919 of file videodev2.h.

#define VIDIOC_G_CTRL   _IOWR('V', 27, struct v4l2_control)

Definition at line 1899 of file videodev2.h.

#define VIDIOC_G_DV_PRESET   _IOWR('V', 85, struct v4l2_dv_preset)

Definition at line 1960 of file videodev2.h.

#define VIDIOC_G_DV_TIMINGS   _IOWR('V', 88, struct v4l2_dv_timings)

Definition at line 1963 of file videodev2.h.

#define VIDIOC_G_ENC_INDEX   _IOR('V', 76, struct v4l2_enc_idx)

Definition at line 1937 of file videodev2.h.

#define VIDIOC_G_EXT_CTRLS   _IOWR('V', 71, struct v4l2_ext_controls)

Definition at line 1931 of file videodev2.h.

#define VIDIOC_G_FBUF   _IOR('V', 10, struct v4l2_framebuffer)

Definition at line 1886 of file videodev2.h.

#define VIDIOC_G_FMT   _IOWR('V', 4, struct v4l2_format)

Definition at line 1882 of file videodev2.h.

#define VIDIOC_G_FREQUENCY   _IOWR('V', 56, struct v4l2_frequency)

Definition at line 1916 of file videodev2.h.

#define VIDIOC_G_INPUT   _IOR('V', 38, int)

Definition at line 1907 of file videodev2.h.

#define VIDIOC_G_JPEGCOMP   _IOR('V', 61, struct v4l2_jpegcompression)

Definition at line 1921 of file videodev2.h.

#define VIDIOC_G_MODULATOR   _IOWR('V', 54, struct v4l2_modulator)

Definition at line 1914 of file videodev2.h.

#define VIDIOC_G_OUTPUT   _IOR('V', 46, int)

Definition at line 1909 of file videodev2.h.

#define VIDIOC_G_PARM   _IOWR('V', 21, struct v4l2_streamparm)

Definition at line 1893 of file videodev2.h.

#define VIDIOC_G_PRIORITY   _IOR('V', 67, __u32) /* enum v4l2_priority */

Definition at line 1927 of file videodev2.h.

#define VIDIOC_G_SELECTION   _IOWR('V', 94, struct v4l2_selection)

Definition at line 1974 of file videodev2.h.

#define VIDIOC_G_SLICED_VBI_CAP   _IOWR('V', 69, struct v4l2_sliced_vbi_cap)

Definition at line 1929 of file videodev2.h.

#define VIDIOC_G_STD   _IOR('V', 23, v4l2_std_id)

Definition at line 1895 of file videodev2.h.

#define VIDIOC_G_TUNER   _IOWR('V', 29, struct v4l2_tuner)

Definition at line 1901 of file videodev2.h.

#define VIDIOC_LOG_STATUS   _IO('V', 70)

Definition at line 1930 of file videodev2.h.

#define VIDIOC_OVERLAY   _IOW('V', 14, int)

Definition at line 1888 of file videodev2.h.

#define VIDIOC_PREPARE_BUF   _IOWR('V', 93, struct v4l2_buffer)

Definition at line 1971 of file videodev2.h.

#define VIDIOC_QBUF   _IOWR('V', 15, struct v4l2_buffer)

Definition at line 1889 of file videodev2.h.

#define VIDIOC_QUERY_DV_PRESET   _IOR('V', 86, struct v4l2_dv_preset)

Definition at line 1961 of file videodev2.h.

#define VIDIOC_QUERY_DV_TIMINGS   _IOR('V', 99, struct v4l2_dv_timings)

Definition at line 1985 of file videodev2.h.

#define VIDIOC_QUERYBUF   _IOWR('V', 9, struct v4l2_buffer)

Definition at line 1885 of file videodev2.h.

#define VIDIOC_QUERYCAP   _IOR('V', 0, struct v4l2_capability)

Definition at line 1879 of file videodev2.h.

#define VIDIOC_QUERYCTRL   _IOWR('V', 36, struct v4l2_queryctrl)

Definition at line 1905 of file videodev2.h.

#define VIDIOC_QUERYMENU   _IOWR('V', 37, struct v4l2_querymenu)

Definition at line 1906 of file videodev2.h.

#define VIDIOC_QUERYSTD   _IOR('V', 63, v4l2_std_id)

Definition at line 1923 of file videodev2.h.

#define VIDIOC_REQBUFS   _IOWR('V', 8, struct v4l2_requestbuffers)

Definition at line 1884 of file videodev2.h.

#define VIDIOC_RESERVED   _IO('V', 1)

Definition at line 1880 of file videodev2.h.

#define VIDIOC_S_AUDIO   _IOW('V', 34, struct v4l2_audio)

Definition at line 1904 of file videodev2.h.

#define VIDIOC_S_AUDOUT   _IOW('V', 50, struct v4l2_audioout)

Definition at line 1913 of file videodev2.h.

#define VIDIOC_S_CROP   _IOW('V', 60, struct v4l2_crop)

Definition at line 1920 of file videodev2.h.

#define VIDIOC_S_CTRL   _IOWR('V', 28, struct v4l2_control)

Definition at line 1900 of file videodev2.h.

#define VIDIOC_S_DV_PRESET   _IOWR('V', 84, struct v4l2_dv_preset)

Definition at line 1959 of file videodev2.h.

#define VIDIOC_S_DV_TIMINGS   _IOWR('V', 87, struct v4l2_dv_timings)

Definition at line 1962 of file videodev2.h.

#define VIDIOC_S_EXT_CTRLS   _IOWR('V', 72, struct v4l2_ext_controls)

Definition at line 1932 of file videodev2.h.

#define VIDIOC_S_FBUF   _IOW('V', 11, struct v4l2_framebuffer)

Definition at line 1887 of file videodev2.h.

#define VIDIOC_S_FMT   _IOWR('V', 5, struct v4l2_format)

Definition at line 1883 of file videodev2.h.

#define VIDIOC_S_FREQUENCY   _IOW('V', 57, struct v4l2_frequency)

Definition at line 1917 of file videodev2.h.

#define VIDIOC_S_HW_FREQ_SEEK   _IOW('V', 82, struct v4l2_hw_freq_seek)

Definition at line 1954 of file videodev2.h.

#define VIDIOC_S_INPUT   _IOWR('V', 39, int)

Definition at line 1908 of file videodev2.h.

#define VIDIOC_S_JPEGCOMP   _IOW('V', 62, struct v4l2_jpegcompression)

Definition at line 1922 of file videodev2.h.

#define VIDIOC_S_MODULATOR   _IOW('V', 55, struct v4l2_modulator)

Definition at line 1915 of file videodev2.h.

#define VIDIOC_S_OUTPUT   _IOWR('V', 47, int)

Definition at line 1910 of file videodev2.h.

#define VIDIOC_S_PARM   _IOWR('V', 22, struct v4l2_streamparm)

Definition at line 1894 of file videodev2.h.

#define VIDIOC_S_PRIORITY   _IOW('V', 68, __u32) /* enum v4l2_priority */

Definition at line 1928 of file videodev2.h.

#define VIDIOC_S_SELECTION   _IOWR('V', 95, struct v4l2_selection)

Definition at line 1975 of file videodev2.h.

#define VIDIOC_S_STD   _IOW('V', 24, v4l2_std_id)

Definition at line 1896 of file videodev2.h.

#define VIDIOC_S_TUNER   _IOW('V', 30, struct v4l2_tuner)

Definition at line 1902 of file videodev2.h.

#define VIDIOC_STREAMOFF   _IOW('V', 19, int)

Definition at line 1892 of file videodev2.h.

#define VIDIOC_STREAMON   _IOW('V', 18, int)

Definition at line 1891 of file videodev2.h.

#define VIDIOC_SUBSCRIBE_EVENT   _IOW('V', 90, struct v4l2_event_subscription)

Definition at line 1965 of file videodev2.h.

#define VIDIOC_TRY_DECODER_CMD   _IOWR('V', 97, struct v4l2_decoder_cmd)

Definition at line 1980 of file videodev2.h.

#define VIDIOC_TRY_ENCODER_CMD   _IOWR('V', 78, struct v4l2_encoder_cmd)

Definition at line 1939 of file videodev2.h.

#define VIDIOC_TRY_EXT_CTRLS   _IOWR('V', 73, struct v4l2_ext_controls)

Definition at line 1933 of file videodev2.h.

#define VIDIOC_TRY_FMT   _IOWR('V', 64, struct v4l2_format)

Definition at line 1924 of file videodev2.h.

#define VIDIOC_UNSUBSCRIBE_EVENT   _IOW('V', 91, struct v4l2_event_subscription)

Definition at line 1966 of file videodev2.h.

Typedef Documentation

typedef __u64 v4l2_std_id

Definition at line 799 of file videodev2.h.

Enumeration Type Documentation

Enumerator:
V4L2_BUF_TYPE_VIDEO_CAPTURE 
V4L2_BUF_TYPE_VIDEO_OUTPUT 
V4L2_BUF_TYPE_VIDEO_OVERLAY 
V4L2_BUF_TYPE_VBI_CAPTURE 
V4L2_BUF_TYPE_VBI_OUTPUT 
V4L2_BUF_TYPE_SLICED_VBI_CAPTURE 
V4L2_BUF_TYPE_SLICED_VBI_OUTPUT 
V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY 
V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE 
V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE 
V4L2_BUF_TYPE_PRIVATE 

Definition at line 149 of file videodev2.h.

Enumerator:
V4L2_COLORSPACE_SMPTE170M 
V4L2_COLORSPACE_SMPTE240M 
V4L2_COLORSPACE_REC709 
V4L2_COLORSPACE_BT878 
V4L2_COLORSPACE_470_SYSTEM_M 
V4L2_COLORSPACE_470_SYSTEM_BG 
V4L2_COLORSPACE_JPEG 
V4L2_COLORSPACE_SRGB 

Definition at line 192 of file videodev2.h.

Enumerator:
V4L2_CTRL_TYPE_INTEGER 
V4L2_CTRL_TYPE_BOOLEAN 
V4L2_CTRL_TYPE_MENU 
V4L2_CTRL_TYPE_BUTTON 
V4L2_CTRL_TYPE_INTEGER64 
V4L2_CTRL_TYPE_CTRL_CLASS 
V4L2_CTRL_TYPE_STRING 
V4L2_CTRL_TYPE_BITMASK 
V4L2_CTRL_TYPE_INTEGER_MENU 

Definition at line 1255 of file videodev2.h.

Enumerator:
V4L2_DV_RGB_RANGE_AUTO 
V4L2_DV_RGB_RANGE_LIMITED 
V4L2_DV_RGB_RANGE_FULL 

Definition at line 1323 of file videodev2.h.

Enumerator:
V4L2_DV_TX_MODE_DVI_D 
V4L2_DV_TX_MODE_HDMI 

Definition at line 1318 of file videodev2.h.

enum v4l2_field
Enumerator:
V4L2_FIELD_ANY 
V4L2_FIELD_NONE 
V4L2_FIELD_TOP 
V4L2_FIELD_BOTTOM 
V4L2_FIELD_INTERLACED 
V4L2_FIELD_SEQ_TB 
V4L2_FIELD_SEQ_BT 
V4L2_FIELD_ALTERNATE 
V4L2_FIELD_INTERLACED_TB 
V4L2_FIELD_INTERLACED_BT 

Definition at line 107 of file videodev2.h.

Enumerator:
V4L2_FRMIVAL_TYPE_DISCRETE 
V4L2_FRMIVAL_TYPE_CONTINUOUS 
V4L2_FRMIVAL_TYPE_STEPWISE 

Definition at line 500 of file videodev2.h.

Enumerator:
V4L2_FRMSIZE_TYPE_DISCRETE 
V4L2_FRMSIZE_TYPE_CONTINUOUS 
V4L2_FRMSIZE_TYPE_STEPWISE 

Definition at line 464 of file videodev2.h.

Enumerator:
V4L2_MEMORY_MMAP 
V4L2_MEMORY_USERPTR 
V4L2_MEMORY_OVERLAY 

Definition at line 185 of file videodev2.h.

Enumerator:
V4L2_PRIORITY_UNSET 
V4L2_PRIORITY_BACKGROUND 
V4L2_PRIORITY_INTERACTIVE 
V4L2_PRIORITY_RECORD 
V4L2_PRIORITY_DEFAULT 

Definition at line 219 of file videodev2.h.

Enumerator:
V4L2_TUNER_RADIO 
V4L2_TUNER_ANALOG_TV 
V4L2_TUNER_DIGITAL_TV 

Definition at line 179 of file videodev2.h.

Function Documentation

struct v4l2_bt_timings __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

union { ... }
union { ... }
union { ... }
union { ... }
union { ... }
__u32 addr

Definition at line 1845 of file videodev2.h.

Definition at line 1434 of file videodev2.h.

Definition at line 1091 of file videodev2.h.

__u16 bytesperline

Definition at line 1703 of file videodev2.h.

Definition at line 1134 of file videodev2.h.

__u32 colorspace

Definition at line 1728 of file videodev2.h.

__u8 data[42]

Definition at line 1666 of file videodev2.h.

Definition at line 1727 of file videodev2.h.

__u32 flags

Definition at line 1052 of file videodev2.h.

__u32 hbackporch

Definition at line 1044 of file videodev2.h.

__u32 height

Definition at line 1038 of file videodev2.h.

__u32 hfrontporch

Definition at line 1042 of file videodev2.h.

__u32 hsync

Definition at line 1043 of file videodev2.h.

Definition at line 1242 of file videodev2.h.

__u32 ident

Definition at line 1858 of file videodev2.h.

__u32 il_vbackporch

Definition at line 1050 of file videodev2.h.

__u32 il_vfrontporch

Definition at line 1048 of file videodev2.h.

__u32 il_vsync

Definition at line 1049 of file videodev2.h.

__u32 index

Definition at line 1291 of file videodev2.h.

__u32 interlaced

Definition at line 1039 of file videodev2.h.

Definition at line 1687 of file videodev2.h.

Definition at line 1688 of file videodev2.h.

Definition at line 1671 of file videodev2.h.

__le32 linemask[2]

Definition at line 1670 of file videodev2.h.

__u8 lsb

Definition at line 1432 of file videodev2.h.

__u8 magic[4]

Definition at line 1685 of file videodev2.h.

unsigned char match

Definition at line 1850 of file videodev2.h.

__u32 max_height

Definition at line 1130 of file videodev2.h.

__u64 max_pixelclock

Definition at line 1132 of file videodev2.h.

__u32 max_width

Definition at line 1128 of file videodev2.h.

__u32 min_height

Definition at line 1129 of file videodev2.h.

__u64 min_pixelclock

Definition at line 1131 of file videodev2.h.

__u32 min_width

Definition at line 1127 of file videodev2.h.

Definition at line 1433 of file videodev2.h.

char name[32]

Definition at line 1293 of file videodev2.h.

__u8 num_planes

Definition at line 1731 of file videodev2.h.

__u64 pixelclock

Definition at line 1041 of file videodev2.h.

__u32 pixelformat

Definition at line 1726 of file videodev2.h.

Definition at line 1730 of file videodev2.h.

__u32 polarities

Definition at line 1040 of file videodev2.h.

Definition at line 1852 of file videodev2.h.

__u8 reserved[11]

Definition at line 1053 of file videodev2.h.

__u32 reserved2[1]

Definition at line 1244 of file videodev2.h.

Definition at line 1859 of file videodev2.h.

__u32 size

Definition at line 1243 of file videodev2.h.

__u32 sizeimage

Definition at line 1702 of file videodev2.h.

__u32 standards

Definition at line 1051 of file videodev2.h.

Definition at line 1248 of file videodev2.h.

Definition at line 1089 of file videodev2.h.

__u64 val

Definition at line 1853 of file videodev2.h.

__s64 value

Definition at line 1246 of file videodev2.h.

__s64 value64

Definition at line 1247 of file videodev2.h.

__u32 vbackporch

Definition at line 1047 of file videodev2.h.

__u32 vfrontporch

Definition at line 1045 of file videodev2.h.

__u32 vsync

Definition at line 1046 of file videodev2.h.

__u32 width

Definition at line 1037 of file videodev2.h.