18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci# Ignore header name
48c2ecf20Sopenharmony_ciignore define _UAPI__LINUX_VIDEODEV2_H
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#
78c2ecf20Sopenharmony_ci# The cross reference valitator for videodev2.h DocBook never cared
88c2ecf20Sopenharmony_ci# about enum symbols or defines. Yet, they're all (or almost all?)
98c2ecf20Sopenharmony_ci# handled inside V4L API sections. So, for now, it is safe to just
108c2ecf20Sopenharmony_ci# ignore. This should be revisited, as validating it helps to avoid
118c2ecf20Sopenharmony_ci# having something not documented at the uAPI.
128c2ecf20Sopenharmony_ci#
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci# Those symbols should not be used by uAPI - don't document them
158c2ecf20Sopenharmony_ciignore symbol V4L2_BUF_TYPE_PRIVATE
168c2ecf20Sopenharmony_ciignore symbol V4L2_TUNER_DIGITAL_TV
178c2ecf20Sopenharmony_ciignore symbol V4L2_COLORSPACE_BT878
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci# Documented enum v4l2_field
208c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field`
218c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_ANY :c:type:`v4l2_field`
228c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field`
238c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field`
248c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field`
258c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field`
268c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_NONE :c:type:`v4l2_field`
278c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field`
288c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_SEQ_TB :c:type:`v4l2_field`
298c2ecf20Sopenharmony_cireplace symbol V4L2_FIELD_TOP :c:type:`v4l2_field`
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci# Documented enum v4l2_buf_type
328c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_META_CAPTURE :c:type:`v4l2_buf_type`
338c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_META_OUTPUT :c:type:`v4l2_buf_type`
348c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SDR_CAPTURE :c:type:`v4l2_buf_type`
358c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SDR_OUTPUT :c:type:`v4l2_buf_type`
368c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE :c:type:`v4l2_buf_type`
378c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT :c:type:`v4l2_buf_type`
388c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VBI_CAPTURE :c:type:`v4l2_buf_type`
398c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VBI_OUTPUT :c:type:`v4l2_buf_type`
408c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE :c:type:`v4l2_buf_type`
418c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE :c:type:`v4l2_buf_type`
428c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT :c:type:`v4l2_buf_type`
438c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE :c:type:`v4l2_buf_type`
448c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY :c:type:`v4l2_buf_type`
458c2ecf20Sopenharmony_cireplace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY :c:type:`v4l2_buf_type`
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci# Documented enum v4l2_tuner_type
488c2ecf20Sopenharmony_cireplace symbol V4L2_TUNER_ANALOG_TV :c:type:`v4l2_tuner_type`
498c2ecf20Sopenharmony_cireplace symbol V4L2_TUNER_RADIO :c:type:`v4l2_tuner_type`
508c2ecf20Sopenharmony_cireplace symbol V4L2_TUNER_RF :c:type:`v4l2_tuner_type`
518c2ecf20Sopenharmony_cireplace symbol V4L2_TUNER_SDR :c:type:`v4l2_tuner_type`
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci# Documented enum v4l2_memory
548c2ecf20Sopenharmony_cireplace symbol V4L2_MEMORY_DMABUF :c:type:`v4l2_memory`
558c2ecf20Sopenharmony_cireplace symbol V4L2_MEMORY_MMAP :c:type:`v4l2_memory`
568c2ecf20Sopenharmony_cireplace symbol V4L2_MEMORY_OVERLAY :c:type:`v4l2_memory`
578c2ecf20Sopenharmony_cireplace symbol V4L2_MEMORY_USERPTR :c:type:`v4l2_memory`
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci# Documented enum v4l2_colorspace
608c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_470_SYSTEM_BG :c:type:`v4l2_colorspace`
618c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_470_SYSTEM_M :c:type:`v4l2_colorspace`
628c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_OPRGB :c:type:`v4l2_colorspace`
638c2ecf20Sopenharmony_cireplace define V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace`
648c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_BT2020 :c:type:`v4l2_colorspace`
658c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_DCI_P3 :c:type:`v4l2_colorspace`
668c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_DEFAULT :c:type:`v4l2_colorspace`
678c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_JPEG :c:type:`v4l2_colorspace`
688c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_RAW :c:type:`v4l2_colorspace`
698c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_REC709 :c:type:`v4l2_colorspace`
708c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_SMPTE170M :c:type:`v4l2_colorspace`
718c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_SMPTE240M :c:type:`v4l2_colorspace`
728c2ecf20Sopenharmony_cireplace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace`
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci# Documented enum v4l2_xfer_func
758c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func`
768c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_OPRGB :c:type:`v4l2_xfer_func`
778c2ecf20Sopenharmony_cireplace define V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func`
788c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_DCI_P3 :c:type:`v4l2_xfer_func`
798c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_DEFAULT :c:type:`v4l2_xfer_func`
808c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func`
818c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SMPTE2084 :c:type:`v4l2_xfer_func`
828c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SMPTE240M :c:type:`v4l2_xfer_func`
838c2ecf20Sopenharmony_cireplace symbol V4L2_XFER_FUNC_SRGB :c:type:`v4l2_xfer_func`
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ci# Documented enum v4l2_ycbcr_encoding
868c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_601 :c:type:`v4l2_ycbcr_encoding`
878c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_709 :c:type:`v4l2_ycbcr_encoding`
888c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_BT2020 :c:type:`v4l2_ycbcr_encoding`
898c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM :c:type:`v4l2_ycbcr_encoding`
908c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_DEFAULT :c:type:`v4l2_ycbcr_encoding`
918c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_SYCC :c:type:`v4l2_ycbcr_encoding`
928c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_XV601 :c:type:`v4l2_ycbcr_encoding`
938c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_XV709 :c:type:`v4l2_ycbcr_encoding`
948c2ecf20Sopenharmony_cireplace symbol V4L2_YCBCR_ENC_SMPTE240M :c:type:`v4l2_ycbcr_encoding`
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci# Documented enum v4l2_hsv_encoding
978c2ecf20Sopenharmony_cireplace symbol V4L2_HSV_ENC_180 :c:type:`v4l2_hsv_encoding`
988c2ecf20Sopenharmony_cireplace symbol V4L2_HSV_ENC_256 :c:type:`v4l2_hsv_encoding`
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci# Documented enum v4l2_quantization
1018c2ecf20Sopenharmony_cireplace symbol V4L2_QUANTIZATION_DEFAULT :c:type:`v4l2_quantization`
1028c2ecf20Sopenharmony_cireplace symbol V4L2_QUANTIZATION_FULL_RANGE :c:type:`v4l2_quantization`
1038c2ecf20Sopenharmony_cireplace symbol V4L2_QUANTIZATION_LIM_RANGE :c:type:`v4l2_quantization`
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci# Documented enum v4l2_priority
1068c2ecf20Sopenharmony_cireplace symbol V4L2_PRIORITY_BACKGROUND :c:type:`v4l2_priority`
1078c2ecf20Sopenharmony_cireplace symbol V4L2_PRIORITY_DEFAULT :c:type:`v4l2_priority`
1088c2ecf20Sopenharmony_cireplace symbol V4L2_PRIORITY_INTERACTIVE :c:type:`v4l2_priority`
1098c2ecf20Sopenharmony_cireplace symbol V4L2_PRIORITY_RECORD :c:type:`v4l2_priority`
1108c2ecf20Sopenharmony_cireplace symbol V4L2_PRIORITY_UNSET :c:type:`v4l2_priority`
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci# Documented enum v4l2_frmsizetypes
1138c2ecf20Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS :c:type:`v4l2_frmsizetypes`
1148c2ecf20Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_DISCRETE :c:type:`v4l2_frmsizetypes`
1158c2ecf20Sopenharmony_cireplace symbol V4L2_FRMSIZE_TYPE_STEPWISE :c:type:`v4l2_frmsizetypes`
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci# Documented enum frmivaltypes
1188c2ecf20Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS :c:type:`v4l2_frmivaltypes`
1198c2ecf20Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_DISCRETE :c:type:`v4l2_frmivaltypes`
1208c2ecf20Sopenharmony_cireplace symbol V4L2_FRMIVAL_TYPE_STEPWISE :c:type:`v4l2_frmivaltypes`
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci# Documented enum :c:type:`v4l2_ctrl_type`
1238c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_COMPOUND_TYPES vidioc_queryctrl
1248c2ecf20Sopenharmony_ci
1258c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BITMASK :c:type:`v4l2_ctrl_type`
1268c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BOOLEAN :c:type:`v4l2_ctrl_type`
1278c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_BUTTON :c:type:`v4l2_ctrl_type`
1288c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_CTRL_CLASS :c:type:`v4l2_ctrl_type`
1298c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER :c:type:`v4l2_ctrl_type`
1308c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER64 :c:type:`v4l2_ctrl_type`
1318c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_INTEGER_MENU :c:type:`v4l2_ctrl_type`
1328c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MENU :c:type:`v4l2_ctrl_type`
1338c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_STRING :c:type:`v4l2_ctrl_type`
1348c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U16 :c:type:`v4l2_ctrl_type`
1358c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U32 :c:type:`v4l2_ctrl_type`
1368c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_U8 :c:type:`v4l2_ctrl_type`
1378c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MPEG2_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
1388c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_MPEG2_QUANTIZATION :c:type:`v4l2_ctrl_type`
1398c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SPS :c:type:`v4l2_ctrl_type`
1408c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_PPS :c:type:`v4l2_ctrl_type`
1418c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SCALING_MATRIX :c:type:`v4l2_ctrl_type`
1428c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
1438c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_H264_DECODE_PARAMS :c:type:`v4l2_ctrl_type`
1448c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SPS :c:type:`v4l2_ctrl_type`
1458c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_PPS :c:type:`v4l2_ctrl_type`
1468c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS :c:type:`v4l2_ctrl_type`
1478c2ecf20Sopenharmony_cireplace symbol V4L2_CTRL_TYPE_AREA :c:type:`v4l2_ctrl_type`
1488c2ecf20Sopenharmony_ci
1498c2ecf20Sopenharmony_ci# V4L2 capability defines
1508c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_CAPTURE device-capabilities
1518c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities
1528c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT device-capabilities
1538c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities
1548c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_M2M device-capabilities
1558c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities
1568c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_OVERLAY device-capabilities
1578c2ecf20Sopenharmony_cireplace define V4L2_CAP_VBI_CAPTURE device-capabilities
1588c2ecf20Sopenharmony_cireplace define V4L2_CAP_VBI_OUTPUT device-capabilities
1598c2ecf20Sopenharmony_cireplace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities
1608c2ecf20Sopenharmony_cireplace define V4L2_CAP_SLICED_VBI_OUTPUT device-capabilities
1618c2ecf20Sopenharmony_cireplace define V4L2_CAP_RDS_CAPTURE device-capabilities
1628c2ecf20Sopenharmony_cireplace define V4L2_CAP_VIDEO_OUTPUT_OVERLAY device-capabilities
1638c2ecf20Sopenharmony_cireplace define V4L2_CAP_HW_FREQ_SEEK device-capabilities
1648c2ecf20Sopenharmony_cireplace define V4L2_CAP_RDS_OUTPUT device-capabilities
1658c2ecf20Sopenharmony_cireplace define V4L2_CAP_TUNER device-capabilities
1668c2ecf20Sopenharmony_cireplace define V4L2_CAP_AUDIO device-capabilities
1678c2ecf20Sopenharmony_cireplace define V4L2_CAP_RADIO device-capabilities
1688c2ecf20Sopenharmony_cireplace define V4L2_CAP_MODULATOR device-capabilities
1698c2ecf20Sopenharmony_cireplace define V4L2_CAP_SDR_CAPTURE device-capabilities
1708c2ecf20Sopenharmony_cireplace define V4L2_CAP_EXT_PIX_FORMAT device-capabilities
1718c2ecf20Sopenharmony_cireplace define V4L2_CAP_SDR_OUTPUT device-capabilities
1728c2ecf20Sopenharmony_cireplace define V4L2_CAP_META_CAPTURE device-capabilities
1738c2ecf20Sopenharmony_cireplace define V4L2_CAP_READWRITE device-capabilities
1748c2ecf20Sopenharmony_cireplace define V4L2_CAP_ASYNCIO device-capabilities
1758c2ecf20Sopenharmony_cireplace define V4L2_CAP_STREAMING device-capabilities
1768c2ecf20Sopenharmony_cireplace define V4L2_CAP_META_OUTPUT device-capabilities
1778c2ecf20Sopenharmony_cireplace define V4L2_CAP_DEVICE_CAPS device-capabilities
1788c2ecf20Sopenharmony_cireplace define V4L2_CAP_TOUCH device-capabilities
1798c2ecf20Sopenharmony_cireplace define V4L2_CAP_IO_MC device-capabilities
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci# V4L2 pix flags
1828c2ecf20Sopenharmony_cireplace define V4L2_PIX_FMT_PRIV_MAGIC :c:type:`v4l2_pix_format`
1838c2ecf20Sopenharmony_cireplace define V4L2_PIX_FMT_FLAG_PREMUL_ALPHA format-flags
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ci# V4L2 format flags
1868c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_COMPRESSED fmtdesc-flags
1878c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_EMULATED fmtdesc-flags
1888c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM fmtdesc-flags
1898c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_DYN_RESOLUTION fmtdesc-flags
1908c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL fmtdesc-flags
1918c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_COLORSPACE fmtdesc-flags
1928c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_XFER_FUNC fmtdesc-flags
1938c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_YCBCR_ENC fmtdesc-flags
1948c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_HSV_ENC fmtdesc-flags
1958c2ecf20Sopenharmony_cireplace define V4L2_FMT_FLAG_CSC_QUANTIZATION fmtdesc-flags
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ci# V4L2 timecode types
1988c2ecf20Sopenharmony_cireplace define V4L2_TC_TYPE_24FPS timecode-type
1998c2ecf20Sopenharmony_cireplace define V4L2_TC_TYPE_25FPS timecode-type
2008c2ecf20Sopenharmony_cireplace define V4L2_TC_TYPE_30FPS timecode-type
2018c2ecf20Sopenharmony_cireplace define V4L2_TC_TYPE_50FPS timecode-type
2028c2ecf20Sopenharmony_cireplace define V4L2_TC_TYPE_60FPS timecode-type
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci# V4L2 timecode flags
2058c2ecf20Sopenharmony_cireplace define V4L2_TC_FLAG_DROPFRAME timecode-flags
2068c2ecf20Sopenharmony_cireplace define V4L2_TC_FLAG_COLORFRAME timecode-flags
2078c2ecf20Sopenharmony_cireplace define V4L2_TC_USERBITS_field timecode-flags
2088c2ecf20Sopenharmony_cireplace define V4L2_TC_USERBITS_USERDEFINED timecode-flags
2098c2ecf20Sopenharmony_cireplace define V4L2_TC_USERBITS_8BITCHARS timecode-flags
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ci# V4L2 JPEG markers
2128c2ecf20Sopenharmony_cireplace define V4L2_JPEG_MARKER_DHT jpeg-markers
2138c2ecf20Sopenharmony_cireplace define V4L2_JPEG_MARKER_DQT jpeg-markers
2148c2ecf20Sopenharmony_cireplace define V4L2_JPEG_MARKER_DRI jpeg-markers
2158c2ecf20Sopenharmony_cireplace define V4L2_JPEG_MARKER_COM jpeg-markers
2168c2ecf20Sopenharmony_cireplace define V4L2_JPEG_MARKER_APP jpeg-markers
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_ci# V4L2 framebuffer caps and flags
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_EXTERNOVERLAY framebuffer-cap
2218c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_CHROMAKEY framebuffer-cap
2228c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_LIST_CLIPPING framebuffer-cap
2238c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_BITMAP_CLIPPING framebuffer-cap
2248c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_LOCAL_ALPHA framebuffer-cap
2258c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_GLOBAL_ALPHA framebuffer-cap
2268c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_LOCAL_INV_ALPHA framebuffer-cap
2278c2ecf20Sopenharmony_cireplace define V4L2_FBUF_CAP_SRC_CHROMAKEY framebuffer-cap
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_PRIMARY framebuffer-flags
2308c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_OVERLAY framebuffer-flags
2318c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_CHROMAKEY framebuffer-flags
2328c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_LOCAL_ALPHA framebuffer-flags
2338c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_GLOBAL_ALPHA framebuffer-flags
2348c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_LOCAL_INV_ALPHA framebuffer-flags
2358c2ecf20Sopenharmony_cireplace define V4L2_FBUF_FLAG_SRC_CHROMAKEY framebuffer-flags
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci# Used on VIDIOC_G_PARM
2388c2ecf20Sopenharmony_ci
2398c2ecf20Sopenharmony_cireplace define V4L2_MODE_HIGHQUALITY parm-flags
2408c2ecf20Sopenharmony_cireplace define V4L2_CAP_TIMEPERFRAME :c:type:`v4l2_captureparm`
2418c2ecf20Sopenharmony_ci
2428c2ecf20Sopenharmony_ci# The V4L2_STD_foo are all defined at v4l2_std_id table
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_B v4l2-std-id
2458c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_B1 v4l2-std-id
2468c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_G v4l2-std-id
2478c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_H v4l2-std-id
2488c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_I v4l2-std-id
2498c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_D v4l2-std-id
2508c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_D1 v4l2-std-id
2518c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_K v4l2-std-id
2528c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_M v4l2-std-id
2538c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_N v4l2-std-id
2548c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_Nc v4l2-std-id
2558c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_60 v4l2-std-id
2568c2ecf20Sopenharmony_cireplace define V4L2_STD_NTSC_M v4l2-std-id
2578c2ecf20Sopenharmony_cireplace define V4L2_STD_NTSC_M_JP v4l2-std-id
2588c2ecf20Sopenharmony_cireplace define V4L2_STD_NTSC_443 v4l2-std-id
2598c2ecf20Sopenharmony_cireplace define V4L2_STD_NTSC_M_KR v4l2-std-id
2608c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_B v4l2-std-id
2618c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_D v4l2-std-id
2628c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_G v4l2-std-id
2638c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_H v4l2-std-id
2648c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_K v4l2-std-id
2658c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_K1 v4l2-std-id
2668c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_L v4l2-std-id
2678c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_LC v4l2-std-id
2688c2ecf20Sopenharmony_cireplace define V4L2_STD_ATSC_8_VSB v4l2-std-id
2698c2ecf20Sopenharmony_cireplace define V4L2_STD_ATSC_16_VSB v4l2-std-id
2708c2ecf20Sopenharmony_cireplace define V4L2_STD_NTSC v4l2-std-id
2718c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM_DK v4l2-std-id
2728c2ecf20Sopenharmony_cireplace define V4L2_STD_SECAM v4l2-std-id
2738c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_BG v4l2-std-id
2748c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL_DK v4l2-std-id
2758c2ecf20Sopenharmony_cireplace define V4L2_STD_PAL v4l2-std-id
2768c2ecf20Sopenharmony_cireplace define V4L2_STD_B v4l2-std-id
2778c2ecf20Sopenharmony_cireplace define V4L2_STD_G v4l2-std-id
2788c2ecf20Sopenharmony_cireplace define V4L2_STD_H v4l2-std-id
2798c2ecf20Sopenharmony_cireplace define V4L2_STD_L v4l2-std-id
2808c2ecf20Sopenharmony_cireplace define V4L2_STD_GH v4l2-std-id
2818c2ecf20Sopenharmony_cireplace define V4L2_STD_DK v4l2-std-id
2828c2ecf20Sopenharmony_cireplace define V4L2_STD_BG v4l2-std-id
2838c2ecf20Sopenharmony_cireplace define V4L2_STD_MN v4l2-std-id
2848c2ecf20Sopenharmony_cireplace define V4L2_STD_MTS v4l2-std-id
2858c2ecf20Sopenharmony_cireplace define V4L2_STD_525_60 v4l2-std-id
2868c2ecf20Sopenharmony_cireplace define V4L2_STD_625_50 v4l2-std-id
2878c2ecf20Sopenharmony_cireplace define V4L2_STD_ATSC v4l2-std-id
2888c2ecf20Sopenharmony_cireplace define V4L2_STD_UNKNOWN v4l2-std-id
2898c2ecf20Sopenharmony_cireplace define V4L2_STD_ALL v4l2-std-id
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci# V4L2 DT BT timings definitions
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_cireplace define V4L2_DV_PROGRESSIVE :c:type:`v4l2_bt_timings`
2948c2ecf20Sopenharmony_cireplace define V4L2_DV_INTERLACED :c:type:`v4l2_bt_timings`
2958c2ecf20Sopenharmony_ci
2968c2ecf20Sopenharmony_cireplace define V4L2_DV_VSYNC_POS_POL :c:type:`v4l2_bt_timings`
2978c2ecf20Sopenharmony_cireplace define V4L2_DV_HSYNC_POS_POL :c:type:`v4l2_bt_timings`
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_STD_CEA861 dv-bt-standards
3008c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_STD_DMT dv-bt-standards
3018c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_STD_CVT dv-bt-standards
3028c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_STD_GTF dv-bt-standards
3038c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_STD_SDI dv-bt-standards
3048c2ecf20Sopenharmony_ci
3058c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_REDUCED_BLANKING dv-bt-standards
3068c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_CAN_REDUCE_FPS dv-bt-standards
3078c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_CAN_DETECT_REDUCED_FPS dv-bt-standards
3088c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_REDUCED_FPS dv-bt-standards
3098c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_HALF_LINE dv-bt-standards
3108c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_IS_CE_VIDEO dv-bt-standards
3118c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE dv-bt-standards
3128c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_HAS_PICTURE_ASPECT dv-bt-standards
3138c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_HAS_CEA861_VIC dv-bt-standards
3148c2ecf20Sopenharmony_cireplace define V4L2_DV_FL_HAS_HDMI_VIC dv-bt-standards
3158c2ecf20Sopenharmony_ci
3168c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_656_1120 dv-timing-types
3178c2ecf20Sopenharmony_ci
3188c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_CAP_INTERLACED framebuffer-cap
3198c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_CAP_PROGRESSIVE framebuffer-cap
3208c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_CAP_REDUCED_BLANKING framebuffer-cap
3218c2ecf20Sopenharmony_cireplace define V4L2_DV_BT_CAP_CUSTOM framebuffer-cap
3228c2ecf20Sopenharmony_ci
3238c2ecf20Sopenharmony_ci# V4L2 input
3248c2ecf20Sopenharmony_ci
3258c2ecf20Sopenharmony_cireplace define V4L2_INPUT_TYPE_TUNER input-type
3268c2ecf20Sopenharmony_cireplace define V4L2_INPUT_TYPE_CAMERA input-type
3278c2ecf20Sopenharmony_cireplace define V4L2_INPUT_TYPE_TOUCH input-type
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_POWER input-status
3308c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_SIGNAL input-status
3318c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_COLOR input-status
3328c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_HFLIP input-status
3338c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_VFLIP input-status
3348c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_H_LOCK input-status
3358c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_COLOR_KILL input-status
3368c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_SYNC input-status
3378c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_EQU input-status
3388c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_CARRIER input-status
3398c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_MACROVISION input-status
3408c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_ACCESS input-status
3418c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_VTR input-status
3428c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_V_LOCK input-status
3438c2ecf20Sopenharmony_cireplace define V4L2_IN_ST_NO_STD_LOCK input-status
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_cireplace define V4L2_IN_CAP_DV_TIMINGS input-capabilities
3468c2ecf20Sopenharmony_cireplace define V4L2_IN_CAP_STD input-capabilities
3478c2ecf20Sopenharmony_cireplace define V4L2_IN_CAP_NATIVE_SIZE input-capabilities
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ci# V4L2 output
3508c2ecf20Sopenharmony_ci
3518c2ecf20Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_MODULATOR output-type
3528c2ecf20Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_ANALOG output-type
3538c2ecf20Sopenharmony_cireplace define V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY output-type
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_cireplace define V4L2_OUT_CAP_DV_TIMINGS output-capabilities
3568c2ecf20Sopenharmony_cireplace define V4L2_OUT_CAP_STD output-capabilities
3578c2ecf20Sopenharmony_cireplace define V4L2_OUT_CAP_NATIVE_SIZE output-capabilities
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ci# V4L2 control flags
3608c2ecf20Sopenharmony_ci
3618c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_DISABLED control-flags
3628c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_GRABBED control-flags
3638c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_READ_ONLY control-flags
3648c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_UPDATE control-flags
3658c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_INACTIVE control-flags
3668c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_SLIDER control-flags
3678c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_WRITE_ONLY control-flags
3688c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_VOLATILE control-flags
3698c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_HAS_PAYLOAD control-flags
3708c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE control-flags
3718c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_MODIFY_LAYOUT control-flags
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_NEXT_CTRL control
3748c2ecf20Sopenharmony_cireplace define V4L2_CTRL_FLAG_NEXT_COMPOUND control
3758c2ecf20Sopenharmony_cireplace define V4L2_CID_PRIVATE_BASE control
3768c2ecf20Sopenharmony_ci
3778c2ecf20Sopenharmony_ci# V4L2 tuner
3788c2ecf20Sopenharmony_ci
3798c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_LOW tuner-capability
3808c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_NORM tuner-capability
3818c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
3828c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
3838c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_STEREO tuner-capability
3848c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_LANG2 tuner-capability
3858c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_SAP tuner-capability
3868c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_LANG1 tuner-capability
3878c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS tuner-capability
3888c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS_BLOCK_IO tuner-capability
3898c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_RDS_CONTROLS tuner-capability
3908c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_FREQ_BANDS tuner-capability
3918c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_HWSEEK_PROG_LIM tuner-capability
3928c2ecf20Sopenharmony_cireplace define V4L2_TUNER_CAP_1HZ tuner-capability
3938c2ecf20Sopenharmony_ci
3948c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_MONO tuner-rxsubchans
3958c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_STEREO tuner-rxsubchans
3968c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_LANG2 tuner-rxsubchans
3978c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_SAP tuner-rxsubchans
3988c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_LANG1 tuner-rxsubchans
3998c2ecf20Sopenharmony_cireplace define V4L2_TUNER_SUB_RDS tuner-rxsubchans
4008c2ecf20Sopenharmony_ci
4018c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_MONO tuner-audmode
4028c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_STEREO tuner-audmode
4038c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG2 tuner-audmode
4048c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_SAP tuner-audmode
4058c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG1 tuner-audmode
4068c2ecf20Sopenharmony_cireplace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode
4078c2ecf20Sopenharmony_ci
4088c2ecf20Sopenharmony_cireplace define V4L2_BAND_MODULATION_VSB band-modulation
4098c2ecf20Sopenharmony_cireplace define V4L2_BAND_MODULATION_FM band-modulation
4108c2ecf20Sopenharmony_cireplace define V4L2_BAND_MODULATION_AM band-modulation
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_MSK v4l2-rds-block
4138c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_A v4l2-rds-block
4148c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_B v4l2-rds-block
4158c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_C v4l2-rds-block
4168c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_D v4l2-rds-block
4178c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block
4188c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block
4198c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block
4208c2ecf20Sopenharmony_cireplace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ci# V4L2 audio
4238c2ecf20Sopenharmony_ci
4248c2ecf20Sopenharmony_cireplace define V4L2_AUDCAP_STEREO audio-capability
4258c2ecf20Sopenharmony_cireplace define V4L2_AUDCAP_AVL audio-capability
4268c2ecf20Sopenharmony_ci
4278c2ecf20Sopenharmony_cireplace define V4L2_AUDMODE_AVL audio-mode
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ci# MPEG
4308c2ecf20Sopenharmony_ci
4318c2ecf20Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_I :c:type:`v4l2_enc_idx`
4328c2ecf20Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_P :c:type:`v4l2_enc_idx`
4338c2ecf20Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_B :c:type:`v4l2_enc_idx`
4348c2ecf20Sopenharmony_cireplace define V4L2_ENC_IDX_FRAME_MASK :c:type:`v4l2_enc_idx`
4358c2ecf20Sopenharmony_cireplace define V4L2_ENC_IDX_ENTRIES :c:type:`v4l2_enc_idx`
4368c2ecf20Sopenharmony_ci
4378c2ecf20Sopenharmony_cireplace define V4L2_ENC_CMD_START encoder-cmds
4388c2ecf20Sopenharmony_cireplace define V4L2_ENC_CMD_STOP encoder-cmds
4398c2ecf20Sopenharmony_cireplace define V4L2_ENC_CMD_PAUSE encoder-cmds
4408c2ecf20Sopenharmony_cireplace define V4L2_ENC_CMD_RESUME encoder-cmds
4418c2ecf20Sopenharmony_ci
4428c2ecf20Sopenharmony_cireplace define V4L2_ENC_CMD_STOP_AT_GOP_END encoder-flags
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_START decoder-cmds
4458c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_STOP decoder-cmds
4468c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_PAUSE decoder-cmds
4478c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_RESUME decoder-cmds
4488c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_FLUSH decoder-cmds
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_START_MUTE_AUDIO decoder-cmds
4518c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_PAUSE_TO_BLACK decoder-cmds
4528c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_STOP_TO_BLACK decoder-cmds
4538c2ecf20Sopenharmony_cireplace define V4L2_DEC_CMD_STOP_IMMEDIATELY decoder-cmds
4548c2ecf20Sopenharmony_ci
4558c2ecf20Sopenharmony_cireplace define V4L2_DEC_START_FMT_NONE decoder-cmds
4568c2ecf20Sopenharmony_cireplace define V4L2_DEC_START_FMT_GOP decoder-cmds
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_ci# V4L2 VBI
4598c2ecf20Sopenharmony_ci
4608c2ecf20Sopenharmony_cireplace define V4L2_VBI_UNSYNC vbifmt-flags
4618c2ecf20Sopenharmony_cireplace define V4L2_VBI_INTERLACED vbifmt-flags
4628c2ecf20Sopenharmony_ci
4638c2ecf20Sopenharmony_cireplace define V4L2_VBI_ITU_525_F1_START :c:type:`v4l2_vbi_format`
4648c2ecf20Sopenharmony_cireplace define V4L2_VBI_ITU_525_F2_START :c:type:`v4l2_vbi_format`
4658c2ecf20Sopenharmony_cireplace define V4L2_VBI_ITU_625_F1_START :c:type:`v4l2_vbi_format`
4668c2ecf20Sopenharmony_cireplace define V4L2_VBI_ITU_625_F2_START :c:type:`v4l2_vbi_format`
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_ci
4698c2ecf20Sopenharmony_cireplace define V4L2_SLICED_TELETEXT_B vbi-services
4708c2ecf20Sopenharmony_cireplace define V4L2_SLICED_VPS vbi-services
4718c2ecf20Sopenharmony_cireplace define V4L2_SLICED_CAPTION_525 vbi-services
4728c2ecf20Sopenharmony_cireplace define V4L2_SLICED_WSS_625 vbi-services
4738c2ecf20Sopenharmony_cireplace define V4L2_SLICED_VBI_525 vbi-services
4748c2ecf20Sopenharmony_cireplace define V4L2_SLICED_VBI_625 vbi-services
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_TELETEXT_B ITV0-Line-Identifier-Constants
4778c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_CAPTION_525 ITV0-Line-Identifier-Constants
4788c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_WSS_625 ITV0-Line-Identifier-Constants
4798c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_VPS ITV0-Line-Identifier-Constants
4808c2ecf20Sopenharmony_ci
4818c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_MAGIC0 v4l2-mpeg-vbi-fmt-ivtv-magic
4828c2ecf20Sopenharmony_cireplace define V4L2_MPEG_VBI_IVTV_MAGIC1 v4l2-mpeg-vbi-fmt-ivtv-magic
4838c2ecf20Sopenharmony_ci
4848c2ecf20Sopenharmony_ci# V4L2 events
4858c2ecf20Sopenharmony_ci
4868c2ecf20Sopenharmony_cireplace define V4L2_EVENT_ALL event-type
4878c2ecf20Sopenharmony_cireplace define V4L2_EVENT_VSYNC event-type
4888c2ecf20Sopenharmony_cireplace define V4L2_EVENT_EOS event-type
4898c2ecf20Sopenharmony_cireplace define V4L2_EVENT_CTRL event-type
4908c2ecf20Sopenharmony_cireplace define V4L2_EVENT_FRAME_SYNC event-type
4918c2ecf20Sopenharmony_cireplace define V4L2_EVENT_SOURCE_CHANGE event-type
4928c2ecf20Sopenharmony_cireplace define V4L2_EVENT_MOTION_DET event-type
4938c2ecf20Sopenharmony_cireplace define V4L2_EVENT_PRIVATE_START event-type
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_VALUE ctrl-changes-flags
4968c2ecf20Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_FLAGS ctrl-changes-flags
4978c2ecf20Sopenharmony_cireplace define V4L2_EVENT_CTRL_CH_RANGE ctrl-changes-flags
4988c2ecf20Sopenharmony_ci
4998c2ecf20Sopenharmony_cireplace define V4L2_EVENT_SRC_CH_RESOLUTION src-changes-flags
5008c2ecf20Sopenharmony_ci
5018c2ecf20Sopenharmony_cireplace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ :c:type:`v4l2_event_motion_det`
5028c2ecf20Sopenharmony_ci
5038c2ecf20Sopenharmony_cireplace define V4L2_EVENT_SUB_FL_SEND_INITIAL event-flags
5048c2ecf20Sopenharmony_cireplace define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK event-flags
5058c2ecf20Sopenharmony_ci
5068c2ecf20Sopenharmony_ci# V4L2 debugging
5078c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_BRIDGE vidioc_dbg_g_register
5088c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_SUBDEV vidioc_dbg_g_register
5098c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_HOST vidioc_dbg_g_register
5108c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_I2C_DRIVER vidioc_dbg_g_register
5118c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_I2C_ADDR vidioc_dbg_g_register
5128c2ecf20Sopenharmony_cireplace define V4L2_CHIP_MATCH_AC97 vidioc_dbg_g_register
5138c2ecf20Sopenharmony_ci
5148c2ecf20Sopenharmony_cireplace define V4L2_CHIP_FL_READABLE vidioc_dbg_g_register
5158c2ecf20Sopenharmony_cireplace define V4L2_CHIP_FL_WRITABLE vidioc_dbg_g_register
5168c2ecf20Sopenharmony_ci
5178c2ecf20Sopenharmony_ci# Ignore reserved ioctl and ancillary macros
5188c2ecf20Sopenharmony_ci
5198c2ecf20Sopenharmony_ciignore define VIDEO_MAX_FRAME
5208c2ecf20Sopenharmony_ciignore define VIDEO_MAX_PLANES
5218c2ecf20Sopenharmony_ciignore define v4l2_fourcc
5228c2ecf20Sopenharmony_ciignore define v4l2_fourcc_be
5238c2ecf20Sopenharmony_ciignore define V4L2_FIELD_HAS_TOP
5248c2ecf20Sopenharmony_ciignore define V4L2_FIELD_HAS_BOTTOM
5258c2ecf20Sopenharmony_ciignore define V4L2_FIELD_HAS_BOTH
5268c2ecf20Sopenharmony_ciignore define V4L2_FIELD_HAS_T_OR_B
5278c2ecf20Sopenharmony_ciignore define V4L2_TYPE_IS_MULTIPLANAR
5288c2ecf20Sopenharmony_ciignore define V4L2_TYPE_IS_OUTPUT
5298c2ecf20Sopenharmony_ciignore define V4L2_TUNER_ADC
5308c2ecf20Sopenharmony_ciignore define V4L2_MAP_COLORSPACE_DEFAULT
5318c2ecf20Sopenharmony_ciignore define V4L2_MAP_XFER_FUNC_DEFAULT
5328c2ecf20Sopenharmony_ciignore define V4L2_MAP_YCBCR_ENC_DEFAULT
5338c2ecf20Sopenharmony_ciignore define V4L2_DV_BT_BLANKING_WIDTH
5348c2ecf20Sopenharmony_ciignore define V4L2_DV_BT_FRAME_WIDTH
5358c2ecf20Sopenharmony_ciignore define V4L2_DV_BT_BLANKING_HEIGHT
5368c2ecf20Sopenharmony_ciignore define V4L2_DV_BT_FRAME_HEIGHT
5378c2ecf20Sopenharmony_ciignore define V4L2_IN_CAP_CUSTOM_TIMINGS
5388c2ecf20Sopenharmony_ciignore define V4L2_CTRL_ID_MASK
5398c2ecf20Sopenharmony_ciignore define V4L2_CTRL_ID2CLASS
5408c2ecf20Sopenharmony_ciignore define V4L2_CTRL_ID2WHICH
5418c2ecf20Sopenharmony_ciignore define V4L2_CTRL_DRIVER_PRIV
5428c2ecf20Sopenharmony_ciignore define V4L2_CTRL_MAX_DIMS
5438c2ecf20Sopenharmony_ciignore define V4L2_CTRL_WHICH_CUR_VAL
5448c2ecf20Sopenharmony_ciignore define V4L2_CTRL_WHICH_DEF_VAL
5458c2ecf20Sopenharmony_ciignore define V4L2_CTRL_WHICH_REQUEST_VAL
5468c2ecf20Sopenharmony_ciignore define V4L2_OUT_CAP_CUSTOM_TIMINGS
5478c2ecf20Sopenharmony_ciignore define V4L2_CID_MAX_CTRLS
5488c2ecf20Sopenharmony_ci
5498c2ecf20Sopenharmony_ciignore define BASE_VIDIOC_PRIVATE
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_ci# Associate ioctls with their counterparts
5528c2ecf20Sopenharmony_cireplace ioctl VIDIOC_DBG_S_REGISTER vidioc_dbg_g_register
5538c2ecf20Sopenharmony_cireplace ioctl VIDIOC_DQBUF vidioc_qbuf
5548c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_AUDOUT vidioc_g_audout
5558c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_CROP vidioc_g_crop
5568c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_CTRL vidioc_g_ctrl
5578c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_DV_TIMINGS vidioc_g_dv_timings
5588c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_EDID vidioc_g_edid
5598c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_EXT_CTRLS vidioc_g_ext_ctrls
5608c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_FBUF vidioc_g_fbuf
5618c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_FMT vidioc_g_fmt
5628c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_FREQUENCY vidioc_g_frequency
5638c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_INPUT vidioc_g_input
5648c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_JPEGCOMP vidioc_g_jpegcomp
5658c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_MODULATOR vidioc_g_modulator
5668c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_OUTPUT vidioc_g_output
5678c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_PARM vidioc_g_parm
5688c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_PRIORITY vidioc_g_priority
5698c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_SELECTION vidioc_g_selection
5708c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_STD vidioc_g_std
5718c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_AUDIO vidioc_g_audio
5728c2ecf20Sopenharmony_cireplace ioctl VIDIOC_S_TUNER vidioc_g_tuner
5738c2ecf20Sopenharmony_cireplace ioctl VIDIOC_TRY_DECODER_CMD vidioc_decoder_cmd
5748c2ecf20Sopenharmony_cireplace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd
5758c2ecf20Sopenharmony_cireplace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls
5768c2ecf20Sopenharmony_cireplace ioctl VIDIOC_TRY_FMT vidioc_g_fmt
5778c2ecf20Sopenharmony_cireplace ioctl VIDIOC_STREAMOFF vidioc_streamon
5788c2ecf20Sopenharmony_cireplace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl
5798c2ecf20Sopenharmony_cireplace ioctl VIDIOC_QUERYMENU vidioc_queryctrl
580