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