162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci# Ignore header name
462306a36Sopenharmony_ciignore define _UAPI__LINUX_VIDEODEV2_H
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#
762306a36Sopenharmony_ci# The cross reference valitator for videodev2.h DocBook never cared
862306a36Sopenharmony_ci# about enum symbols or defines. Yet, they're all (or almost all?)
962306a36Sopenharmony_ci# handled inside V4L API sections. So, for now, it is safe to just
1062306a36Sopenharmony_ci# ignore. This should be revisited, as validating it helps to avoid
1162306a36Sopenharmony_ci# having something not documented at the uAPI.
1262306a36Sopenharmony_ci#
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci# Those symbols should not be used by uAPI - don't document them
1562306a36Sopenharmony_ciignore symbol V4L2_BUF_TYPE_PRIVATE
1662306a36Sopenharmony_ciignore symbol V4L2_TUNER_DIGITAL_TV
1762306a36Sopenharmony_ciignore symbol V4L2_COLORSPACE_BT878
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci# Documented enum v4l2_field
2062306a36Sopenharmony_cireplace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field`
2162306a36Sopenharmony_cireplace symbol V4L2_FIELD_ANY :c:type:`v4l2_field`
2262306a36Sopenharmony_cireplace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field`
2362306a36Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field`
2462306a36Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field`
2562306a36Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field`
2662306a36Sopenharmony_cireplace symbol V4L2_FIELD_NONE :c:type:`v4l2_field`
2762306a36Sopenharmony_cireplace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field`
2862306a36Sopenharmony_cireplace symbol V4L2_FIELD_SEQ_TB :c:type:`v4l2_field`
2962306a36Sopenharmony_cireplace symbol V4L2_FIELD_TOP :c:type:`v4l2_field`
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci# Documented enum v4l2_buf_type
3262306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_META_CAPTURE :c:type:`v4l2_buf_type`
3362306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_META_OUTPUT :c:type:`v4l2_buf_type`
3462306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SDR_CAPTURE :c:type:`v4l2_buf_type`
3562306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SDR_OUTPUT :c:type:`v4l2_buf_type`
3662306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE :c:type:`v4l2_buf_type`
3762306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT :c:type:`v4l2_buf_type`
3862306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VBI_CAPTURE :c:type:`v4l2_buf_type`
3962306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VBI_OUTPUT :c:type:`v4l2_buf_type`
4062306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE :c:type:`v4l2_buf_type`
4162306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE :c:type:`v4l2_buf_type`
4262306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT :c:type:`v4l2_buf_type`
4362306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE :c:type:`v4l2_buf_type`
4462306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY :c:type:`v4l2_buf_type`
4562306a36Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY :c:type:`v4l2_buf_type`
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci# Documented enum v4l2_tuner_type
4862306a36Sopenharmony_cireplace symbol V4L2_TUNER_ANALOG_TV :c:type:`v4l2_tuner_type`
4962306a36Sopenharmony_cireplace symbol V4L2_TUNER_RADIO :c:type:`v4l2_tuner_type`
5062306a36Sopenharmony_cireplace symbol V4L2_TUNER_RF :c:type:`v4l2_tuner_type`
5162306a36Sopenharmony_cireplace symbol V4L2_TUNER_SDR :c:type:`v4l2_tuner_type`
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci# Documented enum v4l2_memory
5462306a36Sopenharmony_cireplace symbol V4L2_MEMORY_DMABUF :c:type:`v4l2_memory`
5562306a36Sopenharmony_cireplace symbol V4L2_MEMORY_MMAP :c:type:`v4l2_memory`
5662306a36Sopenharmony_cireplace symbol V4L2_MEMORY_OVERLAY :c:type:`v4l2_memory`
5762306a36Sopenharmony_cireplace symbol V4L2_MEMORY_USERPTR :c:type:`v4l2_memory`
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci# Documented enum v4l2_colorspace
6062306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_470_SYSTEM_BG :c:type:`v4l2_colorspace`
6162306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_470_SYSTEM_M :c:type:`v4l2_colorspace`
6262306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_OPRGB :c:type:`v4l2_colorspace`
6362306a36Sopenharmony_cireplace define V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace`
6462306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_BT2020 :c:type:`v4l2_colorspace`
6562306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_DCI_P3 :c:type:`v4l2_colorspace`
6662306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_DEFAULT :c:type:`v4l2_colorspace`
6762306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_JPEG :c:type:`v4l2_colorspace`
6862306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_RAW :c:type:`v4l2_colorspace`
6962306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_REC709 :c:type:`v4l2_colorspace`
7062306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_SMPTE170M :c:type:`v4l2_colorspace`
7162306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_SMPTE240M :c:type:`v4l2_colorspace`
7262306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace`
7362306a36Sopenharmony_cireplace symbol V4L2_COLORSPACE_LAST :c:type:`v4l2_colorspace`
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ci# Documented enum v4l2_xfer_func
7662306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func`
7762306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_OPRGB :c:type:`v4l2_xfer_func`
7862306a36Sopenharmony_cireplace define V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func`
7962306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_DCI_P3 :c:type:`v4l2_xfer_func`
8062306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_DEFAULT :c:type:`v4l2_xfer_func`
8162306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func`
8262306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SMPTE2084 :c:type:`v4l2_xfer_func`
8362306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SMPTE240M :c:type:`v4l2_xfer_func`
8462306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SRGB :c:type:`v4l2_xfer_func`
8562306a36Sopenharmony_cireplace symbol V4L2_XFER_FUNC_LAST :c:type:`v4l2_xfer_func`
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ci# Documented enum v4l2_ycbcr_encoding
8862306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_601 :c:type:`v4l2_ycbcr_encoding`
8962306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_709 :c:type:`v4l2_ycbcr_encoding`
9062306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_BT2020 :c:type:`v4l2_ycbcr_encoding`
9162306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM :c:type:`v4l2_ycbcr_encoding`
9262306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_DEFAULT :c:type:`v4l2_ycbcr_encoding`
9362306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_SYCC :c:type:`v4l2_ycbcr_encoding`
9462306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_XV601 :c:type:`v4l2_ycbcr_encoding`
9562306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_XV709 :c:type:`v4l2_ycbcr_encoding`
9662306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_SMPTE240M :c:type:`v4l2_ycbcr_encoding`
9762306a36Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_LAST :c:type:`v4l2_ycbcr_encoding`
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci# Documented enum v4l2_hsv_encoding
10062306a36Sopenharmony_cireplace symbol V4L2_HSV_ENC_180 :c:type:`v4l2_hsv_encoding`
10162306a36Sopenharmony_cireplace symbol V4L2_HSV_ENC_256 :c:type:`v4l2_hsv_encoding`
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci# Documented enum v4l2_quantization
10462306a36Sopenharmony_cireplace symbol V4L2_QUANTIZATION_DEFAULT :c:type:`v4l2_quantization`
10562306a36Sopenharmony_cireplace symbol V4L2_QUANTIZATION_FULL_RANGE :c:type:`v4l2_quantization`
10662306a36Sopenharmony_cireplace symbol V4L2_QUANTIZATION_LIM_RANGE :c:type:`v4l2_quantization`
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_ci# Documented enum v4l2_priority
10962306a36Sopenharmony_cireplace symbol V4L2_PRIORITY_BACKGROUND :c:type:`v4l2_priority`
11062306a36Sopenharmony_cireplace symbol V4L2_PRIORITY_DEFAULT :c:type:`v4l2_priority`
11162306a36Sopenharmony_cireplace symbol V4L2_PRIORITY_INTERACTIVE :c:type:`v4l2_priority`
11262306a36Sopenharmony_cireplace symbol V4L2_PRIORITY_RECORD :c:type:`v4l2_priority`
11362306a36Sopenharmony_cireplace symbol V4L2_PRIORITY_UNSET :c:type:`v4l2_priority`
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ci# Documented enum v4l2_frmsizetypes
11662306a36Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS :c:type:`v4l2_frmsizetypes`
11762306a36Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_DISCRETE :c:type:`v4l2_frmsizetypes`
11862306a36Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_STEPWISE :c:type:`v4l2_frmsizetypes`
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ci# Documented enum frmivaltypes
12162306a36Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS :c:type:`v4l2_frmivaltypes`
12262306a36Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_DISCRETE :c:type:`v4l2_frmivaltypes`
12362306a36Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_STEPWISE :c:type:`v4l2_frmivaltypes`
12462306a36Sopenharmony_ci
12562306a36Sopenharmony_ci# Documented enum :c:type:`v4l2_ctrl_type`
12662306a36Sopenharmony_cireplace symbol V4L2_CTRL_COMPOUND_TYPES vidioc_queryctrl
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BITMASK :c:type:`v4l2_ctrl_type`
12962306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BOOLEAN :c:type:`v4l2_ctrl_type`
13062306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BUTTON :c:type:`v4l2_ctrl_type`
13162306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_CTRL_CLASS :c:type:`v4l2_ctrl_type`
13262306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER :c:type:`v4l2_ctrl_type`
13362306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER64 :c:type:`v4l2_ctrl_type`
13462306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER_MENU :c:type:`v4l2_ctrl_type`
13562306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MENU :c:type:`v4l2_ctrl_type`
13662306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_STRING :c:type:`v4l2_ctrl_type`
13762306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U16 :c:type:`v4l2_ctrl_type`
13862306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U32 :c:type:`v4l2_ctrl_type`
13962306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U8 :c:type:`v4l2_ctrl_type`
14062306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MPEG2_SEQUENCE :c:type:`v4l2_ctrl_type`
14162306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MPEG2_PICTURE :c:type:`v4l2_ctrl_type`
14262306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MPEG2_QUANTISATION :c:type:`v4l2_ctrl_type`
14362306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SPS :c:type:`v4l2_ctrl_type`
14462306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_PPS :c:type:`v4l2_ctrl_type`
14562306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SCALING_MATRIX :c:type:`v4l2_ctrl_type`
14662306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_PRED_WEIGHTS :c:type:`v4l2_ctrl_type`
14762306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
14862306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_DECODE_PARAMS :c:type:`v4l2_ctrl_type`
14962306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SPS :c:type:`v4l2_ctrl_type`
15062306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_PPS :c:type:`v4l2_ctrl_type`
15162306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
15262306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AREA :c:type:`v4l2_ctrl_type`
15362306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_FWHT_PARAMS :c:type:`v4l2_ctrl_type`
15462306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_VP8_FRAME :c:type:`v4l2_ctrl_type`
15562306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_VP9_COMPRESSED_HDR :c:type:`v4l2_ctrl_type`
15662306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_VP9_FRAME :c:type:`v4l2_ctrl_type`
15762306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HDR10_CLL_INFO :c:type:`v4l2_ctrl_type`
15862306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY :c:type:`v4l2_ctrl_type`
15962306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SPS :c:type:`v4l2_ctrl_type`
16062306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_PPS :c:type:`v4l2_ctrl_type`
16162306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
16262306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SCALING_MATRIX :c:type:`v4l2_ctrl_type`
16362306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_DECODE_PARAMS :c:type:`v4l2_ctrl_type`
16462306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AV1_SEQUENCE :c:type:`v4l2_ctrl_type`
16562306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AV1_TILE_GROUP_ENTRY :c:type:`v4l2_ctrl_type`
16662306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AV1_FRAME :c:type:`v4l2_ctrl_type`
16762306a36Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AV1_FILM_GRAIN :c:type:`v4l2_ctrl_type`
16862306a36Sopenharmony_ci
16962306a36Sopenharmony_ci# V4L2 capability defines
17062306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_CAPTURE device-capabilities
17162306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities
17262306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT device-capabilities
17362306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities
17462306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_M2M device-capabilities
17562306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities
17662306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_OVERLAY device-capabilities
17762306a36Sopenharmony_cireplace define V4L2_CAP_VBI_CAPTURE device-capabilities
17862306a36Sopenharmony_cireplace define V4L2_CAP_VBI_OUTPUT device-capabilities
17962306a36Sopenharmony_cireplace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities
18062306a36Sopenharmony_cireplace define V4L2_CAP_SLICED_VBI_OUTPUT device-capabilities
18162306a36Sopenharmony_cireplace define V4L2_CAP_RDS_CAPTURE device-capabilities
18262306a36Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT_OVERLAY device-capabilities
18362306a36Sopenharmony_cireplace define V4L2_CAP_HW_FREQ_SEEK device-capabilities
18462306a36Sopenharmony_cireplace define V4L2_CAP_RDS_OUTPUT device-capabilities
18562306a36Sopenharmony_cireplace define V4L2_CAP_TUNER device-capabilities
18662306a36Sopenharmony_cireplace define V4L2_CAP_AUDIO device-capabilities
18762306a36Sopenharmony_cireplace define V4L2_CAP_RADIO device-capabilities
18862306a36Sopenharmony_cireplace define V4L2_CAP_MODULATOR device-capabilities
18962306a36Sopenharmony_cireplace define V4L2_CAP_SDR_CAPTURE device-capabilities
19062306a36Sopenharmony_cireplace define V4L2_CAP_EXT_PIX_FORMAT device-capabilities
19162306a36Sopenharmony_cireplace define V4L2_CAP_SDR_OUTPUT device-capabilities
19262306a36Sopenharmony_cireplace define V4L2_CAP_META_CAPTURE device-capabilities
19362306a36Sopenharmony_cireplace define V4L2_CAP_READWRITE device-capabilities
19462306a36Sopenharmony_cireplace define V4L2_CAP_ASYNCIO device-capabilities
19562306a36Sopenharmony_cireplace define V4L2_CAP_STREAMING device-capabilities
19662306a36Sopenharmony_cireplace define V4L2_CAP_META_OUTPUT device-capabilities
19762306a36Sopenharmony_cireplace define V4L2_CAP_DEVICE_CAPS device-capabilities
19862306a36Sopenharmony_cireplace define V4L2_CAP_TOUCH device-capabilities
19962306a36Sopenharmony_cireplace define V4L2_CAP_IO_MC device-capabilities
20062306a36Sopenharmony_ci
20162306a36Sopenharmony_ci# V4L2 pix flags
20262306a36Sopenharmony_cireplace define V4L2_PIX_FMT_PRIV_MAGIC :c:type:`v4l2_pix_format`
20362306a36Sopenharmony_cireplace define V4L2_PIX_FMT_FLAG_PREMUL_ALPHA format-flags
20462306a36Sopenharmony_cireplace define V4L2_PIX_FMT_HM12 :c:type:`v4l2_pix_format`
20562306a36Sopenharmony_cireplace define V4L2_PIX_FMT_SUNXI_TILED_NV12 :c:type:`v4l2_pix_format`
20662306a36Sopenharmony_ci
20762306a36Sopenharmony_ci# V4L2 format flags
20862306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_COMPRESSED fmtdesc-flags
20962306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_EMULATED fmtdesc-flags
21062306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM fmtdesc-flags
21162306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_DYN_RESOLUTION fmtdesc-flags
21262306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL fmtdesc-flags
21362306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_COLORSPACE fmtdesc-flags
21462306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_XFER_FUNC fmtdesc-flags
21562306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_YCBCR_ENC fmtdesc-flags
21662306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_HSV_ENC fmtdesc-flags
21762306a36Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_QUANTIZATION fmtdesc-flags
21862306a36Sopenharmony_ci
21962306a36Sopenharmony_ci# V4L2 timecode types
22062306a36Sopenharmony_cireplace define V4L2_TC_TYPE_24FPS timecode-type
22162306a36Sopenharmony_cireplace define V4L2_TC_TYPE_25FPS timecode-type
22262306a36Sopenharmony_cireplace define V4L2_TC_TYPE_30FPS timecode-type
22362306a36Sopenharmony_cireplace define V4L2_TC_TYPE_50FPS timecode-type
22462306a36Sopenharmony_cireplace define V4L2_TC_TYPE_60FPS timecode-type
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ci# V4L2 timecode flags
22762306a36Sopenharmony_cireplace define V4L2_TC_FLAG_DROPFRAME timecode-flags
22862306a36Sopenharmony_cireplace define V4L2_TC_FLAG_COLORFRAME timecode-flags
22962306a36Sopenharmony_cireplace define V4L2_TC_USERBITS_field timecode-flags
23062306a36Sopenharmony_cireplace define V4L2_TC_USERBITS_USERDEFINED timecode-flags
23162306a36Sopenharmony_cireplace define V4L2_TC_USERBITS_8BITCHARS timecode-flags
23262306a36Sopenharmony_ci
23362306a36Sopenharmony_ci# V4L2 JPEG markers
23462306a36Sopenharmony_cireplace define V4L2_JPEG_MARKER_DHT jpeg-markers
23562306a36Sopenharmony_cireplace define V4L2_JPEG_MARKER_DQT jpeg-markers
23662306a36Sopenharmony_cireplace define V4L2_JPEG_MARKER_DRI jpeg-markers
23762306a36Sopenharmony_cireplace define V4L2_JPEG_MARKER_COM jpeg-markers
23862306a36Sopenharmony_cireplace define V4L2_JPEG_MARKER_APP jpeg-markers
23962306a36Sopenharmony_ci
24062306a36Sopenharmony_ci# V4L2 framebuffer caps and flags
24162306a36Sopenharmony_ci
24262306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_EXTERNOVERLAY framebuffer-cap
24362306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_CHROMAKEY framebuffer-cap
24462306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_LIST_CLIPPING framebuffer-cap
24562306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_BITMAP_CLIPPING framebuffer-cap
24662306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_LOCAL_ALPHA framebuffer-cap
24762306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_GLOBAL_ALPHA framebuffer-cap
24862306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_LOCAL_INV_ALPHA framebuffer-cap
24962306a36Sopenharmony_cireplace define V4L2_FBUF_CAP_SRC_CHROMAKEY framebuffer-cap
25062306a36Sopenharmony_ci
25162306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_PRIMARY framebuffer-flags
25262306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_OVERLAY framebuffer-flags
25362306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_CHROMAKEY framebuffer-flags
25462306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_LOCAL_ALPHA framebuffer-flags
25562306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_GLOBAL_ALPHA framebuffer-flags
25662306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA framebuffer-flags
25762306a36Sopenharmony_cireplace define V4L2_FBUF_FLAG_SRC_CHROMAKEY framebuffer-flags
25862306a36Sopenharmony_ci
25962306a36Sopenharmony_ci# Used on VIDIOC_G_PARM
26062306a36Sopenharmony_ci
26162306a36Sopenharmony_cireplace define V4L2_MODE_HIGHQUALITY parm-flags
26262306a36Sopenharmony_cireplace define V4L2_CAP_TIMEPERFRAME :c:type:`v4l2_captureparm`
26362306a36Sopenharmony_ci
26462306a36Sopenharmony_ci# The V4L2_STD_foo are all defined at v4l2_std_id table
26562306a36Sopenharmony_ci
26662306a36Sopenharmony_cireplace define V4L2_STD_PAL_B v4l2-std-id
26762306a36Sopenharmony_cireplace define V4L2_STD_PAL_B1 v4l2-std-id
26862306a36Sopenharmony_cireplace define V4L2_STD_PAL_G v4l2-std-id
26962306a36Sopenharmony_cireplace define V4L2_STD_PAL_H v4l2-std-id
27062306a36Sopenharmony_cireplace define V4L2_STD_PAL_I v4l2-std-id
27162306a36Sopenharmony_cireplace define V4L2_STD_PAL_D v4l2-std-id
27262306a36Sopenharmony_cireplace define V4L2_STD_PAL_D1 v4l2-std-id
27362306a36Sopenharmony_cireplace define V4L2_STD_PAL_K v4l2-std-id
27462306a36Sopenharmony_cireplace define V4L2_STD_PAL_M v4l2-std-id
27562306a36Sopenharmony_cireplace define V4L2_STD_PAL_N v4l2-std-id
27662306a36Sopenharmony_cireplace define V4L2_STD_PAL_Nc v4l2-std-id
27762306a36Sopenharmony_cireplace define V4L2_STD_PAL_60 v4l2-std-id
27862306a36Sopenharmony_cireplace define V4L2_STD_NTSC_M v4l2-std-id
27962306a36Sopenharmony_cireplace define V4L2_STD_NTSC_M_JP v4l2-std-id
28062306a36Sopenharmony_cireplace define V4L2_STD_NTSC_443 v4l2-std-id
28162306a36Sopenharmony_cireplace define V4L2_STD_NTSC_M_KR v4l2-std-id
28262306a36Sopenharmony_cireplace define V4L2_STD_SECAM_B v4l2-std-id
28362306a36Sopenharmony_cireplace define V4L2_STD_SECAM_D v4l2-std-id
28462306a36Sopenharmony_cireplace define V4L2_STD_SECAM_G v4l2-std-id
28562306a36Sopenharmony_cireplace define V4L2_STD_SECAM_H v4l2-std-id
28662306a36Sopenharmony_cireplace define V4L2_STD_SECAM_K v4l2-std-id
28762306a36Sopenharmony_cireplace define V4L2_STD_SECAM_K1 v4l2-std-id
28862306a36Sopenharmony_cireplace define V4L2_STD_SECAM_L v4l2-std-id
28962306a36Sopenharmony_cireplace define V4L2_STD_SECAM_LC v4l2-std-id
29062306a36Sopenharmony_cireplace define V4L2_STD_ATSC_8_VSB v4l2-std-id
29162306a36Sopenharmony_cireplace define V4L2_STD_ATSC_16_VSB v4l2-std-id
29262306a36Sopenharmony_cireplace define V4L2_STD_NTSC v4l2-std-id
29362306a36Sopenharmony_cireplace define V4L2_STD_SECAM_DK v4l2-std-id
29462306a36Sopenharmony_cireplace define V4L2_STD_SECAM v4l2-std-id
29562306a36Sopenharmony_cireplace define V4L2_STD_PAL_BG v4l2-std-id
29662306a36Sopenharmony_cireplace define V4L2_STD_PAL_DK v4l2-std-id
29762306a36Sopenharmony_cireplace define V4L2_STD_PAL v4l2-std-id
29862306a36Sopenharmony_cireplace define V4L2_STD_B v4l2-std-id
29962306a36Sopenharmony_cireplace define V4L2_STD_G v4l2-std-id
30062306a36Sopenharmony_cireplace define V4L2_STD_H v4l2-std-id
30162306a36Sopenharmony_cireplace define V4L2_STD_L v4l2-std-id
30262306a36Sopenharmony_cireplace define V4L2_STD_GH v4l2-std-id
30362306a36Sopenharmony_cireplace define V4L2_STD_DK v4l2-std-id
30462306a36Sopenharmony_cireplace define V4L2_STD_BG v4l2-std-id
30562306a36Sopenharmony_cireplace define V4L2_STD_MN v4l2-std-id
30662306a36Sopenharmony_cireplace define V4L2_STD_MTS v4l2-std-id
30762306a36Sopenharmony_cireplace define V4L2_STD_525_60 v4l2-std-id
30862306a36Sopenharmony_cireplace define V4L2_STD_625_50 v4l2-std-id
30962306a36Sopenharmony_cireplace define V4L2_STD_ATSC v4l2-std-id
31062306a36Sopenharmony_cireplace define V4L2_STD_UNKNOWN v4l2-std-id
31162306a36Sopenharmony_cireplace define V4L2_STD_ALL v4l2-std-id
31262306a36Sopenharmony_ci
31362306a36Sopenharmony_ci# V4L2 DT BT timings definitions
31462306a36Sopenharmony_ci
31562306a36Sopenharmony_cireplace define V4L2_DV_PROGRESSIVE :c:type:`v4l2_bt_timings`
31662306a36Sopenharmony_cireplace define V4L2_DV_INTERLACED :c:type:`v4l2_bt_timings`
31762306a36Sopenharmony_ci
31862306a36Sopenharmony_cireplace define V4L2_DV_VSYNC_POS_POL :c:type:`v4l2_bt_timings`
31962306a36Sopenharmony_cireplace define V4L2_DV_HSYNC_POS_POL :c:type:`v4l2_bt_timings`
32062306a36Sopenharmony_ci
32162306a36Sopenharmony_cireplace define V4L2_DV_BT_STD_CEA861 dv-bt-standards
32262306a36Sopenharmony_cireplace define V4L2_DV_BT_STD_DMT dv-bt-standards
32362306a36Sopenharmony_cireplace define V4L2_DV_BT_STD_CVT dv-bt-standards
32462306a36Sopenharmony_cireplace define V4L2_DV_BT_STD_GTF dv-bt-standards
32562306a36Sopenharmony_cireplace define V4L2_DV_BT_STD_SDI dv-bt-standards
32662306a36Sopenharmony_ci
32762306a36Sopenharmony_cireplace define V4L2_DV_FL_REDUCED_BLANKING dv-bt-standards
32862306a36Sopenharmony_cireplace define V4L2_DV_FL_CAN_REDUCE_FPS dv-bt-standards
32962306a36Sopenharmony_cireplace define V4L2_DV_FL_CAN_DETECT_REDUCED_FPS dv-bt-standards
33062306a36Sopenharmony_cireplace define V4L2_DV_FL_REDUCED_FPS dv-bt-standards
33162306a36Sopenharmony_cireplace define V4L2_DV_FL_HALF_LINE dv-bt-standards
33262306a36Sopenharmony_cireplace define V4L2_DV_FL_IS_CE_VIDEO dv-bt-standards
33362306a36Sopenharmony_cireplace define V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE dv-bt-standards
33462306a36Sopenharmony_cireplace define V4L2_DV_FL_HAS_PICTURE_ASPECT dv-bt-standards
33562306a36Sopenharmony_cireplace define V4L2_DV_FL_HAS_CEA861_VIC dv-bt-standards
33662306a36Sopenharmony_cireplace define V4L2_DV_FL_HAS_HDMI_VIC dv-bt-standards
33762306a36Sopenharmony_ci
33862306a36Sopenharmony_cireplace define V4L2_DV_BT_656_1120 dv-timing-types
33962306a36Sopenharmony_ci
34062306a36Sopenharmony_cireplace define V4L2_DV_BT_CAP_INTERLACED framebuffer-cap
34162306a36Sopenharmony_cireplace define V4L2_DV_BT_CAP_PROGRESSIVE framebuffer-cap
34262306a36Sopenharmony_cireplace define V4L2_DV_BT_CAP_REDUCED_BLANKING framebuffer-cap
34362306a36Sopenharmony_cireplace define V4L2_DV_BT_CAP_CUSTOM framebuffer-cap
34462306a36Sopenharmony_ci
34562306a36Sopenharmony_ci# V4L2 input
34662306a36Sopenharmony_ci
34762306a36Sopenharmony_cireplace define V4L2_INPUT_TYPE_TUNER input-type
34862306a36Sopenharmony_cireplace define V4L2_INPUT_TYPE_CAMERA input-type
34962306a36Sopenharmony_cireplace define V4L2_INPUT_TYPE_TOUCH input-type
35062306a36Sopenharmony_ci
35162306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_POWER input-status
35262306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_SIGNAL input-status
35362306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_COLOR input-status
35462306a36Sopenharmony_cireplace define V4L2_IN_ST_HFLIP input-status
35562306a36Sopenharmony_cireplace define V4L2_IN_ST_VFLIP input-status
35662306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_H_LOCK input-status
35762306a36Sopenharmony_cireplace define V4L2_IN_ST_COLOR_KILL input-status
35862306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_SYNC input-status
35962306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_EQU input-status
36062306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_CARRIER input-status
36162306a36Sopenharmony_cireplace define V4L2_IN_ST_MACROVISION input-status
36262306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_ACCESS input-status
36362306a36Sopenharmony_cireplace define V4L2_IN_ST_VTR input-status
36462306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_V_LOCK input-status
36562306a36Sopenharmony_cireplace define V4L2_IN_ST_NO_STD_LOCK input-status
36662306a36Sopenharmony_ci
36762306a36Sopenharmony_cireplace define V4L2_IN_CAP_DV_TIMINGS input-capabilities
36862306a36Sopenharmony_cireplace define V4L2_IN_CAP_STD input-capabilities
36962306a36Sopenharmony_cireplace define V4L2_IN_CAP_NATIVE_SIZE input-capabilities
37062306a36Sopenharmony_ci
37162306a36Sopenharmony_ci# V4L2 output
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_MODULATOR output-type
37462306a36Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_ANALOG output-type
37562306a36Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY output-type
37662306a36Sopenharmony_ci
37762306a36Sopenharmony_cireplace define V4L2_OUT_CAP_DV_TIMINGS output-capabilities
37862306a36Sopenharmony_cireplace define V4L2_OUT_CAP_STD output-capabilities
37962306a36Sopenharmony_cireplace define V4L2_OUT_CAP_NATIVE_SIZE output-capabilities
38062306a36Sopenharmony_ci
38162306a36Sopenharmony_ci# V4L2 control flags
38262306a36Sopenharmony_ci
38362306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_DISABLED control-flags
38462306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_GRABBED control-flags
38562306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_READ_ONLY control-flags
38662306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_UPDATE control-flags
38762306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_INACTIVE control-flags
38862306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_SLIDER control-flags
38962306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_WRITE_ONLY control-flags
39062306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_VOLATILE control-flags
39162306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_HAS_PAYLOAD control-flags
39262306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE control-flags
39362306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_MODIFY_LAYOUT control-flags
39462306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_DYNAMIC_ARRAY control-flags
39562306a36Sopenharmony_ci
39662306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_NEXT_CTRL control
39762306a36Sopenharmony_cireplace define V4L2_CTRL_FLAG_NEXT_COMPOUND control
39862306a36Sopenharmony_cireplace define V4L2_CID_PRIVATE_BASE control
39962306a36Sopenharmony_ci
40062306a36Sopenharmony_ci# V4L2 tuner
40162306a36Sopenharmony_ci
40262306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_LOW tuner-capability
40362306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_NORM tuner-capability
40462306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
40562306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
40662306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_STEREO tuner-capability
40762306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_LANG2 tuner-capability
40862306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_SAP tuner-capability
40962306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_LANG1 tuner-capability
41062306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS tuner-capability
41162306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS_BLOCK_IO tuner-capability
41262306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS_CONTROLS tuner-capability
41362306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_FREQ_BANDS tuner-capability
41462306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_PROG_LIM tuner-capability
41562306a36Sopenharmony_cireplace define V4L2_TUNER_CAP_1HZ tuner-capability
41662306a36Sopenharmony_ci
41762306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_MONO tuner-rxsubchans
41862306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_STEREO tuner-rxsubchans
41962306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_LANG2 tuner-rxsubchans
42062306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_SAP tuner-rxsubchans
42162306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_LANG1 tuner-rxsubchans
42262306a36Sopenharmony_cireplace define V4L2_TUNER_SUB_RDS tuner-rxsubchans
42362306a36Sopenharmony_ci
42462306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_MONO tuner-audmode
42562306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_STEREO tuner-audmode
42662306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG2 tuner-audmode
42762306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_SAP tuner-audmode
42862306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG1 tuner-audmode
42962306a36Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode
43062306a36Sopenharmony_ci
43162306a36Sopenharmony_cireplace define V4L2_BAND_MODULATION_VSB band-modulation
43262306a36Sopenharmony_cireplace define V4L2_BAND_MODULATION_FM band-modulation
43362306a36Sopenharmony_cireplace define V4L2_BAND_MODULATION_AM band-modulation
43462306a36Sopenharmony_ci
43562306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_MSK v4l2-rds-block
43662306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_A v4l2-rds-block
43762306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_B v4l2-rds-block
43862306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_C v4l2-rds-block
43962306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_D v4l2-rds-block
44062306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block
44162306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block
44262306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block
44362306a36Sopenharmony_cireplace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
44462306a36Sopenharmony_ci
44562306a36Sopenharmony_ci# V4L2 audio
44662306a36Sopenharmony_ci
44762306a36Sopenharmony_cireplace define V4L2_AUDCAP_STEREO audio-capability
44862306a36Sopenharmony_cireplace define V4L2_AUDCAP_AVL audio-capability
44962306a36Sopenharmony_ci
45062306a36Sopenharmony_cireplace define V4L2_AUDMODE_AVL audio-mode
45162306a36Sopenharmony_ci
45262306a36Sopenharmony_ci# MPEG
45362306a36Sopenharmony_ci
45462306a36Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_I :c:type:`v4l2_enc_idx`
45562306a36Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_P :c:type:`v4l2_enc_idx`
45662306a36Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_B :c:type:`v4l2_enc_idx`
45762306a36Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_MASK :c:type:`v4l2_enc_idx`
45862306a36Sopenharmony_cireplace define V4L2_ENC_IDX_ENTRIES :c:type:`v4l2_enc_idx`
45962306a36Sopenharmony_ci
46062306a36Sopenharmony_cireplace define V4L2_ENC_CMD_START encoder-cmds
46162306a36Sopenharmony_cireplace define V4L2_ENC_CMD_STOP encoder-cmds
46262306a36Sopenharmony_cireplace define V4L2_ENC_CMD_PAUSE encoder-cmds
46362306a36Sopenharmony_cireplace define V4L2_ENC_CMD_RESUME encoder-cmds
46462306a36Sopenharmony_ci
46562306a36Sopenharmony_cireplace define V4L2_ENC_CMD_STOP_AT_GOP_END encoder-flags
46662306a36Sopenharmony_ci
46762306a36Sopenharmony_cireplace define V4L2_DEC_CMD_START decoder-cmds
46862306a36Sopenharmony_cireplace define V4L2_DEC_CMD_STOP decoder-cmds
46962306a36Sopenharmony_cireplace define V4L2_DEC_CMD_PAUSE decoder-cmds
47062306a36Sopenharmony_cireplace define V4L2_DEC_CMD_RESUME decoder-cmds
47162306a36Sopenharmony_cireplace define V4L2_DEC_CMD_FLUSH decoder-cmds
47262306a36Sopenharmony_ci
47362306a36Sopenharmony_cireplace define V4L2_DEC_CMD_START_MUTE_AUDIO decoder-cmds
47462306a36Sopenharmony_cireplace define V4L2_DEC_CMD_PAUSE_TO_BLACK decoder-cmds
47562306a36Sopenharmony_cireplace define V4L2_DEC_CMD_STOP_TO_BLACK decoder-cmds
47662306a36Sopenharmony_cireplace define V4L2_DEC_CMD_STOP_IMMEDIATELY decoder-cmds
47762306a36Sopenharmony_ci
47862306a36Sopenharmony_cireplace define V4L2_DEC_START_FMT_NONE decoder-cmds
47962306a36Sopenharmony_cireplace define V4L2_DEC_START_FMT_GOP decoder-cmds
48062306a36Sopenharmony_ci
48162306a36Sopenharmony_ci# V4L2 VBI
48262306a36Sopenharmony_ci
48362306a36Sopenharmony_cireplace define V4L2_VBI_UNSYNC vbifmt-flags
48462306a36Sopenharmony_cireplace define V4L2_VBI_INTERLACED vbifmt-flags
48562306a36Sopenharmony_ci
48662306a36Sopenharmony_cireplace define V4L2_VBI_ITU_525_F1_START :c:type:`v4l2_vbi_format`
48762306a36Sopenharmony_cireplace define V4L2_VBI_ITU_525_F2_START :c:type:`v4l2_vbi_format`
48862306a36Sopenharmony_cireplace define V4L2_VBI_ITU_625_F1_START :c:type:`v4l2_vbi_format`
48962306a36Sopenharmony_cireplace define V4L2_VBI_ITU_625_F2_START :c:type:`v4l2_vbi_format`
49062306a36Sopenharmony_ci
49162306a36Sopenharmony_ci
49262306a36Sopenharmony_cireplace define V4L2_SLICED_TELETEXT_B vbi-services
49362306a36Sopenharmony_cireplace define V4L2_SLICED_VPS vbi-services
49462306a36Sopenharmony_cireplace define V4L2_SLICED_CAPTION_525 vbi-services
49562306a36Sopenharmony_cireplace define V4L2_SLICED_WSS_625 vbi-services
49662306a36Sopenharmony_cireplace define V4L2_SLICED_VBI_525 vbi-services
49762306a36Sopenharmony_cireplace define V4L2_SLICED_VBI_625 vbi-services
49862306a36Sopenharmony_ci
49962306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_TELETEXT_B ITV0-Line-Identifier-Constants
50062306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_CAPTION_525 ITV0-Line-Identifier-Constants
50162306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_WSS_625 ITV0-Line-Identifier-Constants
50262306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_VPS ITV0-Line-Identifier-Constants
50362306a36Sopenharmony_ci
50462306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_MAGIC0 v4l2-mpeg-vbi-fmt-ivtv-magic
50562306a36Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_MAGIC1 v4l2-mpeg-vbi-fmt-ivtv-magic
50662306a36Sopenharmony_ci
50762306a36Sopenharmony_ci# V4L2 events
50862306a36Sopenharmony_ci
50962306a36Sopenharmony_cireplace define V4L2_EVENT_ALL event-type
51062306a36Sopenharmony_cireplace define V4L2_EVENT_VSYNC event-type
51162306a36Sopenharmony_cireplace define V4L2_EVENT_EOS event-type
51262306a36Sopenharmony_cireplace define V4L2_EVENT_CTRL event-type
51362306a36Sopenharmony_cireplace define V4L2_EVENT_FRAME_SYNC event-type
51462306a36Sopenharmony_cireplace define V4L2_EVENT_SOURCE_CHANGE event-type
51562306a36Sopenharmony_cireplace define V4L2_EVENT_MOTION_DET event-type
51662306a36Sopenharmony_cireplace define V4L2_EVENT_PRIVATE_START event-type
51762306a36Sopenharmony_ci
51862306a36Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_VALUE ctrl-changes-flags
51962306a36Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_FLAGS ctrl-changes-flags
52062306a36Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_RANGE ctrl-changes-flags
52162306a36Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_DIMENSIONS ctrl-changes-flags
52262306a36Sopenharmony_ci
52362306a36Sopenharmony_cireplace define V4L2_EVENT_SRC_CH_RESOLUTION src-changes-flags
52462306a36Sopenharmony_ci
52562306a36Sopenharmony_cireplace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ :c:type:`v4l2_event_motion_det`
52662306a36Sopenharmony_ci
52762306a36Sopenharmony_cireplace define V4L2_EVENT_SUB_FL_SEND_INITIAL event-flags
52862306a36Sopenharmony_cireplace define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK event-flags
52962306a36Sopenharmony_ci
53062306a36Sopenharmony_ci# V4L2 debugging
53162306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_BRIDGE vidioc_dbg_g_register
53262306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_SUBDEV vidioc_dbg_g_register
53362306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_HOST vidioc_dbg_g_register
53462306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_I2C_DRIVER vidioc_dbg_g_register
53562306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_I2C_ADDR vidioc_dbg_g_register
53662306a36Sopenharmony_cireplace define V4L2_CHIP_MATCH_AC97 vidioc_dbg_g_register
53762306a36Sopenharmony_ci
53862306a36Sopenharmony_cireplace define V4L2_CHIP_FL_READABLE vidioc_dbg_g_register
53962306a36Sopenharmony_cireplace define V4L2_CHIP_FL_WRITABLE vidioc_dbg_g_register
54062306a36Sopenharmony_ci
54162306a36Sopenharmony_ci# Ignore reserved ioctl and ancillary macros
54262306a36Sopenharmony_ci
54362306a36Sopenharmony_ciignore define VIDEO_MAX_FRAME
54462306a36Sopenharmony_ciignore define VIDEO_MAX_PLANES
54562306a36Sopenharmony_ciignore define v4l2_fourcc
54662306a36Sopenharmony_ciignore define v4l2_fourcc_be
54762306a36Sopenharmony_ciignore define V4L2_FIELD_HAS_TOP
54862306a36Sopenharmony_ciignore define V4L2_FIELD_HAS_BOTTOM
54962306a36Sopenharmony_ciignore define V4L2_FIELD_HAS_BOTH
55062306a36Sopenharmony_ciignore define V4L2_FIELD_HAS_T_OR_B
55162306a36Sopenharmony_ciignore define V4L2_TYPE_IS_MULTIPLANAR
55262306a36Sopenharmony_ciignore define V4L2_TYPE_IS_OUTPUT
55362306a36Sopenharmony_ciignore define V4L2_TUNER_ADC
55462306a36Sopenharmony_ciignore define V4L2_MAP_COLORSPACE_DEFAULT
55562306a36Sopenharmony_ciignore define V4L2_MAP_XFER_FUNC_DEFAULT
55662306a36Sopenharmony_ciignore define V4L2_MAP_YCBCR_ENC_DEFAULT
55762306a36Sopenharmony_ciignore define V4L2_DV_BT_BLANKING_WIDTH
55862306a36Sopenharmony_ciignore define V4L2_DV_BT_FRAME_WIDTH
55962306a36Sopenharmony_ciignore define V4L2_DV_BT_BLANKING_HEIGHT
56062306a36Sopenharmony_ciignore define V4L2_DV_BT_FRAME_HEIGHT
56162306a36Sopenharmony_ciignore define V4L2_IN_CAP_CUSTOM_TIMINGS
56262306a36Sopenharmony_ciignore define V4L2_CTRL_ID_MASK
56362306a36Sopenharmony_ciignore define V4L2_CTRL_ID2CLASS
56462306a36Sopenharmony_ciignore define V4L2_CTRL_ID2WHICH
56562306a36Sopenharmony_ciignore define V4L2_CTRL_DRIVER_PRIV
56662306a36Sopenharmony_ciignore define V4L2_CTRL_MAX_DIMS
56762306a36Sopenharmony_ciignore define V4L2_CTRL_WHICH_CUR_VAL
56862306a36Sopenharmony_ciignore define V4L2_CTRL_WHICH_DEF_VAL
56962306a36Sopenharmony_ciignore define V4L2_CTRL_WHICH_REQUEST_VAL
57062306a36Sopenharmony_ciignore define V4L2_OUT_CAP_CUSTOM_TIMINGS
57162306a36Sopenharmony_ciignore define V4L2_CID_MAX_CTRLS
57262306a36Sopenharmony_ci
57362306a36Sopenharmony_ciignore define BASE_VIDIOC_PRIVATE
57462306a36Sopenharmony_ci
57562306a36Sopenharmony_ci# Associate ioctls with their counterparts
57662306a36Sopenharmony_cireplace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register
57762306a36Sopenharmony_cireplace ioctl VIDIOC_DQBUF vidioc_qbuf
57862306a36Sopenharmony_cireplace ioctl VIDIOC_S_AUDOUT vidioc_g_audout
57962306a36Sopenharmony_cireplace ioctl VIDIOC_S_CROP vidioc_g_crop
58062306a36Sopenharmony_cireplace ioctl VIDIOC_S_CTRL vidioc_g_ctrl
58162306a36Sopenharmony_cireplace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings
58262306a36Sopenharmony_cireplace ioctl VIDIOC_S_EDID vidioc_g_edid
58362306a36Sopenharmony_cireplace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls
58462306a36Sopenharmony_cireplace ioctl VIDIOC_S_FBUF vidioc_g_fbuf
58562306a36Sopenharmony_cireplace ioctl VIDIOC_S_FMT vidioc_g_fmt
58662306a36Sopenharmony_cireplace ioctl VIDIOC_S_FREQUENCY vidioc_g_frequency
58762306a36Sopenharmony_cireplace ioctl VIDIOC_S_INPUT vidioc_g_input
58862306a36Sopenharmony_cireplace ioctl VIDIOC_S_JPEGCOMP vidioc_g_jpegcomp
58962306a36Sopenharmony_cireplace ioctl VIDIOC_S_MODULATOR vidioc_g_modulator
59062306a36Sopenharmony_cireplace ioctl VIDIOC_S_OUTPUT vidioc_g_output
59162306a36Sopenharmony_cireplace ioctl VIDIOC_S_PARM vidioc_g_parm
59262306a36Sopenharmony_cireplace ioctl VIDIOC_S_PRIORITY vidioc_g_priority
59362306a36Sopenharmony_cireplace ioctl VIDIOC_S_SELECTION vidioc_g_selection
59462306a36Sopenharmony_cireplace ioctl VIDIOC_S_STD vidioc_g_std
59562306a36Sopenharmony_cireplace ioctl VIDIOC_S_AUDIO vidioc_g_audio
59662306a36Sopenharmony_cireplace ioctl VIDIOC_S_TUNER vidioc_g_tuner
59762306a36Sopenharmony_cireplace ioctl VIDIOC_TRY_DECODER_CMD vidioc_decoder_cmd
59862306a36Sopenharmony_cireplace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd
59962306a36Sopenharmony_cireplace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls
60062306a36Sopenharmony_cireplace ioctl VIDIOC_TRY_FMT vidioc_g_fmt
60162306a36Sopenharmony_cireplace ioctl VIDIOC_STREAMOFF vidioc_streamon
60262306a36Sopenharmony_cireplace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl
60362306a36Sopenharmony_cireplace ioctl VIDIOC_QUERYMENU vidioc_queryctrl
604