Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 1 | # Ignore header name |
| 2 | ignore define _UAPI__LINUX_VIDEODEV2_H |
| 3 | |
| 4 | # |
| 5 | # The cross reference valitator for videodev2.h DocBook never cared |
| 6 | # about enum symbols or defines. Yet, they're all (or almost all?) |
| 7 | # handled inside V4L API sections. So, for now, it is safe to just |
| 8 | # ignore. This should be revisited, as validating it helps to avoid |
| 9 | # having something not documented at the uAPI. |
| 10 | # |
| 11 | |
Mauro Carvalho Chehab | 194acc5 | 2016-07-07 16:29:39 -0300 | [diff] [blame] | 12 | # Those symbols should not be used by uAPI - don't document them |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 13 | ignore symbol V4L2_BUF_TYPE_PRIVATE |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 14 | ignore symbol V4L2_TUNER_DIGITAL_TV |
Mauro Carvalho Chehab | 194acc5 | 2016-07-07 16:29:39 -0300 | [diff] [blame] | 15 | ignore symbol V4L2_COLORSPACE_BT878 |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 16 | |
Mauro Carvalho Chehab | 194acc5 | 2016-07-07 16:29:39 -0300 | [diff] [blame] | 17 | # Documented enum v4l2_field |
| 18 | replace symbol V4L2_FIELD_ALTERNATE v4l2-field |
| 19 | replace symbol V4L2_FIELD_ANY v4l2-field |
| 20 | replace symbol V4L2_FIELD_BOTTOM v4l2-field |
| 21 | replace symbol V4L2_FIELD_INTERLACED v4l2-field |
| 22 | replace symbol V4L2_FIELD_INTERLACED_BT v4l2-field |
| 23 | replace symbol V4L2_FIELD_INTERLACED_TB v4l2-field |
| 24 | replace symbol V4L2_FIELD_NONE v4l2-field |
| 25 | replace symbol V4L2_FIELD_SEQ_BT v4l2-field |
| 26 | replace symbol V4L2_FIELD_SEQ_TB v4l2-field |
| 27 | replace symbol V4L2_FIELD_TOP v4l2-field |
| 28 | |
| 29 | # Documented enum v4l2_buf_type |
| 30 | replace symbol V4L2_BUF_TYPE_SDR_CAPTURE v4l2-buf-type |
| 31 | replace symbol V4L2_BUF_TYPE_SDR_OUTPUT v4l2-buf-type |
| 32 | replace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE v4l2-buf-type |
| 33 | replace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT v4l2-buf-type |
| 34 | replace symbol V4L2_BUF_TYPE_VBI_CAPTURE v4l2-buf-type |
| 35 | replace symbol V4L2_BUF_TYPE_VBI_OUTPUT v4l2-buf-type |
| 36 | replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE v4l2-buf-type |
| 37 | replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE v4l2-buf-type |
| 38 | replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT v4l2-buf-type |
| 39 | replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE v4l2-buf-type |
| 40 | replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY v4l2-buf-type |
| 41 | replace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY v4l2-buf-type |
| 42 | |
| 43 | # Documented enum v4l2_tuner_type |
| 44 | replace symbol V4L2_TUNER_ANALOG_TV v4l2-tuner-type |
| 45 | replace symbol V4L2_TUNER_RADIO v4l2-tuner-type |
| 46 | replace symbol V4L2_TUNER_RF v4l2-tuner-type |
| 47 | replace symbol V4L2_TUNER_SDR v4l2-tuner-type |
| 48 | |
| 49 | # Documented enum v4l2_memory |
| 50 | replace symbol V4L2_MEMORY_DMABUF v4l2-memory |
| 51 | replace symbol V4L2_MEMORY_MMAP v4l2-memory |
| 52 | replace symbol V4L2_MEMORY_OVERLAY v4l2-memory |
| 53 | replace symbol V4L2_MEMORY_USERPTR v4l2-memory |
| 54 | |
| 55 | # Documented enum v4l2_colorspace |
| 56 | replace symbol V4L2_COLORSPACE_470_SYSTEM_BG v4l2-colorspace |
| 57 | replace symbol V4L2_COLORSPACE_470_SYSTEM_M v4l2-colorspace |
| 58 | replace symbol V4L2_COLORSPACE_ADOBERGB v4l2-colorspace |
| 59 | replace symbol V4L2_COLORSPACE_BT2020 v4l2-colorspace |
| 60 | replace symbol V4L2_COLORSPACE_DCI_P3 v4l2-colorspace |
| 61 | replace symbol V4L2_COLORSPACE_DEFAULT v4l2-colorspace |
| 62 | replace symbol V4L2_COLORSPACE_JPEG v4l2-colorspace |
| 63 | replace symbol V4L2_COLORSPACE_RAW v4l2-colorspace |
| 64 | replace symbol V4L2_COLORSPACE_REC709 v4l2-colorspace |
| 65 | replace symbol V4L2_COLORSPACE_SMPTE170M v4l2-colorspace |
| 66 | replace symbol V4L2_COLORSPACE_SMPTE240M v4l2-colorspace |
| 67 | replace symbol V4L2_COLORSPACE_SRGB v4l2-colorspace |
| 68 | |
| 69 | # Documented enum v4l2_xfer_func |
| 70 | replace symbol V4L2_XFER_FUNC_709 v4l2-xfer-func |
| 71 | replace symbol V4L2_XFER_FUNC_ADOBERGB v4l2-xfer-func |
| 72 | replace symbol V4L2_XFER_FUNC_DCI_P3 v4l2-xfer-func |
| 73 | replace symbol V4L2_XFER_FUNC_DEFAULT v4l2-xfer-func |
| 74 | replace symbol V4L2_XFER_FUNC_NONE v4l2-xfer-func |
| 75 | replace symbol V4L2_XFER_FUNC_SMPTE2084 v4l2-xfer-func |
| 76 | replace symbol V4L2_XFER_FUNC_SMPTE240M v4l2-xfer-func |
| 77 | replace symbol V4L2_XFER_FUNC_SRGB v4l2-xfer-func |
| 78 | |
| 79 | # Documented enum v4l2_ycbcr_encoding |
| 80 | replace symbol V4L2_YCBCR_ENC_601 v4l2-ycbcr-encoding |
| 81 | replace symbol V4L2_YCBCR_ENC_709 v4l2-ycbcr-encoding |
| 82 | replace symbol V4L2_YCBCR_ENC_BT2020 v4l2-ycbcr-encoding |
| 83 | replace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM v4l2-ycbcr-encoding |
| 84 | replace symbol V4L2_YCBCR_ENC_DEFAULT v4l2-ycbcr-encoding |
| 85 | replace symbol V4L2_YCBCR_ENC_SYCC v4l2-ycbcr-encoding |
| 86 | replace symbol V4L2_YCBCR_ENC_XV601 v4l2-ycbcr-encoding |
| 87 | replace symbol V4L2_YCBCR_ENC_XV709 v4l2-ycbcr-encoding |
Hans Verkuil | 0a07ab9 | 2016-07-12 11:31:15 -0300 | [diff] [blame] | 88 | replace symbol V4L2_YCBCR_ENC_SMPTE240M v4l2-ycbcr-encoding |
Mauro Carvalho Chehab | 194acc5 | 2016-07-07 16:29:39 -0300 | [diff] [blame] | 89 | |
| 90 | # Documented enum v4l2_quantization |
| 91 | replace symbol V4L2_QUANTIZATION_DEFAULT v4l2-quantization |
| 92 | replace symbol V4L2_QUANTIZATION_FULL_RANGE v4l2-quantization |
| 93 | replace symbol V4L2_QUANTIZATION_LIM_RANGE v4l2-quantization |
| 94 | |
| 95 | # Documented enum v4l2_priority |
| 96 | replace symbol V4L2_PRIORITY_BACKGROUND v4l2-priority |
| 97 | replace symbol V4L2_PRIORITY_DEFAULT v4l2-priority |
| 98 | replace symbol V4L2_PRIORITY_INTERACTIVE v4l2-priority |
| 99 | replace symbol V4L2_PRIORITY_RECORD v4l2-priority |
| 100 | replace symbol V4L2_PRIORITY_UNSET v4l2-priority |
| 101 | |
| 102 | # Documented enum v4l2_frmsizetypes |
| 103 | replace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS v4l2-frmsizetypes |
| 104 | replace symbol V4L2_FRMSIZE_TYPE_DISCRETE v4l2-frmsizetypes |
| 105 | replace symbol V4L2_FRMSIZE_TYPE_STEPWISE v4l2-frmsizetypes |
| 106 | |
| 107 | # Documented enum frmivaltypes |
| 108 | replace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS v4l2-frmivaltypes |
| 109 | replace symbol V4L2_FRMIVAL_TYPE_DISCRETE v4l2-frmivaltypes |
| 110 | replace symbol V4L2_FRMIVAL_TYPE_STEPWISE v4l2-frmivaltypes |
| 111 | |
| 112 | # Documented enum v4l2-ctrl-type |
| 113 | replace symbol V4L2_CTRL_COMPOUND_TYPES vidioc_queryctrl |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 114 | |
Mauro Carvalho Chehab | 194acc5 | 2016-07-07 16:29:39 -0300 | [diff] [blame] | 115 | replace symbol V4L2_CTRL_TYPE_BITMASK v4l2-ctrl-type |
| 116 | replace symbol V4L2_CTRL_TYPE_BOOLEAN v4l2-ctrl-type |
| 117 | replace symbol V4L2_CTRL_TYPE_BUTTON v4l2-ctrl-type |
| 118 | replace symbol V4L2_CTRL_TYPE_CTRL_CLASS v4l2-ctrl-type |
| 119 | replace symbol V4L2_CTRL_TYPE_INTEGER v4l2-ctrl-type |
| 120 | replace symbol V4L2_CTRL_TYPE_INTEGER64 v4l2-ctrl-type |
| 121 | replace symbol V4L2_CTRL_TYPE_INTEGER_MENU v4l2-ctrl-type |
| 122 | replace symbol V4L2_CTRL_TYPE_MENU v4l2-ctrl-type |
| 123 | replace symbol V4L2_CTRL_TYPE_STRING v4l2-ctrl-type |
| 124 | replace symbol V4L2_CTRL_TYPE_U16 v4l2-ctrl-type |
| 125 | replace symbol V4L2_CTRL_TYPE_U32 v4l2-ctrl-type |
| 126 | replace symbol V4L2_CTRL_TYPE_U8 v4l2-ctrl-type |
| 127 | |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 128 | # V4L2 capability defines |
| 129 | replace define V4L2_CAP_VIDEO_CAPTURE device-capabilities |
| 130 | replace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities |
| 131 | replace define V4L2_CAP_VIDEO_OUTPUT device-capabilities |
| 132 | replace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities |
| 133 | replace define V4L2_CAP_VIDEO_M2M device-capabilities |
| 134 | replace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities |
| 135 | replace define V4L2_CAP_VIDEO_OVERLAY device-capabilities |
| 136 | replace define V4L2_CAP_VBI_CAPTURE device-capabilities |
| 137 | replace define V4L2_CAP_VBI_OUTPUT device-capabilities |
| 138 | replace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities |
| 139 | replace define V4L2_CAP_SLICED_VBI_OUTPUT device-capabilities |
| 140 | replace define V4L2_CAP_RDS_CAPTURE device-capabilities |
| 141 | replace define V4L2_CAP_VIDEO_OUTPUT_OVERLAY device-capabilities |
| 142 | replace define V4L2_CAP_HW_FREQ_SEEK device-capabilities |
| 143 | replace define V4L2_CAP_RDS_OUTPUT device-capabilities |
| 144 | replace define V4L2_CAP_TUNER device-capabilities |
| 145 | replace define V4L2_CAP_AUDIO device-capabilities |
| 146 | replace define V4L2_CAP_RADIO device-capabilities |
| 147 | replace define V4L2_CAP_MODULATOR device-capabilities |
| 148 | replace define V4L2_CAP_SDR_CAPTURE device-capabilities |
| 149 | replace define V4L2_CAP_EXT_PIX_FORMAT device-capabilities |
| 150 | replace define V4L2_CAP_SDR_OUTPUT device-capabilities |
| 151 | replace define V4L2_CAP_READWRITE device-capabilities |
| 152 | replace define V4L2_CAP_ASYNCIO device-capabilities |
| 153 | replace define V4L2_CAP_STREAMING device-capabilities |
| 154 | replace define V4L2_CAP_DEVICE_CAPS device-capabilities |
| 155 | |
| 156 | # V4L2 pix flags |
| 157 | replace define V4L2_PIX_FMT_PRIV_MAGIC v4l2-pix-format |
| 158 | replace define V4L2_PIX_FMT_FLAG_PREMUL_ALPHA reserved-formats |
| 159 | |
| 160 | # V4L2 format flags |
| 161 | replace define V4L2_FMT_FLAG_COMPRESSED fmtdesc-flags |
| 162 | replace define V4L2_FMT_FLAG_EMULATED fmtdesc-flags |
| 163 | |
| 164 | # V4L2 tymecode types |
| 165 | replace define V4L2_TC_TYPE_24FPS timecode-type |
| 166 | replace define V4L2_TC_TYPE_25FPS timecode-type |
| 167 | replace define V4L2_TC_TYPE_30FPS timecode-type |
| 168 | replace define V4L2_TC_TYPE_50FPS timecode-type |
| 169 | replace define V4L2_TC_TYPE_60FPS timecode-type |
| 170 | |
| 171 | # V4L2 tymecode flags |
| 172 | replace define V4L2_TC_FLAG_DROPFRAME timecode-flags |
| 173 | replace define V4L2_TC_FLAG_COLORFRAME timecode-flags |
| 174 | replace define V4L2_TC_USERBITS_field timecode-flags |
| 175 | replace define V4L2_TC_USERBITS_USERDEFINED timecode-flags |
| 176 | replace define V4L2_TC_USERBITS_8BITCHARS timecode-flags |
| 177 | |
| 178 | # V4L2 JPEG markers |
| 179 | replace define V4L2_JPEG_MARKER_DHT jpeg-markers |
| 180 | replace define V4L2_JPEG_MARKER_DQT jpeg-markers |
| 181 | replace define V4L2_JPEG_MARKER_DRI jpeg-markers |
| 182 | replace define V4L2_JPEG_MARKER_COM jpeg-markers |
| 183 | replace define V4L2_JPEG_MARKER_APP jpeg-markers |
| 184 | |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 185 | # V4L2 framebuffer caps and flags |
| 186 | |
| 187 | replace define V4L2_FBUF_CAP_EXTERNOVERLAY framebuffer-cap |
| 188 | replace define V4L2_FBUF_CAP_CHROMAKEY framebuffer-cap |
| 189 | replace define V4L2_FBUF_CAP_LIST_CLIPPING framebuffer-cap |
| 190 | replace define V4L2_FBUF_CAP_BITMAP_CLIPPING framebuffer-cap |
| 191 | replace define V4L2_FBUF_CAP_LOCAL_ALPHA framebuffer-cap |
| 192 | replace define V4L2_FBUF_CAP_GLOBAL_ALPHA framebuffer-cap |
| 193 | replace define V4L2_FBUF_CAP_LOCAL_INV_ALPHA framebuffer-cap |
| 194 | replace define V4L2_FBUF_CAP_SRC_CHROMAKEY framebuffer-cap |
| 195 | |
| 196 | replace define V4L2_FBUF_FLAG_PRIMARY framebuffer-flags |
| 197 | replace define V4L2_FBUF_FLAG_OVERLAY framebuffer-flags |
| 198 | replace define V4L2_FBUF_FLAG_CHROMAKEY framebuffer-flags |
| 199 | replace define V4L2_FBUF_FLAG_LOCAL_ALPHA framebuffer-flags |
| 200 | replace define V4L2_FBUF_FLAG_GLOBAL_ALPHA framebuffer-flags |
| 201 | replace define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA framebuffer-flags |
| 202 | replace define V4L2_FBUF_FLAG_SRC_CHROMAKEY framebuffer-flags |
| 203 | |
| 204 | # Used on VIDIOC_G_PARM |
| 205 | |
| 206 | replace define V4L2_MODE_HIGHQUALITY parm-flags |
| 207 | replace define V4L2_CAP_TIMEPERFRAME v4l2-captureparm |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 208 | |
Mauro Carvalho Chehab | 5ed7598 | 2016-07-07 16:21:17 -0300 | [diff] [blame] | 209 | # The V4L2_STD_foo are all defined at v4l2_std_id table |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 210 | |
Mauro Carvalho Chehab | 5ed7598 | 2016-07-07 16:21:17 -0300 | [diff] [blame] | 211 | replace define V4L2_STD_PAL_B v4l2-std-id |
| 212 | replace define V4L2_STD_PAL_B1 v4l2-std-id |
| 213 | replace define V4L2_STD_PAL_G v4l2-std-id |
| 214 | replace define V4L2_STD_PAL_H v4l2-std-id |
| 215 | replace define V4L2_STD_PAL_I v4l2-std-id |
| 216 | replace define V4L2_STD_PAL_D v4l2-std-id |
| 217 | replace define V4L2_STD_PAL_D1 v4l2-std-id |
| 218 | replace define V4L2_STD_PAL_K v4l2-std-id |
| 219 | replace define V4L2_STD_PAL_M v4l2-std-id |
| 220 | replace define V4L2_STD_PAL_N v4l2-std-id |
| 221 | replace define V4L2_STD_PAL_Nc v4l2-std-id |
| 222 | replace define V4L2_STD_PAL_60 v4l2-std-id |
| 223 | replace define V4L2_STD_NTSC_M v4l2-std-id |
| 224 | replace define V4L2_STD_NTSC_M_JP v4l2-std-id |
| 225 | replace define V4L2_STD_NTSC_443 v4l2-std-id |
| 226 | replace define V4L2_STD_NTSC_M_KR v4l2-std-id |
| 227 | replace define V4L2_STD_SECAM_B v4l2-std-id |
| 228 | replace define V4L2_STD_SECAM_D v4l2-std-id |
| 229 | replace define V4L2_STD_SECAM_G v4l2-std-id |
| 230 | replace define V4L2_STD_SECAM_H v4l2-std-id |
| 231 | replace define V4L2_STD_SECAM_K v4l2-std-id |
| 232 | replace define V4L2_STD_SECAM_K1 v4l2-std-id |
| 233 | replace define V4L2_STD_SECAM_L v4l2-std-id |
| 234 | replace define V4L2_STD_SECAM_LC v4l2-std-id |
| 235 | replace define V4L2_STD_ATSC_8_VSB v4l2-std-id |
| 236 | replace define V4L2_STD_ATSC_16_VSB v4l2-std-id |
| 237 | replace define V4L2_STD_NTSC v4l2-std-id |
| 238 | replace define V4L2_STD_SECAM_DK v4l2-std-id |
| 239 | replace define V4L2_STD_SECAM v4l2-std-id |
| 240 | replace define V4L2_STD_PAL_BG v4l2-std-id |
| 241 | replace define V4L2_STD_PAL_DK v4l2-std-id |
| 242 | replace define V4L2_STD_PAL v4l2-std-id |
| 243 | replace define V4L2_STD_B v4l2-std-id |
| 244 | replace define V4L2_STD_G v4l2-std-id |
| 245 | replace define V4L2_STD_H v4l2-std-id |
| 246 | replace define V4L2_STD_L v4l2-std-id |
| 247 | replace define V4L2_STD_GH v4l2-std-id |
| 248 | replace define V4L2_STD_DK v4l2-std-id |
| 249 | replace define V4L2_STD_BG v4l2-std-id |
| 250 | replace define V4L2_STD_MN v4l2-std-id |
| 251 | replace define V4L2_STD_MTS v4l2-std-id |
| 252 | replace define V4L2_STD_525_60 v4l2-std-id |
| 253 | replace define V4L2_STD_625_50 v4l2-std-id |
| 254 | replace define V4L2_STD_ATSC v4l2-std-id |
| 255 | replace define V4L2_STD_UNKNOWN v4l2-std-id |
| 256 | replace define V4L2_STD_ALL v4l2-std-id |
| 257 | |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 258 | # V4L2 DT BT timings definitions |
| 259 | |
Hans Verkuil | 53ae925 | 2016-07-12 11:39:37 -0300 | [diff] [blame] | 260 | replace define V4L2_DV_PROGRESSIVE v4l2-bt-timings |
| 261 | replace define V4L2_DV_INTERLACED v4l2-bt-timings |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 262 | |
| 263 | replace define V4L2_DV_VSYNC_POS_POL v4l2-bt-timings |
| 264 | replace define V4L2_DV_HSYNC_POS_POL v4l2-bt-timings |
| 265 | |
| 266 | replace define V4L2_DV_BT_STD_CEA861 dv-bt-standards |
| 267 | replace define V4L2_DV_BT_STD_DMT dv-bt-standards |
| 268 | replace define V4L2_DV_BT_STD_CVT dv-bt-standards |
| 269 | replace define V4L2_DV_BT_STD_GTF dv-bt-standards |
| 270 | |
| 271 | replace define V4L2_DV_FL_REDUCED_BLANKING dv-bt-standards |
| 272 | replace define V4L2_DV_FL_CAN_REDUCE_FPS dv-bt-standards |
| 273 | replace define V4L2_DV_FL_REDUCED_FPS dv-bt-standards |
| 274 | replace define V4L2_DV_FL_HALF_LINE dv-bt-standards |
| 275 | replace define V4L2_DV_FL_IS_CE_VIDEO dv-bt-standards |
| 276 | |
| 277 | replace define V4L2_DV_BT_656_1120 dv-timing-types |
| 278 | |
| 279 | replace define V4L2_DV_BT_CAP_INTERLACED framebuffer-cap |
| 280 | replace define V4L2_DV_BT_CAP_PROGRESSIVE framebuffer-cap |
| 281 | replace define V4L2_DV_BT_CAP_REDUCED_BLANKING framebuffer-cap |
| 282 | replace define V4L2_DV_BT_CAP_CUSTOM framebuffer-cap |
| 283 | |
| 284 | # V4L2 input |
| 285 | |
| 286 | replace define V4L2_INPUT_TYPE_TUNER input-type |
| 287 | replace define V4L2_INPUT_TYPE_CAMERA input-type |
| 288 | |
| 289 | replace define V4L2_IN_ST_NO_POWER input-status |
| 290 | replace define V4L2_IN_ST_NO_SIGNAL input-status |
| 291 | replace define V4L2_IN_ST_NO_COLOR input-status |
| 292 | replace define V4L2_IN_ST_HFLIP input-status |
| 293 | replace define V4L2_IN_ST_VFLIP input-status |
| 294 | replace define V4L2_IN_ST_NO_H_LOCK input-status |
| 295 | replace define V4L2_IN_ST_COLOR_KILL input-status |
| 296 | replace define V4L2_IN_ST_NO_SYNC input-status |
| 297 | replace define V4L2_IN_ST_NO_EQU input-status |
| 298 | replace define V4L2_IN_ST_NO_CARRIER input-status |
| 299 | replace define V4L2_IN_ST_MACROVISION input-status |
| 300 | replace define V4L2_IN_ST_NO_ACCESS input-status |
| 301 | replace define V4L2_IN_ST_VTR input-status |
| 302 | |
| 303 | replace define V4L2_IN_CAP_DV_TIMINGS input-capabilities |
| 304 | replace define V4L2_IN_CAP_STD input-capabilities |
| 305 | replace define V4L2_IN_CAP_NATIVE_SIZE input-capabilities |
| 306 | |
| 307 | # V4L2 output |
| 308 | |
| 309 | replace define V4L2_OUTPUT_TYPE_MODULATOR output-type |
| 310 | replace define V4L2_OUTPUT_TYPE_ANALOG output-type |
| 311 | replace define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY output-type |
| 312 | |
| 313 | replace define V4L2_OUT_CAP_DV_TIMINGS output-capabilities |
| 314 | replace define V4L2_OUT_CAP_STD output-capabilities |
| 315 | replace define V4L2_OUT_CAP_NATIVE_SIZE output-capabilities |
| 316 | |
| 317 | # V4L2 control flags |
| 318 | |
| 319 | replace define V4L2_CTRL_FLAG_DISABLED control-flags |
| 320 | replace define V4L2_CTRL_FLAG_GRABBED control-flags |
| 321 | replace define V4L2_CTRL_FLAG_READ_ONLY control-flags |
| 322 | replace define V4L2_CTRL_FLAG_UPDATE control-flags |
| 323 | replace define V4L2_CTRL_FLAG_INACTIVE control-flags |
| 324 | replace define V4L2_CTRL_FLAG_SLIDER control-flags |
| 325 | replace define V4L2_CTRL_FLAG_WRITE_ONLY control-flags |
| 326 | replace define V4L2_CTRL_FLAG_VOLATILE control-flags |
| 327 | replace define V4L2_CTRL_FLAG_HAS_PAYLOAD control-flags |
| 328 | replace define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE control-flags |
| 329 | |
| 330 | replace define V4L2_CTRL_FLAG_NEXT_CTRL control |
| 331 | replace define V4L2_CTRL_FLAG_NEXT_COMPOUND control |
| 332 | replace define V4L2_CID_PRIVATE_BASE control |
| 333 | |
| 334 | # V4L2 tuner |
| 335 | |
| 336 | replace define V4L2_TUNER_CAP_LOW tuner-capability |
| 337 | replace define V4L2_TUNER_CAP_NORM tuner-capability |
| 338 | replace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability |
| 339 | replace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability |
| 340 | replace define V4L2_TUNER_CAP_STEREO tuner-capability |
| 341 | replace define V4L2_TUNER_CAP_LANG2 tuner-capability |
| 342 | replace define V4L2_TUNER_CAP_SAP tuner-capability |
| 343 | replace define V4L2_TUNER_CAP_LANG1 tuner-capability |
| 344 | replace define V4L2_TUNER_CAP_RDS tuner-capability |
| 345 | replace define V4L2_TUNER_CAP_RDS_BLOCK_IO tuner-capability |
| 346 | replace define V4L2_TUNER_CAP_RDS_CONTROLS tuner-capability |
| 347 | replace define V4L2_TUNER_CAP_FREQ_BANDS tuner-capability |
| 348 | replace define V4L2_TUNER_CAP_HWSEEK_PROG_LIM tuner-capability |
| 349 | replace define V4L2_TUNER_CAP_1HZ tuner-capability |
| 350 | |
| 351 | replace define V4L2_TUNER_SUB_MONO tuner-rxsubchans |
| 352 | replace define V4L2_TUNER_SUB_STEREO tuner-rxsubchans |
| 353 | replace define V4L2_TUNER_SUB_LANG2 tuner-rxsubchans |
| 354 | replace define V4L2_TUNER_SUB_SAP tuner-rxsubchans |
| 355 | replace define V4L2_TUNER_SUB_LANG1 tuner-rxsubchans |
| 356 | replace define V4L2_TUNER_SUB_RDS tuner-rxsubchans |
| 357 | |
| 358 | replace define V4L2_TUNER_MODE_MONO tuner-audmode |
| 359 | replace define V4L2_TUNER_MODE_STEREO tuner-audmode |
| 360 | replace define V4L2_TUNER_MODE_LANG2 tuner-audmode |
| 361 | replace define V4L2_TUNER_MODE_SAP tuner-audmode |
| 362 | replace define V4L2_TUNER_MODE_LANG1 tuner-audmode |
| 363 | replace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode |
| 364 | |
| 365 | replace define V4L2_BAND_MODULATION_VSB band-modulation |
| 366 | replace define V4L2_BAND_MODULATION_FM band-modulation |
| 367 | replace define V4L2_BAND_MODULATION_AM band-modulation |
| 368 | |
| 369 | replace define V4L2_RDS_BLOCK_MSK v4l2-rds-block |
| 370 | replace define V4L2_RDS_BLOCK_A v4l2-rds-block |
| 371 | replace define V4L2_RDS_BLOCK_B v4l2-rds-block |
| 372 | replace define V4L2_RDS_BLOCK_C v4l2-rds-block |
| 373 | replace define V4L2_RDS_BLOCK_D v4l2-rds-block |
| 374 | replace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block |
| 375 | replace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block |
| 376 | replace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block |
| 377 | replace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block |
| 378 | |
| 379 | # V4L2 audio |
| 380 | |
| 381 | replace define V4L2_AUDCAP_STEREO audio-capability |
| 382 | replace define V4L2_AUDCAP_AVL audio-capability |
| 383 | |
| 384 | replace define V4L2_AUDMODE_AVL audio-mode |
| 385 | |
| 386 | # MPEG |
| 387 | |
| 388 | replace define V4L2_ENC_IDX_FRAME_I v4l2-enc-idx |
| 389 | replace define V4L2_ENC_IDX_FRAME_P v4l2-enc-idx |
| 390 | replace define V4L2_ENC_IDX_FRAME_B v4l2-enc-idx |
| 391 | replace define V4L2_ENC_IDX_FRAME_MASK v4l2-enc-idx |
| 392 | replace define V4L2_ENC_IDX_ENTRIES v4l2-enc-idx |
| 393 | |
| 394 | replace define V4L2_ENC_CMD_START encoder-cmds |
| 395 | replace define V4L2_ENC_CMD_STOP encoder-cmds |
| 396 | replace define V4L2_ENC_CMD_PAUSE encoder-cmds |
| 397 | replace define V4L2_ENC_CMD_RESUME encoder-cmds |
| 398 | |
| 399 | replace define V4L2_ENC_CMD_STOP_AT_GOP_END encoder-flags |
| 400 | |
| 401 | replace define V4L2_DEC_CMD_START decoder-cmds |
| 402 | replace define V4L2_DEC_CMD_STOP decoder-cmds |
| 403 | replace define V4L2_DEC_CMD_PAUSE decoder-cmds |
| 404 | replace define V4L2_DEC_CMD_RESUME decoder-cmds |
| 405 | |
| 406 | replace define V4L2_DEC_CMD_START_MUTE_AUDIO decoder-cmds |
| 407 | replace define V4L2_DEC_CMD_PAUSE_TO_BLACK decoder-cmds |
| 408 | replace define V4L2_DEC_CMD_STOP_TO_BLACK decoder-cmds |
| 409 | replace define V4L2_DEC_CMD_STOP_IMMEDIATELY decoder-cmds |
| 410 | |
| 411 | replace define V4L2_DEC_START_FMT_NONE decoder-cmds |
| 412 | replace define V4L2_DEC_START_FMT_GOP decoder-cmds |
| 413 | |
| 414 | # V4L2 VBI |
| 415 | |
| 416 | replace define V4L2_VBI_UNSYNC vbifmt-flags |
| 417 | replace define V4L2_VBI_INTERLACED vbifmt-flags |
| 418 | |
| 419 | replace define V4L2_VBI_ITU_525_F1_START v4l2-vbi-format |
| 420 | replace define V4L2_VBI_ITU_525_F2_START v4l2-vbi-format |
| 421 | replace define V4L2_VBI_ITU_625_F1_START v4l2-vbi-format |
| 422 | replace define V4L2_VBI_ITU_625_F2_START v4l2-vbi-format |
| 423 | |
| 424 | |
| 425 | replace define V4L2_SLICED_TELETEXT_B vbi-services |
| 426 | replace define V4L2_SLICED_VPS vbi-services |
| 427 | replace define V4L2_SLICED_CAPTION_525 vbi-services |
| 428 | replace define V4L2_SLICED_WSS_625 vbi-services |
| 429 | replace define V4L2_SLICED_VBI_525 vbi-services |
| 430 | replace define V4L2_SLICED_VBI_625 vbi-services |
| 431 | |
| 432 | replace define V4L2_MPEG_VBI_IVTV_TELETEXT_B ITV0-Line-Identifier-Constants |
| 433 | replace define V4L2_MPEG_VBI_IVTV_CAPTION_525 ITV0-Line-Identifier-Constants |
| 434 | replace define V4L2_MPEG_VBI_IVTV_WSS_625 ITV0-Line-Identifier-Constants |
| 435 | replace define V4L2_MPEG_VBI_IVTV_VPS ITV0-Line-Identifier-Constants |
| 436 | |
| 437 | replace define V4L2_MPEG_VBI_IVTV_MAGIC0 v4l2-mpeg-vbi-fmt-ivtv-magic |
| 438 | replace define V4L2_MPEG_VBI_IVTV_MAGIC1 v4l2-mpeg-vbi-fmt-ivtv-magic |
| 439 | |
| 440 | # V4L2 events |
| 441 | |
| 442 | replace define V4L2_EVENT_ALL event-type |
| 443 | replace define V4L2_EVENT_VSYNC event-type |
| 444 | replace define V4L2_EVENT_EOS event-type |
| 445 | replace define V4L2_EVENT_CTRL event-type |
| 446 | replace define V4L2_EVENT_FRAME_SYNC event-type |
| 447 | replace define V4L2_EVENT_SOURCE_CHANGE event-type |
| 448 | replace define V4L2_EVENT_MOTION_DET event-type |
| 449 | replace define V4L2_EVENT_PRIVATE_START event-type |
| 450 | |
| 451 | replace define V4L2_EVENT_CTRL_CH_VALUE ctrl-changes-flags |
| 452 | replace define V4L2_EVENT_CTRL_CH_FLAGS ctrl-changes-flags |
| 453 | replace define V4L2_EVENT_CTRL_CH_RANGE ctrl-changes-flags |
| 454 | |
| 455 | replace define V4L2_EVENT_SRC_CH_RESOLUTION src-changes-flags |
| 456 | |
| 457 | replace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ v4l2-event-motion-det |
| 458 | |
| 459 | replace define V4L2_EVENT_SUB_FL_SEND_INITIAL event-flags |
| 460 | replace define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK event-flags |
| 461 | |
| 462 | # V4L2 debugging |
| 463 | replace define V4L2_CHIP_MATCH_BRIDGE vidioc_dbg_g_register |
| 464 | replace define V4L2_CHIP_MATCH_SUBDEV vidioc_dbg_g_register |
| 465 | replace define V4L2_CHIP_MATCH_HOST vidioc_dbg_g_register |
| 466 | replace define V4L2_CHIP_MATCH_I2C_DRIVER vidioc_dbg_g_register |
| 467 | replace define V4L2_CHIP_MATCH_I2C_ADDR vidioc_dbg_g_register |
| 468 | replace define V4L2_CHIP_MATCH_AC97 vidioc_dbg_g_register |
| 469 | |
| 470 | replace define V4L2_CHIP_FL_READABLE vidioc_dbg_g_register |
| 471 | replace define V4L2_CHIP_FL_WRITABLE vidioc_dbg_g_register |
| 472 | |
| 473 | # Ignore reserved ioctl and ancillary macros |
| 474 | |
| 475 | ignore define VIDEO_MAX_FRAME |
| 476 | ignore define VIDEO_MAX_PLANES |
| 477 | ignore define v4l2_fourcc |
| 478 | ignore define v4l2_fourcc_be |
| 479 | ignore define V4L2_FIELD_HAS_TOP |
| 480 | ignore define V4L2_FIELD_HAS_BOTTOM |
| 481 | ignore define V4L2_FIELD_HAS_BOTH |
| 482 | ignore define V4L2_FIELD_HAS_T_OR_B |
| 483 | ignore define V4L2_TYPE_IS_MULTIPLANAR |
| 484 | ignore define V4L2_TYPE_IS_OUTPUT |
| 485 | ignore define V4L2_TUNER_ADC |
| 486 | ignore define V4L2_MAP_COLORSPACE_DEFAULT |
| 487 | ignore define V4L2_MAP_XFER_FUNC_DEFAULT |
| 488 | ignore define V4L2_MAP_YCBCR_ENC_DEFAULT |
| 489 | ignore define V4L2_DV_BT_BLANKING_WIDTH |
| 490 | ignore define V4L2_DV_BT_FRAME_WIDTH |
| 491 | ignore define V4L2_DV_BT_BLANKING_HEIGHT |
| 492 | ignore define V4L2_DV_BT_FRAME_HEIGHT |
| 493 | ignore define V4L2_IN_CAP_CUSTOM_TIMINGS |
| 494 | ignore define V4L2_CTRL_ID_MASK |
| 495 | ignore define V4L2_CTRL_ID2CLASS |
| 496 | ignore define V4L2_CTRL_ID2WHICH |
| 497 | ignore define V4L2_CTRL_DRIVER_PRIV |
| 498 | ignore define V4L2_CTRL_MAX_DIMS |
| 499 | ignore define V4L2_CTRL_WHICH_CUR_VAL |
| 500 | ignore define V4L2_CTRL_WHICH_DEF_VAL |
| 501 | ignore define V4L2_OUT_CAP_CUSTOM_TIMINGS |
| 502 | ignore define V4L2_CID_MAX_CTRLS |
| 503 | |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 504 | ignore ioctl VIDIOC_RESERVED |
Mauro Carvalho Chehab | 249e5ba | 2016-07-08 06:43:00 -0300 | [diff] [blame] | 505 | ignore define BASE_VIDIOC_PRIVATE |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 506 | |
| 507 | # Associate ioctls with their counterparts |
| 508 | replace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register |
| 509 | replace ioctl VIDIOC_DQBUF vidioc_qbuf |
| 510 | replace ioctl VIDIOC_S_AUDOUT vidioc_g_audout |
| 511 | replace ioctl VIDIOC_S_CROP vidioc_g_crop |
| 512 | replace ioctl VIDIOC_S_CTRL vidioc_g_ctrl |
| 513 | replace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings |
| 514 | replace ioctl VIDIOC_S_EDID vidioc_g_edid |
| 515 | replace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls |
| 516 | replace ioctl VIDIOC_S_FBUF vidioc_g_fbuf |
| 517 | replace ioctl VIDIOC_S_FMT vidioc_g_fmt |
| 518 | replace ioctl VIDIOC_S_FREQUENCY vidioc_g_frequency |
| 519 | replace ioctl VIDIOC_S_INPUT vidioc_g_input |
| 520 | replace ioctl VIDIOC_S_JPEGCOMP vidioc_g_jpegcomp |
| 521 | replace ioctl VIDIOC_S_MODULATOR vidioc_g_modulator |
| 522 | replace ioctl VIDIOC_S_OUTPUT vidioc_g_output |
| 523 | replace ioctl VIDIOC_S_PARM vidioc_g_parm |
| 524 | replace ioctl VIDIOC_S_PRIORITY vidioc_g_priority |
| 525 | replace ioctl VIDIOC_S_SELECTION vidioc_g_selection |
| 526 | replace ioctl VIDIOC_S_STD vidioc_g_std |
| 527 | replace ioctl VIDIOC_S_AUDIO vidioc_g_audio |
| 528 | replace ioctl VIDIOC_S_TUNER vidioc_g_tuner |
| 529 | replace ioctl VIDIOC_TRY_DECODER_CMD vidioc_decoder_cmd |
| 530 | replace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd |
| 531 | replace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls |
| 532 | replace ioctl VIDIOC_TRY_FMT vidioc_g_fmt |
| 533 | replace ioctl VIDIOC_STREAMOFF vidioc_streamon |
Mauro Carvalho Chehab | 9f97b30 | 2016-07-07 11:05:38 -0300 | [diff] [blame] | 534 | replace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl |
| 535 | replace ioctl VIDIOC_QUERYMENU vidioc_queryctrl |