xref: /linux/Documentation/userspace-api/media/videodev2.h.rst.exceptions (revision 3fd6c59042dbba50391e30862beac979491145fe)
154f38fcaSMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0
254f38fcaSMauro Carvalho Chehab
354f38fcaSMauro Carvalho Chehab# Ignore header name
454f38fcaSMauro Carvalho Chehabignore define _UAPI__LINUX_VIDEODEV2_H
554f38fcaSMauro Carvalho Chehab
654f38fcaSMauro Carvalho Chehab#
754f38fcaSMauro Carvalho Chehab# The cross reference valitator for videodev2.h DocBook never cared
854f38fcaSMauro Carvalho Chehab# about enum symbols or defines. Yet, they're all (or almost all?)
954f38fcaSMauro Carvalho Chehab# handled inside V4L API sections. So, for now, it is safe to just
1054f38fcaSMauro Carvalho Chehab# ignore. This should be revisited, as validating it helps to avoid
1154f38fcaSMauro Carvalho Chehab# having something not documented at the uAPI.
1254f38fcaSMauro Carvalho Chehab#
1354f38fcaSMauro Carvalho Chehab
1454f38fcaSMauro Carvalho Chehab# Those symbols should not be used by uAPI - don't document them
1554f38fcaSMauro Carvalho Chehabignore symbol V4L2_BUF_TYPE_PRIVATE
1654f38fcaSMauro Carvalho Chehabignore symbol V4L2_TUNER_DIGITAL_TV
1754f38fcaSMauro Carvalho Chehabignore symbol V4L2_COLORSPACE_BT878
1854f38fcaSMauro Carvalho Chehab
1954f38fcaSMauro Carvalho Chehab# Documented enum v4l2_field
2054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field`
2154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_ANY :c:type:`v4l2_field`
2254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field`
2354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field`
2454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field`
2554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field`
2654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_NONE :c:type:`v4l2_field`
2754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field`
2854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_SEQ_TB :c:type:`v4l2_field`
2954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FIELD_TOP :c:type:`v4l2_field`
3054f38fcaSMauro Carvalho Chehab
3154f38fcaSMauro Carvalho Chehab# Documented enum v4l2_buf_type
3254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_META_CAPTURE :c:type:`v4l2_buf_type`
3354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_META_OUTPUT :c:type:`v4l2_buf_type`
3454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_SDR_CAPTURE :c:type:`v4l2_buf_type`
3554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_SDR_OUTPUT :c:type:`v4l2_buf_type`
3654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE :c:type:`v4l2_buf_type`
3754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT :c:type:`v4l2_buf_type`
3854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VBI_CAPTURE :c:type:`v4l2_buf_type`
3954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VBI_OUTPUT :c:type:`v4l2_buf_type`
4054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE :c:type:`v4l2_buf_type`
4154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE :c:type:`v4l2_buf_type`
4254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT :c:type:`v4l2_buf_type`
4354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE :c:type:`v4l2_buf_type`
4454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY :c:type:`v4l2_buf_type`
4554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY :c:type:`v4l2_buf_type`
4654f38fcaSMauro Carvalho Chehab
4754f38fcaSMauro Carvalho Chehab# Documented enum v4l2_tuner_type
4854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_TUNER_ANALOG_TV :c:type:`v4l2_tuner_type`
4954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_TUNER_RADIO :c:type:`v4l2_tuner_type`
5054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_TUNER_RF :c:type:`v4l2_tuner_type`
5154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_TUNER_SDR :c:type:`v4l2_tuner_type`
5254f38fcaSMauro Carvalho Chehab
5354f38fcaSMauro Carvalho Chehab# Documented enum v4l2_memory
5454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_MEMORY_DMABUF :c:type:`v4l2_memory`
5554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_MEMORY_MMAP :c:type:`v4l2_memory`
5654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_MEMORY_OVERLAY :c:type:`v4l2_memory`
5754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_MEMORY_USERPTR :c:type:`v4l2_memory`
5854f38fcaSMauro Carvalho Chehab
5954f38fcaSMauro Carvalho Chehab# Documented enum v4l2_colorspace
6054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_470_SYSTEM_BG :c:type:`v4l2_colorspace`
6154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_470_SYSTEM_M :c:type:`v4l2_colorspace`
6254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_OPRGB :c:type:`v4l2_colorspace`
6354f38fcaSMauro Carvalho Chehabreplace define V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace`
6454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_BT2020 :c:type:`v4l2_colorspace`
6554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_DCI_P3 :c:type:`v4l2_colorspace`
6654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_DEFAULT :c:type:`v4l2_colorspace`
6754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_JPEG :c:type:`v4l2_colorspace`
6854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_RAW :c:type:`v4l2_colorspace`
6954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_REC709 :c:type:`v4l2_colorspace`
7054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_SMPTE170M :c:type:`v4l2_colorspace`
7154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_SMPTE240M :c:type:`v4l2_colorspace`
7254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace`
734b923373SHans Verkuilreplace symbol V4L2_COLORSPACE_LAST :c:type:`v4l2_colorspace`
7454f38fcaSMauro Carvalho Chehab
7554f38fcaSMauro Carvalho Chehab# Documented enum v4l2_xfer_func
7654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func`
7754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_OPRGB :c:type:`v4l2_xfer_func`
7854f38fcaSMauro Carvalho Chehabreplace define V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func`
7954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_DCI_P3 :c:type:`v4l2_xfer_func`
8054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_DEFAULT :c:type:`v4l2_xfer_func`
8154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func`
8254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_SMPTE2084 :c:type:`v4l2_xfer_func`
8354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_SMPTE240M :c:type:`v4l2_xfer_func`
8454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_XFER_FUNC_SRGB :c:type:`v4l2_xfer_func`
854b923373SHans Verkuilreplace symbol V4L2_XFER_FUNC_LAST :c:type:`v4l2_xfer_func`
8654f38fcaSMauro Carvalho Chehab
8754f38fcaSMauro Carvalho Chehab# Documented enum v4l2_ycbcr_encoding
8854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_601 :c:type:`v4l2_ycbcr_encoding`
8954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_709 :c:type:`v4l2_ycbcr_encoding`
9054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_BT2020 :c:type:`v4l2_ycbcr_encoding`
9154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM :c:type:`v4l2_ycbcr_encoding`
9254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_DEFAULT :c:type:`v4l2_ycbcr_encoding`
9354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_SYCC :c:type:`v4l2_ycbcr_encoding`
9454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_XV601 :c:type:`v4l2_ycbcr_encoding`
9554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_XV709 :c:type:`v4l2_ycbcr_encoding`
9654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_YCBCR_ENC_SMPTE240M :c:type:`v4l2_ycbcr_encoding`
974b923373SHans Verkuilreplace symbol V4L2_YCBCR_ENC_LAST :c:type:`v4l2_ycbcr_encoding`
9854f38fcaSMauro Carvalho Chehab
9954f38fcaSMauro Carvalho Chehab# Documented enum v4l2_hsv_encoding
10054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_HSV_ENC_180 :c:type:`v4l2_hsv_encoding`
10154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_HSV_ENC_256 :c:type:`v4l2_hsv_encoding`
10254f38fcaSMauro Carvalho Chehab
10354f38fcaSMauro Carvalho Chehab# Documented enum v4l2_quantization
10454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_QUANTIZATION_DEFAULT :c:type:`v4l2_quantization`
10554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_QUANTIZATION_FULL_RANGE :c:type:`v4l2_quantization`
10654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_QUANTIZATION_LIM_RANGE :c:type:`v4l2_quantization`
10754f38fcaSMauro Carvalho Chehab
10854f38fcaSMauro Carvalho Chehab# Documented enum v4l2_priority
10954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_PRIORITY_BACKGROUND :c:type:`v4l2_priority`
11054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_PRIORITY_DEFAULT :c:type:`v4l2_priority`
11154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_PRIORITY_INTERACTIVE :c:type:`v4l2_priority`
11254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_PRIORITY_RECORD :c:type:`v4l2_priority`
11354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_PRIORITY_UNSET :c:type:`v4l2_priority`
11454f38fcaSMauro Carvalho Chehab
11554f38fcaSMauro Carvalho Chehab# Documented enum v4l2_frmsizetypes
11654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS :c:type:`v4l2_frmsizetypes`
11754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMSIZE_TYPE_DISCRETE :c:type:`v4l2_frmsizetypes`
11854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMSIZE_TYPE_STEPWISE :c:type:`v4l2_frmsizetypes`
11954f38fcaSMauro Carvalho Chehab
12054f38fcaSMauro Carvalho Chehab# Documented enum frmivaltypes
12154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS :c:type:`v4l2_frmivaltypes`
12254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMIVAL_TYPE_DISCRETE :c:type:`v4l2_frmivaltypes`
12354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_FRMIVAL_TYPE_STEPWISE :c:type:`v4l2_frmivaltypes`
12454f38fcaSMauro Carvalho Chehab
12554f38fcaSMauro Carvalho Chehab# Documented enum :c:type:`v4l2_ctrl_type`
12654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_COMPOUND_TYPES vidioc_queryctrl
12754f38fcaSMauro Carvalho Chehab
12854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_BITMASK :c:type:`v4l2_ctrl_type`
12954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_BOOLEAN :c:type:`v4l2_ctrl_type`
13054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_BUTTON :c:type:`v4l2_ctrl_type`
13154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_CTRL_CLASS :c:type:`v4l2_ctrl_type`
13254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_INTEGER :c:type:`v4l2_ctrl_type`
13354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_INTEGER64 :c:type:`v4l2_ctrl_type`
13454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_INTEGER_MENU :c:type:`v4l2_ctrl_type`
13554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_MENU :c:type:`v4l2_ctrl_type`
13654f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_STRING :c:type:`v4l2_ctrl_type`
13754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_U16 :c:type:`v4l2_ctrl_type`
13854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_U32 :c:type:`v4l2_ctrl_type`
13954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_U8 :c:type:`v4l2_ctrl_type`
140f329e21eSEzequiel Garciareplace symbol V4L2_CTRL_TYPE_MPEG2_SEQUENCE :c:type:`v4l2_ctrl_type`
141f329e21eSEzequiel Garciareplace symbol V4L2_CTRL_TYPE_MPEG2_PICTURE :c:type:`v4l2_ctrl_type`
142118f3e15SEzequiel Garciareplace symbol V4L2_CTRL_TYPE_MPEG2_QUANTISATION :c:type:`v4l2_ctrl_type`
14354f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_H264_SPS :c:type:`v4l2_ctrl_type`
14454f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_H264_PPS :c:type:`v4l2_ctrl_type`
14554f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_H264_SCALING_MATRIX :c:type:`v4l2_ctrl_type`
146ee6fcc67SEzequiel Garciareplace symbol V4L2_CTRL_TYPE_H264_PRED_WEIGHTS :c:type:`v4l2_ctrl_type`
14754f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_H264_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
14854f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_H264_DECODE_PARAMS :c:type:`v4l2_ctrl_type`
14954f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_HEVC_SPS :c:type:`v4l2_ctrl_type`
15054f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_HEVC_PPS :c:type:`v4l2_ctrl_type`
15154f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
15254f38fcaSMauro Carvalho Chehabreplace symbol V4L2_CTRL_TYPE_AREA :c:type:`v4l2_ctrl_type`
1534a85d1cbSHans Verkuilreplace symbol V4L2_CTRL_TYPE_FWHT_PARAMS :c:type:`v4l2_ctrl_type`
154363240ceSEzequiel Garciareplace symbol V4L2_CTRL_TYPE_VP8_FRAME :c:type:`v4l2_ctrl_type`
155b88dbe38SAndrzej Pietrasiewiczreplace symbol V4L2_CTRL_TYPE_VP9_COMPRESSED_HDR :c:type:`v4l2_ctrl_type`
156b88dbe38SAndrzej Pietrasiewiczreplace symbol V4L2_CTRL_TYPE_VP9_FRAME :c:type:`v4l2_ctrl_type`
1575f8beb7dSStanimir Varbanovreplace symbol V4L2_CTRL_TYPE_HDR10_CLL_INFO :c:type:`v4l2_ctrl_type`
1585f8beb7dSStanimir Varbanovreplace symbol V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY :c:type:`v4l2_ctrl_type`
15916e2d220SBenjamin Gaignardreplace symbol V4L2_CTRL_TYPE_HEVC_SPS :c:type:`v4l2_ctrl_type`
16016e2d220SBenjamin Gaignardreplace symbol V4L2_CTRL_TYPE_HEVC_PPS :c:type:`v4l2_ctrl_type`
16116e2d220SBenjamin Gaignardreplace symbol V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
16216e2d220SBenjamin Gaignardreplace symbol V4L2_CTRL_TYPE_HEVC_SCALING_MATRIX :c:type:`v4l2_ctrl_type`
16316e2d220SBenjamin Gaignardreplace symbol V4L2_CTRL_TYPE_HEVC_DECODE_PARAMS :c:type:`v4l2_ctrl_type`
1649de30f57SDaniel Almeidareplace symbol V4L2_CTRL_TYPE_AV1_SEQUENCE :c:type:`v4l2_ctrl_type`
1659de30f57SDaniel Almeidareplace symbol V4L2_CTRL_TYPE_AV1_TILE_GROUP_ENTRY :c:type:`v4l2_ctrl_type`
1669de30f57SDaniel Almeidareplace symbol V4L2_CTRL_TYPE_AV1_FRAME :c:type:`v4l2_ctrl_type`
1679de30f57SDaniel Almeidareplace symbol V4L2_CTRL_TYPE_AV1_FILM_GRAIN :c:type:`v4l2_ctrl_type`
16854f38fcaSMauro Carvalho Chehab
16954f38fcaSMauro Carvalho Chehab# V4L2 capability defines
17054f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_CAPTURE device-capabilities
17154f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities
17254f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_OUTPUT device-capabilities
17354f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities
17454f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_M2M device-capabilities
17554f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities
17654f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_OVERLAY device-capabilities
17754f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VBI_CAPTURE device-capabilities
17854f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VBI_OUTPUT device-capabilities
17954f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities
18054f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_SLICED_VBI_OUTPUT device-capabilities
18154f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_RDS_CAPTURE device-capabilities
18254f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_VIDEO_OUTPUT_OVERLAY device-capabilities
18354f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_HW_FREQ_SEEK device-capabilities
18454f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_RDS_OUTPUT device-capabilities
18554f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_TUNER device-capabilities
18654f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_AUDIO device-capabilities
18754f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_RADIO device-capabilities
18854f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_MODULATOR device-capabilities
18954f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_SDR_CAPTURE device-capabilities
19054f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_EXT_PIX_FORMAT device-capabilities
19154f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_SDR_OUTPUT device-capabilities
19254f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_META_CAPTURE device-capabilities
19354f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_READWRITE device-capabilities
19454f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_ASYNCIO device-capabilities
19554f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_STREAMING device-capabilities
19654f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_META_OUTPUT device-capabilities
19754f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_DEVICE_CAPS device-capabilities
19854f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_TOUCH device-capabilities
199f645e625SNiklas Söderlundreplace define V4L2_CAP_IO_MC device-capabilities
200*d2f2ce00SErling Ljunggrenreplace define V4L2_CAP_EDID device-capabilities
20154f38fcaSMauro Carvalho Chehab
20254f38fcaSMauro Carvalho Chehab# V4L2 pix flags
20354f38fcaSMauro Carvalho Chehabreplace define V4L2_PIX_FMT_PRIV_MAGIC :c:type:`v4l2_pix_format`
20447ad02d1SDafna Hirschfeldreplace define V4L2_PIX_FMT_FLAG_PREMUL_ALPHA format-flags
20578eee7b5SEzequiel Garciareplace define V4L2_PIX_FMT_HM12 :c:type:`v4l2_pix_format`
206b84f60a3SEzequiel Garciareplace define V4L2_PIX_FMT_SUNXI_TILED_NV12 :c:type:`v4l2_pix_format`
20754f38fcaSMauro Carvalho Chehab
20854f38fcaSMauro Carvalho Chehab# V4L2 format flags
20954f38fcaSMauro Carvalho Chehabreplace define V4L2_FMT_FLAG_COMPRESSED fmtdesc-flags
21054f38fcaSMauro Carvalho Chehabreplace define V4L2_FMT_FLAG_EMULATED fmtdesc-flags
21154f38fcaSMauro Carvalho Chehabreplace define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM fmtdesc-flags
21254f38fcaSMauro Carvalho Chehabreplace define V4L2_FMT_FLAG_DYN_RESOLUTION fmtdesc-flags
213286cf7d3SHans Verkuilreplace define V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL fmtdesc-flags
214b38c73caSDafna Hirschfeldreplace define V4L2_FMT_FLAG_CSC_COLORSPACE fmtdesc-flags
215b38c73caSDafna Hirschfeldreplace define V4L2_FMT_FLAG_CSC_XFER_FUNC fmtdesc-flags
216b38c73caSDafna Hirschfeldreplace define V4L2_FMT_FLAG_CSC_YCBCR_ENC fmtdesc-flags
217b38c73caSDafna Hirschfeldreplace define V4L2_FMT_FLAG_CSC_HSV_ENC fmtdesc-flags
218b38c73caSDafna Hirschfeldreplace define V4L2_FMT_FLAG_CSC_QUANTIZATION fmtdesc-flags
21989345c2aSSakari Ailusreplace define V4L2_FMT_FLAG_META_LINE_BASED fmtdesc-flags
22054f38fcaSMauro Carvalho Chehabreplace define V4L2_FMTDESC_FLAG_ENUM_ALL fmtdesc-flags
22154f38fcaSMauro Carvalho Chehab
22254f38fcaSMauro Carvalho Chehab# V4L2 timecode types
22354f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_TYPE_24FPS timecode-type
22454f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_TYPE_25FPS timecode-type
22554f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_TYPE_30FPS timecode-type
22654f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_TYPE_50FPS timecode-type
22754f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_TYPE_60FPS timecode-type
22854f38fcaSMauro Carvalho Chehab
22954f38fcaSMauro Carvalho Chehab# V4L2 timecode flags
23054f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_FLAG_DROPFRAME timecode-flags
23154f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_FLAG_COLORFRAME timecode-flags
23254f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_USERBITS_field timecode-flags
23354f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_USERBITS_USERDEFINED timecode-flags
23454f38fcaSMauro Carvalho Chehabreplace define V4L2_TC_USERBITS_8BITCHARS timecode-flags
23554f38fcaSMauro Carvalho Chehab
23654f38fcaSMauro Carvalho Chehab# V4L2 JPEG markers
23754f38fcaSMauro Carvalho Chehabreplace define V4L2_JPEG_MARKER_DHT jpeg-markers
23854f38fcaSMauro Carvalho Chehabreplace define V4L2_JPEG_MARKER_DQT jpeg-markers
23954f38fcaSMauro Carvalho Chehabreplace define V4L2_JPEG_MARKER_DRI jpeg-markers
24054f38fcaSMauro Carvalho Chehabreplace define V4L2_JPEG_MARKER_COM jpeg-markers
24154f38fcaSMauro Carvalho Chehabreplace define V4L2_JPEG_MARKER_APP jpeg-markers
24254f38fcaSMauro Carvalho Chehab
24354f38fcaSMauro Carvalho Chehab# V4L2 framebuffer caps and flags
24454f38fcaSMauro Carvalho Chehab
24554f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_EXTERNOVERLAY framebuffer-cap
24654f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_CHROMAKEY framebuffer-cap
24754f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_LIST_CLIPPING framebuffer-cap
24854f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_BITMAP_CLIPPING framebuffer-cap
24954f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_LOCAL_ALPHA framebuffer-cap
25054f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_GLOBAL_ALPHA framebuffer-cap
25154f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_LOCAL_INV_ALPHA framebuffer-cap
25254f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_CAP_SRC_CHROMAKEY framebuffer-cap
25354f38fcaSMauro Carvalho Chehab
25454f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_PRIMARY framebuffer-flags
25554f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_OVERLAY framebuffer-flags
25654f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_CHROMAKEY framebuffer-flags
25754f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_LOCAL_ALPHA framebuffer-flags
25854f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_GLOBAL_ALPHA framebuffer-flags
25954f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA framebuffer-flags
26054f38fcaSMauro Carvalho Chehabreplace define V4L2_FBUF_FLAG_SRC_CHROMAKEY framebuffer-flags
26154f38fcaSMauro Carvalho Chehab
26254f38fcaSMauro Carvalho Chehab# Used on VIDIOC_G_PARM
26354f38fcaSMauro Carvalho Chehab
26454f38fcaSMauro Carvalho Chehabreplace define V4L2_MODE_HIGHQUALITY parm-flags
26554f38fcaSMauro Carvalho Chehabreplace define V4L2_CAP_TIMEPERFRAME :c:type:`v4l2_captureparm`
26654f38fcaSMauro Carvalho Chehab
26754f38fcaSMauro Carvalho Chehab# The V4L2_STD_foo are all defined at v4l2_std_id table
26854f38fcaSMauro Carvalho Chehab
26954f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_B v4l2-std-id
27054f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_B1 v4l2-std-id
27154f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_G v4l2-std-id
27254f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_H v4l2-std-id
27354f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_I v4l2-std-id
27454f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_D v4l2-std-id
27554f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_D1 v4l2-std-id
27654f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_K v4l2-std-id
27754f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_M v4l2-std-id
27854f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_N v4l2-std-id
27954f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_Nc v4l2-std-id
28054f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_60 v4l2-std-id
28154f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_NTSC_M v4l2-std-id
28254f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_NTSC_M_JP v4l2-std-id
28354f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_NTSC_443 v4l2-std-id
28454f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_NTSC_M_KR v4l2-std-id
28554f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_B v4l2-std-id
28654f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_D v4l2-std-id
28754f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_G v4l2-std-id
28854f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_H v4l2-std-id
28954f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_K v4l2-std-id
29054f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_K1 v4l2-std-id
29154f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_L v4l2-std-id
29254f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_LC v4l2-std-id
29354f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_ATSC_8_VSB v4l2-std-id
29454f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_ATSC_16_VSB v4l2-std-id
29554f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_NTSC v4l2-std-id
29654f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM_DK v4l2-std-id
29754f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_SECAM v4l2-std-id
29854f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_BG v4l2-std-id
29954f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL_DK v4l2-std-id
30054f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_PAL v4l2-std-id
30154f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_B v4l2-std-id
30254f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_G v4l2-std-id
30354f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_H v4l2-std-id
30454f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_L v4l2-std-id
30554f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_GH v4l2-std-id
30654f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_DK v4l2-std-id
30754f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_BG v4l2-std-id
30854f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_MN v4l2-std-id
30954f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_MTS v4l2-std-id
31054f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_525_60 v4l2-std-id
31154f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_625_50 v4l2-std-id
31254f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_ATSC v4l2-std-id
31354f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_UNKNOWN v4l2-std-id
31454f38fcaSMauro Carvalho Chehabreplace define V4L2_STD_ALL v4l2-std-id
31554f38fcaSMauro Carvalho Chehab
31654f38fcaSMauro Carvalho Chehab# V4L2 DT BT timings definitions
31754f38fcaSMauro Carvalho Chehab
31854f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_PROGRESSIVE :c:type:`v4l2_bt_timings`
31954f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_INTERLACED :c:type:`v4l2_bt_timings`
32054f38fcaSMauro Carvalho Chehab
32154f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_VSYNC_POS_POL :c:type:`v4l2_bt_timings`
32254f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_HSYNC_POS_POL :c:type:`v4l2_bt_timings`
32354f38fcaSMauro Carvalho Chehab
32454f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_STD_CEA861 dv-bt-standards
32554f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_STD_DMT dv-bt-standards
32654f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_STD_CVT dv-bt-standards
32754f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_STD_GTF dv-bt-standards
32854f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_STD_SDI dv-bt-standards
32954f38fcaSMauro Carvalho Chehab
33054f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_REDUCED_BLANKING dv-bt-standards
33154f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_CAN_REDUCE_FPS dv-bt-standards
33254f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_CAN_DETECT_REDUCED_FPS dv-bt-standards
33354f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_REDUCED_FPS dv-bt-standards
33454f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_HALF_LINE dv-bt-standards
33554f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_IS_CE_VIDEO dv-bt-standards
33654f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE dv-bt-standards
33754f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_HAS_PICTURE_ASPECT dv-bt-standards
33854f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_HAS_CEA861_VIC dv-bt-standards
33954f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_FL_HAS_HDMI_VIC dv-bt-standards
34054f38fcaSMauro Carvalho Chehab
34154f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_656_1120 dv-timing-types
34254f38fcaSMauro Carvalho Chehab
34354f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_CAP_INTERLACED framebuffer-cap
34454f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_CAP_PROGRESSIVE framebuffer-cap
34554f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_CAP_REDUCED_BLANKING framebuffer-cap
34654f38fcaSMauro Carvalho Chehabreplace define V4L2_DV_BT_CAP_CUSTOM framebuffer-cap
34754f38fcaSMauro Carvalho Chehab
34854f38fcaSMauro Carvalho Chehab# V4L2 input
34954f38fcaSMauro Carvalho Chehab
35054f38fcaSMauro Carvalho Chehabreplace define V4L2_INPUT_TYPE_TUNER input-type
35154f38fcaSMauro Carvalho Chehabreplace define V4L2_INPUT_TYPE_CAMERA input-type
35254f38fcaSMauro Carvalho Chehabreplace define V4L2_INPUT_TYPE_TOUCH input-type
35354f38fcaSMauro Carvalho Chehab
35454f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_POWER input-status
35554f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_SIGNAL input-status
35654f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_COLOR input-status
35754f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_HFLIP input-status
35854f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_VFLIP input-status
35954f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_H_LOCK input-status
36054f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_COLOR_KILL input-status
36154f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_SYNC input-status
36254f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_EQU input-status
36354f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_CARRIER input-status
36454f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_MACROVISION input-status
36554f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_ACCESS input-status
36654f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_VTR input-status
36754f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_V_LOCK input-status
36854f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_ST_NO_STD_LOCK input-status
36954f38fcaSMauro Carvalho Chehab
37054f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_CAP_DV_TIMINGS input-capabilities
37154f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_CAP_STD input-capabilities
37254f38fcaSMauro Carvalho Chehabreplace define V4L2_IN_CAP_NATIVE_SIZE input-capabilities
37354f38fcaSMauro Carvalho Chehab
37454f38fcaSMauro Carvalho Chehab# V4L2 output
37554f38fcaSMauro Carvalho Chehab
37654f38fcaSMauro Carvalho Chehabreplace define V4L2_OUTPUT_TYPE_MODULATOR output-type
37754f38fcaSMauro Carvalho Chehabreplace define V4L2_OUTPUT_TYPE_ANALOG output-type
37854f38fcaSMauro Carvalho Chehabreplace define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY output-type
37954f38fcaSMauro Carvalho Chehab
38054f38fcaSMauro Carvalho Chehabreplace define V4L2_OUT_CAP_DV_TIMINGS output-capabilities
38154f38fcaSMauro Carvalho Chehabreplace define V4L2_OUT_CAP_STD output-capabilities
38254f38fcaSMauro Carvalho Chehabreplace define V4L2_OUT_CAP_NATIVE_SIZE output-capabilities
38354f38fcaSMauro Carvalho Chehab
38454f38fcaSMauro Carvalho Chehab# V4L2 control flags
38554f38fcaSMauro Carvalho Chehab
38654f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_DISABLED control-flags
38754f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_GRABBED control-flags
38854f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_READ_ONLY control-flags
38954f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_UPDATE control-flags
39054f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_INACTIVE control-flags
39154f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_SLIDER control-flags
39254f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_WRITE_ONLY control-flags
39354f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_VOLATILE control-flags
39454f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_HAS_PAYLOAD control-flags
39554f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE control-flags
39664fe675eSHans Verkuilreplace define V4L2_CTRL_FLAG_MODIFY_LAYOUT control-flags
39754f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_DYNAMIC_ARRAY control-flags
39854f38fcaSMauro Carvalho Chehab
39954f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_NEXT_CTRL control
40054f38fcaSMauro Carvalho Chehabreplace define V4L2_CTRL_FLAG_NEXT_COMPOUND control
40154f38fcaSMauro Carvalho Chehabreplace define V4L2_CID_PRIVATE_BASE control
40254f38fcaSMauro Carvalho Chehab
40354f38fcaSMauro Carvalho Chehab# V4L2 tuner
40454f38fcaSMauro Carvalho Chehab
40554f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_LOW tuner-capability
40654f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_NORM tuner-capability
40754f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
40854f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
40954f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_STEREO tuner-capability
41054f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_LANG2 tuner-capability
41154f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_SAP tuner-capability
41254f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_LANG1 tuner-capability
41354f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_RDS tuner-capability
41454f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_RDS_BLOCK_IO tuner-capability
41554f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_RDS_CONTROLS tuner-capability
41654f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_FREQ_BANDS tuner-capability
41754f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_HWSEEK_PROG_LIM tuner-capability
41854f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_CAP_1HZ tuner-capability
41954f38fcaSMauro Carvalho Chehab
42054f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_MONO tuner-rxsubchans
42154f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_STEREO tuner-rxsubchans
42254f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_LANG2 tuner-rxsubchans
42354f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_SAP tuner-rxsubchans
42454f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_LANG1 tuner-rxsubchans
42554f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_SUB_RDS tuner-rxsubchans
42654f38fcaSMauro Carvalho Chehab
42754f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_MONO tuner-audmode
42854f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_STEREO tuner-audmode
42954f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_LANG2 tuner-audmode
43054f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_SAP tuner-audmode
43154f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_LANG1 tuner-audmode
43254f38fcaSMauro Carvalho Chehabreplace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode
43354f38fcaSMauro Carvalho Chehab
43454f38fcaSMauro Carvalho Chehabreplace define V4L2_BAND_MODULATION_VSB band-modulation
43554f38fcaSMauro Carvalho Chehabreplace define V4L2_BAND_MODULATION_FM band-modulation
43654f38fcaSMauro Carvalho Chehabreplace define V4L2_BAND_MODULATION_AM band-modulation
43754f38fcaSMauro Carvalho Chehab
43854f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_MSK v4l2-rds-block
43954f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_A v4l2-rds-block
44054f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_B v4l2-rds-block
44154f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_C v4l2-rds-block
44254f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_D v4l2-rds-block
44354f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block
44454f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block
44554f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block
44654f38fcaSMauro Carvalho Chehabreplace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
44754f38fcaSMauro Carvalho Chehab
44854f38fcaSMauro Carvalho Chehab# V4L2 audio
44954f38fcaSMauro Carvalho Chehab
45054f38fcaSMauro Carvalho Chehabreplace define V4L2_AUDCAP_STEREO audio-capability
45154f38fcaSMauro Carvalho Chehabreplace define V4L2_AUDCAP_AVL audio-capability
45254f38fcaSMauro Carvalho Chehab
45354f38fcaSMauro Carvalho Chehabreplace define V4L2_AUDMODE_AVL audio-mode
45454f38fcaSMauro Carvalho Chehab
45554f38fcaSMauro Carvalho Chehab# MPEG
45654f38fcaSMauro Carvalho Chehab
45754f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_IDX_FRAME_I :c:type:`v4l2_enc_idx`
45854f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_IDX_FRAME_P :c:type:`v4l2_enc_idx`
45954f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_IDX_FRAME_B :c:type:`v4l2_enc_idx`
46054f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_IDX_FRAME_MASK :c:type:`v4l2_enc_idx`
46154f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_IDX_ENTRIES :c:type:`v4l2_enc_idx`
46254f38fcaSMauro Carvalho Chehab
46354f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_CMD_START encoder-cmds
46454f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_CMD_STOP encoder-cmds
46554f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_CMD_PAUSE encoder-cmds
46654f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_CMD_RESUME encoder-cmds
46754f38fcaSMauro Carvalho Chehab
46854f38fcaSMauro Carvalho Chehabreplace define V4L2_ENC_CMD_STOP_AT_GOP_END encoder-flags
46954f38fcaSMauro Carvalho Chehab
47054f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_START decoder-cmds
47154f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_STOP decoder-cmds
47254f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_PAUSE decoder-cmds
47354f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_RESUME decoder-cmds
47454f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_FLUSH decoder-cmds
47554f38fcaSMauro Carvalho Chehab
47654f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_START_MUTE_AUDIO decoder-cmds
47754f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_PAUSE_TO_BLACK decoder-cmds
47854f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_STOP_TO_BLACK decoder-cmds
47954f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_CMD_STOP_IMMEDIATELY decoder-cmds
48054f38fcaSMauro Carvalho Chehab
48154f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_START_FMT_NONE decoder-cmds
48254f38fcaSMauro Carvalho Chehabreplace define V4L2_DEC_START_FMT_GOP decoder-cmds
48354f38fcaSMauro Carvalho Chehab
48454f38fcaSMauro Carvalho Chehab# V4L2 VBI
48554f38fcaSMauro Carvalho Chehab
48654f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_UNSYNC vbifmt-flags
48754f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_INTERLACED vbifmt-flags
48854f38fcaSMauro Carvalho Chehab
48954f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_ITU_525_F1_START :c:type:`v4l2_vbi_format`
49054f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_ITU_525_F2_START :c:type:`v4l2_vbi_format`
49154f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_ITU_625_F1_START :c:type:`v4l2_vbi_format`
49254f38fcaSMauro Carvalho Chehabreplace define V4L2_VBI_ITU_625_F2_START :c:type:`v4l2_vbi_format`
49354f38fcaSMauro Carvalho Chehab
49454f38fcaSMauro Carvalho Chehab
49554f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_TELETEXT_B vbi-services
49654f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_VPS vbi-services
49754f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_CAPTION_525 vbi-services
49854f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_WSS_625 vbi-services
49954f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_VBI_525 vbi-services
50054f38fcaSMauro Carvalho Chehabreplace define V4L2_SLICED_VBI_625 vbi-services
50154f38fcaSMauro Carvalho Chehab
50254f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_TELETEXT_B ITV0-Line-Identifier-Constants
50354f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_CAPTION_525 ITV0-Line-Identifier-Constants
50454f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_WSS_625 ITV0-Line-Identifier-Constants
50554f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_VPS ITV0-Line-Identifier-Constants
50654f38fcaSMauro Carvalho Chehab
50754f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_MAGIC0 v4l2-mpeg-vbi-fmt-ivtv-magic
50854f38fcaSMauro Carvalho Chehabreplace define V4L2_MPEG_VBI_IVTV_MAGIC1 v4l2-mpeg-vbi-fmt-ivtv-magic
50954f38fcaSMauro Carvalho Chehab
51054f38fcaSMauro Carvalho Chehab# V4L2 events
51154f38fcaSMauro Carvalho Chehab
51254f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_ALL event-type
51354f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_VSYNC event-type
51454f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_EOS event-type
51554f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_CTRL event-type
51654f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_FRAME_SYNC event-type
51754f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_SOURCE_CHANGE event-type
51854f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_MOTION_DET event-type
51954f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_PRIVATE_START event-type
52054f38fcaSMauro Carvalho Chehab
52154f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_CTRL_CH_VALUE ctrl-changes-flags
52254f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_CTRL_CH_FLAGS ctrl-changes-flags
52343cc0ec3SHans Verkuilreplace define V4L2_EVENT_CTRL_CH_RANGE ctrl-changes-flags
52454f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_CTRL_CH_DIMENSIONS ctrl-changes-flags
52554f38fcaSMauro Carvalho Chehab
52654f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_SRC_CH_RESOLUTION src-changes-flags
52754f38fcaSMauro Carvalho Chehab
52854f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ :c:type:`v4l2_event_motion_det`
52954f38fcaSMauro Carvalho Chehab
53054f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_SUB_FL_SEND_INITIAL event-flags
53154f38fcaSMauro Carvalho Chehabreplace define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK event-flags
53254f38fcaSMauro Carvalho Chehab
53354f38fcaSMauro Carvalho Chehab# V4L2 debugging
53454f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_BRIDGE vidioc_dbg_g_register
53554f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_SUBDEV vidioc_dbg_g_register
53654f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_HOST vidioc_dbg_g_register
53754f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_I2C_DRIVER vidioc_dbg_g_register
53854f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_I2C_ADDR vidioc_dbg_g_register
53954f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_MATCH_AC97 vidioc_dbg_g_register
54054f38fcaSMauro Carvalho Chehab
54154f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_FL_READABLE vidioc_dbg_g_register
54254f38fcaSMauro Carvalho Chehabreplace define V4L2_CHIP_FL_WRITABLE vidioc_dbg_g_register
54354f38fcaSMauro Carvalho Chehab
54454f38fcaSMauro Carvalho Chehab# Ignore reserved ioctl and ancillary macros
54554f38fcaSMauro Carvalho Chehab
54654f38fcaSMauro Carvalho Chehabignore define VIDEO_MAX_FRAME
54754f38fcaSMauro Carvalho Chehabignore define VIDEO_MAX_PLANES
54854f38fcaSMauro Carvalho Chehabignore define v4l2_fourcc
54954f38fcaSMauro Carvalho Chehabignore define v4l2_fourcc_be
55054f38fcaSMauro Carvalho Chehabignore define V4L2_FIELD_HAS_TOP
55154f38fcaSMauro Carvalho Chehabignore define V4L2_FIELD_HAS_BOTTOM
55254f38fcaSMauro Carvalho Chehabignore define V4L2_FIELD_HAS_BOTH
55354f38fcaSMauro Carvalho Chehabignore define V4L2_FIELD_HAS_T_OR_B
55454f38fcaSMauro Carvalho Chehabignore define V4L2_TYPE_IS_MULTIPLANAR
55554f38fcaSMauro Carvalho Chehabignore define V4L2_TYPE_IS_OUTPUT
55654f38fcaSMauro Carvalho Chehabignore define V4L2_TUNER_ADC
55754f38fcaSMauro Carvalho Chehabignore define V4L2_MAP_COLORSPACE_DEFAULT
55854f38fcaSMauro Carvalho Chehabignore define V4L2_MAP_XFER_FUNC_DEFAULT
55954f38fcaSMauro Carvalho Chehabignore define V4L2_MAP_YCBCR_ENC_DEFAULT
56054f38fcaSMauro Carvalho Chehabignore define V4L2_DV_BT_BLANKING_WIDTH
56154f38fcaSMauro Carvalho Chehabignore define V4L2_DV_BT_FRAME_WIDTH
56254f38fcaSMauro Carvalho Chehabignore define V4L2_DV_BT_BLANKING_HEIGHT
56354f38fcaSMauro Carvalho Chehabignore define V4L2_DV_BT_FRAME_HEIGHT
56454f38fcaSMauro Carvalho Chehabignore define V4L2_IN_CAP_CUSTOM_TIMINGS
56554f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_ID_MASK
56654f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_ID2CLASS
56754f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_ID2WHICH
56854f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_DRIVER_PRIV
56954f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_MAX_DIMS
57054f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_WHICH_CUR_VAL
57154f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_WHICH_DEF_VAL
57254f38fcaSMauro Carvalho Chehabignore define V4L2_CTRL_WHICH_REQUEST_VAL
57354f38fcaSMauro Carvalho Chehabignore define V4L2_OUT_CAP_CUSTOM_TIMINGS
57454f38fcaSMauro Carvalho Chehabignore define V4L2_CID_MAX_CTRLS
57554f38fcaSMauro Carvalho Chehab
57654f38fcaSMauro Carvalho Chehabignore define BASE_VIDIOC_PRIVATE
57754f38fcaSMauro Carvalho Chehab
57854f38fcaSMauro Carvalho Chehab# Associate ioctls with their counterparts
57954f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register
58054f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_DQBUF vidioc_qbuf
58154f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_AUDOUT vidioc_g_audout
58254f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_CROP vidioc_g_crop
58354f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_CTRL vidioc_g_ctrl
58454f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings
58554f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_EDID vidioc_g_edid
58654f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls
58754f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_FBUF vidioc_g_fbuf
58854f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_FMT vidioc_g_fmt
58954f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_FREQUENCY vidioc_g_frequency
59054f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_INPUT vidioc_g_input
59154f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_JPEGCOMP vidioc_g_jpegcomp
59254f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_MODULATOR vidioc_g_modulator
59354f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_OUTPUT vidioc_g_output
59454f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_PARM vidioc_g_parm
59554f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_PRIORITY vidioc_g_priority
59654f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_SELECTION vidioc_g_selection
59754f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_STD vidioc_g_std
59854f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_AUDIO vidioc_g_audio
59954f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_S_TUNER vidioc_g_tuner
60054f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_TRY_DECODER_CMD vidioc_decoder_cmd
60154f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd
60254f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls
60354f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_TRY_FMT vidioc_g_fmt
60454f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_STREAMOFF vidioc_streamon
60554f38fcaSMauro Carvalho Chehabreplace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl
606replace ioctl VIDIOC_QUERYMENU vidioc_queryctrl
607