Lines Matching +full:no +full:- +full:1 +full:- +full:8 +full:- +full:v

4  *  Copyright (C) 1999-2007 the contributors
22 * 1. Redistributions of source code must retain the above copyright
35 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
46 * All kernel-specific stuff were moved to media/v4l2-dev.h, so
47 * no #if __KERNEL tests are allowed here
88 #define VID_TYPE_CAPTURE 1 /* Can capture */
91 #define VID_TYPE_OVERLAY 8 /* Overlay onto frame buffer */
108 /* Four-character-code (FOURCC) */
110 ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) << 24))
120 V4L2_FIELD_NONE = 1, /* this device has no fields ... */
125 buffer, top-bottom order */
126 V4L2_FIELD_SEQ_BT = 6, /* same as above + bottom-top order */
129 V4L2_FIELD_INTERLACED_TB = 8, /* both fields interlaced, top field
158 V4L2_BUF_TYPE_VIDEO_CAPTURE = 1,
165 #if 1
167 V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
173 V4L2_CTRL_TYPE_INTEGER = 1,
183 V4L2_TUNER_RADIO = 1,
189 V4L2_MEMORY_MMAP = 1,
196 /* ITU-R 601 -- broadcast NTSC/PAL */
197 V4L2_COLORSPACE_SMPTE170M = 1,
199 /* 1125-Line (US) HDTV */
205 /* broken BT878 extents (601, luma range 16-253 instead of 16-235) */
213 * unspecified chromaticities and full 0-255 on each of the
219 V4L2_COLORSPACE_SRGB = 8,
224 V4L2_PRIORITY_BACKGROUND = 1,
243 * D R I V E R C A P A B I L I T I E S
277 * V I D E O I M A G E F O R M A T
293 #define V4L2_PIX_FMT_RGB332 v4l2_fourcc('R', 'G', 'B', '1') /* 8 RGB-3-3-2 */
295 #define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */
296 #define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P') /* 16 RGB-5-6-5 */
297 #define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') /* 16 RGB-5-5-5 BE */
298 #define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') /* 16 RGB-5-6-5 BE */
299 #define V4L2_PIX_FMT_BGR24 v4l2_fourcc('B', 'G', 'R', '3') /* 24 BGR-8-8-8 */
300 #define V4L2_PIX_FMT_RGB24 v4l2_fourcc('R', 'G', 'B', '3') /* 24 RGB-8-8-8 */
301 #define V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */
302 #define V4L2_PIX_FMT_RGB32 v4l2_fourcc('R', 'G', 'B', '4') /* 32 RGB-8-8-8-8 */
305 #define V4L2_PIX_FMT_GREY v4l2_fourcc('G', 'R', 'E', 'Y') /* 8 Greyscale */
306 #define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') /* 10 Greyscale */
307 #define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') /* 16 Greyscale */
310 #define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */
313 #define V4L2_PIX_FMT_YVU410 v4l2_fourcc('Y', 'V', 'U', '9') /* 9 YVU 4:1:0 */
314 #define V4L2_PIX_FMT_YVU420 v4l2_fourcc('Y', 'V', '1', '2') /* 12 YVU 4:2:0 */
315 #define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */
316 #define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y', 'Y', 'U', 'V') /* 16 YUV 4:2:2 */
317 #define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y', 'V', 'Y', 'U') /* 16 YVU 4:2:2 */
318 #define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */
319 #define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */
321 #define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */
322 #define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */
324 #define V4L2_PIX_FMT_YUV555 v4l2_fourcc('Y', 'U', 'V', 'O') /* 16 YUV-5-5-5 */
325 #define V4L2_PIX_FMT_YUV565 v4l2_fourcc('Y', 'U', 'V', 'P') /* 16 YUV-5-6-5 */
326 #define V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */
327 #define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') /* 9 YUV 4:1:0 */
328 #define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y', 'U', '1', '2') /* 12 YUV 4:2:0 */
329 #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') /* 8 8-bit color */
330 #define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */
332 /* two planes -- one Y, one Cr + Cb interleaved */
333 #define V4L2_PIX_FMT_NV12 v4l2_fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */
334 #define V4L2_PIX_FMT_NV21 v4l2_fourcc('N', 'V', '2', '1') /* 12 Y/CrCb 4:2:0 */
335 #define V4L2_PIX_FMT_NV16 v4l2_fourcc('N', 'V', '1', '6') /* 16 Y/CbCr 4:2:2 */
336 #define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1') /* 16 Y/CrCb 4:2:2 */
338 /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
339 #define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */
340 #define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */
341 #define V4L2_PIX_FMT_SGRBG8 v4l2_fourcc('G', 'R', 'B', 'G') /* 8 GRGR.. BGBG.. */
342 #define V4L2_PIX_FMT_SRGGB8 v4l2_fourcc('R', 'G', 'G', 'B') /* 8 RGRG.. GBGB.. */
343 #define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '0') /* 10 BGBG.. GRGR.. */
344 #define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') /* 10 GBGB.. RGRG.. */
345 #define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') /* 10 GRGR.. BGBG.. */
346 #define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '0') /* 10 RGRG.. GBGB.. */
347 /* 10bit raw bayer DPCM compressed to 8 bits */
348 #define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0')
356 #define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */
358 #define V4L2_PIX_FMT_DV v4l2_fourcc('d', 'v', 's', 'd') /* 1394 */
359 #define V4L2_PIX_FMT_MPEG v4l2_fourcc('M', 'P', 'E', 'G') /* MPEG-1/2/4 */
361 /* Vendor-specific formats */
363 #define V4L2_PIX_FMT_WNVA v4l2_fourcc('W', 'N', 'V', 'A') /* Winnov hw compress */
364 #define V4L2_PIX_FMT_SN9C10X v4l2_fourcc('S', '9', '1', '0') /* SN9C10x compression */
366 #define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P', 'W', 'C', '1') /* pwc older webcam */
369 #define V4L2_PIX_FMT_SPCA501 v4l2_fourcc('S', '5', '0', '1') /* YUYV per line */
371 #define V4L2_PIX_FMT_SPCA508 v4l2_fourcc('S', '5', '0', '8') /* YUVY per line */
372 #define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
374 #define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
378 #define V4L2_PIX_FMT_OV511 v4l2_fourcc('O', '5', '1', '1') /* ov511 JPEG */
379 #define V4L2_PIX_FMT_OV518 v4l2_fourcc('O', '5', '1', '8') /* ov518 JPEG */
380 #define V4L2_PIX_FMT_STV0680 v4l2_fourcc('S', '6', '8', '0') /* stv0680 bayer */
397 #if 1
403 V4L2_FRMSIZE_TYPE_DISCRETE = 1,
439 V4L2_FRMIVAL_TYPE_DISCRETE = 1,
480 #define V4L2_TC_TYPE_24FPS 1
487 #define V4L2_TC_FLAG_DROPFRAME 0x0001 /* "drop-frame" mode */
515 #define V4L2_JPEG_MARKER_DHT (1<<3) /* Define Huffman Tables */
516 #define V4L2_JPEG_MARKER_DQT (1<<4) /* Define Quantization Tables */
517 #define V4L2_JPEG_MARKER_DRI (1<<5) /* Define Restart Interval */
518 #define V4L2_JPEG_MARKER_COM (1<<6) /* Comment segment */
519 #define V4L2_JPEG_MARKER_APP (1<<7) /* App segment, driver will
524 * M E M O R Y - M A P P I N G B U F F E R S
558 #define V4L2_BUF_FLAG_KEYFRAME 0x0008 /* Image is a keyframe (I-frame) */
559 #define V4L2_BUF_FLAG_PFRAME 0x0010 /* Image is a P-frame */
560 #define V4L2_BUF_FLAG_BFRAME 0x0020 /* Image is a B-frame */
565 * O V E R L A Y P R E V I E W
614 struct v4l2_fract timeperframe; /* Time per frame in .1us units */
615 __u32 extendedmode; /* Driver-specific extensions */
628 __u32 extendedmode; /* Driver-specific extensions */
649 * A N A L O G V I D E O S T A N D A R D
689 makes switch(__u64) to break. So, there's a hack on v4l2-common.c rounding
693 v4l2-common.c should be fixed.
751 * V I D E O T I M I N G S D V P R E S E T
759 * D V P R E S E T S E N U M E R A T I O N
771 * D V P R E S E T V A L U E S
774 #define V4L2_DV_480P59_94 1 /* BT.1362 */
781 #define V4L2_DV_720P60 8 /* SMPTE 274M/296M */
794 * D V B T T I M I N G S
803 __u64 pixelclock; /* Pixel clock in HZ. Ex. 74.25MHz->74250000 */
824 #define V4L2_DV_INTERLACED 1
844 * V I D E O I N P U T S
859 #define V4L2_INPUT_TYPE_TUNER 1
862 /* field 'status' - general */
867 /* field 'status' - sensor orientation */
872 /* field 'status' - analog */
873 #define V4L2_IN_ST_NO_H_LOCK 0x00000100 /* No horizontal sync lock */
876 /* field 'status' - digital */
877 #define V4L2_IN_ST_NO_SYNC 0x00010000 /* No synchronization lock */
878 #define V4L2_IN_ST_NO_EQU 0x00020000 /* No equalizer lock */
881 /* field 'status' - VCR and set-top box */
892 * V I D E O O U T P U T S
905 #define V4L2_OUTPUT_TYPE_MODULATOR 1
925 __u32 reserved2[1];
942 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
943 #define V4L2_CTRL_CLASS_MPEG 0x00990000 /* MPEG-compression controls */
984 /* User-class control IDs defined by V4L2 */
990 #define V4L2_CID_USER_CLASS (V4L2_CTRL_CLASS_USER | 1)
992 #define V4L2_CID_CONTRAST (V4L2_CID_BASE+1)
998 #define V4L2_CID_AUDIO_TREBLE (V4L2_CID_BASE+8)
1021 V4L2_CID_POWER_LINE_FREQUENCY_50HZ = 1,
1033 V4L2_COLORFX_BW = 1,
1041 /* last CID + 1 */
1044 /* MPEG-class control IDs defined by V4L2 */
1046 #define V4L2_CID_MPEG_CLASS (V4L2_CTRL_CLASS_MPEG | 1)
1051 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0, /* MPEG-2 program stream */
1052 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1, /* MPEG-2 transport stream */
1053 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2, /* MPEG-1 system stream */
1054 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3, /* MPEG-2 DVD-compatible stream */
1055 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4, /* MPEG-1 VCD-compatible stream */
1056 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5, /* MPEG-2 SVCD-compatible stream */
1058 #define V4L2_CID_MPEG_STREAM_PID_PMT (V4L2_CID_MPEG_BASE+1)
1066 V4L2_MPEG_STREAM_VBI_FMT_NONE = 0, /* No VBI in the MPEG stream */
1067 V4L2_MPEG_STREAM_VBI_FMT_IVTV = 1, /* VBI in private packets, IVTV format */
1074 V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000 = 1,
1080 V4L2_MPEG_AUDIO_ENCODING_LAYER_2 = 1,
1088 V4L2_MPEG_AUDIO_L1_BITRATE_64K = 1,
1095 V4L2_MPEG_AUDIO_L1_BITRATE_288K = 8,
1105 V4L2_MPEG_AUDIO_L2_BITRATE_48K = 1,
1112 V4L2_MPEG_AUDIO_L2_BITRATE_160K = 8,
1122 V4L2_MPEG_AUDIO_L3_BITRATE_40K = 1,
1129 V4L2_MPEG_AUDIO_L3_BITRATE_128K = 8,
1139 V4L2_MPEG_AUDIO_MODE_JOINT_STEREO = 1,
1146 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8 = 1,
1153 V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS = 1,
1159 V4L2_MPEG_AUDIO_CRC_CRC16 = 1,
1166 V4L2_MPEG_AUDIO_AC3_BITRATE_40K = 1,
1173 V4L2_MPEG_AUDIO_AC3_BITRATE_128K = 8,
1190 V4L2_MPEG_VIDEO_ENCODING_MPEG_2 = 1,
1196 V4L2_MPEG_VIDEO_ASPECT_4x3 = 1,
1207 V4L2_MPEG_VIDEO_BITRATE_MODE_CBR = 1,
1215 /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */
1220 V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO = 1,
1222 #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (V4L2_CID_MPEG_CX2341X_BASE+1)
1226 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
1234 V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
1239 V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO = 1,
1245 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR = 1,
1251 #define V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (V4L2_CID_MPEG_CX2341X_BASE+8)
1258 #define V4L2_CID_CAMERA_CLASS (V4L2_CTRL_CLASS_CAMERA | 1)
1260 #define V4L2_CID_EXPOSURE_AUTO (V4L2_CID_CAMERA_CLASS_BASE+1)
1263 V4L2_EXPOSURE_MANUAL = 1,
1275 #define V4L2_CID_PAN_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+8)
1290 #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)
1292 #define V4L2_CID_RDS_TX_DEVIATION (V4L2_CID_FM_TX_CLASS_BASE + 1)
1315 V4L2_PREEMPHASIS_50_uS = 1,
1377 __u32 reserved[8];
1385 __u32 reserved[8];
1400 #define V4L2_RDS_BLOCK_B 1
1436 * M P E G S E R V I C E S
1440 #if 1
1442 #define V4L2_ENC_IDX_FRAME_P (1)
1464 #define V4L2_ENC_CMD_STOP (1)
1469 #define V4L2_ENC_CMD_STOP_AT_GOP_END (1 << 0)
1476 __u32 data[8];
1485 * D A T A S E R V I C E S ( V B I )
1492 __u32 sampling_rate; /* in 1 Hz */
1503 #define V4L2_VBI_UNSYNC (1 << 0)
1504 #define V4L2_VBI_INTERLACED (1 << 1)
1515 /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
1516 service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
1517 (equals frame lines 313-336 for 625 line video
1518 standards, 263-286 for 525 line standards) */
1525 (WST), defined on ITU-R BT.653-2 */
1529 /* Closed Caption, defined on EIA-608 */
1531 /* Wide Screen System, defined on ITU-R BT1119.1 */
1539 /* service_lines[0][...] specifies lines 0-23 (1-23 used) of the first field
1540 service_lines[1][...] specifies lines 0-23 (1-23 used) of the second field
1541 (equals frame lines 313-336 for 625 line video
1542 standards, 263-286 for 525 line standards) */
1550 __u32 field; /* 0: first field, 1: second field */
1551 __u32 line; /* 1-23 */
1563 * Structure of payload contained in an MPEG 2 Private Stream 1 PES Packet in an
1564 * MPEG-2 Program Pack that contains V4L2_MPEG_STREAM_VBI_FMT_IVTV Sliced VBI
1567 * Note, the MPEG-2 Program Pack and Private Stream 1 PES packet header
1568 * definitions are not included here. See the MPEG-2 specifications for details
1573 #define V4L2_MPEG_VBI_IVTV_TELETEXT_B (1)
1616 __u8 raw_data[200]; /* user-defined */
1621 /* Stream type-dependent parameters
1628 __u8 raw_data[200]; /* user-defined */
1633 * A D V A N C E D D E B U G G I N G
1642 #define V4L2_CHIP_MATCH_I2C_DRIVER 1 /* Match against I2C driver name */
1643 #define V4L2_CHIP_MATCH_I2C_ADDR 2 /* Match against I2C 7-bit address */
1664 __u32 ident; /* chip identifier as specified in <media/v4l2-chip-ident.h> */
1669 * I O C T L C O D E S F O R V I D E O D E V I C E S
1672 #define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability)
1673 #define VIDIOC_RESERVED _IO('V', 1)
1674 #define VIDIOC_ENUM_FMT _IOWR('V', 2, struct v4l2_fmtdesc)
1675 #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
1676 #define VIDIOC_S_FMT _IOWR('V', 5, struct v4l2_format)
1677 #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers)
1678 #define VIDIOC_QUERYBUF _IOWR('V', 9, struct v4l2_buffer)
1679 #define VIDIOC_G_FBUF _IOR('V', 10, struct v4l2_framebuffer)
1680 #define VIDIOC_S_FBUF _IOW('V', 11, struct v4l2_framebuffer)
1681 #define VIDIOC_OVERLAY _IOW('V', 14, int)
1682 #define VIDIOC_QBUF _IOWR('V', 15, struct v4l2_buffer)
1683 #define VIDIOC_DQBUF _IOWR('V', 17, struct v4l2_buffer)
1684 #define VIDIOC_STREAMON _IOW('V', 18, int)
1685 #define VIDIOC_STREAMOFF _IOW('V', 19, int)
1686 #define VIDIOC_G_PARM _IOWR('V', 21, struct v4l2_streamparm)
1687 #define VIDIOC_S_PARM _IOWR('V', 22, struct v4l2_streamparm)
1688 #define VIDIOC_G_STD _IOR('V', 23, v4l2_std_id)
1689 #define VIDIOC_S_STD _IOW('V', 24, v4l2_std_id)
1690 #define VIDIOC_ENUMSTD _IOWR('V', 25, struct v4l2_standard)
1691 #define VIDIOC_ENUMINPUT _IOWR('V', 26, struct v4l2_input)
1692 #define VIDIOC_G_CTRL _IOWR('V', 27, struct v4l2_control)
1693 #define VIDIOC_S_CTRL _IOWR('V', 28, struct v4l2_control)
1694 #define VIDIOC_G_TUNER _IOWR('V', 29, struct v4l2_tuner)
1695 #define VIDIOC_S_TUNER _IOW('V', 30, struct v4l2_tuner)
1696 #define VIDIOC_G_AUDIO _IOR('V', 33, struct v4l2_audio)
1697 #define VIDIOC_S_AUDIO _IOW('V', 34, struct v4l2_audio)
1698 #define VIDIOC_QUERYCTRL _IOWR('V', 36, struct v4l2_queryctrl)
1699 #define VIDIOC_QUERYMENU _IOWR('V', 37, struct v4l2_querymenu)
1700 #define VIDIOC_G_INPUT _IOR('V', 38, int)
1701 #define VIDIOC_S_INPUT _IOWR('V', 39, int)
1702 #define VIDIOC_G_OUTPUT _IOR('V', 46, int)
1703 #define VIDIOC_S_OUTPUT _IOWR('V', 47, int)
1704 #define VIDIOC_ENUMOUTPUT _IOWR('V', 48, struct v4l2_output)
1705 #define VIDIOC_G_AUDOUT _IOR('V', 49, struct v4l2_audioout)
1706 #define VIDIOC_S_AUDOUT _IOW('V', 50, struct v4l2_audioout)
1707 #define VIDIOC_G_MODULATOR _IOWR('V', 54, struct v4l2_modulator)
1708 #define VIDIOC_S_MODULATOR _IOW('V', 55, struct v4l2_modulator)
1709 #define VIDIOC_G_FREQUENCY _IOWR('V', 56, struct v4l2_frequency)
1710 #define VIDIOC_S_FREQUENCY _IOW('V', 57, struct v4l2_frequency)
1711 #define VIDIOC_CROPCAP _IOWR('V', 58, struct v4l2_cropcap)
1712 #define VIDIOC_G_CROP _IOWR('V', 59, struct v4l2_crop)
1713 #define VIDIOC_S_CROP _IOW('V', 60, struct v4l2_crop)
1714 #define VIDIOC_G_JPEGCOMP _IOR('V', 61, struct v4l2_jpegcompression)
1715 #define VIDIOC_S_JPEGCOMP _IOW('V', 62, struct v4l2_jpegcompression)
1716 #define VIDIOC_QUERYSTD _IOR('V', 63, v4l2_std_id)
1717 #define VIDIOC_TRY_FMT _IOWR('V', 64, struct v4l2_format)
1718 #define VIDIOC_ENUMAUDIO _IOWR('V', 65, struct v4l2_audio)
1719 #define VIDIOC_ENUMAUDOUT _IOWR('V', 66, struct v4l2_audioout)
1720 #define VIDIOC_G_PRIORITY _IOR('V', 67, enum v4l2_priority)
1721 #define VIDIOC_S_PRIORITY _IOW('V', 68, enum v4l2_priority)
1722 #define VIDIOC_G_SLICED_VBI_CAP _IOWR('V', 69, struct v4l2_sliced_vbi_cap)
1723 #define VIDIOC_LOG_STATUS _IO('V', 70)
1724 #define VIDIOC_G_EXT_CTRLS _IOWR('V', 71, struct v4l2_ext_controls)
1725 #define VIDIOC_S_EXT_CTRLS _IOWR('V', 72, struct v4l2_ext_controls)
1726 #define VIDIOC_TRY_EXT_CTRLS _IOWR('V', 73, struct v4l2_ext_controls)
1727 #if 1
1728 #define VIDIOC_ENUM_FRAMESIZES _IOWR('V', 74, struct v4l2_frmsizeenum)
1729 #define VIDIOC_ENUM_FRAMEINTERVALS _IOWR('V', 75, struct v4l2_frmivalenum)
1730 #define VIDIOC_G_ENC_INDEX _IOR('V', 76, struct v4l2_enc_idx)
1731 #define VIDIOC_ENCODER_CMD _IOWR('V', 77, struct v4l2_encoder_cmd)
1732 #define VIDIOC_TRY_ENCODER_CMD _IOWR('V', 78, struct v4l2_encoder_cmd)
1735 #if 1
1739 #define VIDIOC_DBG_S_REGISTER _IOW('V', 79, struct v4l2_dbg_register)
1740 #define VIDIOC_DBG_G_REGISTER _IOWR('V', 80, struct v4l2_dbg_register)
1744 #define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident)
1747 #define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)
1748 #define VIDIOC_ENUM_DV_PRESETS _IOWR('V', 83, struct v4l2_dv_enum_preset)
1749 #define VIDIOC_S_DV_PRESET _IOWR('V', 84, struct v4l2_dv_preset)
1750 #define VIDIOC_G_DV_PRESET _IOWR('V', 85, struct v4l2_dv_preset)
1751 #define VIDIOC_QUERY_DV_PRESET _IOR('V', 86, struct v4l2_dv_preset)
1752 #define VIDIOC_S_DV_TIMINGS _IOWR('V', 87, struct v4l2_dv_timings)
1753 #define VIDIOC_G_DV_TIMINGS _IOWR('V', 88, struct v4l2_dv_timings)
1756 drivers/media/video/v4l2-compat-ioctl32.c as well! */
1760 #define VIDIOC_OVERLAY_OLD _IOWR('V', 14, int)
1761 #define VIDIOC_S_PARM_OLD _IOW('V', 22, struct v4l2_streamparm)
1762 #define VIDIOC_S_CTRL_OLD _IOW('V', 28, struct v4l2_control)
1763 #define VIDIOC_G_AUDIO_OLD _IOWR('V', 33, struct v4l2_audio)
1764 #define VIDIOC_G_AUDOUT_OLD _IOWR('V', 49, struct v4l2_audioout)
1765 #define VIDIOC_CROPCAP_OLD _IOR('V', 58, struct v4l2_cropcap)
1768 #define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */