aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-05 07:44:34 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-22 06:03:14 -0400
commitc2b66cafdf020856f6981d03efd9f2706d5f0156 (patch)
tree53fc68378fd5a4205b0872ca16e4f3160da1fe45
parentc19584882a435bbe41fa555620c7261ba9155ae2 (diff)
[media] v4l: doc: Remove row numbers from tables
Shorten the tables by removing row numbers in comments, allowing for later insertion of rows with minimal diffs. All changes have been generated by the following script. import io import re import sys def process_table(fname, data): if fname.endswith('hist-v4l2.rst'): data = re.sub(u'\n{1,2}\t( ?) -( ?) ?', u'\n\t\\1 -\\2', data, flags = re.MULTILINE) data = re.sub(u'\n(\t| )- \.\. row [0-9]+\n\t ?-( ?) ?', u'\\1* -\\2', data, flags = re.MULTILINE) else: data = re.sub(u'\n{1,2} -( ?) ?', u'\n -\\1', data, flags = re.MULTILINE) data = re.sub(u'(\n?)(\n\n - \.\. row 1\n)', u'\n\\2', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. row [0-9]+\n -( ?) ?', u' * -\\1', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. row [0-9]+\n \.\. (_[A-Z0-9_`-]*:)', u'\n - .. \\1', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. (_[A-Z0-9_`-]*:)\n -', u' * .. \\1\n\n -', data, flags = re.MULTILINE) data = re.sub(u'^ - ', u' -', data, flags = re.MULTILINE) data = re.sub(u'^(\t{1,2}) ', u'\\1', data, flags = re.MULTILINE) return data def process_file(fname, data): buf = io.StringIO(data) output = '' in_table = False table_separator = 0 for line in buf.readlines(): if line.find('.. flat-table::') != -1: in_table = True table = '' elif in_table and not re.match('^[\t\n]|( )', line): in_table = False output += process_table(fname, table) if in_table: table += line else: output += line if in_table: in_table = False output += process_table(fname, table) return output fname = sys.argv[1] data = file(fname, 'rb').read().decode('utf-8') data = process_file(fname, data) file(fname, 'wb').write(data.encode('utf-8')) Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--Documentation/media/uapi/v4l/buffer.rst1337
-rw-r--r--Documentation/media/uapi/v4l/control.rst133
-rw-r--r--Documentation/media/uapi/v4l/dev-raw-vbi.rst243
-rw-r--r--Documentation/media/uapi/v4l/dev-rds.rst191
-rw-r--r--Documentation/media/uapi/v4l/dev-sdr.rst43
-rw-r--r--Documentation/media/uapi/v4l/dev-sliced-vbi.rst730
-rw-r--r--Documentation/media/uapi/v4l/dev-subdev.rst114
-rw-r--r--Documentation/media/uapi/v4l/diff-v4l.rst676
-rw-r--r--Documentation/media/uapi/v4l/extended-controls.rst2753
-rw-r--r--Documentation/media/uapi/v4l/field-order.rst188
-rw-r--r--Documentation/media/uapi/v4l/hist-v4l2.rst231
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-002.rst298
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-003.rst195
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-006.rst306
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-007.rst495
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-013.rst186
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-grey.rst68
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-indexed.rst82
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-m420.rst249
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-nv12.rst248
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-nv12m.rst255
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-nv16.rst320
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-nv16m.rst325
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-nv24.rst183
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst2134
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst439
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-reserved.rst539
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sbggr16.rst115
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sdr-cs08.rst16
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sdr-cs14le.rst21
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sdr-cu08.rst15
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sdr-cu16le.rst21
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-sdr-ru12le.rst11
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-srggb10.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-srggb10p.rst87
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-srggb12.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-srggb8.rst68
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-tch-td08.rst68
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-tch-td16.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst68
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-uv8.rst68
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-uyvy.rst228
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-vyuy.rst228
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y10.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y10b.rst16
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y12.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y12i.rst11
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y16-be.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y16.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y41p.rst336
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-y8i.rst116
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv410.rst228
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv411p.rst230
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv420.rst273
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv420m.rst283
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv422m.rst278
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv422p.rst268
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuv444m.rst298
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yuyv.rst238
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-yvyu.rst228
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-z16.rst116
-rw-r--r--Documentation/media/uapi/v4l/subdev-formats.rst18062
-rw-r--r--Documentation/media/uapi/v4l/v4l2-selection-flags.rst84
-rw-r--r--Documentation/media/uapi/v4l/v4l2-selection-targets.rst171
-rw-r--r--Documentation/media/uapi/v4l/vidioc-create-bufs.rst73
-rw-r--r--Documentation/media/uapi/v4l/vidioc-cropcap.rst128
-rw-r--r--Documentation/media/uapi/v4l/vidioc-dbg-g-chip-info.rst123
-rw-r--r--Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst117
-rw-r--r--Documentation/media/uapi/v4l/vidioc-decoder-cmd.rst292
-rw-r--r--Documentation/media/uapi/v4l/vidioc-dqevent.rst668
-rw-r--r--Documentation/media/uapi/v4l/vidioc-dv-timings-cap.rst233
-rw-r--r--Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst134
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-dv-timings.rst50
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-fmt.rst142
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst184
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst213
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst187
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enuminput.rst437
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enumoutput.rst208
-rw-r--r--Documentation/media/uapi/v4l/vidioc-enumstd.rst292
-rw-r--r--Documentation/media/uapi/v4l/vidioc-expbuf.rst90
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-audio.rst102
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-audioout.rst65
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-crop.rst30
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-ctrl.rst22
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst465
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-edid.rst73
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-enc-index.rst167
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst538
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-fbuf.rst593
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-fmt.rst128
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-frequency.rst74
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-jpegcomp.rst144
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-modulator.rst268
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-parm.rst372
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-priority.rst73
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-selection.rst63
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst312
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-tuner.rst897
-rw-r--r--Documentation/media/uapi/v4l/vidioc-querycap.rst555
-rw-r--r--Documentation/media/uapi/v4l/vidioc-queryctrl.rst975
-rw-r--r--Documentation/media/uapi/v4l/vidioc-reqbufs.rst54
-rw-r--r--Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst132
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst94
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst105
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst61
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst48
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst72
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst35
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst70
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subscribe-event.rst120
112 files changed, 15395 insertions, 31022 deletions
diff --git a/Documentation/media/uapi/v4l/buffer.rst b/Documentation/media/uapi/v4l/buffer.rst
index 21893ee1384a..ac58966ccb9b 100644
--- a/Documentation/media/uapi/v4l/buffer.rst
+++ b/Documentation/media/uapi/v4l/buffer.rst
@@ -48,236 +48,149 @@ struct v4l2_buffer
48 :stub-columns: 0 48 :stub-columns: 0
49 :widths: 1 2 1 10 49 :widths: 1 2 1 10
50 50
51 51 * - __u32
52 - .. row 1 52 - ``index``
53 53 -
54 - __u32 54 - Number of the buffer, set by the application except when calling
55 55 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, then it is set by the
56 - ``index`` 56 driver. This field can range from zero to the number of buffers
57 57 allocated with the :ref:`VIDIOC_REQBUFS` ioctl
58 - 58 (struct :c:type:`v4l2_requestbuffers`
59 - Number of the buffer, set by the application except when calling 59 ``count``), plus any buffers allocated with
60 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, then it is set by the 60 :ref:`VIDIOC_CREATE_BUFS` minus one.
61 driver. This field can range from zero to the number of buffers 61 * - __u32
62 allocated with the :ref:`VIDIOC_REQBUFS` ioctl 62 - ``type``
63 (struct :c:type:`v4l2_requestbuffers` 63 -
64 ``count``), plus any buffers allocated with 64 - Type of the buffer, same as struct
65 :ref:`VIDIOC_CREATE_BUFS` minus one. 65 :c:type:`v4l2_format` ``type`` or struct
66 66 :c:type:`v4l2_requestbuffers` ``type``, set
67 - .. row 2 67 by the application. See :c:type:`v4l2_buf_type`
68 68 * - __u32
69 - __u32 69 - ``bytesused``
70 70 -
71 - ``type`` 71 - The number of bytes occupied by the data in the buffer. It depends
72 72 on the negotiated data format and may change with each buffer for
73 - 73 compressed variable size data like JPEG images. Drivers must set
74 - Type of the buffer, same as struct 74 this field when ``type`` refers to a capture stream, applications
75 :c:type:`v4l2_format` ``type`` or struct 75 when it refers to an output stream. If the application sets this
76 :c:type:`v4l2_requestbuffers` ``type``, set 76 to 0 for an output stream, then ``bytesused`` will be set to the
77 by the application. See :c:type:`v4l2_buf_type` 77 size of the buffer (see the ``length`` field of this struct) by
78 78 the driver. For multiplanar formats this field is ignored and the
79 - .. row 3 79 ``planes`` pointer is used instead.
80 80 * - __u32
81 - __u32 81 - ``flags``
82 82 -
83 - ``bytesused`` 83 - Flags set by the application or driver, see :ref:`buffer-flags`.
84 84 * - __u32
85 - 85 - ``field``
86 - The number of bytes occupied by the data in the buffer. It depends 86 -
87 on the negotiated data format and may change with each buffer for 87 - Indicates the field order of the image in the buffer, see
88 compressed variable size data like JPEG images. Drivers must set 88 :c:type:`v4l2_field`. This field is not used when the buffer
89 this field when ``type`` refers to a capture stream, applications 89 contains VBI data. Drivers must set it when ``type`` refers to a
90 when it refers to an output stream. If the application sets this 90 capture stream, applications when it refers to an output stream.
91 to 0 for an output stream, then ``bytesused`` will be set to the 91 * - struct timeval
92 size of the buffer (see the ``length`` field of this struct) by 92 - ``timestamp``
93 the driver. For multiplanar formats this field is ignored and the 93 -
94 ``planes`` pointer is used instead. 94 - For capture streams this is time when the first data byte was
95 95 captured, as returned by the :c:func:`clock_gettime()` function
96 - .. row 4 96 for the relevant clock id; see ``V4L2_BUF_FLAG_TIMESTAMP_*`` in
97 97 :ref:`buffer-flags`. For output streams the driver stores the
98 - __u32 98 time at which the last data byte was actually sent out in the
99 99 ``timestamp`` field. This permits applications to monitor the
100 - ``flags`` 100 drift between the video and system clock. For output streams that
101 101 use ``V4L2_BUF_FLAG_TIMESTAMP_COPY`` the application has to fill
102 - 102 in the timestamp which will be copied by the driver to the capture
103 - Flags set by the application or driver, see :ref:`buffer-flags`. 103 stream.
104 104 * - struct :c:type:`v4l2_timecode`
105 - .. row 5 105 - ``timecode``
106 106 -
107 - __u32 107 - When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the
108 108 ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this
109 - ``field`` 109 structure contains a frame timecode. In
110 110 :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and
111 - 111 bottom field contain the same timecode. Timecodes are intended to
112 - Indicates the field order of the image in the buffer, see 112 help video editing and are typically recorded on video tapes, but
113 :c:type:`v4l2_field`. This field is not used when the buffer 113 also embedded in compressed formats like MPEG. This field is
114 contains VBI data. Drivers must set it when ``type`` refers to a 114 independent of the ``timestamp`` and ``sequence`` fields.
115 capture stream, applications when it refers to an output stream. 115 * - __u32
116 116 - ``sequence``
117 - .. row 6 117 -
118 118 - Set by the driver, counting the frames (not fields!) in sequence.
119 - struct timeval 119 This field is set for both input and output devices.
120 120 * - :cspan:`3`
121 - ``timestamp`` 121
122 122 In :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and
123 - 123 bottom field have the same sequence number. The count starts at
124 - For capture streams this is time when the first data byte was 124 zero and includes dropped or repeated frames. A dropped frame was
125 captured, as returned by the :c:func:`clock_gettime()` function 125 received by an input device but could not be stored due to lack of
126 for the relevant clock id; see ``V4L2_BUF_FLAG_TIMESTAMP_*`` in 126 free buffer space. A repeated frame was displayed again by an
127 :ref:`buffer-flags`. For output streams the driver stores the 127 output device because the application did not pass new data in
128 time at which the last data byte was actually sent out in the 128 time.
129 ``timestamp`` field. This permits applications to monitor the 129
130 drift between the video and system clock. For output streams that 130 .. note::
131 use ``V4L2_BUF_FLAG_TIMESTAMP_COPY`` the application has to fill 131
132 in the timestamp which will be copied by the driver to the capture 132 This may count the frames received e.g. over USB, without
133 stream. 133 taking into account the frames dropped by the remote hardware due
134 134 to limited compression throughput or bus bandwidth. These devices
135 - .. row 7 135 identify by not enumerating any video standards, see
136 136 :ref:`standard`.
137 - struct :c:type:`v4l2_timecode` 137
138 138 * - __u32
139 - ``timecode`` 139 - ``memory``
140 140 -
141 - 141 - This field must be set by applications and/or drivers in
142 - When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the 142 accordance with the selected I/O method. See :c:type:`v4l2_memory`
143 ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this 143 * - union
144 structure contains a frame timecode. In 144 - ``m``
145 :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and 145 * -
146 bottom field contain the same timecode. Timecodes are intended to 146 - __u32
147 help video editing and are typically recorded on video tapes, but 147 - ``offset``
148 also embedded in compressed formats like MPEG. This field is 148 - For the single-planar API and when ``memory`` is
149 independent of the ``timestamp`` and ``sequence`` fields. 149 ``V4L2_MEMORY_MMAP`` this is the offset of the buffer from the
150 150 start of the device memory. The value is returned by the driver
151 - .. row 8 151 and apart of serving as parameter to the
152 152 :ref:`mmap() <func-mmap>` function not useful for applications.
153 - __u32 153 See :ref:`mmap` for details
154 154 * -
155 - ``sequence`` 155 - unsigned long
156 156 - ``userptr``
157 - 157 - For the single-planar API and when ``memory`` is
158 - Set by the driver, counting the frames (not fields!) in sequence. 158 ``V4L2_MEMORY_USERPTR`` this is a pointer to the buffer (casted to
159 This field is set for both input and output devices. 159 unsigned long type) in virtual memory, set by the application. See
160 160 :ref:`userp` for details.
161 - .. row 9 161 * -
162 162 - struct v4l2_plane
163 - :cspan:`3` 163 - ``*planes``
164 164 - When using the multi-planar API, contains a userspace pointer to
165 In :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and 165 an array of struct :c:type:`v4l2_plane`. The size of
166 bottom field have the same sequence number. The count starts at 166 the array should be put in the ``length`` field of this
167 zero and includes dropped or repeated frames. A dropped frame was 167 struct :c:type:`v4l2_buffer` structure.
168 received by an input device but could not be stored due to lack of 168 * -
169 free buffer space. A repeated frame was displayed again by an 169 - int
170 output device because the application did not pass new data in 170 - ``fd``
171 time. 171 - For the single-plane API and when ``memory`` is
172 172 ``V4L2_MEMORY_DMABUF`` this is the file descriptor associated with
173 .. note:: 173 a DMABUF buffer.
174 174 * - __u32
175 This may count the frames received e.g. over USB, without 175 - ``length``
176 taking into account the frames dropped by the remote hardware due 176 -
177 to limited compression throughput or bus bandwidth. These devices 177 - Size of the buffer (not the payload) in bytes for the
178 identify by not enumerating any video standards, see 178 single-planar API. This is set by the driver based on the calls to
179 :ref:`standard`. 179 :ref:`VIDIOC_REQBUFS` and/or
180 180 :ref:`VIDIOC_CREATE_BUFS`. For the
181 181 multi-planar API the application sets this to the number of
182 - .. row 10 182 elements in the ``planes`` array. The driver will fill in the
183 183 actual number of valid elements in that array.
184 - __u32 184 * - __u32
185 185 - ``reserved2``
186 - ``memory`` 186 -
187 187 - A place holder for future extensions. Drivers and applications
188 - 188 must set this to 0.
189 - This field must be set by applications and/or drivers in 189 * - __u32
190 accordance with the selected I/O method. See :c:type:`v4l2_memory` 190 - ``reserved``
191 191 -
192 - .. row 11 192 - A place holder for future extensions. Drivers and applications
193 193 must set this to 0.
194 - union
195
196 - ``m``
197
198 - .. row 12
199
200 -
201 - __u32
202
203 - ``offset``
204
205 - For the single-planar API and when ``memory`` is
206 ``V4L2_MEMORY_MMAP`` this is the offset of the buffer from the
207 start of the device memory. The value is returned by the driver
208 and apart of serving as parameter to the
209 :ref:`mmap() <func-mmap>` function not useful for applications.
210 See :ref:`mmap` for details
211
212 - .. row 13
213
214 -
215 - unsigned long
216
217 - ``userptr``
218
219 - For the single-planar API and when ``memory`` is
220 ``V4L2_MEMORY_USERPTR`` this is a pointer to the buffer (casted to
221 unsigned long type) in virtual memory, set by the application. See
222 :ref:`userp` for details.
223
224 - .. row 14
225
226 -
227 - struct v4l2_plane
228
229 - ``*planes``
230
231 - When using the multi-planar API, contains a userspace pointer to
232 an array of struct :c:type:`v4l2_plane`. The size of
233 the array should be put in the ``length`` field of this
234 struct :c:type:`v4l2_buffer` structure.
235
236 - .. row 15
237
238 -
239 - int
240
241 - ``fd``
242
243 - For the single-plane API and when ``memory`` is
244 ``V4L2_MEMORY_DMABUF`` this is the file descriptor associated with
245 a DMABUF buffer.
246
247 - .. row 16
248
249 - __u32
250
251 - ``length``
252
253 -
254 - Size of the buffer (not the payload) in bytes for the
255 single-planar API. This is set by the driver based on the calls to
256 :ref:`VIDIOC_REQBUFS` and/or
257 :ref:`VIDIOC_CREATE_BUFS`. For the
258 multi-planar API the application sets this to the number of
259 elements in the ``planes`` array. The driver will fill in the
260 actual number of valid elements in that array.
261
262 - .. row 17
263
264 - __u32
265
266 - ``reserved2``
267
268 -
269 - A place holder for future extensions. Drivers and applications
270 must set this to 0.
271
272 - .. row 18
273
274 - __u32
275
276 - ``reserved``
277
278 -
279 - A place holder for future extensions. Drivers and applications
280 must set this to 0.
281 194
282 195
283 196
@@ -295,110 +208,70 @@ struct v4l2_plane
295 :stub-columns: 0 208 :stub-columns: 0
296 :widths: 1 1 1 2 209 :widths: 1 1 1 2
297 210
298 211 * - __u32
299 - .. row 1 212 - ``bytesused``
300 213 -
301 - __u32 214 - The number of bytes occupied by data in the plane (its payload).
302 215 Drivers must set this field when ``type`` refers to a capture
303 - ``bytesused`` 216 stream, applications when it refers to an output stream. If the
304 217 application sets this to 0 for an output stream, then
305 - 218 ``bytesused`` will be set to the size of the plane (see the
306 - The number of bytes occupied by data in the plane (its payload). 219 ``length`` field of this struct) by the driver.
307 Drivers must set this field when ``type`` refers to a capture 220
308 stream, applications when it refers to an output stream. If the 221 .. note::
309 application sets this to 0 for an output stream, then 222
310 ``bytesused`` will be set to the size of the plane (see the 223 Note that the actual image data starts at ``data_offset``
311 ``length`` field of this struct) by the driver. 224 which may not be 0.
312 225 * - __u32
313 .. note:: 226 - ``length``
314 227 -
315 Note that the actual image data starts at ``data_offset`` 228 - Size in bytes of the plane (not its payload). This is set by the
316 which may not be 0. 229 driver based on the calls to
317 230 :ref:`VIDIOC_REQBUFS` and/or
318 - .. row 2 231 :ref:`VIDIOC_CREATE_BUFS`.
319 232 * - union
320 - __u32 233 - ``m``
321 234 -
322 - ``length`` 235 -
323 236 * -
324 - 237 - __u32
325 - Size in bytes of the plane (not its payload). This is set by the 238 - ``mem_offset``
326 driver based on the calls to 239 - When the memory type in the containing struct
327 :ref:`VIDIOC_REQBUFS` and/or 240 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_MMAP``, this
328 :ref:`VIDIOC_CREATE_BUFS`. 241 is the value that should be passed to :ref:`mmap() <func-mmap>`,
329 242 similar to the ``offset`` field in struct
330 - .. row 3 243 :c:type:`v4l2_buffer`.
331 244 * -
332 - union 245 - unsigned long
333 246 - ``userptr``
334 - ``m`` 247 - When the memory type in the containing struct
335 248 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_USERPTR``,
336 - 249 this is a userspace pointer to the memory allocated for this plane
337 - 250 by an application.
338 251 * -
339 - .. row 4 252 - int
340 253 - ``fd``
341 - 254 - When the memory type in the containing struct
342 - __u32 255 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_DMABUF``,
343 256 this is a file descriptor associated with a DMABUF buffer, similar
344 - ``mem_offset`` 257 to the ``fd`` field in struct :c:type:`v4l2_buffer`.
345 258 * - __u32
346 - When the memory type in the containing struct 259 - ``data_offset``
347 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_MMAP``, this 260 -
348 is the value that should be passed to :ref:`mmap() <func-mmap>`, 261 - Offset in bytes to video data in the plane. Drivers must set this
349 similar to the ``offset`` field in struct 262 field when ``type`` refers to a capture stream, applications when
350 :c:type:`v4l2_buffer`. 263 it refers to an output stream.
351 264
352 - .. row 5 265 .. note::
353 266
354 - 267 That data_offset is included in ``bytesused``. So the
355 - unsigned long 268 size of the image in the plane is ``bytesused``-``data_offset``
356 269 at offset ``data_offset`` from the start of the plane.
357 - ``userptr`` 270 * - __u32
358 271 - ``reserved[11]``
359 - When the memory type in the containing struct 272 -
360 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_USERPTR``, 273 - Reserved for future use. Should be zeroed by drivers and
361 this is a userspace pointer to the memory allocated for this plane 274 applications.
362 by an application.
363
364 - .. row 6
365
366 -
367 - int
368
369 - ``fd``
370
371 - When the memory type in the containing struct
372 :c:type:`v4l2_buffer` is ``V4L2_MEMORY_DMABUF``,
373 this is a file descriptor associated with a DMABUF buffer, similar
374 to the ``fd`` field in struct :c:type:`v4l2_buffer`.
375
376 - .. row 7
377
378 - __u32
379
380 - ``data_offset``
381
382 -
383 - Offset in bytes to video data in the plane. Drivers must set this
384 field when ``type`` refers to a capture stream, applications when
385 it refers to an output stream.
386
387 .. note::
388
389 That data_offset is included in ``bytesused``. So the
390 size of the image in the plane is ``bytesused``-``data_offset``
391 at offset ``data_offset`` from the start of the plane.
392
393 - .. row 8
394
395 - __u32
396
397 - ``reserved[11]``
398
399 -
400 - Reserved for future use. Should be zeroed by drivers and
401 applications.
402 275
403 276
404 277
@@ -416,107 +289,47 @@ enum v4l2_buf_type
416 :stub-columns: 0 289 :stub-columns: 0
417 :widths: 4 1 9 290 :widths: 4 1 9
418 291
419 292 * - ``V4L2_BUF_TYPE_VIDEO_CAPTURE``
420 - .. row 1 293 - 1
421 294 - Buffer of a single-planar video capture stream, see
422 - ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` 295 :ref:`capture`.
423 296 * - ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``
424 - 1 297 - 9
425 298 - Buffer of a multi-planar video capture stream, see
426 - Buffer of a single-planar video capture stream, see 299 :ref:`capture`.
427 :ref:`capture`. 300 * - ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
428 301 - 2
429 - .. row 2 302 - Buffer of a single-planar video output stream, see
430 303 :ref:`output`.
431 - ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE`` 304 * - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``
432 305 - 10
433 - 9 306 - Buffer of a multi-planar video output stream, see :ref:`output`.
434 307 * - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
435 - Buffer of a multi-planar video capture stream, see 308 - 3
436 :ref:`capture`. 309 - Buffer for video overlay, see :ref:`overlay`.
437 310 * - ``V4L2_BUF_TYPE_VBI_CAPTURE``
438 - .. row 3 311 - 4
439 312 - Buffer of a raw VBI capture stream, see :ref:`raw-vbi`.
440 - ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` 313 * - ``V4L2_BUF_TYPE_VBI_OUTPUT``
441 314 - 5
442 - 2 315 - Buffer of a raw VBI output stream, see :ref:`raw-vbi`.
443 316 * - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
444 - Buffer of a single-planar video output stream, see 317 - 6
445 :ref:`output`. 318 - Buffer of a sliced VBI capture stream, see :ref:`sliced`.
446 319 * - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
447 - .. row 4 320 - 7
448 321 - Buffer of a sliced VBI output stream, see :ref:`sliced`.
449 - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` 322 * - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY``
450 323 - 8
451 - 10 324 - Buffer for video output overlay (OSD), see :ref:`osd`.
452 325 * - ``V4L2_BUF_TYPE_SDR_CAPTURE``
453 - Buffer of a multi-planar video output stream, see :ref:`output`. 326 - 11
454 327 - Buffer for Software Defined Radio (SDR) capture stream, see
455 - .. row 5 328 :ref:`sdr`.
456 329 * - ``V4L2_BUF_TYPE_SDR_OUTPUT``
457 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY`` 330 - 12
458 331 - Buffer for Software Defined Radio (SDR) output stream, see
459 - 3 332 :ref:`sdr`.
460
461 - Buffer for video overlay, see :ref:`overlay`.
462
463 - .. row 6
464
465 - ``V4L2_BUF_TYPE_VBI_CAPTURE``
466
467 - 4
468
469 - Buffer of a raw VBI capture stream, see :ref:`raw-vbi`.
470
471 - .. row 7
472
473 - ``V4L2_BUF_TYPE_VBI_OUTPUT``
474
475 - 5
476
477 - Buffer of a raw VBI output stream, see :ref:`raw-vbi`.
478
479 - .. row 8
480
481 - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
482
483 - 6
484
485 - Buffer of a sliced VBI capture stream, see :ref:`sliced`.
486
487 - .. row 9
488
489 - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
490
491 - 7
492
493 - Buffer of a sliced VBI output stream, see :ref:`sliced`.
494
495 - .. row 10
496
497 - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY``
498
499 - 8
500
501 - Buffer for video output overlay (OSD), see :ref:`osd`.
502
503 - .. row 11
504
505 - ``V4L2_BUF_TYPE_SDR_CAPTURE``
506
507 - 11
508
509 - Buffer for Software Defined Radio (SDR) capture stream, see
510 :ref:`sdr`.
511
512 - .. row 12
513
514 - ``V4L2_BUF_TYPE_SDR_OUTPUT``
515
516 - 12
517
518 - Buffer for Software Defined Radio (SDR) output stream, see
519 :ref:`sdr`.
520 333
521 334
522 335
@@ -534,242 +347,185 @@ Buffer Flags
534 :stub-columns: 0 347 :stub-columns: 0
535 :widths: 3 1 4 348 :widths: 3 1 4
536 349
537 350 * .. _`V4L2-BUF-FLAG-MAPPED`:
538 - .. _`V4L2-BUF-FLAG-MAPPED`: 351
539 352 - ``V4L2_BUF_FLAG_MAPPED``
540 - ``V4L2_BUF_FLAG_MAPPED`` 353 - 0x00000001
541 354 - The buffer resides in device memory and has been mapped into the
542 - 0x00000001 355 application's address space, see :ref:`mmap` for details.
543 356 Drivers set or clear this flag when the
544 - The buffer resides in device memory and has been mapped into the 357 :ref:`VIDIOC_QUERYBUF`,
545 application's address space, see :ref:`mmap` for details. 358 :ref:`VIDIOC_QBUF` or
546 Drivers set or clear this flag when the 359 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. Set by the
547 :ref:`VIDIOC_QUERYBUF`, 360 driver.
548 :ref:`VIDIOC_QBUF` or 361 * .. _`V4L2-BUF-FLAG-QUEUED`:
549 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. Set by the 362
550 driver. 363 - ``V4L2_BUF_FLAG_QUEUED``
551 364 - 0x00000002
552 - .. _`V4L2-BUF-FLAG-QUEUED`: 365 - Internally drivers maintain two buffer queues, an incoming and
553 366 outgoing queue. When this flag is set, the buffer is currently on
554 - ``V4L2_BUF_FLAG_QUEUED`` 367 the incoming queue. It automatically moves to the outgoing queue
555 368 after the buffer has been filled (capture devices) or displayed
556 - 0x00000002 369 (output devices). Drivers set or clear this flag when the
557 370 ``VIDIOC_QUERYBUF`` ioctl is called. After (successful) calling
558 - Internally drivers maintain two buffer queues, an incoming and 371 the ``VIDIOC_QBUF``\ ioctl it is always set and after
559 outgoing queue. When this flag is set, the buffer is currently on 372 ``VIDIOC_DQBUF`` always cleared.
560 the incoming queue. It automatically moves to the outgoing queue 373 * .. _`V4L2-BUF-FLAG-DONE`:
561 after the buffer has been filled (capture devices) or displayed 374
562 (output devices). Drivers set or clear this flag when the 375 - ``V4L2_BUF_FLAG_DONE``
563 ``VIDIOC_QUERYBUF`` ioctl is called. After (successful) calling 376 - 0x00000004
564 the ``VIDIOC_QBUF``\ ioctl it is always set and after 377 - When this flag is set, the buffer is currently on the outgoing
565 ``VIDIOC_DQBUF`` always cleared. 378 queue, ready to be dequeued from the driver. Drivers set or clear
566 379 this flag when the ``VIDIOC_QUERYBUF`` ioctl is called. After
567 - .. _`V4L2-BUF-FLAG-DONE`: 380 calling the ``VIDIOC_QBUF`` or ``VIDIOC_DQBUF`` it is always
568 381 cleared. Of course a buffer cannot be on both queues at the same
569 - ``V4L2_BUF_FLAG_DONE`` 382 time, the ``V4L2_BUF_FLAG_QUEUED`` and ``V4L2_BUF_FLAG_DONE`` flag
570 383 are mutually exclusive. They can be both cleared however, then the
571 - 0x00000004 384 buffer is in "dequeued" state, in the application domain so to
572 385 say.
573 - When this flag is set, the buffer is currently on the outgoing 386 * .. _`V4L2-BUF-FLAG-ERROR`:
574 queue, ready to be dequeued from the driver. Drivers set or clear 387
575 this flag when the ``VIDIOC_QUERYBUF`` ioctl is called. After 388 - ``V4L2_BUF_FLAG_ERROR``
576 calling the ``VIDIOC_QBUF`` or ``VIDIOC_DQBUF`` it is always 389 - 0x00000040
577 cleared. Of course a buffer cannot be on both queues at the same 390 - When this flag is set, the buffer has been dequeued successfully,
578 time, the ``V4L2_BUF_FLAG_QUEUED`` and ``V4L2_BUF_FLAG_DONE`` flag 391 although the data might have been corrupted. This is recoverable,
579 are mutually exclusive. They can be both cleared however, then the 392 streaming may continue as normal and the buffer may be reused
580 buffer is in "dequeued" state, in the application domain so to 393 normally. Drivers set this flag when the ``VIDIOC_DQBUF`` ioctl is
581 say. 394 called.
582 395 * .. _`V4L2-BUF-FLAG-KEYFRAME`:
583 - .. _`V4L2-BUF-FLAG-ERROR`: 396
584 397 - ``V4L2_BUF_FLAG_KEYFRAME``
585 - ``V4L2_BUF_FLAG_ERROR`` 398 - 0x00000008
586 399 - Drivers set or clear this flag when calling the ``VIDIOC_DQBUF``
587 - 0x00000040 400 ioctl. It may be set by video capture devices when the buffer
588 401 contains a compressed image which is a key frame (or field), i. e.
589 - When this flag is set, the buffer has been dequeued successfully, 402 can be decompressed on its own. Also known as an I-frame.
590 although the data might have been corrupted. This is recoverable, 403 Applications can set this bit when ``type`` refers to an output
591 streaming may continue as normal and the buffer may be reused 404 stream.
592 normally. Drivers set this flag when the ``VIDIOC_DQBUF`` ioctl is 405 * .. _`V4L2-BUF-FLAG-PFRAME`:
593 called. 406
594 407 - ``V4L2_BUF_FLAG_PFRAME``
595 - .. _`V4L2-BUF-FLAG-KEYFRAME`: 408 - 0x00000010
596 409 - Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags predicted frames
597 - ``V4L2_BUF_FLAG_KEYFRAME`` 410 or fields which contain only differences to a previous key frame.
598 411 Applications can set this bit when ``type`` refers to an output
599 - 0x00000008 412 stream.
600 413 * .. _`V4L2-BUF-FLAG-BFRAME`:
601 - Drivers set or clear this flag when calling the ``VIDIOC_DQBUF`` 414
602 ioctl. It may be set by video capture devices when the buffer 415 - ``V4L2_BUF_FLAG_BFRAME``
603 contains a compressed image which is a key frame (or field), i. e. 416 - 0x00000020
604 can be decompressed on its own. Also known as an I-frame. 417 - Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags a bi-directional
605 Applications can set this bit when ``type`` refers to an output 418 predicted frame or field which contains only the differences
606 stream. 419 between the current frame and both the preceding and following key
607 420 frames to specify its content. Applications can set this bit when
608 - .. _`V4L2-BUF-FLAG-PFRAME`: 421 ``type`` refers to an output stream.
609 422 * .. _`V4L2-BUF-FLAG-TIMECODE`:
610 - ``V4L2_BUF_FLAG_PFRAME`` 423
611 424 - ``V4L2_BUF_FLAG_TIMECODE``
612 - 0x00000010 425 - 0x00000100
613 426 - The ``timecode`` field is valid. Drivers set or clear this flag
614 - Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags predicted frames 427 when the ``VIDIOC_DQBUF`` ioctl is called. Applications can set
615 or fields which contain only differences to a previous key frame. 428 this bit and the corresponding ``timecode`` structure when
616 Applications can set this bit when ``type`` refers to an output 429 ``type`` refers to an output stream.
617 stream. 430 * .. _`V4L2-BUF-FLAG-PREPARED`:
618 431
619 - .. _`V4L2-BUF-FLAG-BFRAME`: 432 - ``V4L2_BUF_FLAG_PREPARED``
620 433 - 0x00000400
621 - ``V4L2_BUF_FLAG_BFRAME`` 434 - The buffer has been prepared for I/O and can be queued by the
622 435 application. Drivers set or clear this flag when the
623 - 0x00000020 436 :ref:`VIDIOC_QUERYBUF`,
624 437 :ref:`VIDIOC_PREPARE_BUF <VIDIOC_QBUF>`,
625 - Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags a bi-directional 438 :ref:`VIDIOC_QBUF` or
626 predicted frame or field which contains only the differences 439 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called.
627 between the current frame and both the preceding and following key 440 * .. _`V4L2-BUF-FLAG-NO-CACHE-INVALIDATE`:
628 frames to specify its content. Applications can set this bit when 441
629 ``type`` refers to an output stream. 442 - ``V4L2_BUF_FLAG_NO_CACHE_INVALIDATE``
630 443 - 0x00000800
631 - .. _`V4L2-BUF-FLAG-TIMECODE`: 444 - Caches do not have to be invalidated for this buffer. Typically
632 445 applications shall use this flag if the data captured in the
633 - ``V4L2_BUF_FLAG_TIMECODE`` 446 buffer is not going to be touched by the CPU, instead the buffer
634 447 will, probably, be passed on to a DMA-capable hardware unit for
635 - 0x00000100 448 further processing or output.
636 449 * .. _`V4L2-BUF-FLAG-NO-CACHE-CLEAN`:
637 - The ``timecode`` field is valid. Drivers set or clear this flag 450
638 when the ``VIDIOC_DQBUF`` ioctl is called. Applications can set 451 - ``V4L2_BUF_FLAG_NO_CACHE_CLEAN``
639 this bit and the corresponding ``timecode`` structure when 452 - 0x00001000
640 ``type`` refers to an output stream. 453 - Caches do not have to be cleaned for this buffer. Typically
641 454 applications shall use this flag for output buffers if the data in
642 - .. _`V4L2-BUF-FLAG-PREPARED`: 455 this buffer has not been created by the CPU but by some
643 456 DMA-capable unit, in which case caches have not been used.
644 - ``V4L2_BUF_FLAG_PREPARED`` 457 * .. _`V4L2-BUF-FLAG-LAST`:
645 458
646 - 0x00000400 459 - ``V4L2_BUF_FLAG_LAST``
647 460 - 0x00100000
648 - The buffer has been prepared for I/O and can be queued by the 461 - Last buffer produced by the hardware. mem2mem codec drivers set
649 application. Drivers set or clear this flag when the 462 this flag on the capture queue for the last buffer when the
650 :ref:`VIDIOC_QUERYBUF`, 463 :ref:`VIDIOC_QUERYBUF` or
651 :ref:`VIDIOC_PREPARE_BUF <VIDIOC_QBUF>`, 464 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. Due to
652 :ref:`VIDIOC_QBUF` or 465 hardware limitations, the last buffer may be empty. In this case
653 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. 466 the driver will set the ``bytesused`` field to 0, regardless of
654 467 the format. Any Any subsequent call to the
655 - .. _`V4L2-BUF-FLAG-NO-CACHE-INVALIDATE`: 468 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
656 469 but return an ``EPIPE`` error code.
657 - ``V4L2_BUF_FLAG_NO_CACHE_INVALIDATE`` 470 * .. _`V4L2-BUF-FLAG-TIMESTAMP-MASK`:
658 471
659 - 0x00000800 472 - ``V4L2_BUF_FLAG_TIMESTAMP_MASK``
660 473 - 0x0000e000
661 - Caches do not have to be invalidated for this buffer. Typically 474 - Mask for timestamp types below. To test the timestamp type, mask
662 applications shall use this flag if the data captured in the 475 out bits not belonging to timestamp type by performing a logical
663 buffer is not going to be touched by the CPU, instead the buffer 476 and operation with buffer flags and timestamp mask.
664 will, probably, be passed on to a DMA-capable hardware unit for 477 * .. _`V4L2-BUF-FLAG-TIMESTAMP-UNKNOWN`:
665 further processing or output. 478
666 479 - ``V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN``
667 - .. _`V4L2-BUF-FLAG-NO-CACHE-CLEAN`: 480 - 0x00000000
668 481 - Unknown timestamp type. This type is used by drivers before Linux
669 - ``V4L2_BUF_FLAG_NO_CACHE_CLEAN`` 482 3.9 and may be either monotonic (see below) or realtime (wall
670 483 clock). Monotonic clock has been favoured in embedded systems
671 - 0x00001000 484 whereas most of the drivers use the realtime clock. Either kinds
672 485 of timestamps are available in user space via
673 - Caches do not have to be cleaned for this buffer. Typically 486 :c:func:`clock_gettime` using clock IDs ``CLOCK_MONOTONIC``
674 applications shall use this flag for output buffers if the data in 487 and ``CLOCK_REALTIME``, respectively.
675 this buffer has not been created by the CPU but by some 488 * .. _`V4L2-BUF-FLAG-TIMESTAMP-MONOTONIC`:
676 DMA-capable unit, in which case caches have not been used. 489
677 490 - ``V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC``
678 - .. _`V4L2-BUF-FLAG-LAST`: 491 - 0x00002000
679 492 - The buffer timestamp has been taken from the ``CLOCK_MONOTONIC``
680 - ``V4L2_BUF_FLAG_LAST`` 493 clock. To access the same clock outside V4L2, use
681 494 :c:func:`clock_gettime`.
682 - 0x00100000 495 * .. _`V4L2-BUF-FLAG-TIMESTAMP-COPY`:
683 496
684 - Last buffer produced by the hardware. mem2mem codec drivers set 497 - ``V4L2_BUF_FLAG_TIMESTAMP_COPY``
685 this flag on the capture queue for the last buffer when the 498 - 0x00004000
686 :ref:`VIDIOC_QUERYBUF` or 499 - The CAPTURE buffer timestamp has been taken from the corresponding
687 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. Due to 500 OUTPUT buffer. This flag applies only to mem2mem devices.
688 hardware limitations, the last buffer may be empty. In this case 501 * .. _`V4L2-BUF-FLAG-TSTAMP-SRC-MASK`:
689 the driver will set the ``bytesused`` field to 0, regardless of 502
690 the format. Any Any subsequent call to the 503 - ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK``
691 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore, 504 - 0x00070000
692 but return an ``EPIPE`` error code. 505 - Mask for timestamp sources below. The timestamp source defines the
693 506 point of time the timestamp is taken in relation to the frame.
694 - .. _`V4L2-BUF-FLAG-TIMESTAMP-MASK`: 507 Logical 'and' operation between the ``flags`` field and
695 508 ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK`` produces the value of the
696 - ``V4L2_BUF_FLAG_TIMESTAMP_MASK`` 509 timestamp source. Applications must set the timestamp source when
697 510 ``type`` refers to an output stream and
698 - 0x0000e000 511 ``V4L2_BUF_FLAG_TIMESTAMP_COPY`` is set.
699 512 * .. _`V4L2-BUF-FLAG-TSTAMP-SRC-EOF`:
700 - Mask for timestamp types below. To test the timestamp type, mask 513
701 out bits not belonging to timestamp type by performing a logical 514 - ``V4L2_BUF_FLAG_TSTAMP_SRC_EOF``
702 and operation with buffer flags and timestamp mask. 515 - 0x00000000
703 516 - End Of Frame. The buffer timestamp has been taken when the last
704 - .. _`V4L2-BUF-FLAG-TIMESTAMP-UNKNOWN`: 517 pixel of the frame has been received or the last pixel of the
705 518 frame has been transmitted. In practice, software generated
706 - ``V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN`` 519 timestamps will typically be read from the clock a small amount of
707 520 time after the last pixel has been received or transmitten,
708 - 0x00000000 521 depending on the system and other activity in it.
709 522 * .. _`V4L2-BUF-FLAG-TSTAMP-SRC-SOE`:
710 - Unknown timestamp type. This type is used by drivers before Linux 523
711 3.9 and may be either monotonic (see below) or realtime (wall 524 - ``V4L2_BUF_FLAG_TSTAMP_SRC_SOE``
712 clock). Monotonic clock has been favoured in embedded systems 525 - 0x00010000
713 whereas most of the drivers use the realtime clock. Either kinds 526 - Start Of Exposure. The buffer timestamp has been taken when the
714 of timestamps are available in user space via 527 exposure of the frame has begun. This is only valid for the
715 :c:func:`clock_gettime` using clock IDs ``CLOCK_MONOTONIC`` 528 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` buffer type.
716 and ``CLOCK_REALTIME``, respectively.
717
718 - .. _`V4L2-BUF-FLAG-TIMESTAMP-MONOTONIC`:
719
720 - ``V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC``
721
722 - 0x00002000
723
724 - The buffer timestamp has been taken from the ``CLOCK_MONOTONIC``
725 clock. To access the same clock outside V4L2, use
726 :c:func:`clock_gettime`.
727
728 - .. _`V4L2-BUF-FLAG-TIMESTAMP-COPY`:
729
730 - ``V4L2_BUF_FLAG_TIMESTAMP_COPY``
731
732 - 0x00004000
733
734 - The CAPTURE buffer timestamp has been taken from the corresponding
735 OUTPUT buffer. This flag applies only to mem2mem devices.
736
737 - .. _`V4L2-BUF-FLAG-TSTAMP-SRC-MASK`:
738
739 - ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK``
740
741 - 0x00070000
742
743 - Mask for timestamp sources below. The timestamp source defines the
744 point of time the timestamp is taken in relation to the frame.
745 Logical 'and' operation between the ``flags`` field and
746 ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK`` produces the value of the
747 timestamp source. Applications must set the timestamp source when
748 ``type`` refers to an output stream and
749 ``V4L2_BUF_FLAG_TIMESTAMP_COPY`` is set.
750
751 - .. _`V4L2-BUF-FLAG-TSTAMP-SRC-EOF`:
752
753 - ``V4L2_BUF_FLAG_TSTAMP_SRC_EOF``
754
755 - 0x00000000
756
757 - End Of Frame. The buffer timestamp has been taken when the last
758 pixel of the frame has been received or the last pixel of the
759 frame has been transmitted. In practice, software generated
760 timestamps will typically be read from the clock a small amount of
761 time after the last pixel has been received or transmitten,
762 depending on the system and other activity in it.
763
764 - .. _`V4L2-BUF-FLAG-TSTAMP-SRC-SOE`:
765
766 - ``V4L2_BUF_FLAG_TSTAMP_SRC_SOE``
767
768 - 0x00010000
769
770 - Start Of Exposure. The buffer timestamp has been taken when the
771 exposure of the frame has begun. This is only valid for the
772 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` buffer type.
773 529
774 530
775 531
@@ -785,38 +541,18 @@ enum v4l2_memory
785 :stub-columns: 0 541 :stub-columns: 0
786 :widths: 3 1 4 542 :widths: 3 1 4
787 543
788 544 * - ``V4L2_MEMORY_MMAP``
789 - .. row 1 545 - 1
790 546 - The buffer is used for :ref:`memory mapping <mmap>` I/O.
791 - ``V4L2_MEMORY_MMAP`` 547 * - ``V4L2_MEMORY_USERPTR``
792 548 - 2
793 - 1 549 - The buffer is used for :ref:`user pointer <userp>` I/O.
794 550 * - ``V4L2_MEMORY_OVERLAY``
795 - The buffer is used for :ref:`memory mapping <mmap>` I/O. 551 - 3
796 552 - [to do]
797 - .. row 2 553 * - ``V4L2_MEMORY_DMABUF``
798 554 - 4
799 - ``V4L2_MEMORY_USERPTR`` 555 - The buffer is used for :ref:`DMA shared buffer <dmabuf>` I/O.
800
801 - 2
802
803 - The buffer is used for :ref:`user pointer <userp>` I/O.
804
805 - .. row 3
806
807 - ``V4L2_MEMORY_OVERLAY``
808
809 - 3
810
811 - [to do]
812
813 - .. row 4
814
815 - ``V4L2_MEMORY_DMABUF``
816
817 - 4
818
819 - The buffer is used for :ref:`DMA shared buffer <dmabuf>` I/O.
820 556
821 557
822 558
@@ -841,63 +577,28 @@ struct v4l2_timecode
841 :stub-columns: 0 577 :stub-columns: 0
842 :widths: 1 1 2 578 :widths: 1 1 2
843 579
844 580 * - __u32
845 - .. row 1 581 - ``type``
846 582 - Frame rate the timecodes are based on, see :ref:`timecode-type`.
847 - __u32 583 * - __u32
848 584 - ``flags``
849 - ``type`` 585 - Timecode flags, see :ref:`timecode-flags`.
850 586 * - __u8
851 - Frame rate the timecodes are based on, see :ref:`timecode-type`. 587 - ``frames``
852 588 - Frame count, 0 ... 23/24/29/49/59, depending on the type of
853 - .. row 2 589 timecode.
854 590 * - __u8
855 - __u32 591 - ``seconds``
856 592 - Seconds count, 0 ... 59. This is a binary, not BCD number.
857 - ``flags`` 593 * - __u8
858 594 - ``minutes``
859 - Timecode flags, see :ref:`timecode-flags`. 595 - Minutes count, 0 ... 59. This is a binary, not BCD number.
860 596 * - __u8
861 - .. row 3 597 - ``hours``
862 598 - Hours count, 0 ... 29. This is a binary, not BCD number.
863 - __u8 599 * - __u8
864 600 - ``userbits``\ [4]
865 - ``frames`` 601 - The "user group" bits from the timecode.
866
867 - Frame count, 0 ... 23/24/29/49/59, depending on the type of
868 timecode.
869
870 - .. row 4
871
872 - __u8
873
874 - ``seconds``
875
876 - Seconds count, 0 ... 59. This is a binary, not BCD number.
877
878 - .. row 5
879
880 - __u8
881
882 - ``minutes``
883
884 - Minutes count, 0 ... 59. This is a binary, not BCD number.
885
886 - .. row 6
887
888 - __u8
889
890 - ``hours``
891
892 - Hours count, 0 ... 29. This is a binary, not BCD number.
893
894 - .. row 7
895
896 - __u8
897
898 - ``userbits``\ [4]
899
900 - The "user group" bits from the timecode.
901 602
902 603
903 604
@@ -913,46 +614,21 @@ Timecode Types
913 :stub-columns: 0 614 :stub-columns: 0
914 :widths: 3 1 4 615 :widths: 3 1 4
915 616
916 617 * - ``V4L2_TC_TYPE_24FPS``
917 - .. row 1 618 - 1
918 619 - 24 frames per second, i. e. film.
919 - ``V4L2_TC_TYPE_24FPS`` 620 * - ``V4L2_TC_TYPE_25FPS``
920 621 - 2
921 - 1 622 - 25 frames per second, i. e. PAL or SECAM video.
922 623 * - ``V4L2_TC_TYPE_30FPS``
923 - 24 frames per second, i. e. film. 624 - 3
924 625 - 30 frames per second, i. e. NTSC video.
925 - .. row 2 626 * - ``V4L2_TC_TYPE_50FPS``
926 627 - 4
927 - ``V4L2_TC_TYPE_25FPS`` 628 -
928 629 * - ``V4L2_TC_TYPE_60FPS``
929 - 2 630 - 5
930 631 -
931 - 25 frames per second, i. e. PAL or SECAM video.
932
933 - .. row 3
934
935 - ``V4L2_TC_TYPE_30FPS``
936
937 - 3
938
939 - 30 frames per second, i. e. NTSC video.
940
941 - .. row 4
942
943 - ``V4L2_TC_TYPE_50FPS``
944
945 - 4
946
947 -
948
949 - .. row 5
950
951 - ``V4L2_TC_TYPE_60FPS``
952
953 - 5
954
955 -
956 632
957 633
958 634
@@ -968,46 +644,21 @@ Timecode Flags
968 :stub-columns: 0 644 :stub-columns: 0
969 :widths: 3 1 4 645 :widths: 3 1 4
970 646
971 647 * - ``V4L2_TC_FLAG_DROPFRAME``
972 - .. row 1 648 - 0x0001
973 649 - Indicates "drop frame" semantics for counting frames in 29.97 fps
974 - ``V4L2_TC_FLAG_DROPFRAME`` 650 material. When set, frame numbers 0 and 1 at the start of each
975 651 minute, except minutes 0, 10, 20, 30, 40, 50 are omitted from the
976 - 0x0001 652 count.
977 653 * - ``V4L2_TC_FLAG_COLORFRAME``
978 - Indicates "drop frame" semantics for counting frames in 29.97 fps 654 - 0x0002
979 material. When set, frame numbers 0 and 1 at the start of each 655 - The "color frame" flag.
980 minute, except minutes 0, 10, 20, 30, 40, 50 are omitted from the 656 * - ``V4L2_TC_USERBITS_field``
981 count. 657 - 0x000C
982 658 - Field mask for the "binary group flags".
983 - .. row 2 659 * - ``V4L2_TC_USERBITS_USERDEFINED``
984 660 - 0x0000
985 - ``V4L2_TC_FLAG_COLORFRAME`` 661 - Unspecified format.
986 662 * - ``V4L2_TC_USERBITS_8BITCHARS``
987 - 0x0002 663 - 0x0008
988 664 - 8-bit ISO characters.
989 - The "color frame" flag.
990
991 - .. row 3
992
993 - ``V4L2_TC_USERBITS_field``
994
995 - 0x000C
996
997 - Field mask for the "binary group flags".
998
999 - .. row 4
1000
1001 - ``V4L2_TC_USERBITS_USERDEFINED``
1002
1003 - 0x0000
1004
1005 - Unspecified format.
1006
1007 - .. row 5
1008
1009 - ``V4L2_TC_USERBITS_8BITCHARS``
1010
1011 - 0x0008
1012
1013 - 8-bit ISO characters.
diff --git a/Documentation/media/uapi/v4l/control.rst b/Documentation/media/uapi/v4l/control.rst
index e881cd1f30d6..d3f1450c4b08 100644
--- a/Documentation/media/uapi/v4l/control.rst
+++ b/Documentation/media/uapi/v4l/control.rst
@@ -198,104 +198,41 @@ Control IDs
198 :stub-columns: 0 198 :stub-columns: 0
199 :widths: 11 24 199 :widths: 11 24
200 200
201 - .. row 1 201 * - ``V4L2_COLORFX_NONE``
202 202 - Color effect is disabled.
203 - ``V4L2_COLORFX_NONE`` 203 * - ``V4L2_COLORFX_ANTIQUE``
204 204 - An aging (old photo) effect.
205 - Color effect is disabled. 205 * - ``V4L2_COLORFX_ART_FREEZE``
206 206 - Frost color effect.
207 - .. row 2 207 * - ``V4L2_COLORFX_AQUA``
208 208 - Water color, cool tone.
209 - ``V4L2_COLORFX_ANTIQUE`` 209 * - ``V4L2_COLORFX_BW``
210 210 - Black and white.
211 - An aging (old photo) effect. 211 * - ``V4L2_COLORFX_EMBOSS``
212 212 - Emboss, the highlights and shadows replace light/dark boundaries
213 - .. row 3 213 and low contrast areas are set to a gray background.
214 214 * - ``V4L2_COLORFX_GRASS_GREEN``
215 - ``V4L2_COLORFX_ART_FREEZE`` 215 - Grass green.
216 216 * - ``V4L2_COLORFX_NEGATIVE``
217 - Frost color effect. 217 - Negative.
218 218 * - ``V4L2_COLORFX_SEPIA``
219 - .. row 4 219 - Sepia tone.
220 220 * - ``V4L2_COLORFX_SKETCH``
221 - ``V4L2_COLORFX_AQUA`` 221 - Sketch.
222 222 * - ``V4L2_COLORFX_SKIN_WHITEN``
223 - Water color, cool tone. 223 - Skin whiten.
224 224 * - ``V4L2_COLORFX_SKY_BLUE``
225 - .. row 5 225 - Sky blue.
226 226 * - ``V4L2_COLORFX_SOLARIZATION``
227 - ``V4L2_COLORFX_BW`` 227 - Solarization, the image is partially reversed in tone, only color
228 228 values above or below a certain threshold are inverted.
229 - Black and white. 229 * - ``V4L2_COLORFX_SILHOUETTE``
230 230 - Silhouette (outline).
231 - .. row 6 231 * - ``V4L2_COLORFX_VIVID``
232 232 - Vivid colors.
233 - ``V4L2_COLORFX_EMBOSS`` 233 * - ``V4L2_COLORFX_SET_CBCR``
234 234 - The Cb and Cr chroma components are replaced by fixed coefficients
235 - Emboss, the highlights and shadows replace light/dark boundaries 235 determined by ``V4L2_CID_COLORFX_CBCR`` control.
236 and low contrast areas are set to a gray background.
237
238 - .. row 7
239
240 - ``V4L2_COLORFX_GRASS_GREEN``
241
242 - Grass green.
243
244 - .. row 8
245
246 - ``V4L2_COLORFX_NEGATIVE``
247
248 - Negative.
249
250 - .. row 9
251
252 - ``V4L2_COLORFX_SEPIA``
253
254 - Sepia tone.
255
256 - .. row 10
257
258 - ``V4L2_COLORFX_SKETCH``
259
260 - Sketch.
261
262 - .. row 11
263
264 - ``V4L2_COLORFX_SKIN_WHITEN``
265
266 - Skin whiten.
267
268 - .. row 12
269
270 - ``V4L2_COLORFX_SKY_BLUE``
271
272 - Sky blue.
273
274 - .. row 13
275
276 - ``V4L2_COLORFX_SOLARIZATION``
277
278 - Solarization, the image is partially reversed in tone, only color
279 values above or below a certain threshold are inverted.
280
281 - .. row 14
282
283 - ``V4L2_COLORFX_SILHOUETTE``
284
285 - Silhouette (outline).
286
287 - .. row 15
288
289 - ``V4L2_COLORFX_VIVID``
290
291 - Vivid colors.
292
293 - .. row 16
294
295 - ``V4L2_COLORFX_SET_CBCR``
296
297 - The Cb and Cr chroma components are replaced by fixed coefficients
298 determined by ``V4L2_CID_COLORFX_CBCR`` control.
299 236
300 237
301 238
diff --git a/Documentation/media/uapi/v4l/dev-raw-vbi.rst b/Documentation/media/uapi/v4l/dev-raw-vbi.rst
index 26ec24a94103..b82d837e4ff1 100644
--- a/Documentation/media/uapi/v4l/dev-raw-vbi.rst
+++ b/Documentation/media/uapi/v4l/dev-raw-vbi.rst
@@ -110,120 +110,77 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
110 :stub-columns: 0 110 :stub-columns: 0
111 :widths: 1 1 2 111 :widths: 1 1 2
112 112
113 113 * - __u32
114 - .. row 1 114 - ``sampling_rate``
115 115 - Samples per second, i. e. unit 1 Hz.
116 - __u32 116 * - __u32
117 117 - ``offset``
118 - ``sampling_rate`` 118 - Horizontal offset of the VBI image, relative to the leading edge
119 119 of the line synchronization pulse and counted in samples: The
120 - Samples per second, i. e. unit 1 Hz. 120 first sample in the VBI image will be located ``offset`` /
121 121 ``sampling_rate`` seconds following the leading edge. See also
122 - .. row 2 122 :ref:`vbi-hsync`.
123 123 * - __u32
124 - __u32 124 - ``samples_per_line``
125 125 -
126 - ``offset`` 126 * - __u32
127 127 - ``sample_format``
128 - Horizontal offset of the VBI image, relative to the leading edge 128 - Defines the sample format as in :ref:`pixfmt`, a
129 of the line synchronization pulse and counted in samples: The 129 four-character-code. [#f2]_ Usually this is ``V4L2_PIX_FMT_GREY``,
130 first sample in the VBI image will be located ``offset`` / 130 i. e. each sample consists of 8 bits with lower values oriented
131 ``sampling_rate`` seconds following the leading edge. See also 131 towards the black level. Do not assume any other correlation of
132 :ref:`vbi-hsync`. 132 values with the signal level. For example, the MSB does not
133 133 necessarily indicate if the signal is 'high' or 'low' because 128
134 - .. row 3 134 may not be the mean value of the signal. Drivers shall not convert
135 135 the sample format by software.
136 - __u32 136 * - __u32
137 137 - ``start``\ [#f2]_
138 - ``samples_per_line`` 138 - This is the scanning system line number associated with the first
139 139 line of the VBI image, of the first and the second field
140 - 140 respectively. See :ref:`vbi-525` and :ref:`vbi-625` for valid
141 141 values. The ``V4L2_VBI_ITU_525_F1_START``,
142 - .. row 4 142 ``V4L2_VBI_ITU_525_F2_START``, ``V4L2_VBI_ITU_625_F1_START`` and
143 143 ``V4L2_VBI_ITU_625_F2_START`` defines give the start line numbers
144 - __u32 144 for each field for each 525 or 625 line format as a convenience.
145 145 Don't forget that ITU line numbering starts at 1, not 0. VBI input
146 - ``sample_format`` 146 drivers can return start values 0 if the hardware cannot reliable
147 147 identify scanning lines, VBI acquisition may not require this
148 - Defines the sample format as in :ref:`pixfmt`, a 148 information.
149 four-character-code. [#f2]_ Usually this is ``V4L2_PIX_FMT_GREY``, 149 * - __u32
150 i. e. each sample consists of 8 bits with lower values oriented 150 - ``count``\ [#f2]_
151 towards the black level. Do not assume any other correlation of 151 - The number of lines in the first and second field image,
152 values with the signal level. For example, the MSB does not 152 respectively.
153 necessarily indicate if the signal is 'high' or 'low' because 128 153 * - :cspan:`2`
154 may not be the mean value of the signal. Drivers shall not convert 154
155 the sample format by software. 155 Drivers should be as flexibility as possible. For example, it may
156 156 be possible to extend or move the VBI capture window down to the
157 - .. row 5 157 picture area, implementing a 'full field mode' to capture data
158 158 service transmissions embedded in the picture.
159 - __u32 159
160 160 An application can set the first or second ``count`` value to zero
161 - ``start``\ [#f2]_ 161 if no data is required from the respective field; ``count``\ [1]
162 162 if the scanning system is progressive, i. e. not interlaced. The
163 - This is the scanning system line number associated with the first 163 corresponding start value shall be ignored by the application and
164 line of the VBI image, of the first and the second field 164 driver. Anyway, drivers may not support single field capturing and
165 respectively. See :ref:`vbi-525` and :ref:`vbi-625` for valid 165 return both count values non-zero.
166 values. The ``V4L2_VBI_ITU_525_F1_START``, 166
167 ``V4L2_VBI_ITU_525_F2_START``, ``V4L2_VBI_ITU_625_F1_START`` and 167 Both ``count`` values set to zero, or line numbers are outside the
168 ``V4L2_VBI_ITU_625_F2_START`` defines give the start line numbers 168 bounds depicted\ [#f4]_, or a field image covering lines of two
169 for each field for each 525 or 625 line format as a convenience. 169 fields, are invalid and shall not be returned by the driver.
170 Don't forget that ITU line numbering starts at 1, not 0. VBI input 170
171 drivers can return start values 0 if the hardware cannot reliable 171 To initialize the ``start`` and ``count`` fields, applications
172 identify scanning lines, VBI acquisition may not require this 172 must first determine the current video standard selection. The
173 information. 173 :ref:`v4l2_std_id <v4l2-std-id>` or the ``framelines`` field
174 174 of struct :c:type:`v4l2_standard` can be evaluated
175 - .. row 6 175 for this purpose.
176 176 * - __u32
177 - __u32 177 - ``flags``
178 178 - See :ref:`vbifmt-flags` below. Currently only drivers set flags,
179 - ``count``\ [#f2]_ 179 applications must set this field to zero.
180 180 * - __u32
181 - The number of lines in the first and second field image, 181 - ``reserved``\ [#f2]_
182 respectively. 182 - This array is reserved for future extensions. Drivers and
183 183 applications must set it to zero.
184 - .. row 7
185
186 - :cspan:`2`
187
188 Drivers should be as flexibility as possible. For example, it may
189 be possible to extend or move the VBI capture window down to the
190 picture area, implementing a 'full field mode' to capture data
191 service transmissions embedded in the picture.
192
193 An application can set the first or second ``count`` value to zero
194 if no data is required from the respective field; ``count``\ [1]
195 if the scanning system is progressive, i. e. not interlaced. The
196 corresponding start value shall be ignored by the application and
197 driver. Anyway, drivers may not support single field capturing and
198 return both count values non-zero.
199
200 Both ``count`` values set to zero, or line numbers are outside the
201 bounds depicted\ [#f4]_, or a field image covering lines of two
202 fields, are invalid and shall not be returned by the driver.
203
204 To initialize the ``start`` and ``count`` fields, applications
205 must first determine the current video standard selection. The
206 :ref:`v4l2_std_id <v4l2-std-id>` or the ``framelines`` field
207 of struct :c:type:`v4l2_standard` can be evaluated
208 for this purpose.
209
210 - .. row 8
211
212 - __u32
213
214 - ``flags``
215
216 - See :ref:`vbifmt-flags` below. Currently only drivers set flags,
217 applications must set this field to zero.
218
219 - .. row 9
220
221 - __u32
222
223 - ``reserved``\ [#f2]_
224
225 - This array is reserved for future extensions. Drivers and
226 applications must set it to zero.
227 184
228 185
229.. tabularcolumns:: |p{4.0cm}|p{1.5cm}|p{12.0cm}| 186.. tabularcolumns:: |p{4.0cm}|p{1.5cm}|p{12.0cm}|
@@ -235,40 +192,30 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
235 :stub-columns: 0 192 :stub-columns: 0
236 :widths: 3 1 4 193 :widths: 3 1 4
237 194
238 195 * - ``V4L2_VBI_UNSYNC``
239 - .. row 1 196 - 0x0001
240 197 - This flag indicates hardware which does not properly distinguish
241 - ``V4L2_VBI_UNSYNC`` 198 between fields. Normally the VBI image stores the first field
242 199 (lower scanning line numbers) first in memory. This may be a top
243 - 0x0001 200 or bottom field depending on the video standard. When this flag is
244 201 set the first or second field may be stored first, however the
245 - This flag indicates hardware which does not properly distinguish 202 fields are still in correct temporal order with the older field
246 between fields. Normally the VBI image stores the first field 203 first in memory. [#f3]_
247 (lower scanning line numbers) first in memory. This may be a top 204 * - ``V4L2_VBI_INTERLACED``
248 or bottom field depending on the video standard. When this flag is 205 - 0x0002
249 set the first or second field may be stored first, however the 206 - By default the two field images will be passed sequentially; all
250 fields are still in correct temporal order with the older field 207 lines of the first field followed by all lines of the second field
251 first in memory. [#f3]_ 208 (compare :ref:`field-order` ``V4L2_FIELD_SEQ_TB`` and
252 209 ``V4L2_FIELD_SEQ_BT``, whether the top or bottom field is first in
253 - .. row 2 210 memory depends on the video standard). When this flag is set, the
254 211 two fields are interlaced (cf. ``V4L2_FIELD_INTERLACED``). The
255 - ``V4L2_VBI_INTERLACED`` 212 first line of the first field followed by the first line of the
256 213 second field, then the two second lines, and so on. Such a layout
257 - 0x0002 214 may be necessary when the hardware has been programmed to capture
258 215 or output interlaced video images and is unable to separate the
259 - By default the two field images will be passed sequentially; all 216 fields for VBI capturing at the same time. For simplicity setting
260 lines of the first field followed by all lines of the second field 217 this flag implies that both ``count`` values are equal and
261 (compare :ref:`field-order` ``V4L2_FIELD_SEQ_TB`` and 218 non-zero.
262 ``V4L2_FIELD_SEQ_BT``, whether the top or bottom field is first in
263 memory depends on the video standard). When this flag is set, the
264 two fields are interlaced (cf. ``V4L2_FIELD_INTERLACED``). The
265 first line of the first field followed by the first line of the
266 second field, then the two second lines, and so on. Such a layout
267 may be necessary when the hardware has been programmed to capture
268 or output interlaced video images and is unable to separate the
269 fields for VBI capturing at the same time. For simplicity setting
270 this flag implies that both ``count`` values are equal and
271 non-zero.
272 219
273 220
274 221
diff --git a/Documentation/media/uapi/v4l/dev-rds.rst b/Documentation/media/uapi/v4l/dev-rds.rst
index 4a8e1d2efd06..9c4e39dd66bd 100644
--- a/Documentation/media/uapi/v4l/dev-rds.rst
+++ b/Documentation/media/uapi/v4l/dev-rds.rst
@@ -102,30 +102,15 @@ RDS datastructures
102 :stub-columns: 0 102 :stub-columns: 0
103 :widths: 1 1 5 103 :widths: 1 1 5
104 104
105 105 * - __u8
106 - .. row 1 106 - ``lsb``
107 107 - Least Significant Byte of RDS Block
108 - __u8 108 * - __u8
109 109 - ``msb``
110 - ``lsb`` 110 - Most Significant Byte of RDS Block
111 111 * - __u8
112 - Least Significant Byte of RDS Block 112 - ``block``
113 113 - Block description
114 - .. row 2
115
116 - __u8
117
118 - ``msb``
119
120 - Most Significant Byte of RDS Block
121
122 - .. row 3
123
124 - __u8
125
126 - ``block``
127
128 - Block description
129 114
130 115
131 116
@@ -138,33 +123,17 @@ RDS datastructures
138 :stub-columns: 0 123 :stub-columns: 0
139 :widths: 1 5 124 :widths: 1 5
140 125
141 126 * - Bits 0-2
142 - .. row 1 127 - Block (aka offset) of the received data.
143 128 * - Bits 3-5
144 - Bits 0-2 129 - Deprecated. Currently identical to bits 0-2. Do not use these
145 130 bits.
146 - Block (aka offset) of the received data. 131 * - Bit 6
147 132 - Corrected bit. Indicates that an error was corrected for this data
148 - .. row 2 133 block.
149 134 * - Bit 7
150 - Bits 3-5 135 - Error bit. Indicates that an uncorrectable error occurred during
151 136 reception of this block.
152 - Deprecated. Currently identical to bits 0-2. Do not use these
153 bits.
154
155 - .. row 3
156
157 - Bit 6
158
159 - Corrected bit. Indicates that an error was corrected for this data
160 block.
161
162 - .. row 4
163
164 - Bit 7
165
166 - Error bit. Indicates that an uncorrectable error occurred during
167 reception of this block.
168 137
169 138
170 139
@@ -177,87 +146,39 @@ RDS datastructures
177 :stub-columns: 0 146 :stub-columns: 0
178 :widths: 1 1 1 5 147 :widths: 1 1 1 5
179 148
180 149 * - V4L2_RDS_BLOCK_MSK
181 - .. row 1 150 -
182 151 - 7
183 - V4L2_RDS_BLOCK_MSK 152 - Mask for bits 0-2 to get the block ID.
184 153 * - V4L2_RDS_BLOCK_A
185 - 154 -
186 - 7 155 - 0
187 156 - Block A.
188 - Mask for bits 0-2 to get the block ID. 157 * - V4L2_RDS_BLOCK_B
189 158 -
190 - .. row 2 159 - 1
191 160 - Block B.
192 - V4L2_RDS_BLOCK_A 161 * - V4L2_RDS_BLOCK_C
193 162 -
194 - 163 - 2
195 - 0 164 - Block C.
196 165 * - V4L2_RDS_BLOCK_D
197 - Block A. 166 -
198 167 - 3
199 - .. row 3 168 - Block D.
200 169 * - V4L2_RDS_BLOCK_C_ALT
201 - V4L2_RDS_BLOCK_B 170 -
202 171 - 4
203 - 172 - Block C'.
204 - 1 173 * - V4L2_RDS_BLOCK_INVALID
205 174 - read-only
206 - Block B. 175 - 7
207 176 - An invalid block.
208 - .. row 4 177 * - V4L2_RDS_BLOCK_CORRECTED
209 178 - read-only
210 - V4L2_RDS_BLOCK_C 179 - 0x40
211 180 - A bit error was detected but corrected.
212 - 181 * - V4L2_RDS_BLOCK_ERROR
213 - 2 182 - read-only
214 183 - 0x80
215 - Block C. 184 - An uncorrectable error occurred.
216
217 - .. row 5
218
219 - V4L2_RDS_BLOCK_D
220
221 -
222 - 3
223
224 - Block D.
225
226 - .. row 6
227
228 - V4L2_RDS_BLOCK_C_ALT
229
230 -
231 - 4
232
233 - Block C'.
234
235 - .. row 7
236
237 - V4L2_RDS_BLOCK_INVALID
238
239 - read-only
240
241 - 7
242
243 - An invalid block.
244
245 - .. row 8
246
247 - V4L2_RDS_BLOCK_CORRECTED
248
249 - read-only
250
251 - 0x40
252
253 - A bit error was detected but corrected.
254
255 - .. row 9
256
257 - V4L2_RDS_BLOCK_ERROR
258
259 - read-only
260
261 - 0x80
262
263 - An uncorrectable error occurred.
diff --git a/Documentation/media/uapi/v4l/dev-sdr.rst b/Documentation/media/uapi/v4l/dev-sdr.rst
index 5f82d760e188..b3e828d8cb1f 100644
--- a/Documentation/media/uapi/v4l/dev-sdr.rst
+++ b/Documentation/media/uapi/v4l/dev-sdr.rst
@@ -87,35 +87,20 @@ data transfer, set by the driver in order to inform application.
87 :stub-columns: 0 87 :stub-columns: 0
88 :widths: 1 1 2 88 :widths: 1 1 2
89 89
90 90 * - __u32
91 - .. row 1 91 - ``pixelformat``
92 92 - The data format or type of compression, set by the application.
93 - __u32 93 This is a little endian
94 94 :ref:`four character code <v4l2-fourcc>`. V4L2 defines SDR
95 - ``pixelformat`` 95 formats in :ref:`sdr-formats`.
96 96 * - __u32
97 - The data format or type of compression, set by the application. 97 - ``buffersize``
98 This is a little endian 98 - Maximum size in bytes required for data. Value is set by the
99 :ref:`four character code <v4l2-fourcc>`. V4L2 defines SDR 99 driver.
100 formats in :ref:`sdr-formats`. 100 * - __u8
101 101 - ``reserved[24]``
102 - .. row 2 102 - This array is reserved for future extensions. Drivers and
103 103 applications must set it to zero.
104 - __u32
105
106 - ``buffersize``
107
108 - Maximum size in bytes required for data. Value is set by the
109 driver.
110
111 - .. row 3
112
113 - __u8
114
115 - ``reserved[24]``
116
117 - This array is reserved for future extensions. Drivers and
118 applications must set it to zero.
119 104
120 105
121An SDR device may support :ref:`read/write <rw>` and/or streaming 106An SDR device may support :ref:`read/write <rw>` and/or streaming
diff --git a/Documentation/media/uapi/v4l/dev-sliced-vbi.rst b/Documentation/media/uapi/v4l/dev-sliced-vbi.rst
index 019cac7e90e4..5f6d534ea73b 100644
--- a/Documentation/media/uapi/v4l/dev-sliced-vbi.rst
+++ b/Documentation/media/uapi/v4l/dev-sliced-vbi.rst
@@ -114,138 +114,90 @@ struct v4l2_sliced_vbi_format
114 :stub-columns: 0 114 :stub-columns: 0
115 :widths: 3 3 2 2 2 115 :widths: 3 3 2 2 2
116 116
117 117 * - __u32
118 - .. row 1 118 - ``service_set``
119 119 - :cspan:`2`
120 - __u32 120
121 121 If ``service_set`` is non-zero when passed with
122 - ``service_set`` 122 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` or
123 123 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`, the ``service_lines``
124 - :cspan:`2` 124 array will be filled by the driver according to the services
125 125 specified in this field. For example, if ``service_set`` is
126 If ``service_set`` is non-zero when passed with 126 initialized with ``V4L2_SLICED_TELETEXT_B | V4L2_SLICED_WSS_625``,
127 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` or 127 a driver for the cx25840 video decoder sets lines 7-22 of both
128 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`, the ``service_lines`` 128 fields [#f1]_ to ``V4L2_SLICED_TELETEXT_B`` and line 23 of the first
129 array will be filled by the driver according to the services 129 field to ``V4L2_SLICED_WSS_625``. If ``service_set`` is set to
130 specified in this field. For example, if ``service_set`` is 130 zero, then the values of ``service_lines`` will be used instead.
131 initialized with ``V4L2_SLICED_TELETEXT_B | V4L2_SLICED_WSS_625``, 131
132 a driver for the cx25840 video decoder sets lines 7-22 of both 132 On return the driver sets this field to the union of all elements
133 fields [#f1]_ to ``V4L2_SLICED_TELETEXT_B`` and line 23 of the first 133 of the returned ``service_lines`` array. It may contain less
134 field to ``V4L2_SLICED_WSS_625``. If ``service_set`` is set to 134 services than requested, perhaps just one, if the hardware cannot
135 zero, then the values of ``service_lines`` will be used instead. 135 handle more services simultaneously. It may be empty (zero) if
136 136 none of the requested services are supported by the hardware.
137 On return the driver sets this field to the union of all elements 137 * - __u16
138 of the returned ``service_lines`` array. It may contain less 138 - ``service_lines``\ [2][24]
139 services than requested, perhaps just one, if the hardware cannot 139 - :cspan:`2`
140 handle more services simultaneously. It may be empty (zero) if 140
141 none of the requested services are supported by the hardware. 141 Applications initialize this array with sets of data services the
142 142 driver shall look for or insert on the respective scan line.
143 - .. row 2 143 Subject to hardware capabilities drivers return the requested set,
144 144 a subset, which may be just a single service, or an empty set.
145 - __u16 145 When the hardware cannot handle multiple services on the same line
146 146 the driver shall choose one. No assumptions can be made on which
147 - ``service_lines``\ [2][24] 147 service the driver chooses.
148 148
149 - :cspan:`2` 149 Data services are defined in :ref:`vbi-services2`. Array indices
150 150 map to ITU-R line numbers\ [#f2]_ as follows:
151 Applications initialize this array with sets of data services the 151 * -
152 driver shall look for or insert on the respective scan line. 152 -
153 Subject to hardware capabilities drivers return the requested set, 153 - Element
154 a subset, which may be just a single service, or an empty set. 154 - 525 line systems
155 When the hardware cannot handle multiple services on the same line 155 - 625 line systems
156 the driver shall choose one. No assumptions can be made on which 156 * -
157 service the driver chooses. 157 -
158 158 - ``service_lines``\ [0][1]
159 Data services are defined in :ref:`vbi-services2`. Array indices 159 - 1
160 map to ITU-R line numbers\ [#f2]_ as follows: 160 - 1
161 161 * -
162 - .. row 3 162 -
163 163 - ``service_lines``\ [0][23]
164 - 164 - 23
165 - 165 - 23
166 - Element 166 * -
167 167 -
168 - 525 line systems 168 - ``service_lines``\ [1][1]
169 169 - 264
170 - 625 line systems 170 - 314
171 171 * -
172 - .. row 4 172 -
173 173 - ``service_lines``\ [1][23]
174 - 174 - 286
175 - 175 - 336
176 - ``service_lines``\ [0][1] 176 * -
177 177 -
178 - 1 178 - :cspan:`2` Drivers must set ``service_lines`` [0][0] and
179 179 ``service_lines``\ [1][0] to zero. The
180 - 1 180 ``V4L2_VBI_ITU_525_F1_START``, ``V4L2_VBI_ITU_525_F2_START``,
181 181 ``V4L2_VBI_ITU_625_F1_START`` and ``V4L2_VBI_ITU_625_F2_START``
182 - .. row 5 182 defines give the start line numbers for each field for each 525 or
183 183 625 line format as a convenience. Don't forget that ITU line
184 - 184 numbering starts at 1, not 0.
185 - 185 * - __u32
186 - ``service_lines``\ [0][23] 186 - ``io_size``
187 187 - :cspan:`2` Maximum number of bytes passed by one
188 - 23 188 :ref:`read() <func-read>` or :ref:`write() <func-write>` call,
189 189 and the buffer size in bytes for the
190 - 23 190 :ref:`VIDIOC_QBUF` and
191 191 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. Drivers set this field
192 - .. row 6 192 to the size of struct
193 193 :c:type:`v4l2_sliced_vbi_data` times the
194 - 194 number of non-zero elements in the returned ``service_lines``
195 - 195 array (that is the number of lines potentially carrying data).
196 - ``service_lines``\ [1][1] 196 * - __u32
197 197 - ``reserved``\ [2]
198 - 264 198 - :cspan:`2` This array is reserved for future extensions.
199 199
200 - 314 200 Applications and drivers must set it to zero.
201
202 - .. row 7
203
204 -
205 -
206 - ``service_lines``\ [1][23]
207
208 - 286
209
210 - 336
211
212 - .. row 8
213
214 -
215 -
216 - :cspan:`2` Drivers must set ``service_lines`` [0][0] and
217 ``service_lines``\ [1][0] to zero. The
218 ``V4L2_VBI_ITU_525_F1_START``, ``V4L2_VBI_ITU_525_F2_START``,
219 ``V4L2_VBI_ITU_625_F1_START`` and ``V4L2_VBI_ITU_625_F2_START``
220 defines give the start line numbers for each field for each 525 or
221 625 line format as a convenience. Don't forget that ITU line
222 numbering starts at 1, not 0.
223
224 - .. row 9
225
226 - __u32
227
228 - ``io_size``
229
230 - :cspan:`2` Maximum number of bytes passed by one
231 :ref:`read() <func-read>` or :ref:`write() <func-write>` call,
232 and the buffer size in bytes for the
233 :ref:`VIDIOC_QBUF` and
234 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. Drivers set this field
235 to the size of struct
236 :c:type:`v4l2_sliced_vbi_data` times the
237 number of non-zero elements in the returned ``service_lines``
238 array (that is the number of lines potentially carrying data).
239
240 - .. row 10
241
242 - __u32
243
244 - ``reserved``\ [2]
245
246 - :cspan:`2` This array is reserved for future extensions.
247
248 Applications and drivers must set it to zero.
249 201
250 202
251.. _vbi-services2: 203.. _vbi-services2:
@@ -264,95 +216,50 @@ Sliced VBI services
264 :stub-columns: 0 216 :stub-columns: 0
265 :widths: 2 1 1 2 2 217 :widths: 2 1 1 2 2
266 218
267 219 * - Symbol
268 - .. row 1 220 - Value
269 221 - Reference
270 - Symbol 222 - Lines, usually
271 223 - Payload
272 - Value 224 * - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
273 225 - 0x0001
274 - Reference 226 - :ref:`ets300706`,
275 227
276 - Lines, usually 228 :ref:`itu653`
277 229 - PAL/SECAM line 7-22, 320-335 (second field 7-22)
278 - Payload 230 - Last 42 of the 45 byte Teletext packet, that is without clock
279 231 run-in and framing code, lsb first transmitted.
280 - .. row 2 232 * - ``V4L2_SLICED_VPS``
281 233 - 0x0400
282 - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B) 234 - :ref:`ets300231`
283 235 - PAL line 16
284 - 0x0001 236 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
285 237 first transmitted.
286 - :ref:`ets300706`, 238 * - ``V4L2_SLICED_CAPTION_525``
287 239 - 0x1000
288 :ref:`itu653` 240 - :ref:`cea608`
289 241 - NTSC line 21, 284 (second field 21)
290 - PAL/SECAM line 7-22, 320-335 (second field 7-22) 242 - Two bytes in transmission order, including parity bit, lsb first
291 243 transmitted.
292 - Last 42 of the 45 byte Teletext packet, that is without clock 244 * - ``V4L2_SLICED_WSS_625``
293 run-in and framing code, lsb first transmitted. 245 - 0x4000
294 246 - :ref:`itu1119`,
295 - .. row 3 247
296 248 :ref:`en300294`
297 - ``V4L2_SLICED_VPS`` 249 - PAL/SECAM line 23
298 250 -
299 - 0x0400 251
300 252 ::
301 - :ref:`ets300231` 253
302 254 Byte 0 1
303 - PAL line 16 255 msb lsb msb lsb
304 256 Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
305 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb 257 * - ``V4L2_SLICED_VBI_525``
306 first transmitted. 258 - 0x1000
307 259 - :cspan:`2` Set of services applicable to 525 line systems.
308 - .. row 4 260 * - ``V4L2_SLICED_VBI_625``
309 261 - 0x4401
310 - ``V4L2_SLICED_CAPTION_525`` 262 - :cspan:`2` Set of services applicable to 625 line systems.
311
312 - 0x1000
313
314 - :ref:`cea608`
315
316 - NTSC line 21, 284 (second field 21)
317
318 - Two bytes in transmission order, including parity bit, lsb first
319 transmitted.
320
321 - .. row 5
322
323 - ``V4L2_SLICED_WSS_625``
324
325 - 0x4000
326
327 - :ref:`itu1119`,
328
329 :ref:`en300294`
330
331 - PAL/SECAM line 23
332
333 -
334
335 ::
336
337 Byte 0 1
338 msb lsb msb lsb
339 Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
340
341 - .. row 6
342
343 - ``V4L2_SLICED_VBI_525``
344
345 - 0x1000
346
347 - :cspan:`2` Set of services applicable to 525 line systems.
348
349 - .. row 7
350
351 - ``V4L2_SLICED_VBI_625``
352
353 - 0x4401
354
355 - :cspan:`2` Set of services applicable to 625 line systems.
356 263
357.. raw:: latex 264.. raw:: latex
358 265
@@ -395,63 +302,38 @@ struct v4l2_sliced_vbi_data
395 :stub-columns: 0 302 :stub-columns: 0
396 :widths: 3 1 4 303 :widths: 3 1 4
397 304
398 305 * - __u32
399 - .. row 1 306 - ``id``
400 307 - A flag from :ref:`vbi-services` identifying the type of data in
401 - __u32 308 this packet. Only a single bit must be set. When the ``id`` of a
402 309 captured packet is zero, the packet is empty and the contents of
403 - ``id`` 310 other fields are undefined. Applications shall ignore empty
404 311 packets. When the ``id`` of a packet for output is zero the
405 - A flag from :ref:`vbi-services` identifying the type of data in 312 contents of the ``data`` field are undefined and the driver must
406 this packet. Only a single bit must be set. When the ``id`` of a 313 no longer insert data on the requested ``field`` and ``line``.
407 captured packet is zero, the packet is empty and the contents of 314 * - __u32
408 other fields are undefined. Applications shall ignore empty 315 - ``field``
409 packets. When the ``id`` of a packet for output is zero the 316 - The video field number this data has been captured from, or shall
410 contents of the ``data`` field are undefined and the driver must 317 be inserted at. ``0`` for the first field, ``1`` for the second
411 no longer insert data on the requested ``field`` and ``line``. 318 field.
412 319 * - __u32
413 - .. row 2 320 - ``line``
414 321 - The field (as opposed to frame) line number this data has been
415 - __u32 322 captured from, or shall be inserted at. See :ref:`vbi-525` and
416 323 :ref:`vbi-625` for valid values. Sliced VBI capture devices can
417 - ``field`` 324 set the line number of all packets to ``0`` if the hardware cannot
418 325 reliably identify scan lines. The field number must always be
419 - The video field number this data has been captured from, or shall 326 valid.
420 be inserted at. ``0`` for the first field, ``1`` for the second 327 * - __u32
421 field. 328 - ``reserved``
422 329 - This field is reserved for future extensions. Applications and
423 - .. row 3 330 drivers must set it to zero.
424 331 * - __u8
425 - __u32 332 - ``data``\ [48]
426 333 - The packet payload. See :ref:`vbi-services` for the contents and
427 - ``line`` 334 number of bytes passed for each data type. The contents of padding
428 335 bytes at the end of this array are undefined, drivers and
429 - The field (as opposed to frame) line number this data has been 336 applications shall ignore them.
430 captured from, or shall be inserted at. See :ref:`vbi-525` and
431 :ref:`vbi-625` for valid values. Sliced VBI capture devices can
432 set the line number of all packets to ``0`` if the hardware cannot
433 reliably identify scan lines. The field number must always be
434 valid.
435
436 - .. row 4
437
438 - __u32
439
440 - ``reserved``
441
442 - This field is reserved for future extensions. Applications and
443 drivers must set it to zero.
444
445 - .. row 5
446
447 - __u8
448
449 - ``data``\ [48]
450
451 - The packet payload. See :ref:`vbi-services` for the contents and
452 number of bytes passed for each data type. The contents of padding
453 bytes at the end of this array are undefined, drivers and
454 applications shall ignore them.
455 337
456 338
457Packets are always passed in ascending line number order, without 339Packets are always passed in ascending line number order, without
@@ -582,48 +464,29 @@ struct v4l2_mpeg_vbi_fmt_ivtv
582 :stub-columns: 0 464 :stub-columns: 0
583 :widths: 1 1 1 2 465 :widths: 1 1 1 2
584 466
585 467 * - __u8
586 - .. row 1 468 - ``magic``\ [4]
587 469 -
588 - __u8 470 - A "magic" constant from :ref:`v4l2-mpeg-vbi-fmt-ivtv-magic` that
589 471 indicates this is a valid sliced VBI data payload and also
590 - ``magic``\ [4] 472 indicates which member of the anonymous union, ``itv0`` or
591 473 ``ITV0``, to use for the payload data.
592 - 474 * - union
593 - A "magic" constant from :ref:`v4l2-mpeg-vbi-fmt-ivtv-magic` that 475 - (anonymous)
594 indicates this is a valid sliced VBI data payload and also 476 * -
595 indicates which member of the anonymous union, ``itv0`` or 477 - struct :c:type:`v4l2_mpeg_vbi_itv0`
596 ``ITV0``, to use for the payload data. 478 - ``itv0``
597 479 - The primary form of the sliced VBI data payload that contains
598 - .. row 2 480 anywhere from 1 to 35 lines of sliced VBI data. Line masks are
599 481 provided in this form of the payload indicating which VBI lines
600 - union 482 are provided.
601 483 * -
602 - (anonymous) 484 - struct :ref:`v4l2_mpeg_vbi_ITV0 <v4l2-mpeg-vbi-itv0-1>`
603 485 - ``ITV0``
604 - .. row 3 486 - An alternate form of the sliced VBI data payload used when 36
605 487 lines of sliced VBI data are present. No line masks are provided
606 - 488 in this form of the payload; all valid line mask bits are
607 - struct :c:type:`v4l2_mpeg_vbi_itv0` 489 implcitly set.
608
609 - ``itv0``
610
611 - The primary form of the sliced VBI data payload that contains
612 anywhere from 1 to 35 lines of sliced VBI data. Line masks are
613 provided in this form of the payload indicating which VBI lines
614 are provided.
615
616 - .. row 4
617
618 -
619 - struct :ref:`v4l2_mpeg_vbi_ITV0 <v4l2-mpeg-vbi-itv0-1>`
620
621 - ``ITV0``
622
623 - An alternate form of the sliced VBI data payload used when 36
624 lines of sliced VBI data are present. No line masks are provided
625 in this form of the payload; all valid line mask bits are
626 implcitly set.
627 490
628 491
629 492
@@ -639,34 +502,19 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field
639 :stub-columns: 0 502 :stub-columns: 0
640 :widths: 3 1 4 503 :widths: 3 1 4
641 504
642 505 * - Defined Symbol
643 - .. row 1 506 - Value
644 507 - Description
645 - Defined Symbol 508 * - ``V4L2_MPEG_VBI_IVTV_MAGIC0``
646 509 - "itv0"
647 - Value 510 - Indicates the ``itv0`` member of the union in struct
648 511 :c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
649 - Description 512 valid.
650 513 * - ``V4L2_MPEG_VBI_IVTV_MAGIC1``
651 - .. row 2 514 - "ITV0"
652 515 - Indicates the ``ITV0`` member of the union in struct
653 - ``V4L2_MPEG_VBI_IVTV_MAGIC0`` 516 :c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
654 517 valid and that 36 lines of sliced VBI data are present.
655 - "itv0"
656
657 - Indicates the ``itv0`` member of the union in struct
658 :c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
659 valid.
660
661 - .. row 3
662
663 - ``V4L2_MPEG_VBI_IVTV_MAGIC1``
664
665 - "ITV0"
666
667 - Indicates the ``ITV0`` member of the union in struct
668 :c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
669 valid and that 36 lines of sliced VBI data are present.
670 518
671 519
672 520
@@ -684,50 +532,40 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
684 :stub-columns: 0 532 :stub-columns: 0
685 :widths: 1 1 2 533 :widths: 1 1 2
686 534
687 535 * - __le32
688 - .. row 1 536 - ``linemask``\ [2]
689 537 - Bitmasks indicating the VBI service lines present. These
690 - __le32 538 ``linemask`` values are stored in little endian byte order in the
691 539 MPEG stream. Some reference ``linemask`` bit positions with their
692 - ``linemask``\ [2] 540 corresponding VBI line number and video field are given below.
693 541 b\ :sub:`0` indicates the least significant bit of a ``linemask``
694 - Bitmasks indicating the VBI service lines present. These 542 value:
695 ``linemask`` values are stored in little endian byte order in the 543
696 MPEG stream. Some reference ``linemask`` bit positions with their 544
697 corresponding VBI line number and video field are given below. 545
698 b\ :sub:`0` indicates the least significant bit of a ``linemask`` 546 ::
699 value: 547
700 548 linemask[0] b0: line 6 first field
701 549 linemask[0] b17: line 23 first field
702 550 linemask[0] b18: line 6 second field
703 :: 551 linemask[0] b31: line 19 second field
704 552 linemask[1] b0: line 20 second field
705 linemask[0] b0: line 6 first field 553 linemask[1] b3: line 23 second field
706 linemask[0] b17: line 23 first field 554 linemask[1] b4-b31: unused and set to 0
707 linemask[0] b18: line 6 second field 555 * - struct
708 linemask[0] b31: line 19 second field 556 :c:type:`v4l2_mpeg_vbi_itv0_line`
709 linemask[1] b0: line 20 second field 557 - ``line``\ [35]
710 linemask[1] b3: line 23 second field 558 - This is a variable length array that holds from 1 to 35 lines of
711 linemask[1] b4-b31: unused and set to 0 559 sliced VBI data. The sliced VBI data lines present correspond to
712 560 the bits set in the ``linemask`` array, starting from b\ :sub:`0`
713 - .. row 2 561 of ``linemask``\ [0] up through b\ :sub:`31` of ``linemask``\ [0],
714 562 and from b\ :sub:`0` of ``linemask``\ [1] up through b\ :sub:`3` of
715 - struct 563 ``linemask``\ [1]. ``line``\ [0] corresponds to the first bit
716 :c:type:`v4l2_mpeg_vbi_itv0_line` 564 found set in the ``linemask`` array, ``line``\ [1] corresponds to
717 565 the second bit found set in the ``linemask`` array, etc. If no
718 - ``line``\ [35] 566 ``linemask`` array bits are set, then ``line``\ [0] may contain
719 567 one line of unspecified data that should be ignored by
720 - This is a variable length array that holds from 1 to 35 lines of 568 applications.
721 sliced VBI data. The sliced VBI data lines present correspond to
722 the bits set in the ``linemask`` array, starting from b\ :sub:`0`
723 of ``linemask``\ [0] up through b\ :sub:`31` of ``linemask``\ [0],
724 and from b\ :sub:`0` of ``linemask``\ [1] up through b\ :sub:`3` of
725 ``linemask``\ [1]. ``line``\ [0] corresponds to the first bit
726 found set in the ``linemask`` array, ``line``\ [1] corresponds to
727 the second bit found set in the ``linemask`` array, etc. If no
728 ``linemask`` array bits are set, then ``line``\ [0] may contain
729 one line of unspecified data that should be ignored by
730 applications.
731 569
732 570
733 571
@@ -743,18 +581,13 @@ struct v4l2_mpeg_vbi_ITV0
743 :stub-columns: 0 581 :stub-columns: 0
744 :widths: 1 1 2 582 :widths: 1 1 2
745 583
746 584 * - struct
747 - .. row 1 585 :c:type:`v4l2_mpeg_vbi_itv0_line`
748 586 - ``line``\ [36]
749 - struct 587 - A fixed length array of 36 lines of sliced VBI data. ``line``\ [0]
750 :c:type:`v4l2_mpeg_vbi_itv0_line` 588 through ``line``\ [17] correspond to lines 6 through 23 of the
751 589 first field. ``line``\ [18] through ``line``\ [35] corresponds to
752 - ``line``\ [36] 590 lines 6 through 23 of the second field.
753
754 - A fixed length array of 36 lines of sliced VBI data. ``line``\ [0]
755 through ``line``\ [17] correspond to lines 6 through 23 of the
756 first field. ``line``\ [18] through ``line``\ [35] corresponds to
757 lines 6 through 23 of the second field.
758 591
759 592
760 593
@@ -770,24 +603,14 @@ struct v4l2_mpeg_vbi_itv0_line
770 :stub-columns: 0 603 :stub-columns: 0
771 :widths: 1 1 2 604 :widths: 1 1 2
772 605
773 606 * - __u8
774 - .. row 1 607 - ``id``
775 608 - A line identifier value from
776 - __u8 609 :ref:`ITV0-Line-Identifier-Constants` that indicates the type of
777 610 sliced VBI data stored on this line.
778 - ``id`` 611 * - __u8
779 612 - ``data``\ [42]
780 - A line identifier value from 613 - The sliced VBI data for the line.
781 :ref:`ITV0-Line-Identifier-Constants` that indicates the type of
782 sliced VBI data stored on this line.
783
784 - .. row 2
785
786 - __u8
787
788 - ``data``\ [42]
789
790 - The sliced VBI data for the line.
791 614
792 615
793 616
@@ -803,50 +626,25 @@ Line Identifiers for struct v4l2_mpeg_vbi_itv0_line id field
803 :stub-columns: 0 626 :stub-columns: 0
804 :widths: 3 1 4 627 :widths: 3 1 4
805 628
806 629 * - Defined Symbol
807 - .. row 1 630 - Value
808 631 - Description
809 - Defined Symbol 632 * - ``V4L2_MPEG_VBI_IVTV_TELETEXT_B``
810 633 - 1
811 - Value 634 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
812 635 description of the line payload.
813 - Description 636 * - ``V4L2_MPEG_VBI_IVTV_CAPTION_525``
814 637 - 4
815 - .. row 2 638 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
816 639 description of the line payload.
817 - ``V4L2_MPEG_VBI_IVTV_TELETEXT_B`` 640 * - ``V4L2_MPEG_VBI_IVTV_WSS_625``
818 641 - 5
819 - 1 642 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
820 643 description of the line payload.
821 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a 644 * - ``V4L2_MPEG_VBI_IVTV_VPS``
822 description of the line payload. 645 - 7
823 646 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
824 - .. row 3 647 description of the line payload.
825
826 - ``V4L2_MPEG_VBI_IVTV_CAPTION_525``
827
828 - 4
829
830 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
831 description of the line payload.
832
833 - .. row 4
834
835 - ``V4L2_MPEG_VBI_IVTV_WSS_625``
836
837 - 5
838
839 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
840 description of the line payload.
841
842 - .. row 5
843
844 - ``V4L2_MPEG_VBI_IVTV_VPS``
845
846 - 7
847
848 - Refer to :ref:`Sliced VBI services <vbi-services2>` for a
849 description of the line payload.
850 648
851 649
852 650
diff --git a/Documentation/media/uapi/v4l/dev-subdev.rst b/Documentation/media/uapi/v4l/dev-subdev.rst
index 6dc7f13780ba..fb4d0d45b216 100644
--- a/Documentation/media/uapi/v4l/dev-subdev.rst
+++ b/Documentation/media/uapi/v4l/dev-subdev.rst
@@ -215,85 +215,41 @@ list entity names and pad numbers).
215 :stub-columns: 0 215 :stub-columns: 0
216 :widths: 5 5 5 5 5 5 5 216 :widths: 5 5 5 5 5 5 5
217 217
218 218 * -
219 - .. row 1 219 - Sensor/0 format
220 220 - Frontend/0 format
221 - 221 - Frontend/1 format
222 - Sensor/0 format 222 - Scaler/0 format
223 223 - Scaler/0 compose selection rectangle
224 - Frontend/0 format 224 - Scaler/1 format
225 225 * - Initial state
226 - Frontend/1 format 226 - 2048x1536/SGRBG8_1X8
227 227 - (default)
228 - Scaler/0 format 228 - (default)
229 229 - (default)
230 - Scaler/0 compose selection rectangle 230 - (default)
231 231 - (default)
232 - Scaler/1 format 232 * - Configure frontend sink format
233 233 - 2048x1536/SGRBG8_1X8
234 - .. row 2 234 - *2048x1536/SGRBG8_1X8*
235 235 - *2046x1534/SGRBG8_1X8*
236 - Initial state 236 - (default)
237 237 - (default)
238 - 2048x1536/SGRBG8_1X8 238 - (default)
239 239 * - Configure scaler sink format
240 - (default) 240 - 2048x1536/SGRBG8_1X8
241 241 - 2048x1536/SGRBG8_1X8
242 - (default) 242 - 2046x1534/SGRBG8_1X8
243 243 - *2046x1534/SGRBG8_1X8*
244 - (default) 244 - *0,0/2046x1534*
245 245 - *2046x1534/SGRBG8_1X8*
246 - (default) 246 * - Configure scaler sink compose selection
247 247 - 2048x1536/SGRBG8_1X8
248 - (default) 248 - 2048x1536/SGRBG8_1X8
249 249 - 2046x1534/SGRBG8_1X8
250 - .. row 3 250 - 2046x1534/SGRBG8_1X8
251 251 - *0,0/1280x960*
252 - Configure frontend sink format 252 - *1280x960/SGRBG8_1X8*
253
254 - 2048x1536/SGRBG8_1X8
255
256 - *2048x1536/SGRBG8_1X8*
257
258 - *2046x1534/SGRBG8_1X8*
259
260 - (default)
261
262 - (default)
263
264 - (default)
265
266 - .. row 4
267
268 - Configure scaler sink format
269
270 - 2048x1536/SGRBG8_1X8
271
272 - 2048x1536/SGRBG8_1X8
273
274 - 2046x1534/SGRBG8_1X8
275
276 - *2046x1534/SGRBG8_1X8*
277
278 - *0,0/2046x1534*
279
280 - *2046x1534/SGRBG8_1X8*
281
282 - .. row 5
283
284 - Configure scaler sink compose selection
285
286 - 2048x1536/SGRBG8_1X8
287
288 - 2048x1536/SGRBG8_1X8
289
290 - 2046x1534/SGRBG8_1X8
291
292 - 2046x1534/SGRBG8_1X8
293
294 - *0,0/1280x960*
295
296 - *1280x960/SGRBG8_1X8*
297 253
298.. raw:: latex 254.. raw:: latex
299 255
diff --git a/Documentation/media/uapi/v4l/diff-v4l.rst b/Documentation/media/uapi/v4l/diff-v4l.rst
index 0419e2051759..76b2ecab8657 100644
--- a/Documentation/media/uapi/v4l/diff-v4l.rst
+++ b/Documentation/media/uapi/v4l/diff-v4l.rst
@@ -39,39 +39,19 @@ using driver module options. The major device number remains 81.
39 :header-rows: 1 39 :header-rows: 1
40 :stub-columns: 0 40 :stub-columns: 0
41 41
42 42 * - Device Type
43 - .. row 1 43 - File Name
44 44 - Minor Numbers
45 - Device Type 45 * - Video capture and overlay
46 46 - ``/dev/video`` and ``/dev/bttv0``\ [#f1]_, ``/dev/video0`` to
47 - File Name 47 ``/dev/video63``
48 48 - 0-63
49 - Minor Numbers 49 * - Radio receiver
50 50 - ``/dev/radio``\ [#f2]_, ``/dev/radio0`` to ``/dev/radio63``
51 - .. row 2 51 - 64-127
52 52 * - Raw VBI capture
53 - Video capture and overlay 53 - ``/dev/vbi``, ``/dev/vbi0`` to ``/dev/vbi31``
54 54 - 224-255
55 - ``/dev/video`` and ``/dev/bttv0``\ [#f1]_, ``/dev/video0`` to
56 ``/dev/video63``
57
58 - 0-63
59
60 - .. row 3
61
62 - Radio receiver
63
64 - ``/dev/radio``\ [#f2]_, ``/dev/radio0`` to ``/dev/radio63``
65
66 - 64-127
67
68 - .. row 4
69
70 - Raw VBI capture
71
72 - ``/dev/vbi``, ``/dev/vbi0`` to ``/dev/vbi31``
73
74 - 224-255
75 55
76 56
77V4L prohibits (or used to prohibit) multiple opens of a device file. 57V4L prohibits (or used to prohibit) multiple opens of a device file.
@@ -103,148 +83,73 @@ introduction.
103 :header-rows: 1 83 :header-rows: 1
104 :stub-columns: 0 84 :stub-columns: 0
105 85
106 86 * - ``struct video_capability`` ``type``
107 - .. row 1 87 - struct :c:type:`v4l2_capability`
108 88 ``capabilities`` flags
109 - ``struct video_capability`` ``type`` 89 - Purpose
110 90 * - ``VID_TYPE_CAPTURE``
111 - struct :c:type:`v4l2_capability` 91 - ``V4L2_CAP_VIDEO_CAPTURE``
112 ``capabilities`` flags 92 - The :ref:`video capture <capture>` interface is supported.
113 93 * - ``VID_TYPE_TUNER``
114 - Purpose 94 - ``V4L2_CAP_TUNER``
115 95 - The device has a :ref:`tuner or modulator <tuner>`.
116 - .. row 2 96 * - ``VID_TYPE_TELETEXT``
117 97 - ``V4L2_CAP_VBI_CAPTURE``
118 - ``VID_TYPE_CAPTURE`` 98 - The :ref:`raw VBI capture <raw-vbi>` interface is supported.
119 99 * - ``VID_TYPE_OVERLAY``
120 - ``V4L2_CAP_VIDEO_CAPTURE`` 100 - ``V4L2_CAP_VIDEO_OVERLAY``
121 101 - The :ref:`video overlay <overlay>` interface is supported.
122 - The :ref:`video capture <capture>` interface is supported. 102 * - ``VID_TYPE_CHROMAKEY``
123 103 - ``V4L2_FBUF_CAP_CHROMAKEY`` in field ``capability`` of struct
124 - .. row 3 104 :c:type:`v4l2_framebuffer`
125 105 - Whether chromakey overlay is supported. For more information on
126 - ``VID_TYPE_TUNER`` 106 overlay see :ref:`overlay`.
127 107 * - ``VID_TYPE_CLIPPING``
128 - ``V4L2_CAP_TUNER`` 108 - ``V4L2_FBUF_CAP_LIST_CLIPPING`` and
129 109 ``V4L2_FBUF_CAP_BITMAP_CLIPPING`` in field ``capability`` of
130 - The device has a :ref:`tuner or modulator <tuner>`. 110 struct :c:type:`v4l2_framebuffer`
131 111 - Whether clipping the overlaid image is supported, see
132 - .. row 4 112 :ref:`overlay`.
133 113 * - ``VID_TYPE_FRAMERAM``
134 - ``VID_TYPE_TELETEXT`` 114 - ``V4L2_FBUF_CAP_EXTERNOVERLAY`` *not set* in field ``capability``
135 115 of struct :c:type:`v4l2_framebuffer`
136 - ``V4L2_CAP_VBI_CAPTURE`` 116 - Whether overlay overwrites frame buffer memory, see
137 117 :ref:`overlay`.
138 - The :ref:`raw VBI capture <raw-vbi>` interface is supported. 118 * - ``VID_TYPE_SCALES``
139 119 - ``-``
140 - .. row 5 120 - This flag indicates if the hardware can scale images. The V4L2 API
141 121 implies the scale factor by setting the cropping dimensions and
142 - ``VID_TYPE_OVERLAY`` 122 image size with the :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` and
143 123 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, respectively. The
144 - ``V4L2_CAP_VIDEO_OVERLAY`` 124 driver returns the closest sizes possible. For more information on
145 125 cropping and scaling see :ref:`crop`.
146 - The :ref:`video overlay <overlay>` interface is supported. 126 * - ``VID_TYPE_MONOCHROME``
147 127 - ``-``
148 - .. row 6 128 - Applications can enumerate the supported image formats with the
149 129 :ref:`VIDIOC_ENUM_FMT` ioctl to determine if
150 - ``VID_TYPE_CHROMAKEY`` 130 the device supports grey scale capturing only. For more
151 131 information on image formats see :ref:`pixfmt`.
152 - ``V4L2_FBUF_CAP_CHROMAKEY`` in field ``capability`` of struct 132 * - ``VID_TYPE_SUBCAPTURE``
153 :c:type:`v4l2_framebuffer` 133 - ``-``
154 134 - Applications can call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>`
155 - Whether chromakey overlay is supported. For more information on 135 ioctl to determine if the device supports capturing a subsection
156 overlay see :ref:`overlay`. 136 of the full picture ("cropping" in V4L2). If not, the ioctl
157 137 returns the ``EINVAL`` error code. For more information on cropping
158 - .. row 7 138 and scaling see :ref:`crop`.
159 139 * - ``VID_TYPE_MPEG_DECODER``
160 - ``VID_TYPE_CLIPPING`` 140 - ``-``
161 141 - Applications can enumerate the supported image formats with the
162 - ``V4L2_FBUF_CAP_LIST_CLIPPING`` and 142 :ref:`VIDIOC_ENUM_FMT` ioctl to determine if
163 ``V4L2_FBUF_CAP_BITMAP_CLIPPING`` in field ``capability`` of 143 the device supports MPEG streams.
164 struct :c:type:`v4l2_framebuffer` 144 * - ``VID_TYPE_MPEG_ENCODER``
165 145 - ``-``
166 - Whether clipping the overlaid image is supported, see 146 - See above.
167 :ref:`overlay`. 147 * - ``VID_TYPE_MJPEG_DECODER``
168 148 - ``-``
169 - .. row 8 149 - See above.
170 150 * - ``VID_TYPE_MJPEG_ENCODER``
171 - ``VID_TYPE_FRAMERAM`` 151 - ``-``
172 152 - See above.
173 - ``V4L2_FBUF_CAP_EXTERNOVERLAY`` *not set* in field ``capability``
174 of struct :c:type:`v4l2_framebuffer`
175
176 - Whether overlay overwrites frame buffer memory, see
177 :ref:`overlay`.
178
179 - .. row 9
180
181 - ``VID_TYPE_SCALES``
182
183 - ``-``
184
185 - This flag indicates if the hardware can scale images. The V4L2 API
186 implies the scale factor by setting the cropping dimensions and
187 image size with the :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` and
188 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, respectively. The
189 driver returns the closest sizes possible. For more information on
190 cropping and scaling see :ref:`crop`.
191
192 - .. row 10
193
194 - ``VID_TYPE_MONOCHROME``
195
196 - ``-``
197
198 - Applications can enumerate the supported image formats with the
199 :ref:`VIDIOC_ENUM_FMT` ioctl to determine if
200 the device supports grey scale capturing only. For more
201 information on image formats see :ref:`pixfmt`.
202
203 - .. row 11
204
205 - ``VID_TYPE_SUBCAPTURE``
206
207 - ``-``
208
209 - Applications can call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>`
210 ioctl to determine if the device supports capturing a subsection
211 of the full picture ("cropping" in V4L2). If not, the ioctl
212 returns the ``EINVAL`` error code. For more information on cropping
213 and scaling see :ref:`crop`.
214
215 - .. row 12
216
217 - ``VID_TYPE_MPEG_DECODER``
218
219 - ``-``
220
221 - Applications can enumerate the supported image formats with the
222 :ref:`VIDIOC_ENUM_FMT` ioctl to determine if
223 the device supports MPEG streams.
224
225 - .. row 13
226
227 - ``VID_TYPE_MPEG_ENCODER``
228
229 - ``-``
230
231 - See above.
232
233 - .. row 14
234
235 - ``VID_TYPE_MJPEG_DECODER``
236
237 - ``-``
238
239 - See above.
240
241 - .. row 15
242
243 - ``VID_TYPE_MJPEG_ENCODER``
244
245 - ``-``
246
247 - See above.
248 153
249 154
250The ``audios`` field was replaced by ``capabilities`` flag 155The ``audios`` field was replaced by ``capabilities`` flag
@@ -280,24 +185,12 @@ video input types were renamed as follows:
280 :header-rows: 1 185 :header-rows: 1
281 :stub-columns: 0 186 :stub-columns: 0
282 187
283 188 * - struct ``video_channel`` ``type``
284 - .. row 1 189 - struct :c:type:`v4l2_input` ``type``
285 190 * - ``VIDEO_TYPE_TV``
286 - struct ``video_channel`` ``type`` 191 - ``V4L2_INPUT_TYPE_TUNER``
287 192 * - ``VIDEO_TYPE_CAMERA``
288 - struct :c:type:`v4l2_input` ``type`` 193 - ``V4L2_INPUT_TYPE_CAMERA``
289
290 - .. row 2
291
292 - ``VIDEO_TYPE_TV``
293
294 - ``V4L2_INPUT_TYPE_TUNER``
295
296 - .. row 3
297
298 - ``VIDEO_TYPE_CAMERA``
299
300 - ``V4L2_INPUT_TYPE_CAMERA``
301 194
302 195
303Unlike the ``tuners`` field expressing the number of tuners of this 196Unlike the ``tuners`` field expressing the number of tuners of this
@@ -386,42 +279,18 @@ replaced by V4L2 controls accessible with the
386 :header-rows: 1 279 :header-rows: 1
387 :stub-columns: 0 280 :stub-columns: 0
388 281
389 282 * - struct ``video_picture``
390 - .. row 1 283 - V4L2 Control ID
391 284 * - ``brightness``
392 - struct ``video_picture`` 285 - ``V4L2_CID_BRIGHTNESS``
393 286 * - ``hue``
394 - V4L2 Control ID 287 - ``V4L2_CID_HUE``
395 288 * - ``colour``
396 - .. row 2 289 - ``V4L2_CID_SATURATION``
397 290 * - ``contrast``
398 - ``brightness`` 291 - ``V4L2_CID_CONTRAST``
399 292 * - ``whiteness``
400 - ``V4L2_CID_BRIGHTNESS`` 293 - ``V4L2_CID_WHITENESS``
401
402 - .. row 3
403
404 - ``hue``
405
406 - ``V4L2_CID_HUE``
407
408 - .. row 4
409
410 - ``colour``
411
412 - ``V4L2_CID_SATURATION``
413
414 - .. row 5
415
416 - ``contrast``
417
418 - ``V4L2_CID_CONTRAST``
419
420 - .. row 6
421
422 - ``whiteness``
423
424 - ``V4L2_CID_WHITENESS``
425 294
426 295
427The V4L picture controls are assumed to range from 0 to 65535 with no 296The V4L picture controls are assumed to range from 0 to 65535 with no
@@ -442,108 +311,40 @@ into the struct :c:type:`v4l2_pix_format`:
442 :header-rows: 1 311 :header-rows: 1
443 :stub-columns: 0 312 :stub-columns: 0
444 313
445 314 * - struct ``video_picture`` ``palette``
446 - .. row 1 315 - struct :c:type:`v4l2_pix_format` ``pixfmt``
447 316 * - ``VIDEO_PALETTE_GREY``
448 - struct ``video_picture`` ``palette`` 317 - :ref:`V4L2_PIX_FMT_GREY <V4L2-PIX-FMT-GREY>`
449 318 * - ``VIDEO_PALETTE_HI240``
450 - struct :c:type:`v4l2_pix_format` ``pixfmt`` 319 - :ref:`V4L2_PIX_FMT_HI240 <pixfmt-reserved>` [#f3]_
451 320 * - ``VIDEO_PALETTE_RGB565``
452 - .. row 2 321 - :ref:`V4L2_PIX_FMT_RGB565 <pixfmt-rgb>`
453 322 * - ``VIDEO_PALETTE_RGB555``
454 - ``VIDEO_PALETTE_GREY`` 323 - :ref:`V4L2_PIX_FMT_RGB555 <pixfmt-rgb>`
455 324 * - ``VIDEO_PALETTE_RGB24``
456 - :ref:`V4L2_PIX_FMT_GREY <V4L2-PIX-FMT-GREY>` 325 - :ref:`V4L2_PIX_FMT_BGR24 <pixfmt-rgb>`
457 326 * - ``VIDEO_PALETTE_RGB32``
458 - .. row 3 327 - :ref:`V4L2_PIX_FMT_BGR32 <pixfmt-rgb>` [#f4]_
459 328 * - ``VIDEO_PALETTE_YUV422``
460 - ``VIDEO_PALETTE_HI240`` 329 - :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
461 330 * - ``VIDEO_PALETTE_YUYV``\ [#f5]_
462 - :ref:`V4L2_PIX_FMT_HI240 <pixfmt-reserved>` [#f3]_ 331 - :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
463 332 * - ``VIDEO_PALETTE_UYVY``
464 - .. row 4 333 - :ref:`V4L2_PIX_FMT_UYVY <V4L2-PIX-FMT-UYVY>`
465 334 * - ``VIDEO_PALETTE_YUV420``
466 - ``VIDEO_PALETTE_RGB565`` 335 - None
467 336 * - ``VIDEO_PALETTE_YUV411``
468 - :ref:`V4L2_PIX_FMT_RGB565 <pixfmt-rgb>` 337 - :ref:`V4L2_PIX_FMT_Y41P <V4L2-PIX-FMT-Y41P>` [#f6]_
469 338 * - ``VIDEO_PALETTE_RAW``
470 - .. row 5 339 - None [#f7]_
471 340 * - ``VIDEO_PALETTE_YUV422P``
472 - ``VIDEO_PALETTE_RGB555`` 341 - :ref:`V4L2_PIX_FMT_YUV422P <V4L2-PIX-FMT-YUV422P>`
473 342 * - ``VIDEO_PALETTE_YUV411P``
474 - :ref:`V4L2_PIX_FMT_RGB555 <pixfmt-rgb>` 343 - :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>` [#f8]_
475 344 * - ``VIDEO_PALETTE_YUV420P``
476 - .. row 6 345 - :ref:`V4L2_PIX_FMT_YVU420 <V4L2-PIX-FMT-YVU420>`
477 346 * - ``VIDEO_PALETTE_YUV410P``
478 - ``VIDEO_PALETTE_RGB24`` 347 - :ref:`V4L2_PIX_FMT_YVU410 <V4L2-PIX-FMT-YVU410>`
479
480 - :ref:`V4L2_PIX_FMT_BGR24 <pixfmt-rgb>`
481
482 - .. row 7
483
484 - ``VIDEO_PALETTE_RGB32``
485
486 - :ref:`V4L2_PIX_FMT_BGR32 <pixfmt-rgb>` [#f4]_
487
488 - .. row 8
489
490 - ``VIDEO_PALETTE_YUV422``
491
492 - :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
493
494 - .. row 9
495
496 - ``VIDEO_PALETTE_YUYV``\ [#f5]_
497
498 - :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
499
500 - .. row 10
501
502 - ``VIDEO_PALETTE_UYVY``
503
504 - :ref:`V4L2_PIX_FMT_UYVY <V4L2-PIX-FMT-UYVY>`
505
506 - .. row 11
507
508 - ``VIDEO_PALETTE_YUV420``
509
510 - None
511
512 - .. row 12
513
514 - ``VIDEO_PALETTE_YUV411``
515
516 - :ref:`V4L2_PIX_FMT_Y41P <V4L2-PIX-FMT-Y41P>` [#f6]_
517
518 - .. row 13
519
520 - ``VIDEO_PALETTE_RAW``
521
522 - None [#f7]_
523
524 - .. row 14
525
526 - ``VIDEO_PALETTE_YUV422P``
527
528 - :ref:`V4L2_PIX_FMT_YUV422P <V4L2-PIX-FMT-YUV422P>`
529
530 - .. row 15
531
532 - ``VIDEO_PALETTE_YUV411P``
533
534 - :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>` [#f8]_
535
536 - .. row 16
537
538 - ``VIDEO_PALETTE_YUV420P``
539
540 - :ref:`V4L2_PIX_FMT_YVU420 <V4L2-PIX-FMT-YVU420>`
541
542 - .. row 17
543
544 - ``VIDEO_PALETTE_YUV410P``
545
546 - :ref:`V4L2_PIX_FMT_YVU410 <V4L2-PIX-FMT-YVU410>`
547 348
548 349
549V4L2 image formats are defined in :ref:`pixfmt`. The image format can 350V4L2 image formats are defined in :ref:`pixfmt`. The image format can
@@ -588,36 +389,16 @@ The following fields where replaced by V4L2 controls accessible with the
588 :header-rows: 1 389 :header-rows: 1
589 :stub-columns: 0 390 :stub-columns: 0
590 391
591 392 * - struct ``video_audio``
592 - .. row 1 393 - V4L2 Control ID
593 394 * - ``volume``
594 - struct ``video_audio`` 395 - ``V4L2_CID_AUDIO_VOLUME``
595 396 * - ``bass``
596 - V4L2 Control ID 397 - ``V4L2_CID_AUDIO_BASS``
597 398 * - ``treble``
598 - .. row 2 399 - ``V4L2_CID_AUDIO_TREBLE``
599 400 * - ``balance``
600 - ``volume`` 401 - ``V4L2_CID_AUDIO_BALANCE``
601
602 - ``V4L2_CID_AUDIO_VOLUME``
603
604 - .. row 3
605
606 - ``bass``
607
608 - ``V4L2_CID_AUDIO_BASS``
609
610 - .. row 4
611
612 - ``treble``
613
614 - ``V4L2_CID_AUDIO_TREBLE``
615
616 - .. row 5
617
618 - ``balance``
619
620 - ``V4L2_CID_AUDIO_BALANCE``
621 402
622 403
623To determine which of these controls are supported by a driver V4L 404To determine which of these controls are supported by a driver V4L
@@ -752,68 +533,49 @@ differences.
752 :header-rows: 1 533 :header-rows: 1
753 :stub-columns: 0 534 :stub-columns: 0
754 535
755 536 * - V4L
756 - .. row 1 537 - V4L2
757 538 * -
758 - V4L 539 - The image format must be selected before buffers are allocated,
759 540 with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. When no
760 - V4L2 541 format is selected the driver may use the last, possibly by
761 542 another application requested format.
762 - .. row 2 543 * - Applications cannot change the number of buffers. The it is built
763 544 into the driver, unless it has a module option to change the
764 - 545 number when the driver module is loaded.
765 - The image format must be selected before buffers are allocated, 546 - The :ref:`VIDIOC_REQBUFS` ioctl allocates the
766 with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. When no 547 desired number of buffers, this is a required step in the
767 format is selected the driver may use the last, possibly by 548 initialization sequence.
768 another application requested format. 549 * - Drivers map all buffers as one contiguous range of memory. The
769 550 ``VIDIOCGMBUF`` ioctl is available to query the number of buffers,
770 - .. row 3 551 the offset of each buffer from the start of the virtual file, and
771 552 the overall amount of memory used, which can be used as arguments
772 - Applications cannot change the number of buffers. The it is built 553 for the :ref:`mmap() <func-mmap>` function.
773 into the driver, unless it has a module option to change the 554 - Buffers are individually mapped. The offset and size of each
774 number when the driver module is loaded. 555 buffer can be determined with the
775 556 :ref:`VIDIOC_QUERYBUF` ioctl.
776 - The :ref:`VIDIOC_REQBUFS` ioctl allocates the 557 * - The ``VIDIOCMCAPTURE`` ioctl prepares a buffer for capturing. It
777 desired number of buffers, this is a required step in the 558 also determines the image format for this buffer. The ioctl
778 initialization sequence. 559 returns immediately, eventually with an ``EAGAIN`` error code if no
779 560 video signal had been detected. When the driver supports more than
780 - .. row 4 561 one buffer applications can call the ioctl multiple times and thus
781 562 have multiple outstanding capture requests.
782 - Drivers map all buffers as one contiguous range of memory. The 563
783 ``VIDIOCGMBUF`` ioctl is available to query the number of buffers, 564 The ``VIDIOCSYNC`` ioctl suspends execution until a particular
784 the offset of each buffer from the start of the virtual file, and 565 buffer has been filled.
785 the overall amount of memory used, which can be used as arguments 566 - Drivers maintain an incoming and outgoing queue.
786 for the :ref:`mmap() <func-mmap>` function. 567 :ref:`VIDIOC_QBUF` enqueues any empty buffer into
787 568 the incoming queue. Filled buffers are dequeued from the outgoing
788 - Buffers are individually mapped. The offset and size of each 569 queue with the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. To wait
789 buffer can be determined with the 570 until filled buffers become available this function,
790 :ref:`VIDIOC_QUERYBUF` ioctl. 571 :ref:`select() <func-select>` or :ref:`poll() <func-poll>` can
791 572 be used. The :ref:`VIDIOC_STREAMON` ioctl
792 - .. row 5 573 must be called once after enqueuing one or more buffers to start
793 574 capturing. Its counterpart
794 - The ``VIDIOCMCAPTURE`` ioctl prepares a buffer for capturing. It 575 :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` stops capturing and
795 also determines the image format for this buffer. The ioctl 576 dequeues all buffers from both queues. Applications can query the
796 returns immediately, eventually with an ``EAGAIN`` error code if no 577 signal status, if known, with the
797 video signal had been detected. When the driver supports more than 578 :ref:`VIDIOC_ENUMINPUT` ioctl.
798 one buffer applications can call the ioctl multiple times and thus
799 have multiple outstanding capture requests.
800
801 The ``VIDIOCSYNC`` ioctl suspends execution until a particular
802 buffer has been filled.
803
804 - Drivers maintain an incoming and outgoing queue.
805 :ref:`VIDIOC_QBUF` enqueues any empty buffer into
806 the incoming queue. Filled buffers are dequeued from the outgoing
807 queue with the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. To wait
808 until filled buffers become available this function,
809 :ref:`select() <func-select>` or :ref:`poll() <func-poll>` can
810 be used. The :ref:`VIDIOC_STREAMON` ioctl
811 must be called once after enqueuing one or more buffers to start
812 capturing. Its counterpart
813 :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` stops capturing and
814 dequeues all buffers from both queues. Applications can query the
815 signal status, if known, with the
816 :ref:`VIDIOC_ENUMINPUT` ioctl.
817 579
818 580
819For a more in-depth discussion of memory mapping and examples, see 581For a more in-depth discussion of memory mapping and examples, see
@@ -835,56 +597,24 @@ with the following parameters:
835 :header-rows: 1 597 :header-rows: 1
836 :stub-columns: 0 598 :stub-columns: 0
837 599
838 600 * - struct :c:type:`v4l2_vbi_format`
839 - .. row 1 601 - V4L, BTTV driver
840 602 * - sampling_rate
841 - struct :c:type:`v4l2_vbi_format` 603 - 28636363 Hz NTSC (or any other 525-line standard); 35468950 Hz PAL
842 604 and SECAM (625-line standards)
843 - V4L, BTTV driver 605 * - offset
844 606 - ?
845 - .. row 2 607 * - samples_per_line
846 608 - 2048
847 - sampling_rate 609 * - sample_format
848 610 - V4L2_PIX_FMT_GREY. The last four bytes (a machine endianness
849 - 28636363 Hz NTSC (or any other 525-line standard); 35468950 Hz PAL 611 integer) contain a frame counter.
850 and SECAM (625-line standards) 612 * - start[]
851 613 - 10, 273 NTSC; 22, 335 PAL and SECAM
852 - .. row 3 614 * - count[]
853 615 - 16, 16 [#f9]_
854 - offset 616 * - flags
855 617 - 0
856 - ?
857
858 - .. row 4
859
860 - samples_per_line
861
862 - 2048
863
864 - .. row 5
865
866 - sample_format
867
868 - V4L2_PIX_FMT_GREY. The last four bytes (a machine endianness
869 integer) contain a frame counter.
870
871 - .. row 6
872
873 - start[]
874
875 - 10, 273 NTSC; 22, 335 PAL and SECAM
876
877 - .. row 7
878
879 - count[]
880
881 - 16, 16 [#f9]_
882
883 - .. row 8
884
885 - flags
886
887 - 0
888 618
889 619
890Undocumented in the V4L specification, in Linux 2.3 the 620Undocumented in the V4L specification, in Linux 2.3 the
diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended-controls.rst
index 85e536971923..7725c33d8b69 100644
--- a/Documentation/media/uapi/v4l/extended-controls.rst
+++ b/Documentation/media/uapi/v4l/extended-controls.rst
@@ -224,42 +224,18 @@ enum v4l2_mpeg_stream_type -
224 :header-rows: 0 224 :header-rows: 0
225 :stub-columns: 0 225 :stub-columns: 0
226 226
227 227 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_PS``
228 - .. row 1 228 - MPEG-2 program stream
229 229 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_TS``
230 - ``V4L2_MPEG_STREAM_TYPE_MPEG2_PS`` 230 - MPEG-2 transport stream
231 231 * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_SS``
232 - MPEG-2 program stream 232 - MPEG-1 system stream
233 233 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_DVD``
234 - .. row 2 234 - MPEG-2 DVD-compatible stream
235 235 * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_VCD``
236 - ``V4L2_MPEG_STREAM_TYPE_MPEG2_TS`` 236 - MPEG-1 VCD-compatible stream
237 237 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD``
238 - MPEG-2 transport stream 238 - MPEG-2 SVCD-compatible stream
239
240 - .. row 3
241
242 - ``V4L2_MPEG_STREAM_TYPE_MPEG1_SS``
243
244 - MPEG-1 system stream
245
246 - .. row 4
247
248 - ``V4L2_MPEG_STREAM_TYPE_MPEG2_DVD``
249
250 - MPEG-2 DVD-compatible stream
251
252 - .. row 5
253
254 - ``V4L2_MPEG_STREAM_TYPE_MPEG1_VCD``
255
256 - MPEG-1 VCD-compatible stream
257
258 - .. row 6
259
260 - ``V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD``
261
262 - MPEG-2 SVCD-compatible stream
263 239
264 240
265 241
@@ -303,20 +279,12 @@ enum v4l2_mpeg_stream_vbi_fmt -
303 :header-rows: 0 279 :header-rows: 0
304 :stub-columns: 0 280 :stub-columns: 0
305 281
306 282 * - ``V4L2_MPEG_STREAM_VBI_FMT_NONE``
307 - .. row 1 283 - No VBI in the MPEG stream
308 284 * - ``V4L2_MPEG_STREAM_VBI_FMT_IVTV``
309 - ``V4L2_MPEG_STREAM_VBI_FMT_NONE`` 285 - VBI in private packets, IVTV format (documented in the kernel
310 286 sources in the file
311 - No VBI in the MPEG stream 287 ``Documentation/video4linux/cx2341x/README.vbi``)
312
313 - .. row 2
314
315 - ``V4L2_MPEG_STREAM_VBI_FMT_IVTV``
316
317 - VBI in private packets, IVTV format (documented in the kernel
318 sources in the file
319 ``Documentation/video4linux/cx2341x/README.vbi``)
320 288
321 289
322 290
@@ -334,24 +302,12 @@ enum v4l2_mpeg_audio_sampling_freq -
334 :header-rows: 0 302 :header-rows: 0
335 :stub-columns: 0 303 :stub-columns: 0
336 304
337 305 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100``
338 - .. row 1 306 - 44.1 kHz
339 307 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000``
340 - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100`` 308 - 48 kHz
341 309 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000``
342 - 44.1 kHz 310 - 32 kHz
343
344 - .. row 2
345
346 - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000``
347
348 - 48 kHz
349
350 - .. row 3
351
352 - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000``
353
354 - 32 kHz
355 311
356 312
357 313
@@ -370,36 +326,16 @@ enum v4l2_mpeg_audio_encoding -
370 :header-rows: 0 326 :header-rows: 0
371 :stub-columns: 0 327 :stub-columns: 0
372 328
373 329 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_1``
374 - .. row 1 330 - MPEG-1/2 Layer I encoding
375 331 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_2``
376 - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_1`` 332 - MPEG-1/2 Layer II encoding
377 333 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_3``
378 - MPEG-1/2 Layer I encoding 334 - MPEG-1/2 Layer III encoding
379 335 * - ``V4L2_MPEG_AUDIO_ENCODING_AAC``
380 - .. row 2 336 - MPEG-2/4 AAC (Advanced Audio Coding)
381 337 * - ``V4L2_MPEG_AUDIO_ENCODING_AC3``
382 - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_2`` 338 - AC-3 aka ATSC A/52 encoding
383
384 - MPEG-1/2 Layer II encoding
385
386 - .. row 3
387
388 - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_3``
389
390 - MPEG-1/2 Layer III encoding
391
392 - .. row 4
393
394 - ``V4L2_MPEG_AUDIO_ENCODING_AAC``
395
396 - MPEG-2/4 AAC (Advanced Audio Coding)
397
398 - .. row 5
399
400 - ``V4L2_MPEG_AUDIO_ENCODING_AC3``
401
402 - AC-3 aka ATSC A/52 encoding
403 339
404 340
405 341
@@ -417,90 +353,34 @@ enum v4l2_mpeg_audio_l1_bitrate -
417 :header-rows: 0 353 :header-rows: 0
418 :stub-columns: 0 354 :stub-columns: 0
419 355
420 356 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_32K``
421 - .. row 1 357 - 32 kbit/s
422 358 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_64K``
423 - ``V4L2_MPEG_AUDIO_L1_BITRATE_32K`` 359 - 64 kbit/s
424 360 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_96K``
425 - 32 kbit/s 361 - 96 kbit/s
426 362 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_128K``
427 - .. row 2 363 - 128 kbit/s
428 364 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_160K``
429 - ``V4L2_MPEG_AUDIO_L1_BITRATE_64K`` 365 - 160 kbit/s
430 366 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_192K``
431 - 64 kbit/s 367 - 192 kbit/s
432 368 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_224K``
433 - .. row 3 369 - 224 kbit/s
434 370 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_256K``
435 - ``V4L2_MPEG_AUDIO_L1_BITRATE_96K`` 371 - 256 kbit/s
436 372 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_288K``
437 - 96 kbit/s 373 - 288 kbit/s
438 374 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_320K``
439 - .. row 4 375 - 320 kbit/s
440 376 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_352K``
441 - ``V4L2_MPEG_AUDIO_L1_BITRATE_128K`` 377 - 352 kbit/s
442 378 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_384K``
443 - 128 kbit/s 379 - 384 kbit/s
444 380 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_416K``
445 - .. row 5 381 - 416 kbit/s
446 382 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_448K``
447 - ``V4L2_MPEG_AUDIO_L1_BITRATE_160K`` 383 - 448 kbit/s
448
449 - 160 kbit/s
450
451 - .. row 6
452
453 - ``V4L2_MPEG_AUDIO_L1_BITRATE_192K``
454
455 - 192 kbit/s
456
457 - .. row 7
458
459 - ``V4L2_MPEG_AUDIO_L1_BITRATE_224K``
460
461 - 224 kbit/s
462
463 - .. row 8
464
465 - ``V4L2_MPEG_AUDIO_L1_BITRATE_256K``
466
467 - 256 kbit/s
468
469 - .. row 9
470
471 - ``V4L2_MPEG_AUDIO_L1_BITRATE_288K``
472
473 - 288 kbit/s
474
475 - .. row 10
476
477 - ``V4L2_MPEG_AUDIO_L1_BITRATE_320K``
478
479 - 320 kbit/s
480
481 - .. row 11
482
483 - ``V4L2_MPEG_AUDIO_L1_BITRATE_352K``
484
485 - 352 kbit/s
486
487 - .. row 12
488
489 - ``V4L2_MPEG_AUDIO_L1_BITRATE_384K``
490
491 - 384 kbit/s
492
493 - .. row 13
494
495 - ``V4L2_MPEG_AUDIO_L1_BITRATE_416K``
496
497 - 416 kbit/s
498
499 - .. row 14
500
501 - ``V4L2_MPEG_AUDIO_L1_BITRATE_448K``
502
503 - 448 kbit/s
504 384
505 385
506 386
@@ -518,90 +398,34 @@ enum v4l2_mpeg_audio_l2_bitrate -
518 :header-rows: 0 398 :header-rows: 0
519 :stub-columns: 0 399 :stub-columns: 0
520 400
521 401 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_32K``
522 - .. row 1 402 - 32 kbit/s
523 403 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_48K``
524 - ``V4L2_MPEG_AUDIO_L2_BITRATE_32K`` 404 - 48 kbit/s
525 405 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_56K``
526 - 32 kbit/s 406 - 56 kbit/s
527 407 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_64K``
528 - .. row 2 408 - 64 kbit/s
529 409 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_80K``
530 - ``V4L2_MPEG_AUDIO_L2_BITRATE_48K`` 410 - 80 kbit/s
531 411 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_96K``
532 - 48 kbit/s 412 - 96 kbit/s
533 413 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_112K``
534 - .. row 3 414 - 112 kbit/s
535 415 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_128K``
536 - ``V4L2_MPEG_AUDIO_L2_BITRATE_56K`` 416 - 128 kbit/s
537 417 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_160K``
538 - 56 kbit/s 418 - 160 kbit/s
539 419 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_192K``
540 - .. row 4 420 - 192 kbit/s
541 421 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_224K``
542 - ``V4L2_MPEG_AUDIO_L2_BITRATE_64K`` 422 - 224 kbit/s
543 423 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_256K``
544 - 64 kbit/s 424 - 256 kbit/s
545 425 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_320K``
546 - .. row 5 426 - 320 kbit/s
547 427 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_384K``
548 - ``V4L2_MPEG_AUDIO_L2_BITRATE_80K`` 428 - 384 kbit/s
549
550 - 80 kbit/s
551
552 - .. row 6
553
554 - ``V4L2_MPEG_AUDIO_L2_BITRATE_96K``
555
556 - 96 kbit/s
557
558 - .. row 7
559
560 - ``V4L2_MPEG_AUDIO_L2_BITRATE_112K``
561
562 - 112 kbit/s
563
564 - .. row 8
565
566 - ``V4L2_MPEG_AUDIO_L2_BITRATE_128K``
567
568 - 128 kbit/s
569
570 - .. row 9
571
572 - ``V4L2_MPEG_AUDIO_L2_BITRATE_160K``
573
574 - 160 kbit/s
575
576 - .. row 10
577
578 - ``V4L2_MPEG_AUDIO_L2_BITRATE_192K``
579
580 - 192 kbit/s
581
582 - .. row 11
583
584 - ``V4L2_MPEG_AUDIO_L2_BITRATE_224K``
585
586 - 224 kbit/s
587
588 - .. row 12
589
590 - ``V4L2_MPEG_AUDIO_L2_BITRATE_256K``
591
592 - 256 kbit/s
593
594 - .. row 13
595
596 - ``V4L2_MPEG_AUDIO_L2_BITRATE_320K``
597
598 - 320 kbit/s
599
600 - .. row 14
601
602 - ``V4L2_MPEG_AUDIO_L2_BITRATE_384K``
603
604 - 384 kbit/s
605 429
606 430
607 431
@@ -619,90 +443,34 @@ enum v4l2_mpeg_audio_l3_bitrate -
619 :header-rows: 0 443 :header-rows: 0
620 :stub-columns: 0 444 :stub-columns: 0
621 445
622 446 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_32K``
623 - .. row 1 447 - 32 kbit/s
624 448 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_40K``
625 - ``V4L2_MPEG_AUDIO_L3_BITRATE_32K`` 449 - 40 kbit/s
626 450 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_48K``
627 - 32 kbit/s 451 - 48 kbit/s
628 452 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_56K``
629 - .. row 2 453 - 56 kbit/s
630 454 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_64K``
631 - ``V4L2_MPEG_AUDIO_L3_BITRATE_40K`` 455 - 64 kbit/s
632 456 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_80K``
633 - 40 kbit/s 457 - 80 kbit/s
634 458 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_96K``
635 - .. row 3 459 - 96 kbit/s
636 460 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_112K``
637 - ``V4L2_MPEG_AUDIO_L3_BITRATE_48K`` 461 - 112 kbit/s
638 462 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_128K``
639 - 48 kbit/s 463 - 128 kbit/s
640 464 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_160K``
641 - .. row 4 465 - 160 kbit/s
642 466 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_192K``
643 - ``V4L2_MPEG_AUDIO_L3_BITRATE_56K`` 467 - 192 kbit/s
644 468 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_224K``
645 - 56 kbit/s 469 - 224 kbit/s
646 470 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_256K``
647 - .. row 5 471 - 256 kbit/s
648 472 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_320K``
649 - ``V4L2_MPEG_AUDIO_L3_BITRATE_64K`` 473 - 320 kbit/s
650
651 - 64 kbit/s
652
653 - .. row 6
654
655 - ``V4L2_MPEG_AUDIO_L3_BITRATE_80K``
656
657 - 80 kbit/s
658
659 - .. row 7
660
661 - ``V4L2_MPEG_AUDIO_L3_BITRATE_96K``
662
663 - 96 kbit/s
664
665 - .. row 8
666
667 - ``V4L2_MPEG_AUDIO_L3_BITRATE_112K``
668
669 - 112 kbit/s
670
671 - .. row 9
672
673 - ``V4L2_MPEG_AUDIO_L3_BITRATE_128K``
674
675 - 128 kbit/s
676
677 - .. row 10
678
679 - ``V4L2_MPEG_AUDIO_L3_BITRATE_160K``
680
681 - 160 kbit/s
682
683 - .. row 11
684
685 - ``V4L2_MPEG_AUDIO_L3_BITRATE_192K``
686
687 - 192 kbit/s
688
689 - .. row 12
690
691 - ``V4L2_MPEG_AUDIO_L3_BITRATE_224K``
692
693 - 224 kbit/s
694
695 - .. row 13
696
697 - ``V4L2_MPEG_AUDIO_L3_BITRATE_256K``
698
699 - 256 kbit/s
700
701 - .. row 14
702
703 - ``V4L2_MPEG_AUDIO_L3_BITRATE_320K``
704
705 - 320 kbit/s
706 474
707 475
708 476
@@ -723,120 +491,44 @@ enum v4l2_mpeg_audio_ac3_bitrate -
723 :header-rows: 0 491 :header-rows: 0
724 :stub-columns: 0 492 :stub-columns: 0
725 493
726 494 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_32K``
727 - .. row 1 495 - 32 kbit/s
728 496 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_40K``
729 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_32K`` 497 - 40 kbit/s
730 498 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_48K``
731 - 32 kbit/s 499 - 48 kbit/s
732 500 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_56K``
733 - .. row 2 501 - 56 kbit/s
734 502 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_64K``
735 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_40K`` 503 - 64 kbit/s
736 504 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_80K``
737 - 40 kbit/s 505 - 80 kbit/s
738 506 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_96K``
739 - .. row 3 507 - 96 kbit/s
740 508 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_112K``
741 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_48K`` 509 - 112 kbit/s
742 510 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_128K``
743 - 48 kbit/s 511 - 128 kbit/s
744 512 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_160K``
745 - .. row 4 513 - 160 kbit/s
746 514 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_192K``
747 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_56K`` 515 - 192 kbit/s
748 516 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_224K``
749 - 56 kbit/s 517 - 224 kbit/s
750 518 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_256K``
751 - .. row 5 519 - 256 kbit/s
752 520 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_320K``
753 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_64K`` 521 - 320 kbit/s
754 522 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_384K``
755 - 64 kbit/s 523 - 384 kbit/s
756 524 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_448K``
757 - .. row 6 525 - 448 kbit/s
758 526 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_512K``
759 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_80K`` 527 - 512 kbit/s
760 528 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_576K``
761 - 80 kbit/s 529 - 576 kbit/s
762 530 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_640K``
763 - .. row 7 531 - 640 kbit/s
764
765 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_96K``
766
767 - 96 kbit/s
768
769 - .. row 8
770
771 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_112K``
772
773 - 112 kbit/s
774
775 - .. row 9
776
777 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_128K``
778
779 - 128 kbit/s
780
781 - .. row 10
782
783 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_160K``
784
785 - 160 kbit/s
786
787 - .. row 11
788
789 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_192K``
790
791 - 192 kbit/s
792
793 - .. row 12
794
795 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_224K``
796
797 - 224 kbit/s
798
799 - .. row 13
800
801 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_256K``
802
803 - 256 kbit/s
804
805 - .. row 14
806
807 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_320K``
808
809 - 320 kbit/s
810
811 - .. row 15
812
813 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_384K``
814
815 - 384 kbit/s
816
817 - .. row 16
818
819 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_448K``
820
821 - 448 kbit/s
822
823 - .. row 17
824
825 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_512K``
826
827 - 512 kbit/s
828
829 - .. row 18
830
831 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_576K``
832
833 - 576 kbit/s
834
835 - .. row 19
836
837 - ``V4L2_MPEG_AUDIO_AC3_BITRATE_640K``
838
839 - 640 kbit/s
840 532
841 533
842 534
@@ -854,30 +546,14 @@ enum v4l2_mpeg_audio_mode -
854 :header-rows: 0 546 :header-rows: 0
855 :stub-columns: 0 547 :stub-columns: 0
856 548
857 549 * - ``V4L2_MPEG_AUDIO_MODE_STEREO``
858 - .. row 1 550 - Stereo
859 551 * - ``V4L2_MPEG_AUDIO_MODE_JOINT_STEREO``
860 - ``V4L2_MPEG_AUDIO_MODE_STEREO`` 552 - Joint Stereo
861 553 * - ``V4L2_MPEG_AUDIO_MODE_DUAL``
862 - Stereo 554 - Bilingual
863 555 * - ``V4L2_MPEG_AUDIO_MODE_MONO``
864 - .. row 2 556 - Mono
865
866 - ``V4L2_MPEG_AUDIO_MODE_JOINT_STEREO``
867
868 - Joint Stereo
869
870 - .. row 3
871
872 - ``V4L2_MPEG_AUDIO_MODE_DUAL``
873
874 - Bilingual
875
876 - .. row 4
877
878 - ``V4L2_MPEG_AUDIO_MODE_MONO``
879
880 - Mono
881 557
882 558
883 559
@@ -897,30 +573,14 @@ enum v4l2_mpeg_audio_mode_extension -
897 :header-rows: 0 573 :header-rows: 0
898 :stub-columns: 0 574 :stub-columns: 0
899 575
900 576 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4``
901 - .. row 1 577 - Subbands 4-31 in intensity stereo
902 578 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8``
903 - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4`` 579 - Subbands 8-31 in intensity stereo
904 580 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12``
905 - Subbands 4-31 in intensity stereo 581 - Subbands 12-31 in intensity stereo
906 582 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16``
907 - .. row 2 583 - Subbands 16-31 in intensity stereo
908
909 - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8``
910
911 - Subbands 8-31 in intensity stereo
912
913 - .. row 3
914
915 - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12``
916
917 - Subbands 12-31 in intensity stereo
918
919 - .. row 4
920
921 - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16``
922
923 - Subbands 16-31 in intensity stereo
924 584
925 585
926 586
@@ -938,24 +598,12 @@ enum v4l2_mpeg_audio_emphasis -
938 :header-rows: 0 598 :header-rows: 0
939 :stub-columns: 0 599 :stub-columns: 0
940 600
941 601 * - ``V4L2_MPEG_AUDIO_EMPHASIS_NONE``
942 - .. row 1 602 - None
943 603 * - ``V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS``
944 - ``V4L2_MPEG_AUDIO_EMPHASIS_NONE`` 604 - 50/15 microsecond emphasis
945 605 * - ``V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17``
946 - None 606 - CCITT J.17
947
948 - .. row 2
949
950 - ``V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS``
951
952 - 50/15 microsecond emphasis
953
954 - .. row 3
955
956 - ``V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17``
957
958 - CCITT J.17
959 607
960 608
961 609
@@ -973,18 +621,10 @@ enum v4l2_mpeg_audio_crc -
973 :header-rows: 0 621 :header-rows: 0
974 :stub-columns: 0 622 :stub-columns: 0
975 623
976 624 * - ``V4L2_MPEG_AUDIO_CRC_NONE``
977 - .. row 1 625 - None
978 626 * - ``V4L2_MPEG_AUDIO_CRC_CRC16``
979 - ``V4L2_MPEG_AUDIO_CRC_NONE`` 627 - 16 bit parity check
980
981 - None
982
983 - .. row 2
984
985 - ``V4L2_MPEG_AUDIO_CRC_CRC16``
986
987 - 16 bit parity check
988 628
989 629
990 630
@@ -1011,42 +651,18 @@ enum v4l2_mpeg_audio_dec_playback -
1011 :header-rows: 0 651 :header-rows: 0
1012 :stub-columns: 0 652 :stub-columns: 0
1013 653
1014 654 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_AUTO``
1015 - .. row 1 655 - Automatically determines the best playback mode.
1016 656 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_STEREO``
1017 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_AUTO`` 657 - Stereo playback.
1018 658 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_LEFT``
1019 - Automatically determines the best playback mode. 659 - Left channel playback.
1020 660 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_RIGHT``
1021 - .. row 2 661 - Right channel playback.
1022 662 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_MONO``
1023 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_STEREO`` 663 - Mono playback.
1024 664 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_SWAPPED_STEREO``
1025 - Stereo playback. 665 - Stereo playback with swapped left and right channels.
1026
1027 - .. row 3
1028
1029 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_LEFT``
1030
1031 - Left channel playback.
1032
1033 - .. row 4
1034
1035 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_RIGHT``
1036
1037 - Right channel playback.
1038
1039 - .. row 5
1040
1041 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_MONO``
1042
1043 - Mono playback.
1044
1045 - .. row 6
1046
1047 - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_SWAPPED_STEREO``
1048
1049 - Stereo playback with swapped left and right channels.
1050 666
1051 667
1052 668
@@ -1073,24 +689,12 @@ enum v4l2_mpeg_video_encoding -
1073 :header-rows: 0 689 :header-rows: 0
1074 :stub-columns: 0 690 :stub-columns: 0
1075 691
1076 692 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_1``
1077 - .. row 1 693 - MPEG-1 Video encoding
1078 694 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_2``
1079 - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_1`` 695 - MPEG-2 Video encoding
1080 696 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC``
1081 - MPEG-1 Video encoding 697 - MPEG-4 AVC (H.264) Video encoding
1082
1083 - .. row 2
1084
1085 - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_2``
1086
1087 - MPEG-2 Video encoding
1088
1089 - .. row 3
1090
1091 - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC``
1092
1093 - MPEG-4 AVC (H.264) Video encoding
1094 698
1095 699
1096 700
@@ -1108,22 +712,10 @@ enum v4l2_mpeg_video_aspect -
1108 :header-rows: 0 712 :header-rows: 0
1109 :stub-columns: 0 713 :stub-columns: 0
1110 714
1111 715 * - ``V4L2_MPEG_VIDEO_ASPECT_1x1``
1112 - .. row 1 716 * - ``V4L2_MPEG_VIDEO_ASPECT_4x3``
1113 717 * - ``V4L2_MPEG_VIDEO_ASPECT_16x9``
1114 - ``V4L2_MPEG_VIDEO_ASPECT_1x1`` 718 * - ``V4L2_MPEG_VIDEO_ASPECT_221x100``
1115
1116 - .. row 2
1117
1118 - ``V4L2_MPEG_VIDEO_ASPECT_4x3``
1119
1120 - .. row 3
1121
1122 - ``V4L2_MPEG_VIDEO_ASPECT_16x9``
1123
1124 - .. row 4
1125
1126 - ``V4L2_MPEG_VIDEO_ASPECT_221x100``
1127 719
1128 720
1129 721
@@ -1153,18 +745,10 @@ enum v4l2_mpeg_video_bitrate_mode -
1153 :header-rows: 0 745 :header-rows: 0
1154 :stub-columns: 0 746 :stub-columns: 0
1155 747
1156 748 * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_VBR``
1157 - .. row 1 749 - Variable bitrate
1158 750 * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CBR``
1159 - ``V4L2_MPEG_VIDEO_BITRATE_MODE_VBR`` 751 - Constant bitrate
1160
1161 - Variable bitrate
1162
1163 - .. row 2
1164
1165 - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CBR``
1166
1167 - Constant bitrate
1168 752
1169 753
1170 754
@@ -1195,30 +779,14 @@ enum v4l2_mpeg_video_bitrate_mode -
1195 :header-rows: 0 779 :header-rows: 0
1196 :stub-columns: 0 780 :stub-columns: 0
1197 781
1198 782 * - Bit 0:7
1199 - .. row 1 783 - V chrominance information
1200 784 * - Bit 8:15
1201 - Bit 0:7 785 - U chrominance information
1202 786 * - Bit 16:23
1203 - V chrominance information 787 - Y luminance information
1204 788 * - Bit 24:31
1205 - .. row 2 789 - Must be zero.
1206
1207 - Bit 8:15
1208
1209 - U chrominance information
1210
1211 - .. row 3
1212
1213 - Bit 16:23
1214
1215 - Y luminance information
1216
1217 - .. row 4
1218
1219 - Bit 24:31
1220
1221 - Must be zero.
1222 790
1223 791
1224 792
@@ -1262,114 +830,42 @@ enum v4l2_mpeg_video_h264_vui_sar_idc -
1262 :header-rows: 0 830 :header-rows: 0
1263 :stub-columns: 0 831 :stub-columns: 0
1264 832
1265 833 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_UNSPECIFIED``
1266 - .. row 1 834 - Unspecified
1267 835 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1``
1268 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_UNSPECIFIED`` 836 - 1x1
1269 837 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_12x11``
1270 - Unspecified 838 - 12x11
1271 839 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_10x11``
1272 - .. row 2 840 - 10x11
1273 841 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_16x11``
1274 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1`` 842 - 16x11
1275 843 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_40x33``
1276 - 1x1 844 - 40x33
1277 845 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_24x11``
1278 - .. row 3 846 - 24x11
1279 847 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_20x11``
1280 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_12x11`` 848 - 20x11
1281 849 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_32x11``
1282 - 12x11 850 - 32x11
1283 851 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_80x33``
1284 - .. row 4 852 - 80x33
1285 853 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_18x11``
1286 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_10x11`` 854 - 18x11
1287 855 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_15x11``
1288 - 10x11 856 - 15x11
1289 857 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_64x33``
1290 - .. row 5 858 - 64x33
1291 859 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_160x99``
1292 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_16x11`` 860 - 160x99
1293 861 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_4x3``
1294 - 16x11 862 - 4x3
1295 863 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_3x2``
1296 - .. row 6 864 - 3x2
1297 865 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_2x1``
1298 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_40x33`` 866 - 2x1
1299 867 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_EXTENDED``
1300 - 40x33 868 - Extended SAR
1301
1302 - .. row 7
1303
1304 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_24x11``
1305
1306 - 24x11
1307
1308 - .. row 8
1309
1310 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_20x11``
1311
1312 - 20x11
1313
1314 - .. row 9
1315
1316 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_32x11``
1317
1318 - 32x11
1319
1320 - .. row 10
1321
1322 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_80x33``
1323
1324 - 80x33
1325
1326 - .. row 11
1327
1328 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_18x11``
1329
1330 - 18x11
1331
1332 - .. row 12
1333
1334 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_15x11``
1335
1336 - 15x11
1337
1338 - .. row 13
1339
1340 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_64x33``
1341
1342 - 64x33
1343
1344 - .. row 14
1345
1346 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_160x99``
1347
1348 - 160x99
1349
1350 - .. row 15
1351
1352 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_4x3``
1353
1354 - 4x3
1355
1356 - .. row 16
1357
1358 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_3x2``
1359
1360 - 3x2
1361
1362 - .. row 17
1363
1364 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_2x1``
1365
1366 - 2x1
1367
1368 - .. row 18
1369
1370 - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_EXTENDED``
1371
1372 - Extended SAR
1373 869
1374 870
1375 871
@@ -1396,102 +892,38 @@ enum v4l2_mpeg_video_h264_level -
1396 :header-rows: 0 892 :header-rows: 0
1397 :stub-columns: 0 893 :stub-columns: 0
1398 894
1399 895 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_0``
1400 - .. row 1 896 - Level 1.0
1401 897 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1B``
1402 - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_0`` 898 - Level 1B
1403 899 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_1``
1404 - Level 1.0 900 - Level 1.1
1405 901 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_2``
1406 - .. row 2 902 - Level 1.2
1407 903 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_3``
1408 - ``V4L2_MPEG_VIDEO_H264_LEVEL_1B`` 904 - Level 1.3
1409 905 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_0``
1410 - Level 1B 906 - Level 2.0
1411 907 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_1``
1412 - .. row 3 908 - Level 2.1
1413 909 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_2``
1414 - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_1`` 910 - Level 2.2
1415 911 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_0``
1416 - Level 1.1 912 - Level 3.0
1417 913 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_1``
1418 - .. row 4 914 - Level 3.1
1419 915 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_2``
1420 - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_2`` 916 - Level 3.2
1421 917 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_0``
1422 - Level 1.2 918 - Level 4.0
1423 919 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_1``
1424 - .. row 5 920 - Level 4.1
1425 921 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_2``
1426 - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_3`` 922 - Level 4.2
1427 923 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_0``
1428 - Level 1.3 924 - Level 5.0
1429 925 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_1``
1430 - .. row 6 926 - Level 5.1
1431
1432 - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_0``
1433
1434 - Level 2.0
1435
1436 - .. row 7
1437
1438 - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_1``
1439
1440 - Level 2.1
1441
1442 - .. row 8
1443
1444 - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_2``
1445
1446 - Level 2.2
1447
1448 - .. row 9
1449
1450 - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_0``
1451
1452 - Level 3.0
1453
1454 - .. row 10
1455
1456 - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_1``
1457
1458 - Level 3.1
1459
1460 - .. row 11
1461
1462 - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_2``
1463
1464 - Level 3.2
1465
1466 - .. row 12
1467
1468 - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_0``
1469
1470 - Level 4.0
1471
1472 - .. row 13
1473
1474 - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_1``
1475
1476 - Level 4.1
1477
1478 - .. row 14
1479
1480 - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_2``
1481
1482 - Level 4.2
1483
1484 - .. row 15
1485
1486 - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_0``
1487
1488 - Level 5.0
1489
1490 - .. row 16
1491
1492 - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_1``
1493
1494 - Level 5.1
1495 927
1496 928
1497 929
@@ -1510,54 +942,22 @@ enum v4l2_mpeg_video_mpeg4_level -
1510 :header-rows: 0 942 :header-rows: 0
1511 :stub-columns: 0 943 :stub-columns: 0
1512 944
1513 945 * - ``V4L2_MPEG_VIDEO_LEVEL_0``
1514 - .. row 1 946 - Level 0
1515 947 * - ``V4L2_MPEG_VIDEO_LEVEL_0B``
1516 - ``V4L2_MPEG_VIDEO_LEVEL_0`` 948 - Level 0b
1517 949 * - ``V4L2_MPEG_VIDEO_LEVEL_1``
1518 - Level 0 950 - Level 1
1519 951 * - ``V4L2_MPEG_VIDEO_LEVEL_2``
1520 - .. row 2 952 - Level 2
1521 953 * - ``V4L2_MPEG_VIDEO_LEVEL_3``
1522 - ``V4L2_MPEG_VIDEO_LEVEL_0B`` 954 - Level 3
1523 955 * - ``V4L2_MPEG_VIDEO_LEVEL_3B``
1524 - Level 0b 956 - Level 3b
1525 957 * - ``V4L2_MPEG_VIDEO_LEVEL_4``
1526 - .. row 3 958 - Level 4
1527 959 * - ``V4L2_MPEG_VIDEO_LEVEL_5``
1528 - ``V4L2_MPEG_VIDEO_LEVEL_1`` 960 - Level 5
1529
1530 - Level 1
1531
1532 - .. row 4
1533
1534 - ``V4L2_MPEG_VIDEO_LEVEL_2``
1535
1536 - Level 2
1537
1538 - .. row 5
1539
1540 - ``V4L2_MPEG_VIDEO_LEVEL_3``
1541
1542 - Level 3
1543
1544 - .. row 6
1545
1546 - ``V4L2_MPEG_VIDEO_LEVEL_3B``
1547
1548 - Level 3b
1549
1550 - .. row 7
1551
1552 - ``V4L2_MPEG_VIDEO_LEVEL_4``
1553
1554 - Level 4
1555
1556 - .. row 8
1557
1558 - ``V4L2_MPEG_VIDEO_LEVEL_5``
1559
1560 - Level 5
1561 961
1562 962
1563 963
@@ -1576,108 +976,40 @@ enum v4l2_mpeg_video_h264_profile -
1576 :header-rows: 0 976 :header-rows: 0
1577 :stub-columns: 0 977 :stub-columns: 0
1578 978
1579 979 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE``
1580 - .. row 1 980 - Baseline profile
1581 981 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE``
1582 - ``V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE`` 982 - Constrained Baseline profile
1583 983 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MAIN``
1584 - Baseline profile 984 - Main profile
1585 985 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED``
1586 - .. row 2 986 - Extended profile
1587 987 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH``
1588 - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE`` 988 - High profile
1589 989 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10``
1590 - Constrained Baseline profile 990 - High 10 profile
1591 991 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422``
1592 - .. row 3 992 - High 422 profile
1593 993 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE``
1594 - ``V4L2_MPEG_VIDEO_H264_PROFILE_MAIN`` 994 - High 444 Predictive profile
1595 995 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10_INTRA``
1596 - Main profile 996 - High 10 Intra profile
1597 997 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422_INTRA``
1598 - .. row 4 998 - High 422 Intra profile
1599 999 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_INTRA``
1600 - ``V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED`` 1000 - High 444 Intra profile
1601 1001 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CAVLC_444_INTRA``
1602 - Extended profile 1002 - CAVLC 444 Intra profile
1603 1003 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_BASELINE``
1604 - .. row 5 1004 - Scalable Baseline profile
1605 1005 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH``
1606 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH`` 1006 - Scalable High profile
1607 1007 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH_INTRA``
1608 - High profile 1008 - Scalable High Intra profile
1609 1009 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH``
1610 - .. row 6 1010 - Stereo High profile
1611 1011 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH``
1612 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10`` 1012 - Multiview High profile
1613
1614 - High 10 profile
1615
1616 - .. row 7
1617
1618 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422``
1619
1620 - High 422 profile
1621
1622 - .. row 8
1623
1624 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE``
1625
1626 - High 444 Predictive profile
1627
1628 - .. row 9
1629
1630 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10_INTRA``
1631
1632 - High 10 Intra profile
1633
1634 - .. row 10
1635
1636 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422_INTRA``
1637
1638 - High 422 Intra profile
1639
1640 - .. row 11
1641
1642 - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_INTRA``
1643
1644 - High 444 Intra profile
1645
1646 - .. row 12
1647
1648 - ``V4L2_MPEG_VIDEO_H264_PROFILE_CAVLC_444_INTRA``
1649
1650 - CAVLC 444 Intra profile
1651
1652 - .. row 13
1653
1654 - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_BASELINE``
1655
1656 - Scalable Baseline profile
1657
1658 - .. row 14
1659
1660 - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH``
1661
1662 - Scalable High profile
1663
1664 - .. row 15
1665
1666 - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH_INTRA``
1667
1668 - Scalable High Intra profile
1669
1670 - .. row 16
1671
1672 - ``V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH``
1673
1674 - Stereo High profile
1675
1676 - .. row 17
1677
1678 - ``V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH``
1679
1680 - Multiview High profile
1681 1013
1682 1014
1683 1015
@@ -1696,36 +1028,16 @@ enum v4l2_mpeg_video_mpeg4_profile -
1696 :header-rows: 0 1028 :header-rows: 0
1697 :stub-columns: 0 1029 :stub-columns: 0
1698 1030
1699 1031 * - ``V4L2_MPEG_VIDEO_PROFILE_SIMPLE``
1700 - .. row 1 1032 - Simple profile
1701 1033 * - ``V4L2_MPEG_VIDEO_PROFILE_ADVANCED_SIMPLE``
1702 - ``V4L2_MPEG_VIDEO_PROFILE_SIMPLE`` 1034 - Advanced Simple profile
1703 1035 * - ``V4L2_MPEG_VIDEO_PROFILE_CORE``
1704 - Simple profile 1036 - Core profile
1705 1037 * - ``V4L2_MPEG_VIDEO_PROFILE_SIMPLE_SCALABLE``
1706 - .. row 2 1038 - Simple Scalable profile
1707 1039 * - ``V4L2_MPEG_VIDEO_PROFILE_ADVANCED_CODING_EFFICIENCY``
1708 - ``V4L2_MPEG_VIDEO_PROFILE_ADVANCED_SIMPLE`` 1040 -
1709
1710 - Advanced Simple profile
1711
1712 - .. row 3
1713
1714 - ``V4L2_MPEG_VIDEO_PROFILE_CORE``
1715
1716 - Core profile
1717
1718 - .. row 4
1719
1720 - ``V4L2_MPEG_VIDEO_PROFILE_SIMPLE_SCALABLE``
1721
1722 - Simple Scalable profile
1723
1724 - .. row 5
1725
1726 - ``V4L2_MPEG_VIDEO_PROFILE_ADVANCED_CODING_EFFICIENCY``
1727
1728 -
1729 1041
1730 1042
1731 1043
@@ -1750,24 +1062,12 @@ enum v4l2_mpeg_video_multi_slice_mode -
1750 :header-rows: 0 1062 :header-rows: 0
1751 :stub-columns: 0 1063 :stub-columns: 0
1752 1064
1753 1065 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_SINGLE``
1754 - .. row 1 1066 - Single slice per frame.
1755 1067 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB``
1756 - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_SINGLE`` 1068 - Multiple slices with set maximum number of macroblocks per slice.
1757 1069 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES``
1758 - Single slice per frame. 1070 - Multiple slice with set maximum size in bytes per slice.
1759
1760 - .. row 2
1761
1762 - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB``
1763
1764 - Multiple slices with set maximum number of macroblocks per slice.
1765
1766 - .. row 3
1767
1768 - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES``
1769
1770 - Multiple slice with set maximum size in bytes per slice.
1771 1071
1772 1072
1773 1073
@@ -1799,23 +1099,12 @@ enum v4l2_mpeg_video_h264_loop_filter_mode -
1799 :header-rows: 0 1099 :header-rows: 0
1800 :stub-columns: 0 1100 :stub-columns: 0
1801 1101
1802 - .. row 1 1102 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_ENABLED``
1803 1103 - Loop filter is enabled.
1804 - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_ENABLED`` 1104 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED``
1805 1105 - Loop filter is disabled.
1806 - Loop filter is enabled. 1106 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
1807 1107 - Loop filter is disabled at the slice boundary.
1808 - .. row 2
1809
1810 - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED``
1811
1812 - Loop filter is disabled.
1813
1814 - .. row 3
1815
1816 - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
1817
1818 - Loop filter is disabled at the slice boundary.
1819 1108
1820 1109
1821 1110
@@ -1842,18 +1131,10 @@ enum v4l2_mpeg_video_h264_entropy_mode -
1842 :header-rows: 0 1131 :header-rows: 0
1843 :stub-columns: 0 1132 :stub-columns: 0
1844 1133
1845 1134 * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC``
1846 - .. row 1 1135 - Use CAVLC entropy coding.
1847 1136 * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC``
1848 - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC`` 1137 - Use CABAC entropy coding.
1849
1850 - Use CAVLC entropy coding.
1851
1852 - .. row 2
1853
1854 - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC``
1855
1856 - Use CABAC entropy coding.
1857 1138
1858 1139
1859 1140
@@ -2009,19 +1290,11 @@ enum v4l2_mpeg_video_header_mode -
2009 :header-rows: 0 1290 :header-rows: 0
2010 :stub-columns: 0 1291 :stub-columns: 0
2011 1292
2012 1293 * - ``V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE``
2013 - .. row 1 1294 - The stream header is returned separately in the first buffer.
2014 1295 * - ``V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME``
2015 - ``V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE`` 1296 - The stream header is returned together with the first encoded
2016 1297 frame.
2017 - The stream header is returned separately in the first buffer.
2018
2019 - .. row 2
2020
2021 - ``V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME``
2022
2023 - The stream header is returned together with the first encoded
2024 frame.
2025 1298
2026 1299
2027 1300
@@ -2067,41 +1340,18 @@ enum v4l2_mpeg_video_h264_sei_fp_arrangement_type -
2067 :header-rows: 0 1340 :header-rows: 0
2068 :stub-columns: 0 1341 :stub-columns: 0
2069 1342
2070 - .. row 1 1343 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_CHEKERBOARD``
2071 1344 - Pixels are alternatively from L and R.
2072 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_CHEKERBOARD`` 1345 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_COLUMN``
2073 1346 - L and R are interlaced by column.
2074 - Pixels are alternatively from L and R. 1347 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_ROW``
2075 1348 - L and R are interlaced by row.
2076 - .. row 2 1349 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE``
2077 1350 - L is on the left, R on the right.
2078 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_COLUMN`` 1351 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM``
2079 1352 - L is on top, R on bottom.
2080 - L and R are interlaced by column. 1353 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TEMPORAL``
2081 1354 - One view per frame.
2082 - .. row 3
2083
2084 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_ROW``
2085
2086 - L and R are interlaced by row.
2087
2088 - .. row 4
2089
2090 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE``
2091
2092 - L is on the left, R on the right.
2093
2094 - .. row 5
2095
2096 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM``
2097
2098 - L is on top, R on bottom.
2099
2100 - .. row 6
2101
2102 - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TEMPORAL``
2103
2104 - One view per frame.
2105 1355
2106 1356
2107 1357
@@ -2126,49 +1376,22 @@ enum v4l2_mpeg_video_h264_fmo_map_type -
2126 :header-rows: 0 1376 :header-rows: 0
2127 :stub-columns: 0 1377 :stub-columns: 0
2128 1378
2129 - .. row 1 1379 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_INTERLEAVED_SLICES``
2130 1380 - Slices are interleaved one after other with macroblocks in run
2131 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_INTERLEAVED_SLICES`` 1381 length order.
2132 1382 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_SCATTERED_SLICES``
2133 - Slices are interleaved one after other with macroblocks in run 1383 - Scatters the macroblocks based on a mathematical function known to
2134 length order. 1384 both encoder and decoder.
2135 1385 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_FOREGROUND_WITH_LEFT_OVER``
2136 - .. row 2 1386 - Macroblocks arranged in rectangular areas or regions of interest.
2137 1387 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_BOX_OUT``
2138 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_SCATTERED_SLICES`` 1388 - Slice groups grow in a cyclic way from centre to outwards.
2139 1389 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_RASTER_SCAN``
2140 - Scatters the macroblocks based on a mathematical function known to 1390 - Slice groups grow in raster scan pattern from left to right.
2141 both encoder and decoder. 1391 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_WIPE_SCAN``
2142 1392 - Slice groups grow in wipe scan pattern from top to bottom.
2143 - .. row 3 1393 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_EXPLICIT``
2144 1394 - User defined map type.
2145 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_FOREGROUND_WITH_LEFT_OVER``
2146
2147 - Macroblocks arranged in rectangular areas or regions of interest.
2148
2149 - .. row 4
2150
2151 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_BOX_OUT``
2152
2153 - Slice groups grow in a cyclic way from centre to outwards.
2154
2155 - .. row 5
2156
2157 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_RASTER_SCAN``
2158
2159 - Slice groups grow in raster scan pattern from left to right.
2160
2161 - .. row 6
2162
2163 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_WIPE_SCAN``
2164
2165 - Slice groups grow in wipe scan pattern from top to bottom.
2166
2167 - .. row 7
2168
2169 - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_EXPLICIT``
2170
2171 - User defined map type.
2172 1395
2173 1396
2174 1397
@@ -2190,18 +1413,10 @@ enum v4l2_mpeg_video_h264_fmo_change_dir -
2190 :header-rows: 0 1413 :header-rows: 0
2191 :stub-columns: 0 1414 :stub-columns: 0
2192 1415
2193 1416 * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_RIGHT``
2194 - .. row 1 1417 - Raster scan or wipe right.
2195 1418 * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_LEFT``
2196 - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_RIGHT`` 1419 - Reverse raster scan or wipe left.
2197
2198 - Raster scan or wipe right.
2199
2200 - .. row 2
2201
2202 - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_LEFT``
2203
2204 - Reverse raster scan or wipe left.
2205 1420
2206 1421
2207 1422
@@ -2228,18 +1443,10 @@ enum v4l2_mpeg_video_h264_fmo_change_dir -
2228 :header-rows: 0 1443 :header-rows: 0
2229 :stub-columns: 0 1444 :stub-columns: 0
2230 1445
2231 1446 * - Bit 0:15
2232 - .. row 1 1447 - Slice ID
2233 1448 * - Bit 16:32
2234 - Bit 0:15 1449 - Slice position or order
2235
2236 - Slice ID
2237
2238 - .. row 2
2239
2240 - Bit 16:32
2241
2242 - Slice position or order
2243 1450
2244 1451
2245 1452
@@ -2261,18 +1468,10 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type -
2261 :header-rows: 0 1468 :header-rows: 0
2262 :stub-columns: 0 1469 :stub-columns: 0
2263 1470
2264 1471 * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_B``
2265 - .. row 1 1472 - Hierarchical B coding.
2266 1473 * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_P``
2267 - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_B`` 1474 - Hierarchical P coding.
2268
2269 - Hierarchical B coding.
2270
2271 - .. row 2
2272
2273 - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_P``
2274
2275 - Hierarchical P coding.
2276 1475
2277 1476
2278 1477
@@ -2291,18 +1490,10 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type -
2291 :header-rows: 0 1490 :header-rows: 0
2292 :stub-columns: 0 1491 :stub-columns: 0
2293 1492
2294 1493 * - Bit 0:15
2295 - .. row 1 1494 - QP value
2296 1495 * - Bit 16:32
2297 - Bit 0:15 1496 - Layer number
2298
2299 - QP value
2300
2301 - .. row 2
2302
2303 - Bit 16:32
2304
2305 - Layer number
2306 1497
2307 1498
2308 1499
@@ -2354,30 +1545,14 @@ MFC 5.1 Control IDs
2354 :header-rows: 0 1545 :header-rows: 0
2355 :stub-columns: 0 1546 :stub-columns: 0
2356 1547
2357 1548 * - Bit 0:7
2358 - .. row 1 1549 - V chrominance information
2359 1550 * - Bit 8:15
2360 - Bit 0:7 1551 - U chrominance information
2361 1552 * - Bit 16:23
2362 - V chrominance information 1553 - Y luminance information
2363 1554 * - Bit 24:31
2364 - .. row 2 1555 - Must be zero.
2365
2366 - Bit 8:15
2367
2368 - U chrominance information
2369
2370 - .. row 3
2371
2372 - Bit 16:23
2373
2374 - Y luminance information
2375
2376 - .. row 4
2377
2378 - Bit 24:31
2379
2380 - Must be zero.
2381 1556
2382 1557
2383 1558
@@ -2436,25 +1611,14 @@ enum v4l2_mpeg_mfc51_video_frame_skip_mode -
2436 :header-rows: 0 1611 :header-rows: 0
2437 :stub-columns: 0 1612 :stub-columns: 0
2438 1613
2439 - .. row 1 1614 * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_DISABLED``
2440 1615 - Frame skip mode is disabled.
2441 - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_DISABLED`` 1616 * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_LEVEL_LIMIT``
2442 1617 - Frame skip mode enabled and buffer limit is set by the chosen
2443 - Frame skip mode is disabled. 1618 level and is defined by the standard.
2444 1619 * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_BUF_LIMIT``
2445 - .. row 2 1620 - Frame skip mode enabled and buffer limit is set by the VBV
2446 1621 (MPEG1/2/4) or CPB (H264) buffer size control.
2447 - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_LEVEL_LIMIT``
2448
2449 - Frame skip mode enabled and buffer limit is set by the chosen
2450 level and is defined by the standard.
2451
2452 - .. row 3
2453
2454 - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_BUF_LIMIT``
2455
2456 - Frame skip mode enabled and buffer limit is set by the VBV
2457 (MPEG1/2/4) or CPB (H264) buffer size control.
2458 1622
2459 1623
2460 1624
@@ -2485,24 +1649,12 @@ enum v4l2_mpeg_mfc51_video_force_frame_type -
2485 :header-rows: 0 1649 :header-rows: 0
2486 :stub-columns: 0 1650 :stub-columns: 0
2487 1651
2488 1652 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_DISABLED``
2489 - .. row 1 1653 - Forcing a specific frame type disabled.
2490 1654 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_I_FRAME``
2491 - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_DISABLED`` 1655 - Force an I-frame.
2492 1656 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_NOT_CODED``
2493 - Forcing a specific frame type disabled. 1657 - Force a non-coded frame.
2494
2495 - .. row 2
2496
2497 - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_I_FRAME``
2498
2499 - Force an I-frame.
2500
2501 - .. row 3
2502
2503 - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_NOT_CODED``
2504
2505 - Force a non-coded frame.
2506 1658
2507 1659
2508 1660
@@ -2534,18 +1686,10 @@ enum v4l2_mpeg_cx2341x_video_spatial_filter_mode -
2534 :header-rows: 0 1686 :header-rows: 0
2535 :stub-columns: 0 1687 :stub-columns: 0
2536 1688
2537 1689 * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL``
2538 - .. row 1 1690 - Choose the filter manually
2539 1691 * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO``
2540 - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL`` 1692 - Choose the filter automatically
2541
2542 - Choose the filter manually
2543
2544 - .. row 2
2545
2546 - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO``
2547
2548 - Choose the filter automatically
2549 1693
2550 1694
2551 1695
@@ -2570,36 +1714,16 @@ enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type -
2570 :header-rows: 0 1714 :header-rows: 0
2571 :stub-columns: 0 1715 :stub-columns: 0
2572 1716
2573 1717 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF``
2574 - .. row 1 1718 - No filter
2575 1719 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR``
2576 - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF`` 1720 - One-dimensional horizontal
2577 1721 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT``
2578 - No filter 1722 - One-dimensional vertical
2579 1723 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE``
2580 - .. row 2 1724 - Two-dimensional separable
2581 1725 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE``
2582 - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR`` 1726 - Two-dimensional symmetrical non-separable
2583
2584 - One-dimensional horizontal
2585
2586 - .. row 3
2587
2588 - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT``
2589
2590 - One-dimensional vertical
2591
2592 - .. row 4
2593
2594 - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE``
2595
2596 - Two-dimensional separable
2597
2598 - .. row 5
2599
2600 - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE``
2601
2602 - Two-dimensional symmetrical non-separable
2603 1727
2604 1728
2605 1729
@@ -2618,18 +1742,10 @@ enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type -
2618 :header-rows: 0 1742 :header-rows: 0
2619 :stub-columns: 0 1743 :stub-columns: 0
2620 1744
2621 1745 * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF``
2622 - .. row 1 1746 - No filter
2623 1747 * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR``
2624 - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF`` 1748 - One-dimensional horizontal
2625
2626 - No filter
2627
2628 - .. row 2
2629
2630 - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR``
2631
2632 - One-dimensional horizontal
2633 1749
2634 1750
2635 1751
@@ -2648,18 +1764,10 @@ enum v4l2_mpeg_cx2341x_video_temporal_filter_mode -
2648 :header-rows: 0 1764 :header-rows: 0
2649 :stub-columns: 0 1765 :stub-columns: 0
2650 1766
2651 1767 * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL``
2652 - .. row 1 1768 - Choose the filter manually
2653 1769 * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO``
2654 - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL`` 1770 - Choose the filter automatically
2655
2656 - Choose the filter manually
2657
2658 - .. row 2
2659
2660 - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO``
2661
2662 - Choose the filter automatically
2663 1771
2664 1772
2665 1773
@@ -2681,36 +1789,16 @@ enum v4l2_mpeg_cx2341x_video_median_filter_type -
2681 :header-rows: 0 1789 :header-rows: 0
2682 :stub-columns: 0 1790 :stub-columns: 0
2683 1791
2684 1792 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF``
2685 - .. row 1 1793 - No filter
2686 1794 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR``
2687 - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF`` 1795 - Horizontal filter
2688 1796 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT``
2689 - No filter 1797 - Vertical filter
2690 1798 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT``
2691 - .. row 2 1799 - Horizontal and vertical filter
2692 1800 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG``
2693 - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR`` 1801 - Diagonal filter
2694
2695 - Horizontal filter
2696
2697 - .. row 3
2698
2699 - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT``
2700
2701 - Vertical filter
2702
2703 - .. row 4
2704
2705 - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT``
2706
2707 - Horizontal and vertical filter
2708
2709 - .. row 5
2710
2711 - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG``
2712
2713 - Diagonal filter
2714 1802
2715 1803
2716 1804
@@ -2766,30 +1854,14 @@ enum v4l2_vp8_num_partitions -
2766 :header-rows: 0 1854 :header-rows: 0
2767 :stub-columns: 0 1855 :stub-columns: 0
2768 1856
2769 1857 * - ``V4L2_CID_MPEG_VIDEO_VPX_1_PARTITION``
2770 - .. row 1 1858 - 1 coefficient partition
2771 1859 * - ``V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS``
2772 - ``V4L2_CID_MPEG_VIDEO_VPX_1_PARTITION`` 1860 - 2 coefficient partitions
2773 1861 * - ``V4L2_CID_MPEG_VIDEO_VPX_4_PARTITIONS``
2774 - 1 coefficient partition 1862 - 4 coefficient partitions
2775 1863 * - ``V4L2_CID_MPEG_VIDEO_VPX_8_PARTITIONS``
2776 - .. row 2 1864 - 8 coefficient partitions
2777
2778 - ``V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS``
2779
2780 - 2 coefficient partitions
2781
2782 - .. row 3
2783
2784 - ``V4L2_CID_MPEG_VIDEO_VPX_4_PARTITIONS``
2785
2786 - 4 coefficient partitions
2787
2788 - .. row 4
2789
2790 - ``V4L2_CID_MPEG_VIDEO_VPX_8_PARTITIONS``
2791
2792 - 8 coefficient partitions
2793 1865
2794 1866
2795 1867
@@ -2811,26 +1883,15 @@ enum v4l2_vp8_num_ref_frames -
2811 :header-rows: 0 1883 :header-rows: 0
2812 :stub-columns: 0 1884 :stub-columns: 0
2813 1885
2814 - .. row 1 1886 * - ``V4L2_CID_MPEG_VIDEO_VPX_1_REF_FRAME``
2815 1887 - Last encoded frame will be searched
2816 - ``V4L2_CID_MPEG_VIDEO_VPX_1_REF_FRAME`` 1888 * - ``V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME``
2817 1889 - Two frames will be searched among the last encoded frame, the
2818 - Last encoded frame will be searched 1890 golden frame and the alternate reference (altref) frame. The
2819 1891 encoder implementation will decide which two are chosen.
2820 - .. row 2 1892 * - ``V4L2_CID_MPEG_VIDEO_VPX_3_REF_FRAME``
2821 1893 - The last encoded frame, the golden frame and the altref frame will
2822 - ``V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME`` 1894 be searched.
2823
2824 - Two frames will be searched among the last encoded frame, the
2825 golden frame and the alternate reference (altref) frame. The
2826 encoder implementation will decide which two are chosen.
2827
2828 - .. row 3
2829
2830 - ``V4L2_CID_MPEG_VIDEO_VPX_3_REF_FRAME``
2831
2832 - The last encoded frame, the golden frame and the altref frame will
2833 be searched.
2834 1895
2835 1896
2836 1897
@@ -2869,20 +1930,13 @@ enum v4l2_vp8_golden_frame_sel -
2869 :header-rows: 0 1930 :header-rows: 0
2870 :stub-columns: 0 1931 :stub-columns: 0
2871 1932
2872 - .. row 1 1933 * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_PREV``
2873 1934 - Use the (n-2)th frame as a golden frame, current frame index being
2874 - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_PREV`` 1935 'n'.
2875 1936 * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_REF_PERIOD``
2876 - Use the (n-2)th frame as a golden frame, current frame index being 1937 - Use the previous specific frame indicated by
2877 'n'. 1938 ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD`` as a
2878 1939 golden frame.
2879 - .. row 2
2880
2881 - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_REF_PERIOD``
2882
2883 - Use the previous specific frame indicated by
2884 ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD`` as a
2885 golden frame.
2886 1940
2887.. raw:: latex 1941.. raw:: latex
2888 1942
@@ -2942,30 +1996,14 @@ enum v4l2_exposure_auto_type -
2942 :header-rows: 0 1996 :header-rows: 0
2943 :stub-columns: 0 1997 :stub-columns: 0
2944 1998
2945 1999 * - ``V4L2_EXPOSURE_AUTO``
2946 - .. row 1 2000 - Automatic exposure time, automatic iris aperture.
2947 2001 * - ``V4L2_EXPOSURE_MANUAL``
2948 - ``V4L2_EXPOSURE_AUTO`` 2002 - Manual exposure time, manual iris.
2949 2003 * - ``V4L2_EXPOSURE_SHUTTER_PRIORITY``
2950 - Automatic exposure time, automatic iris aperture. 2004 - Manual exposure time, auto iris.
2951 2005 * - ``V4L2_EXPOSURE_APERTURE_PRIORITY``
2952 - .. row 2 2006 - Auto exposure time, manual iris.
2953
2954 - ``V4L2_EXPOSURE_MANUAL``
2955
2956 - Manual exposure time, manual iris.
2957
2958 - .. row 3
2959
2960 - ``V4L2_EXPOSURE_SHUTTER_PRIORITY``
2961
2962 - Manual exposure time, auto iris.
2963
2964 - .. row 4
2965
2966 - ``V4L2_EXPOSURE_APERTURE_PRIORITY``
2967
2968 - Auto exposure time, manual iris.
2969 2007
2970 2008
2971 2009
@@ -3008,34 +2046,19 @@ enum v4l2_exposure_metering -
3008 :header-rows: 0 2046 :header-rows: 0
3009 :stub-columns: 0 2047 :stub-columns: 0
3010 2048
3011 - .. row 1 2049 * - ``V4L2_EXPOSURE_METERING_AVERAGE``
3012 2050 - Use the light information coming from the entire frame and average
3013 - ``V4L2_EXPOSURE_METERING_AVERAGE`` 2051 giving no weighting to any particular portion of the metered area.
3014 2052 * - ``V4L2_EXPOSURE_METERING_CENTER_WEIGHTED``
3015 - Use the light information coming from the entire frame and average 2053 - Average the light information coming from the entire frame giving
3016 giving no weighting to any particular portion of the metered area. 2054 priority to the center of the metered area.
3017 2055 * - ``V4L2_EXPOSURE_METERING_SPOT``
3018 - .. row 2 2056 - Measure only very small area at the center of the frame.
3019 2057 * - ``V4L2_EXPOSURE_METERING_MATRIX``
3020 - ``V4L2_EXPOSURE_METERING_CENTER_WEIGHTED`` 2058 - A multi-zone metering. The light intensity is measured in several
3021 2059 points of the frame and the results are combined. The algorithm of
3022 - Average the light information coming from the entire frame giving 2060 the zones selection and their significance in calculating the
3023 priority to the center of the metered area. 2061 final value is device dependent.
3024
3025 - .. row 3
3026
3027 - ``V4L2_EXPOSURE_METERING_SPOT``
3028
3029 - Measure only very small area at the center of the frame.
3030
3031 - .. row 4
3032
3033 - ``V4L2_EXPOSURE_METERING_MATRIX``
3034
3035 - A multi-zone metering. The light intensity is measured in several
3036 points of the frame and the results are combined. The algorithm of
3037 the zones selection and their significance in calculating the
3038 final value is device dependent.
3039 2062
3040 2063
3041 2064
@@ -3115,30 +2138,15 @@ enum v4l2_exposure_metering -
3115 :header-rows: 0 2138 :header-rows: 0
3116 :stub-columns: 0 2139 :stub-columns: 0
3117 2140
3118 - .. row 1 2141 * - ``V4L2_AUTO_FOCUS_STATUS_IDLE``
3119 2142 - Automatic focus is not active.
3120 - ``V4L2_AUTO_FOCUS_STATUS_IDLE`` 2143 * - ``V4L2_AUTO_FOCUS_STATUS_BUSY``
3121 2144 - Automatic focusing is in progress.
3122 - Automatic focus is not active. 2145 * - ``V4L2_AUTO_FOCUS_STATUS_REACHED``
3123 2146 - Focus has been reached.
3124 - .. row 2 2147 * - ``V4L2_AUTO_FOCUS_STATUS_FAILED``
3125 2148 - Automatic focus has failed, the driver will not transition from
3126 - ``V4L2_AUTO_FOCUS_STATUS_BUSY`` 2149 this state until another action is performed by an application.
3127
3128 - Automatic focusing is in progress.
3129
3130 - .. row 3
3131
3132 - ``V4L2_AUTO_FOCUS_STATUS_REACHED``
3133
3134 - Focus has been reached.
3135
3136 - .. row 4
3137
3138 - ``V4L2_AUTO_FOCUS_STATUS_FAILED``
3139
3140 - Automatic focus has failed, the driver will not transition from
3141 this state until another action is performed by an application.
3142 2150
3143 2151
3144 2152
@@ -3156,32 +2164,16 @@ enum v4l2_auto_focus_range -
3156 :header-rows: 0 2164 :header-rows: 0
3157 :stub-columns: 0 2165 :stub-columns: 0
3158 2166
3159 2167 * - ``V4L2_AUTO_FOCUS_RANGE_AUTO``
3160 - .. row 1 2168 - The camera automatically selects the focus range.
3161 2169 * - ``V4L2_AUTO_FOCUS_RANGE_NORMAL``
3162 - ``V4L2_AUTO_FOCUS_RANGE_AUTO`` 2170 - Normal distance range, limited for best automatic focus
3163 2171 performance.
3164 - The camera automatically selects the focus range. 2172 * - ``V4L2_AUTO_FOCUS_RANGE_MACRO``
3165 2173 - Macro (close-up) auto focus. The camera will use its minimum
3166 - .. row 2 2174 possible distance for auto focus.
3167 2175 * - ``V4L2_AUTO_FOCUS_RANGE_INFINITY``
3168 - ``V4L2_AUTO_FOCUS_RANGE_NORMAL`` 2176 - The lens is set to focus on an object at infinite distance.
3169
3170 - Normal distance range, limited for best automatic focus
3171 performance.
3172
3173 - .. row 3
3174
3175 - ``V4L2_AUTO_FOCUS_RANGE_MACRO``
3176
3177 - Macro (close-up) auto focus. The camera will use its minimum
3178 possible distance for auto focus.
3179
3180 - .. row 4
3181
3182 - ``V4L2_AUTO_FOCUS_RANGE_INFINITY``
3183
3184 - The lens is set to focus on an object at infinite distance.
3185 2177
3186 2178
3187 2179
@@ -3247,76 +2239,37 @@ enum v4l2_auto_n_preset_white_balance -
3247 :header-rows: 0 2239 :header-rows: 0
3248 :stub-columns: 0 2240 :stub-columns: 0
3249 2241
3250 - .. row 1 2242 * - ``V4L2_WHITE_BALANCE_MANUAL``
3251 2243 - Manual white balance.
3252 - ``V4L2_WHITE_BALANCE_MANUAL`` 2244 * - ``V4L2_WHITE_BALANCE_AUTO``
3253 2245 - Automatic white balance adjustments.
3254 - Manual white balance. 2246 * - ``V4L2_WHITE_BALANCE_INCANDESCENT``
3255 2247 - White balance setting for incandescent (tungsten) lighting. It
3256 - .. row 2 2248 generally cools down the colors and corresponds approximately to
3257 2249 2500...3500 K color temperature range.
3258 - ``V4L2_WHITE_BALANCE_AUTO`` 2250 * - ``V4L2_WHITE_BALANCE_FLUORESCENT``
3259 2251 - White balance preset for fluorescent lighting. It corresponds
3260 - Automatic white balance adjustments. 2252 approximately to 4000...5000 K color temperature.
3261 2253 * - ``V4L2_WHITE_BALANCE_FLUORESCENT_H``
3262 - .. row 3 2254 - With this setting the camera will compensate for fluorescent H
3263 2255 lighting.
3264 - ``V4L2_WHITE_BALANCE_INCANDESCENT`` 2256 * - ``V4L2_WHITE_BALANCE_HORIZON``
3265 2257 - White balance setting for horizon daylight. It corresponds
3266 - White balance setting for incandescent (tungsten) lighting. It 2258 approximately to 5000 K color temperature.
3267 generally cools down the colors and corresponds approximately to 2259 * - ``V4L2_WHITE_BALANCE_DAYLIGHT``
3268 2500...3500 K color temperature range. 2260 - White balance preset for daylight (with clear sky). It corresponds
3269 2261 approximately to 5000...6500 K color temperature.
3270 - .. row 4 2262 * - ``V4L2_WHITE_BALANCE_FLASH``
3271 2263 - With this setting the camera will compensate for the flash light.
3272 - ``V4L2_WHITE_BALANCE_FLUORESCENT`` 2264 It slightly warms up the colors and corresponds roughly to
3273 2265 5000...5500 K color temperature.
3274 - White balance preset for fluorescent lighting. It corresponds 2266 * - ``V4L2_WHITE_BALANCE_CLOUDY``
3275 approximately to 4000...5000 K color temperature. 2267 - White balance preset for moderately overcast sky. This option
3276 2268 corresponds approximately to 6500...8000 K color temperature
3277 - .. row 5 2269 range.
3278 2270 * - ``V4L2_WHITE_BALANCE_SHADE``
3279 - ``V4L2_WHITE_BALANCE_FLUORESCENT_H`` 2271 - White balance preset for shade or heavily overcast sky. It
3280 2272 corresponds approximately to 9000...10000 K color temperature.
3281 - With this setting the camera will compensate for fluorescent H
3282 lighting.
3283
3284 - .. row 6
3285
3286 - ``V4L2_WHITE_BALANCE_HORIZON``
3287
3288 - White balance setting for horizon daylight. It corresponds
3289 approximately to 5000 K color temperature.
3290
3291 - .. row 7
3292
3293 - ``V4L2_WHITE_BALANCE_DAYLIGHT``
3294
3295 - White balance preset for daylight (with clear sky). It corresponds
3296 approximately to 5000...6500 K color temperature.
3297
3298 - .. row 8
3299
3300 - ``V4L2_WHITE_BALANCE_FLASH``
3301
3302 - With this setting the camera will compensate for the flash light.
3303 It slightly warms up the colors and corresponds roughly to
3304 5000...5500 K color temperature.
3305
3306 - .. row 9
3307
3308 - ``V4L2_WHITE_BALANCE_CLOUDY``
3309
3310 - White balance preset for moderately overcast sky. This option
3311 corresponds approximately to 6500...8000 K color temperature
3312 range.
3313
3314 - .. row 10
3315
3316 - ``V4L2_WHITE_BALANCE_SHADE``
3317
3318 - White balance preset for shade or heavily overcast sky. It
3319 corresponds approximately to 9000...10000 K color temperature.
3320 2273
3321 2274
3322 2275
@@ -3362,18 +2315,10 @@ enum v4l2_iso_sensitivity_type -
3362 :header-rows: 0 2315 :header-rows: 0
3363 :stub-columns: 0 2316 :stub-columns: 0
3364 2317
3365 2318 * - ``V4L2_CID_ISO_SENSITIVITY_MANUAL``
3366 - .. row 1 2319 - Manual ISO sensitivity.
3367 2320 * - ``V4L2_CID_ISO_SENSITIVITY_AUTO``
3368 - ``V4L2_CID_ISO_SENSITIVITY_MANUAL`` 2321 - Automatic ISO sensitivity adjustments.
3369
3370 - Manual ISO sensitivity.
3371
3372 - .. row 2
3373
3374 - ``V4L2_CID_ISO_SENSITIVITY_AUTO``
3375
3376 - Automatic ISO sensitivity adjustments.
3377 2322
3378 2323
3379 2324
@@ -3400,126 +2345,71 @@ enum v4l2_scene_mode -
3400 :header-rows: 0 2345 :header-rows: 0
3401 :stub-columns: 0 2346 :stub-columns: 0
3402 2347
3403 - .. row 1 2348 * - ``V4L2_SCENE_MODE_NONE``
3404 2349 - The scene mode feature is disabled.
3405 - ``V4L2_SCENE_MODE_NONE`` 2350 * - ``V4L2_SCENE_MODE_BACKLIGHT``
3406 2351 - Backlight. Compensates for dark shadows when light is coming from
3407 - The scene mode feature is disabled. 2352 behind a subject, also by automatically turning on the flash.
3408 2353 * - ``V4L2_SCENE_MODE_BEACH_SNOW``
3409 - .. row 2 2354 - Beach and snow. This mode compensates for all-white or bright
3410 2355 scenes, which tend to look gray and low contrast, when camera's
3411 - ``V4L2_SCENE_MODE_BACKLIGHT`` 2356 automatic exposure is based on an average scene brightness. To
3412 2357 compensate, this mode automatically slightly overexposes the
3413 - Backlight. Compensates for dark shadows when light is coming from 2358 frames. The white balance may also be adjusted to compensate for
3414 behind a subject, also by automatically turning on the flash. 2359 the fact that reflected snow looks bluish rather than white.
3415 2360 * - ``V4L2_SCENE_MODE_CANDLELIGHT``
3416 - .. row 3 2361 - Candle light. The camera generally raises the ISO sensitivity and
3417 2362 lowers the shutter speed. This mode compensates for relatively
3418 - ``V4L2_SCENE_MODE_BEACH_SNOW`` 2363 close subject in the scene. The flash is disabled in order to
3419 2364 preserve the ambiance of the light.
3420 - Beach and snow. This mode compensates for all-white or bright 2365 * - ``V4L2_SCENE_MODE_DAWN_DUSK``
3421 scenes, which tend to look gray and low contrast, when camera's 2366 - Dawn and dusk. Preserves the colors seen in low natural light
3422 automatic exposure is based on an average scene brightness. To 2367 before dusk and after down. The camera may turn off the flash, and
3423 compensate, this mode automatically slightly overexposes the 2368 automatically focus at infinity. It will usually boost saturation
3424 frames. The white balance may also be adjusted to compensate for 2369 and lower the shutter speed.
3425 the fact that reflected snow looks bluish rather than white. 2370 * - ``V4L2_SCENE_MODE_FALL_COLORS``
3426 2371 - Fall colors. Increases saturation and adjusts white balance for
3427 - .. row 4 2372 color enhancement. Pictures of autumn leaves get saturated reds
3428 2373 and yellows.
3429 - ``V4L2_SCENE_MODE_CANDLELIGHT`` 2374 * - ``V4L2_SCENE_MODE_FIREWORKS``
3430 2375 - Fireworks. Long exposure times are used to capture the expanding
3431 - Candle light. The camera generally raises the ISO sensitivity and 2376 burst of light from a firework. The camera may invoke image
3432 lowers the shutter speed. This mode compensates for relatively 2377 stabilization.
3433 close subject in the scene. The flash is disabled in order to 2378 * - ``V4L2_SCENE_MODE_LANDSCAPE``
3434 preserve the ambiance of the light. 2379 - Landscape. The camera may choose a small aperture to provide deep
3435 2380 depth of field and long exposure duration to help capture detail
3436 - .. row 5 2381 in dim light conditions. The focus is fixed at infinity. Suitable
3437 2382 for distant and wide scenery.
3438 - ``V4L2_SCENE_MODE_DAWN_DUSK`` 2383 * - ``V4L2_SCENE_MODE_NIGHT``
3439 2384 - Night, also known as Night Landscape. Designed for low light
3440 - Dawn and dusk. Preserves the colors seen in low natural light 2385 conditions, it preserves detail in the dark areas without blowing
3441 before dusk and after down. The camera may turn off the flash, and 2386 out bright objects. The camera generally sets itself to a
3442 automatically focus at infinity. It will usually boost saturation 2387 medium-to-high ISO sensitivity, with a relatively long exposure
3443 and lower the shutter speed. 2388 time, and turns flash off. As such, there will be increased image
3444 2389 noise and the possibility of blurred image.
3445 - .. row 6 2390 * - ``V4L2_SCENE_MODE_PARTY_INDOOR``
3446 2391 - Party and indoor. Designed to capture indoor scenes that are lit
3447 - ``V4L2_SCENE_MODE_FALL_COLORS`` 2392 by indoor background lighting as well as the flash. The camera
3448 2393 usually increases ISO sensitivity, and adjusts exposure for the
3449 - Fall colors. Increases saturation and adjusts white balance for 2394 low light conditions.
3450 color enhancement. Pictures of autumn leaves get saturated reds 2395 * - ``V4L2_SCENE_MODE_PORTRAIT``
3451 and yellows. 2396 - Portrait. The camera adjusts the aperture so that the depth of
3452 2397 field is reduced, which helps to isolate the subject against a
3453 - .. row 7 2398 smooth background. Most cameras recognize the presence of faces in
3454 2399 the scene and focus on them. The color hue is adjusted to enhance
3455 - ``V4L2_SCENE_MODE_FIREWORKS`` 2400 skin tones. The intensity of the flash is often reduced.
3456 2401 * - ``V4L2_SCENE_MODE_SPORTS``
3457 - Fireworks. Long exposure times are used to capture the expanding 2402 - Sports. Significantly increases ISO and uses a fast shutter speed
3458 burst of light from a firework. The camera may invoke image 2403 to freeze motion of rapidly-moving subjects. Increased image noise
3459 stabilization. 2404 may be seen in this mode.
3460 2405 * - ``V4L2_SCENE_MODE_SUNSET``
3461 - .. row 8 2406 - Sunset. Preserves deep hues seen in sunsets and sunrises. It bumps
3462 2407 up the saturation.
3463 - ``V4L2_SCENE_MODE_LANDSCAPE`` 2408 * - ``V4L2_SCENE_MODE_TEXT``
3464 2409 - Text. It applies extra contrast and sharpness, it is typically a
3465 - Landscape. The camera may choose a small aperture to provide deep 2410 black-and-white mode optimized for readability. Automatic focus
3466 depth of field and long exposure duration to help capture detail 2411 may be switched to close-up mode and this setting may also involve
3467 in dim light conditions. The focus is fixed at infinity. Suitable 2412 some lens-distortion correction.
3468 for distant and wide scenery.
3469
3470 - .. row 9
3471
3472 - ``V4L2_SCENE_MODE_NIGHT``
3473
3474 - Night, also known as Night Landscape. Designed for low light
3475 conditions, it preserves detail in the dark areas without blowing
3476 out bright objects. The camera generally sets itself to a
3477 medium-to-high ISO sensitivity, with a relatively long exposure
3478 time, and turns flash off. As such, there will be increased image
3479 noise and the possibility of blurred image.
3480
3481 - .. row 10
3482
3483 - ``V4L2_SCENE_MODE_PARTY_INDOOR``
3484
3485 - Party and indoor. Designed to capture indoor scenes that are lit
3486 by indoor background lighting as well as the flash. The camera
3487 usually increases ISO sensitivity, and adjusts exposure for the
3488 low light conditions.
3489
3490 - .. row 11
3491
3492 - ``V4L2_SCENE_MODE_PORTRAIT``
3493
3494 - Portrait. The camera adjusts the aperture so that the depth of
3495 field is reduced, which helps to isolate the subject against a
3496 smooth background. Most cameras recognize the presence of faces in
3497 the scene and focus on them. The color hue is adjusted to enhance
3498 skin tones. The intensity of the flash is often reduced.
3499
3500 - .. row 12
3501
3502 - ``V4L2_SCENE_MODE_SPORTS``
3503
3504 - Sports. Significantly increases ISO and uses a fast shutter speed
3505 to freeze motion of rapidly-moving subjects. Increased image noise
3506 may be seen in this mode.
3507
3508 - .. row 13
3509
3510 - ``V4L2_SCENE_MODE_SUNSET``
3511
3512 - Sunset. Preserves deep hues seen in sunsets and sunrises. It bumps
3513 up the saturation.
3514
3515 - .. row 14
3516
3517 - ``V4L2_SCENE_MODE_TEXT``
3518
3519 - Text. It applies extra contrast and sharpness, it is typically a
3520 black-and-white mode optimized for readability. Automatic focus
3521 may be switched to close-up mode and this setting may also involve
3522 some lens-distortion correction.
3523 2413
3524 2414
3525 2415
@@ -3543,24 +2433,12 @@ enum v4l2_scene_mode -
3543 :header-rows: 0 2433 :header-rows: 0
3544 :stub-columns: 0 2434 :stub-columns: 0
3545 2435
3546 2436 * - ``V4L2_LOCK_EXPOSURE``
3547 - .. row 1 2437 - Automatic exposure adjustments lock.
3548 2438 * - ``V4L2_LOCK_WHITE_BALANCE``
3549 - ``V4L2_LOCK_EXPOSURE`` 2439 - Automatic white balance adjustments lock.
3550 2440 * - ``V4L2_LOCK_FOCUS``
3551 - Automatic exposure adjustments lock. 2441 - Automatic focus lock.
3552
3553 - .. row 2
3554
3555 - ``V4L2_LOCK_WHITE_BALANCE``
3556
3557 - Automatic white balance adjustments lock.
3558
3559 - .. row 3
3560
3561 - ``V4L2_LOCK_FOCUS``
3562
3563 - Automatic focus lock.
3564 2442
3565 2443
3566 2444
@@ -3736,24 +2614,12 @@ enum v4l2_preemphasis -
3736 :header-rows: 0 2614 :header-rows: 0
3737 :stub-columns: 0 2615 :stub-columns: 0
3738 2616
3739 2617 * - ``V4L2_PREEMPHASIS_DISABLED``
3740 - .. row 1 2618 - No pre-emphasis is applied.
3741 2619 * - ``V4L2_PREEMPHASIS_50_uS``
3742 - ``V4L2_PREEMPHASIS_DISABLED`` 2620 - A pre-emphasis of 50 uS is used.
3743 2621 * - ``V4L2_PREEMPHASIS_75_uS``
3744 - No pre-emphasis is applied. 2622 - A pre-emphasis of 75 uS is used.
3745
3746 - .. row 2
3747
3748 - ``V4L2_PREEMPHASIS_50_uS``
3749
3750 - A pre-emphasis of 50 uS is used.
3751
3752 - .. row 3
3753
3754 - ``V4L2_PREEMPHASIS_75_uS``
3755
3756 - A pre-emphasis of 75 uS is used.
3757 2623
3758 2624
3759 2625
@@ -3837,24 +2703,12 @@ Flash Control IDs
3837 :header-rows: 0 2703 :header-rows: 0
3838 :stub-columns: 0 2704 :stub-columns: 0
3839 2705
3840 2706 * - ``V4L2_FLASH_LED_MODE_NONE``
3841 - .. row 1 2707 - Off.
3842 2708 * - ``V4L2_FLASH_LED_MODE_FLASH``
3843 - ``V4L2_FLASH_LED_MODE_NONE`` 2709 - Flash mode.
3844 2710 * - ``V4L2_FLASH_LED_MODE_TORCH``
3845 - Off. 2711 - Torch mode. See V4L2_CID_FLASH_TORCH_INTENSITY.
3846
3847 - .. row 2
3848
3849 - ``V4L2_FLASH_LED_MODE_FLASH``
3850
3851 - Flash mode.
3852
3853 - .. row 3
3854
3855 - ``V4L2_FLASH_LED_MODE_TORCH``
3856
3857 - Torch mode. See V4L2_CID_FLASH_TORCH_INTENSITY.
3858 2712
3859 2713
3860 2714
@@ -3867,20 +2721,13 @@ Flash Control IDs
3867 :header-rows: 0 2721 :header-rows: 0
3868 :stub-columns: 0 2722 :stub-columns: 0
3869 2723
3870 - .. row 1 2724 * - ``V4L2_FLASH_STROBE_SOURCE_SOFTWARE``
3871 2725 - The flash strobe is triggered by using the
3872 - ``V4L2_FLASH_STROBE_SOURCE_SOFTWARE`` 2726 V4L2_CID_FLASH_STROBE control.
3873 2727 * - ``V4L2_FLASH_STROBE_SOURCE_EXTERNAL``
3874 - The flash strobe is triggered by using the 2728 - The flash strobe is triggered by an external source. Typically
3875 V4L2_CID_FLASH_STROBE control. 2729 this is a sensor, which makes it possible to synchronises the
3876 2730 flash strobe start to exposure start.
3877 - .. row 2
3878
3879 - ``V4L2_FLASH_STROBE_SOURCE_EXTERNAL``
3880
3881 - The flash strobe is triggered by an external source. Typically
3882 this is a sensor, which makes it possible to synchronises the
3883 flash strobe start to exposure start.
3884 2731
3885 2732
3886 2733
@@ -3933,69 +2780,33 @@ Flash Control IDs
3933 :header-rows: 0 2780 :header-rows: 0
3934 :stub-columns: 0 2781 :stub-columns: 0
3935 2782
3936 2783 * - ``V4L2_FLASH_FAULT_OVER_VOLTAGE``
3937 - .. row 1 2784 - Flash controller voltage to the flash LED has exceeded the limit
3938 2785 specific to the flash controller.
3939 - ``V4L2_FLASH_FAULT_OVER_VOLTAGE`` 2786 * - ``V4L2_FLASH_FAULT_TIMEOUT``
3940 2787 - The flash strobe was still on when the timeout set by the user ---
3941 - Flash controller voltage to the flash LED has exceeded the limit 2788 V4L2_CID_FLASH_TIMEOUT control --- has expired. Not all flash
3942 specific to the flash controller. 2789 controllers may set this in all such conditions.
3943 2790 * - ``V4L2_FLASH_FAULT_OVER_TEMPERATURE``
3944 - .. row 2 2791 - The flash controller has overheated.
3945 2792 * - ``V4L2_FLASH_FAULT_SHORT_CIRCUIT``
3946 - ``V4L2_FLASH_FAULT_TIMEOUT`` 2793 - The short circuit protection of the flash controller has been
3947 2794 triggered.
3948 - The flash strobe was still on when the timeout set by the user --- 2795 * - ``V4L2_FLASH_FAULT_OVER_CURRENT``
3949 V4L2_CID_FLASH_TIMEOUT control --- has expired. Not all flash 2796 - Current in the LED power supply has exceeded the limit specific to
3950 controllers may set this in all such conditions. 2797 the flash controller.
3951 2798 * - ``V4L2_FLASH_FAULT_INDICATOR``
3952 - .. row 3 2799 - The flash controller has detected a short or open circuit
3953 2800 condition on the indicator LED.
3954 - ``V4L2_FLASH_FAULT_OVER_TEMPERATURE`` 2801 * - ``V4L2_FLASH_FAULT_UNDER_VOLTAGE``
3955 2802 - Flash controller voltage to the flash LED has been below the
3956 - The flash controller has overheated. 2803 minimum limit specific to the flash controller.
3957 2804 * - ``V4L2_FLASH_FAULT_INPUT_VOLTAGE``
3958 - .. row 4 2805 - The input voltage of the flash controller is below the limit under
3959 2806 which strobing the flash at full current will not be possible.The
3960 - ``V4L2_FLASH_FAULT_SHORT_CIRCUIT`` 2807 condition persists until this flag is no longer set.
3961 2808 * - ``V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE``
3962 - The short circuit protection of the flash controller has been 2809 - The temperature of the LED has exceeded its allowed upper limit.
3963 triggered.
3964
3965 - .. row 5
3966
3967 - ``V4L2_FLASH_FAULT_OVER_CURRENT``
3968
3969 - Current in the LED power supply has exceeded the limit specific to
3970 the flash controller.
3971
3972 - .. row 6
3973
3974 - ``V4L2_FLASH_FAULT_INDICATOR``
3975
3976 - The flash controller has detected a short or open circuit
3977 condition on the indicator LED.
3978
3979 - .. row 7
3980
3981 - ``V4L2_FLASH_FAULT_UNDER_VOLTAGE``
3982
3983 - Flash controller voltage to the flash LED has been below the
3984 minimum limit specific to the flash controller.
3985
3986 - .. row 8
3987
3988 - ``V4L2_FLASH_FAULT_INPUT_VOLTAGE``
3989
3990 - The input voltage of the flash controller is below the limit under
3991 which strobing the flash at full current will not be possible.The
3992 condition persists until this flag is no longer set.
3993
3994 - .. row 9
3995
3996 - ``V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE``
3997
3998 - The temperature of the LED has exceeded its allowed upper limit.
3999 2810
4000 2811
4001 2812
@@ -4044,42 +2855,18 @@ JPEG Control IDs
4044 :header-rows: 0 2855 :header-rows: 0
4045 :stub-columns: 0 2856 :stub-columns: 0
4046 2857
4047 2858 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_444``
4048 - .. row 1 2859 - No chroma subsampling, each pixel has Y, Cr and Cb values.
4049 2860 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_422``
4050 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_444`` 2861 - Horizontally subsample Cr, Cb components by a factor of 2.
4051 2862 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_420``
4052 - No chroma subsampling, each pixel has Y, Cr and Cb values. 2863 - Subsample Cr, Cb components horizontally and vertically by 2.
4053 2864 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_411``
4054 - .. row 2 2865 - Horizontally subsample Cr, Cb components by a factor of 4.
4055 2866 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_410``
4056 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_422`` 2867 - Subsample Cr, Cb components horizontally by 4 and vertically by 2.
4057 2868 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY``
4058 - Horizontally subsample Cr, Cb components by a factor of 2. 2869 - Use only luminance component.
4059
4060 - .. row 3
4061
4062 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_420``
4063
4064 - Subsample Cr, Cb components horizontally and vertically by 2.
4065
4066 - .. row 4
4067
4068 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_411``
4069
4070 - Horizontally subsample Cr, Cb components by a factor of 4.
4071
4072 - .. row 5
4073
4074 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_410``
4075
4076 - Subsample Cr, Cb components horizontally by 4 and vertically by 2.
4077
4078 - .. row 6
4079
4080 - ``V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY``
4081
4082 - Use only luminance component.
4083 2870
4084 2871
4085 2872
@@ -4121,36 +2908,16 @@ JPEG Control IDs
4121 :header-rows: 0 2908 :header-rows: 0
4122 :stub-columns: 0 2909 :stub-columns: 0
4123 2910
4124 2911 * - ``V4L2_JPEG_ACTIVE_MARKER_APP0``
4125 - .. row 1 2912 - Application data segment APP\ :sub:`0`.
4126 2913 * - ``V4L2_JPEG_ACTIVE_MARKER_APP1``
4127 - ``V4L2_JPEG_ACTIVE_MARKER_APP0`` 2914 - Application data segment APP\ :sub:`1`.
4128 2915 * - ``V4L2_JPEG_ACTIVE_MARKER_COM``
4129 - Application data segment APP\ :sub:`0`. 2916 - Comment segment.
4130 2917 * - ``V4L2_JPEG_ACTIVE_MARKER_DQT``
4131 - .. row 2 2918 - Quantization tables segment.
4132 2919 * - ``V4L2_JPEG_ACTIVE_MARKER_DHT``
4133 - ``V4L2_JPEG_ACTIVE_MARKER_APP1`` 2920 - Huffman tables segment.
4134
4135 - Application data segment APP\ :sub:`1`.
4136
4137 - .. row 3
4138
4139 - ``V4L2_JPEG_ACTIVE_MARKER_COM``
4140
4141 - Comment segment.
4142
4143 - .. row 4
4144
4145 - ``V4L2_JPEG_ACTIVE_MARKER_DQT``
4146
4147 - Quantization tables segment.
4148
4149 - .. row 5
4150
4151 - ``V4L2_JPEG_ACTIVE_MARKER_DHT``
4152
4153 - Huffman tables segment.
4154 2921
4155 2922
4156 2923
@@ -4355,40 +3122,20 @@ enum v4l2_dv_it_content_type -
4355 :header-rows: 0 3122 :header-rows: 0
4356 :stub-columns: 0 3123 :stub-columns: 0
4357 3124
4358 3125 * - ``V4L2_DV_IT_CONTENT_TYPE_GRAPHICS``
4359 - .. row 1 3126 - Graphics content. Pixel data should be passed unfiltered and
4360 3127 without analog reconstruction.
4361 - ``V4L2_DV_IT_CONTENT_TYPE_GRAPHICS`` 3128 * - ``V4L2_DV_IT_CONTENT_TYPE_PHOTO``
4362 3129 - Photo content. The content is derived from digital still pictures.
4363 - Graphics content. Pixel data should be passed unfiltered and 3130 The content should be passed through with minimal scaling and
4364 without analog reconstruction. 3131 picture enhancements.
4365 3132 * - ``V4L2_DV_IT_CONTENT_TYPE_CINEMA``
4366 - .. row 2 3133 - Cinema content.
4367 3134 * - ``V4L2_DV_IT_CONTENT_TYPE_GAME``
4368 - ``V4L2_DV_IT_CONTENT_TYPE_PHOTO`` 3135 - Game content. Audio and video latency should be minimized.
4369 3136 * - ``V4L2_DV_IT_CONTENT_TYPE_NO_ITC``
4370 - Photo content. The content is derived from digital still pictures. 3137 - No IT Content information is available and the ITC bit in the AVI
4371 The content should be passed through with minimal scaling and 3138 InfoFrame is set to 0.
4372 picture enhancements.
4373
4374 - .. row 3
4375
4376 - ``V4L2_DV_IT_CONTENT_TYPE_CINEMA``
4377
4378 - Cinema content.
4379
4380 - .. row 4
4381
4382 - ``V4L2_DV_IT_CONTENT_TYPE_GAME``
4383
4384 - Game content. Audio and video latency should be minimized.
4385
4386 - .. row 5
4387
4388 - ``V4L2_DV_IT_CONTENT_TYPE_NO_ITC``
4389
4390 - No IT Content information is available and the ITC bit in the AVI
4391 InfoFrame is set to 0.
4392 3139
4393 3140
4394 3141
@@ -4508,24 +3255,12 @@ enum v4l2_deemphasis -
4508 :header-rows: 0 3255 :header-rows: 0
4509 :stub-columns: 0 3256 :stub-columns: 0
4510 3257
4511 3258 * - ``V4L2_DEEMPHASIS_DISABLED``
4512 - .. row 1 3259 - No de-emphasis is applied.
4513 3260 * - ``V4L2_DEEMPHASIS_50_uS``
4514 - ``V4L2_DEEMPHASIS_DISABLED`` 3261 - A de-emphasis of 50 uS is used.
4515 3262 * - ``V4L2_DEEMPHASIS_75_uS``
4516 - No de-emphasis is applied. 3263 - A de-emphasis of 75 uS is used.
4517
4518 - .. row 2
4519
4520 - ``V4L2_DEEMPHASIS_50_uS``
4521
4522 - A de-emphasis of 50 uS is used.
4523
4524 - .. row 3
4525
4526 - ``V4L2_DEEMPHASIS_75_uS``
4527
4528 - A de-emphasis of 75 uS is used.
4529 3264
4530 3265
4531 3266
@@ -4558,37 +3293,21 @@ Detect Control IDs
4558 :header-rows: 0 3293 :header-rows: 0
4559 :stub-columns: 0 3294 :stub-columns: 0
4560 3295
4561 3296 * - ``V4L2_DETECT_MD_MODE_DISABLED``
4562 - .. row 1 3297 - Disable motion detection.
4563 3298 * - ``V4L2_DETECT_MD_MODE_GLOBAL``
4564 - ``V4L2_DETECT_MD_MODE_DISABLED`` 3299 - Use a single motion detection threshold.
4565 3300 * - ``V4L2_DETECT_MD_MODE_THRESHOLD_GRID``
4566 - Disable motion detection. 3301 - The image is divided into a grid, each cell with its own motion
4567 3302 detection threshold. These thresholds are set through the
4568 - .. row 2 3303 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID`` matrix control.
4569 3304 * - ``V4L2_DETECT_MD_MODE_REGION_GRID``
4570 - ``V4L2_DETECT_MD_MODE_GLOBAL`` 3305 - The image is divided into a grid, each cell with its own region
4571 3306 value that specifies which per-region motion detection thresholds
4572 - Use a single motion detection threshold. 3307 should be used. Each region has its own thresholds. How these
4573 3308 per-region thresholds are set up is driver-specific. The region
4574 - .. row 3 3309 values for the grid are set through the
4575 3310 ``V4L2_CID_DETECT_MD_REGION_GRID`` matrix control.
4576 - ``V4L2_DETECT_MD_MODE_THRESHOLD_GRID``
4577
4578 - The image is divided into a grid, each cell with its own motion
4579 detection threshold. These thresholds are set through the
4580 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID`` matrix control.
4581
4582 - .. row 4
4583
4584 - ``V4L2_DETECT_MD_MODE_REGION_GRID``
4585
4586 - The image is divided into a grid, each cell with its own region
4587 value that specifies which per-region motion detection thresholds
4588 should be used. Each region has its own thresholds. How these
4589 per-region thresholds are set up is driver-specific. The region
4590 values for the grid are set through the
4591 ``V4L2_CID_DETECT_MD_REGION_GRID`` matrix control.
4592 3311
4593 3312
4594 3313
diff --git a/Documentation/media/uapi/v4l/field-order.rst b/Documentation/media/uapi/v4l/field-order.rst
index 0d71d5a3fbde..50779a67c3fd 100644
--- a/Documentation/media/uapi/v4l/field-order.rst
+++ b/Documentation/media/uapi/v4l/field-order.rst
@@ -64,125 +64,75 @@ enum v4l2_field
64 :stub-columns: 0 64 :stub-columns: 0
65 :widths: 3 1 4 65 :widths: 3 1 4
66 66
67 67 * - ``V4L2_FIELD_ANY``
68 - .. row 1 68 - 0
69 69 - Applications request this field order when any one of the
70 - ``V4L2_FIELD_ANY`` 70 ``V4L2_FIELD_NONE``, ``V4L2_FIELD_TOP``, ``V4L2_FIELD_BOTTOM``, or
71 71 ``V4L2_FIELD_INTERLACED`` formats is acceptable. Drivers choose
72 - 0 72 depending on hardware capabilities or e. g. the requested image
73 73 size, and return the actual field order. Drivers must never return
74 - Applications request this field order when any one of the 74 ``V4L2_FIELD_ANY``. If multiple field orders are possible the
75 ``V4L2_FIELD_NONE``, ``V4L2_FIELD_TOP``, ``V4L2_FIELD_BOTTOM``, or 75 driver must choose one of the possible field orders during
76 ``V4L2_FIELD_INTERLACED`` formats is acceptable. Drivers choose 76 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` or
77 depending on hardware capabilities or e. g. the requested image 77 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`. struct
78 size, and return the actual field order. Drivers must never return 78 :c:type:`v4l2_buffer` ``field`` can never be
79 ``V4L2_FIELD_ANY``. If multiple field orders are possible the 79 ``V4L2_FIELD_ANY``.
80 driver must choose one of the possible field orders during 80 * - ``V4L2_FIELD_NONE``
81 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` or 81 - 1
82 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`. struct 82 - Images are in progressive format, not interlaced. The driver may
83 :c:type:`v4l2_buffer` ``field`` can never be 83 also indicate this order when it cannot distinguish between
84 ``V4L2_FIELD_ANY``. 84 ``V4L2_FIELD_TOP`` and ``V4L2_FIELD_BOTTOM``.
85 85 * - ``V4L2_FIELD_TOP``
86 - .. row 2 86 - 2
87 87 - Images consist of the top (aka odd) field only.
88 - ``V4L2_FIELD_NONE`` 88 * - ``V4L2_FIELD_BOTTOM``
89 89 - 3
90 - 1 90 - Images consist of the bottom (aka even) field only. Applications
91 91 may wish to prevent a device from capturing interlaced images
92 - Images are in progressive format, not interlaced. The driver may 92 because they will have "comb" or "feathering" artefacts around
93 also indicate this order when it cannot distinguish between 93 moving objects.
94 ``V4L2_FIELD_TOP`` and ``V4L2_FIELD_BOTTOM``. 94 * - ``V4L2_FIELD_INTERLACED``
95 95 - 4
96 - .. row 3 96 - Images contain both fields, interleaved line by line. The temporal
97 97 order of the fields (whether the top or bottom field is first
98 - ``V4L2_FIELD_TOP`` 98 transmitted) depends on the current video standard. M/NTSC
99 99 transmits the bottom field first, all other standards the top
100 - 2 100 field first.
101 101 * - ``V4L2_FIELD_SEQ_TB``
102 - Images consist of the top (aka odd) field only. 102 - 5
103 103 - Images contain both fields, the top field lines are stored first
104 - .. row 4 104 in memory, immediately followed by the bottom field lines. Fields
105 105 are always stored in temporal order, the older one first in
106 - ``V4L2_FIELD_BOTTOM`` 106 memory. Image sizes refer to the frame, not fields.
107 107 * - ``V4L2_FIELD_SEQ_BT``
108 - 3 108 - 6
109 109 - Images contain both fields, the bottom field lines are stored
110 - Images consist of the bottom (aka even) field only. Applications 110 first in memory, immediately followed by the top field lines.
111 may wish to prevent a device from capturing interlaced images 111 Fields are always stored in temporal order, the older one first in
112 because they will have "comb" or "feathering" artefacts around 112 memory. Image sizes refer to the frame, not fields.
113 moving objects. 113 * - ``V4L2_FIELD_ALTERNATE``
114 114 - 7
115 - .. row 5 115 - The two fields of a frame are passed in separate buffers, in
116 116 temporal order, i. e. the older one first. To indicate the field
117 - ``V4L2_FIELD_INTERLACED`` 117 parity (whether the current field is a top or bottom field) the
118 118 driver or application, depending on data direction, must set
119 - 4 119 struct :c:type:`v4l2_buffer` ``field`` to
120 120 ``V4L2_FIELD_TOP`` or ``V4L2_FIELD_BOTTOM``. Any two successive
121 - Images contain both fields, interleaved line by line. The temporal 121 fields pair to build a frame. If fields are successive, without
122 order of the fields (whether the top or bottom field is first 122 any dropped fields between them (fields can drop individually),
123 transmitted) depends on the current video standard. M/NTSC 123 can be determined from the struct
124 transmits the bottom field first, all other standards the top 124 :c:type:`v4l2_buffer` ``sequence`` field. This
125 field first. 125 format cannot be selected when using the read/write I/O method
126 126 since there is no way to communicate if a field was a top or
127 - .. row 6 127 bottom field.
128 128 * - ``V4L2_FIELD_INTERLACED_TB``
129 - ``V4L2_FIELD_SEQ_TB`` 129 - 8
130 130 - Images contain both fields, interleaved line by line, top field
131 - 5 131 first. The top field is transmitted first.
132 132 * - ``V4L2_FIELD_INTERLACED_BT``
133 - Images contain both fields, the top field lines are stored first 133 - 9
134 in memory, immediately followed by the bottom field lines. Fields 134 - Images contain both fields, interleaved line by line, top field
135 are always stored in temporal order, the older one first in 135 first. The bottom field is transmitted first.
136 memory. Image sizes refer to the frame, not fields.
137
138 - .. row 7
139
140 - ``V4L2_FIELD_SEQ_BT``
141
142 - 6
143
144 - Images contain both fields, the bottom field lines are stored
145 first in memory, immediately followed by the top field lines.
146 Fields are always stored in temporal order, the older one first in
147 memory. Image sizes refer to the frame, not fields.
148
149 - .. row 8
150
151 - ``V4L2_FIELD_ALTERNATE``
152
153 - 7
154
155 - The two fields of a frame are passed in separate buffers, in
156 temporal order, i. e. the older one first. To indicate the field
157 parity (whether the current field is a top or bottom field) the
158 driver or application, depending on data direction, must set
159 struct :c:type:`v4l2_buffer` ``field`` to
160 ``V4L2_FIELD_TOP`` or ``V4L2_FIELD_BOTTOM``. Any two successive
161 fields pair to build a frame. If fields are successive, without
162 any dropped fields between them (fields can drop individually),
163 can be determined from the struct
164 :c:type:`v4l2_buffer` ``sequence`` field. This
165 format cannot be selected when using the read/write I/O method
166 since there is no way to communicate if a field was a top or
167 bottom field.
168
169 - .. row 9
170
171 - ``V4L2_FIELD_INTERLACED_TB``
172
173 - 8
174
175 - Images contain both fields, interleaved line by line, top field
176 first. The top field is transmitted first.
177
178 - .. row 10
179
180 - ``V4L2_FIELD_INTERLACED_BT``
181
182 - 9
183
184 - Images contain both fields, interleaved line by line, top field
185 first. The bottom field is transmitted first.
186 136
187 137
188 138
diff --git a/Documentation/media/uapi/v4l/hist-v4l2.rst b/Documentation/media/uapi/v4l/hist-v4l2.rst
index dfd55e9066b3..058b5db95c32 100644
--- a/Documentation/media/uapi/v4l/hist-v4l2.rst
+++ b/Documentation/media/uapi/v4l/hist-v4l2.rst
@@ -447,90 +447,34 @@ This unnamed version was finally merged into Linux 2.5.46.
447 :header-rows: 1 447 :header-rows: 1
448 :stub-columns: 0 448 :stub-columns: 0
449 449
450 450 * - Old defines
451 - .. row 1 451 - enum :c:type:`v4l2_buf_type`
452 452 * - ``V4L2_BUF_TYPE_CAPTURE``
453 - Old defines 453 - ``V4L2_BUF_TYPE_VIDEO_CAPTURE``
454 454 * - ``V4L2_BUF_TYPE_CODECIN``
455 - enum :c:type:`v4l2_buf_type` 455 - Omitted for now
456 456 * - ``V4L2_BUF_TYPE_CODECOUT``
457 - .. row 2 457 - Omitted for now
458 458 * - ``V4L2_BUF_TYPE_EFFECTSIN``
459 - ``V4L2_BUF_TYPE_CAPTURE`` 459 - Omitted for now
460 460 * - ``V4L2_BUF_TYPE_EFFECTSIN2``
461 - ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` 461 - Omitted for now
462 462 * - ``V4L2_BUF_TYPE_EFFECTSOUT``
463 - .. row 3 463 - Omitted for now
464 464 * - ``V4L2_BUF_TYPE_VIDEOOUT``
465 - ``V4L2_BUF_TYPE_CODECIN`` 465 - ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
466 466 * - ``-``
467 - Omitted for now 467 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
468 468 * - ``-``
469 - .. row 4 469 - ``V4L2_BUF_TYPE_VBI_CAPTURE``
470 470 * - ``-``
471 - ``V4L2_BUF_TYPE_CODECOUT`` 471 - ``V4L2_BUF_TYPE_VBI_OUTPUT``
472 472 * - ``-``
473 - Omitted for now 473 - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
474 474 * - ``-``
475 - .. row 5 475 - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
476 476 * - ``V4L2_BUF_TYPE_PRIVATE_BASE``
477 - ``V4L2_BUF_TYPE_EFFECTSIN`` 477 - ``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated)
478
479 - Omitted for now
480
481 - .. row 6
482
483 - ``V4L2_BUF_TYPE_EFFECTSIN2``
484
485 - Omitted for now
486
487 - .. row 7
488
489 - ``V4L2_BUF_TYPE_EFFECTSOUT``
490
491 - Omitted for now
492
493 - .. row 8
494
495 - ``V4L2_BUF_TYPE_VIDEOOUT``
496
497 - ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
498
499 - .. row 9
500
501 - ``-``
502
503 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
504
505 - .. row 10
506
507 - ``-``
508
509 - ``V4L2_BUF_TYPE_VBI_CAPTURE``
510
511 - .. row 11
512
513 - ``-``
514
515 - ``V4L2_BUF_TYPE_VBI_OUTPUT``
516
517 - .. row 12
518
519 - ``-``
520
521 - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
522
523 - .. row 13
524
525 - ``-``
526
527 - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
528
529 - .. row 14
530
531 - ``V4L2_BUF_TYPE_PRIVATE_BASE``
532
533 - ``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated)
534 478
535 479
53610. In struct :c:type:`v4l2_fmtdesc` a enum 48010. In struct :c:type:`v4l2_fmtdesc` a enum
@@ -564,54 +508,22 @@ This unnamed version was finally merged into Linux 2.5.46.
564 :header-rows: 1 508 :header-rows: 1
565 :stub-columns: 0 509 :stub-columns: 0
566 510
567 511 * - Old flag
568 - .. row 1 512 - enum :c:type:`v4l2_field`
569 513 * - ``V4L2_FMT_FLAG_NOT_INTERLACED``
570 - Old flag 514 - ?
571 515 * - ``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED``
572 - enum :c:type:`v4l2_field` 516 - ``V4L2_FIELD_INTERLACED``
573 517 * - ``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD``
574 - .. row 2 518 - ``V4L2_FIELD_TOP``
575 519 * - ``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD``
576 - ``V4L2_FMT_FLAG_NOT_INTERLACED`` 520 - ``V4L2_FIELD_BOTTOM``
577 521 * - ``-``
578 - ? 522 - ``V4L2_FIELD_SEQ_TB``
579 523 * - ``-``
580 - .. row 3 524 - ``V4L2_FIELD_SEQ_BT``
581 525 * - ``-``
582 - ``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED`` 526 - ``V4L2_FIELD_ALTERNATE``
583
584 - ``V4L2_FIELD_INTERLACED``
585
586 - .. row 4
587
588 - ``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD``
589
590 - ``V4L2_FIELD_TOP``
591
592 - .. row 5
593
594 - ``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD``
595
596 - ``V4L2_FIELD_BOTTOM``
597
598 - .. row 6
599
600 - ``-``
601
602 - ``V4L2_FIELD_SEQ_TB``
603
604 - .. row 7
605
606 - ``-``
607
608 - ``V4L2_FIELD_SEQ_BT``
609
610 - .. row 8
611
612 - ``-``
613
614 - ``V4L2_FIELD_ALTERNATE``
615 527
616 528
617 The color space flags were replaced by a enum 529 The color space flags were replaced by a enum
@@ -768,46 +680,21 @@ V4L2 2003-11-05
768 :header-rows: 1 680 :header-rows: 1
769 :stub-columns: 0 681 :stub-columns: 0
770 682
771 683 * - Symbol
772 - .. row 1 684 - In this document prior to revision 0.5
773 685 - Corrected
774 - Symbol 686 * - ``V4L2_PIX_FMT_RGB24``
775 687 - B, G, R
776 - In this document prior to revision 0.5 688 - R, G, B
777 689 * - ``V4L2_PIX_FMT_BGR24``
778 - Corrected 690 - R, G, B
779 691 - B, G, R
780 - .. row 2 692 * - ``V4L2_PIX_FMT_RGB32``
781 693 - B, G, R, X
782 - ``V4L2_PIX_FMT_RGB24`` 694 - R, G, B, X
783 695 * - ``V4L2_PIX_FMT_BGR32``
784 - B, G, R 696 - R, G, B, X
785 697 - B, G, R, X
786 - R, G, B
787
788 - .. row 3
789
790 - ``V4L2_PIX_FMT_BGR24``
791
792 - R, G, B
793
794 - B, G, R
795
796 - .. row 4
797
798 - ``V4L2_PIX_FMT_RGB32``
799
800 - B, G, R, X
801
802 - R, G, B, X
803
804 - .. row 5
805
806 - ``V4L2_PIX_FMT_BGR32``
807
808 - R, G, B, X
809
810 - B, G, R, X
811 698
812 699
813 The ``V4L2_PIX_FMT_BGR24`` example was always correct. 700 The ``V4L2_PIX_FMT_BGR24`` example was always correct.
diff --git a/Documentation/media/uapi/v4l/pixfmt-002.rst b/Documentation/media/uapi/v4l/pixfmt-002.rst
index fd73f4697878..0d9e697f5d4e 100644
--- a/Documentation/media/uapi/v4l/pixfmt-002.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-002.rst
@@ -15,185 +15,119 @@ Single-planar format structure
15 :stub-columns: 0 15 :stub-columns: 0
16 :widths: 1 1 2 16 :widths: 1 1 2
17 17
18 18 * - __u32
19 - .. row 1 19 - ``width``
20 20 - Image width in pixels.
21 - __u32 21 * - __u32
22 22 - ``height``
23 - ``width`` 23 - Image height in pixels. If ``field`` is one of ``V4L2_FIELD_TOP``,
24 24 ``V4L2_FIELD_BOTTOM`` or ``V4L2_FIELD_ALTERNATE`` then height
25 - Image width in pixels. 25 refers to the number of lines in the field, otherwise it refers to
26 26 the number of lines in the frame (which is twice the field height
27 - .. row 2 27 for interlaced formats).
28 28 * - :cspan:`2` Applications set these fields to request an image
29 - __u32 29 size, drivers return the closest possible values. In case of
30 30 planar formats the ``width`` and ``height`` applies to the largest
31 - ``height`` 31 plane. To avoid ambiguities drivers must return values rounded up
32 32 to a multiple of the scale factor of any smaller planes. For
33 - Image height in pixels. If ``field`` is one of ``V4L2_FIELD_TOP``, 33 example when the image format is YUV 4:2:0, ``width`` and
34 ``V4L2_FIELD_BOTTOM`` or ``V4L2_FIELD_ALTERNATE`` then height 34 ``height`` must be multiples of two.
35 refers to the number of lines in the field, otherwise it refers to 35 * - __u32
36 the number of lines in the frame (which is twice the field height 36 - ``pixelformat``
37 for interlaced formats). 37 - The pixel format or type of compression, set by the application.
38 38 This is a little endian
39 - .. row 3 39 :ref:`four character code <v4l2-fourcc>`. V4L2 defines standard
40 40 RGB formats in :ref:`rgb-formats`, YUV formats in
41 - :cspan:`2` Applications set these fields to request an image 41 :ref:`yuv-formats`, and reserved codes in
42 size, drivers return the closest possible values. In case of 42 :ref:`reserved-formats`
43 planar formats the ``width`` and ``height`` applies to the largest 43 * - enum :c:type::`v4l2_field`
44 plane. To avoid ambiguities drivers must return values rounded up 44 - ``field``
45 to a multiple of the scale factor of any smaller planes. For 45 - Video images are typically interlaced. Applications can request to
46 example when the image format is YUV 4:2:0, ``width`` and 46 capture or output only the top or bottom field, or both fields
47 ``height`` must be multiples of two. 47 interlaced or sequentially stored in one buffer or alternating in
48 48 separate buffers. Drivers return the actual field order selected.
49 - .. row 4 49 For more details on fields see :ref:`field-order`.
50 50 * - __u32
51 - __u32 51 - ``bytesperline``
52 52 - Distance in bytes between the leftmost pixels in two adjacent
53 - ``pixelformat`` 53 lines.
54 54 * - :cspan:`2`
55 - The pixel format or type of compression, set by the application. 55
56 This is a little endian 56 Both applications and drivers can set this field to request
57 :ref:`four character code <v4l2-fourcc>`. V4L2 defines standard 57 padding bytes at the end of each line. Drivers however may ignore
58 RGB formats in :ref:`rgb-formats`, YUV formats in 58 the value requested by the application, returning ``width`` times
59 :ref:`yuv-formats`, and reserved codes in 59 bytes per pixel or a larger value required by the hardware. That
60 :ref:`reserved-formats` 60 implies applications can just set this field to zero to get a
61 61 reasonable default.
62 - .. row 5 62
63 63 Video hardware may access padding bytes, therefore they must
64 - enum :c:type::`v4l2_field` 64 reside in accessible memory. Consider cases where padding bytes
65 65 after the last line of an image cross a system page boundary.
66 - ``field`` 66 Input devices may write padding bytes, the value is undefined.
67 67 Output devices ignore the contents of padding bytes.
68 - Video images are typically interlaced. Applications can request to 68
69 capture or output only the top or bottom field, or both fields 69 When the image format is planar the ``bytesperline`` value applies
70 interlaced or sequentially stored in one buffer or alternating in 70 to the first plane and is divided by the same factor as the
71 separate buffers. Drivers return the actual field order selected. 71 ``width`` field for the other planes. For example the Cb and Cr
72 For more details on fields see :ref:`field-order`. 72 planes of a YUV 4:2:0 image have half as many padding bytes
73 73 following each line as the Y plane. To avoid ambiguities drivers
74 - .. row 6 74 must return a ``bytesperline`` value rounded up to a multiple of
75 75 the scale factor.
76 - __u32 76
77 77 For compressed formats the ``bytesperline`` value makes no sense.
78 - ``bytesperline`` 78 Applications and drivers must set this to 0 in that case.
79 79 * - __u32
80 - Distance in bytes between the leftmost pixels in two adjacent 80 - ``sizeimage``
81 lines. 81 - Size in bytes of the buffer to hold a complete image, set by the
82 82 driver. Usually this is ``bytesperline`` times ``height``. When
83 - .. row 7 83 the image consists of variable length compressed data this is the
84 84 maximum number of bytes required to hold an image.
85 - :cspan:`2` 85 * - enum :c:type:`v4l2_colorspace`
86 86 - ``colorspace``
87 Both applications and drivers can set this field to request 87 - This information supplements the ``pixelformat`` and must be set
88 padding bytes at the end of each line. Drivers however may ignore 88 by the driver for capture streams and by the application for
89 the value requested by the application, returning ``width`` times 89 output streams, see :ref:`colorspaces`.
90 bytes per pixel or a larger value required by the hardware. That 90 * - __u32
91 implies applications can just set this field to zero to get a 91 - ``priv``
92 reasonable default. 92 - This field indicates whether the remaining fields of the
93 93 struct :c:type:`v4l2_pix_format`, also called the
94 Video hardware may access padding bytes, therefore they must 94 extended fields, are valid. When set to
95 reside in accessible memory. Consider cases where padding bytes 95 ``V4L2_PIX_FMT_PRIV_MAGIC``, it indicates that the extended fields
96 after the last line of an image cross a system page boundary. 96 have been correctly initialized. When set to any other value it
97 Input devices may write padding bytes, the value is undefined. 97 indicates that the extended fields contain undefined values.
98 Output devices ignore the contents of padding bytes. 98
99 99 Applications that wish to use the pixel format extended fields
100 When the image format is planar the ``bytesperline`` value applies 100 must first ensure that the feature is supported by querying the
101 to the first plane and is divided by the same factor as the 101 device for the :ref:`V4L2_CAP_EXT_PIX_FORMAT <querycap>`
102 ``width`` field for the other planes. For example the Cb and Cr 102 capability. If the capability isn't set the pixel format extended
103 planes of a YUV 4:2:0 image have half as many padding bytes 103 fields are not supported and using the extended fields will lead
104 following each line as the Y plane. To avoid ambiguities drivers 104 to undefined results.
105 must return a ``bytesperline`` value rounded up to a multiple of 105
106 the scale factor. 106 To use the extended fields, applications must set the ``priv``
107 107 field to ``V4L2_PIX_FMT_PRIV_MAGIC``, initialize all the extended
108 For compressed formats the ``bytesperline`` value makes no sense. 108 fields and zero the unused bytes of the
109 Applications and drivers must set this to 0 in that case. 109 struct :c:type:`v4l2_format` ``raw_data`` field.
110 110
111 - .. row 8 111 When the ``priv`` field isn't set to ``V4L2_PIX_FMT_PRIV_MAGIC``
112 112 drivers must act as if all the extended fields were set to zero.
113 - __u32 113 On return drivers must set the ``priv`` field to
114 114 ``V4L2_PIX_FMT_PRIV_MAGIC`` and all the extended fields to
115 - ``sizeimage`` 115 applicable values.
116 116 * - __u32
117 - Size in bytes of the buffer to hold a complete image, set by the 117 - ``flags``
118 driver. Usually this is ``bytesperline`` times ``height``. When 118 - Flags set by the application or driver, see :ref:`format-flags`.
119 the image consists of variable length compressed data this is the 119 * - enum :c:type:`v4l2_ycbcr_encoding`
120 maximum number of bytes required to hold an image. 120 - ``ycbcr_enc``
121 121 - This information supplements the ``colorspace`` and must be set by
122 - .. row 9 122 the driver for capture streams and by the application for output
123 123 streams, see :ref:`colorspaces`.
124 - enum :c:type:`v4l2_colorspace` 124 * - enum :c:type:`v4l2_quantization`
125 125 - ``quantization``
126 - ``colorspace`` 126 - This information supplements the ``colorspace`` and must be set by
127 127 the driver for capture streams and by the application for output
128 - This information supplements the ``pixelformat`` and must be set 128 streams, see :ref:`colorspaces`.
129 by the driver for capture streams and by the application for 129 * - enum :c:type:`v4l2_xfer_func`
130 output streams, see :ref:`colorspaces`. 130 - ``xfer_func``
131 131 - This information supplements the ``colorspace`` and must be set by
132 - .. row 10 132 the driver for capture streams and by the application for output
133 133 streams, see :ref:`colorspaces`.
134 - __u32
135
136 - ``priv``
137
138 - This field indicates whether the remaining fields of the
139 struct :c:type:`v4l2_pix_format`, also called the
140 extended fields, are valid. When set to
141 ``V4L2_PIX_FMT_PRIV_MAGIC``, it indicates that the extended fields
142 have been correctly initialized. When set to any other value it
143 indicates that the extended fields contain undefined values.
144
145 Applications that wish to use the pixel format extended fields
146 must first ensure that the feature is supported by querying the
147 device for the :ref:`V4L2_CAP_EXT_PIX_FORMAT <querycap>`
148 capability. If the capability isn't set the pixel format extended
149 fields are not supported and using the extended fields will lead
150 to undefined results.
151
152 To use the extended fields, applications must set the ``priv``
153 field to ``V4L2_PIX_FMT_PRIV_MAGIC``, initialize all the extended
154 fields and zero the unused bytes of the
155 struct :c:type:`v4l2_format` ``raw_data`` field.
156
157 When the ``priv`` field isn't set to ``V4L2_PIX_FMT_PRIV_MAGIC``
158 drivers must act as if all the extended fields were set to zero.
159 On return drivers must set the ``priv`` field to
160 ``V4L2_PIX_FMT_PRIV_MAGIC`` and all the extended fields to
161 applicable values.
162
163 - .. row 11
164
165 - __u32
166
167 - ``flags``
168
169 - Flags set by the application or driver, see :ref:`format-flags`.
170
171 - .. row 12
172
173 - enum :c:type:`v4l2_ycbcr_encoding`
174
175 - ``ycbcr_enc``
176
177 - This information supplements the ``colorspace`` and must be set by
178 the driver for capture streams and by the application for output
179 streams, see :ref:`colorspaces`.
180
181 - .. row 13
182
183 - enum :c:type:`v4l2_quantization`
184
185 - ``quantization``
186
187 - This information supplements the ``colorspace`` and must be set by
188 the driver for capture streams and by the application for output
189 streams, see :ref:`colorspaces`.
190
191 - .. row 14
192
193 - enum :c:type:`v4l2_xfer_func`
194
195 - ``xfer_func``
196
197 - This information supplements the ``colorspace`` and must be set by
198 the driver for capture streams and by the application for output
199 streams, see :ref:`colorspaces`.
diff --git a/Documentation/media/uapi/v4l/pixfmt-003.rst b/Documentation/media/uapi/v4l/pixfmt-003.rst
index a3c83df3bce5..ae9ea7a791de 100644
--- a/Documentation/media/uapi/v4l/pixfmt-003.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-003.rst
@@ -21,32 +21,17 @@ describing all planes of that format.
21 :stub-columns: 0 21 :stub-columns: 0
22 :widths: 1 1 2 22 :widths: 1 1 2
23 23
24 24 * - __u32
25 - .. row 1 25 - ``sizeimage``
26 26 - Maximum size in bytes required for image data in this plane.
27 - __u32 27 * - __u32
28 28 - ``bytesperline``
29 - ``sizeimage`` 29 - Distance in bytes between the leftmost pixels in two adjacent
30 30 lines. See struct :c:type:`v4l2_pix_format`.
31 - Maximum size in bytes required for image data in this plane. 31 * - __u16
32 32 - ``reserved[6]``
33 - .. row 2 33 - Reserved for future extensions. Should be zeroed by drivers and
34 34 applications.
35 - __u32
36
37 - ``bytesperline``
38
39 - Distance in bytes between the leftmost pixels in two adjacent
40 lines. See struct :c:type:`v4l2_pix_format`.
41
42 - .. row 3
43
44 - __u16
45
46 - ``reserved[6]``
47
48 - Reserved for future extensions. Should be zeroed by drivers and
49 applications.
50 35
51 36
52.. tabularcolumns:: |p{4.4cm}|p{5.6cm}|p{7.5cm}| 37.. tabularcolumns:: |p{4.4cm}|p{5.6cm}|p{7.5cm}|
@@ -58,112 +43,52 @@ describing all planes of that format.
58 :stub-columns: 0 43 :stub-columns: 0
59 :widths: 1 1 2 44 :widths: 1 1 2
60 45
61 46 * - __u32
62 - .. row 1 47 - ``width``
63 48 - Image width in pixels. See struct
64 - __u32 49 :c:type:`v4l2_pix_format`.
65 50 * - __u32
66 - ``width`` 51 - ``height``
67 52 - Image height in pixels. See struct
68 - Image width in pixels. See struct 53 :c:type:`v4l2_pix_format`.
69 :c:type:`v4l2_pix_format`. 54 * - __u32
70 55 - ``pixelformat``
71 - .. row 2 56 - The pixel format. Both single- and multi-planar four character
72 57 codes can be used.
73 - __u32 58 * - enum :c:type:`v4l2_field`
74 59 - ``field``
75 - ``height`` 60 - See struct :c:type:`v4l2_pix_format`.
76 61 * - enum :c:type:`v4l2_colorspace`
77 - Image height in pixels. See struct 62 - ``colorspace``
78 :c:type:`v4l2_pix_format`. 63 - See struct :c:type:`v4l2_pix_format`.
79 64 * - struct :c:type:`v4l2_plane_pix_format`
80 - .. row 3 65 - ``plane_fmt[VIDEO_MAX_PLANES]``
81 66 - An array of structures describing format of each plane this pixel
82 - __u32 67 format consists of. The number of valid entries in this array has
83 68 to be put in the ``num_planes`` field.
84 - ``pixelformat`` 69 * - __u8
85 70 - ``num_planes``
86 - The pixel format. Both single- and multi-planar four character 71 - Number of planes (i.e. separate memory buffers) for this format
87 codes can be used. 72 and the number of valid entries in the ``plane_fmt`` array.
88 73 * - __u8
89 - .. row 4 74 - ``flags``
90 75 - Flags set by the application or driver, see :ref:`format-flags`.
91 - enum :c:type:`v4l2_field` 76 * - enum :c:type:`v4l2_ycbcr_encoding`
92 77 - ``ycbcr_enc``
93 - ``field`` 78 - This information supplements the ``colorspace`` and must be set by
94 79 the driver for capture streams and by the application for output
95 - See struct :c:type:`v4l2_pix_format`. 80 streams, see :ref:`colorspaces`.
96 81 * - enum :c:type:`v4l2_quantization`
97 - .. row 5 82 - ``quantization``
98 83 - This information supplements the ``colorspace`` and must be set by
99 - enum :c:type:`v4l2_colorspace` 84 the driver for capture streams and by the application for output
100 85 streams, see :ref:`colorspaces`.
101 - ``colorspace`` 86 * - enum :c:type:`v4l2_xfer_func`
102 87 - ``xfer_func``
103 - See struct :c:type:`v4l2_pix_format`. 88 - This information supplements the ``colorspace`` and must be set by
104 89 the driver for capture streams and by the application for output
105 - .. row 6 90 streams, see :ref:`colorspaces`.
106 91 * - __u8
107 - struct :c:type:`v4l2_plane_pix_format` 92 - ``reserved[7]``
108 93 - Reserved for future extensions. Should be zeroed by drivers and
109 - ``plane_fmt[VIDEO_MAX_PLANES]`` 94 applications.
110
111 - An array of structures describing format of each plane this pixel
112 format consists of. The number of valid entries in this array has
113 to be put in the ``num_planes`` field.
114
115 - .. row 7
116
117 - __u8
118
119 - ``num_planes``
120
121 - Number of planes (i.e. separate memory buffers) for this format
122 and the number of valid entries in the ``plane_fmt`` array.
123
124 - .. row 8
125
126 - __u8
127
128 - ``flags``
129
130 - Flags set by the application or driver, see :ref:`format-flags`.
131
132 - .. row 9
133
134 - enum :c:type:`v4l2_ycbcr_encoding`
135
136 - ``ycbcr_enc``
137
138 - This information supplements the ``colorspace`` and must be set by
139 the driver for capture streams and by the application for output
140 streams, see :ref:`colorspaces`.
141
142 - .. row 10
143
144 - enum :c:type:`v4l2_quantization`
145
146 - ``quantization``
147
148 - This information supplements the ``colorspace`` and must be set by
149 the driver for capture streams and by the application for output
150 streams, see :ref:`colorspaces`.
151
152 - .. row 11
153
154 - enum :c:type:`v4l2_xfer_func`
155
156 - ``xfer_func``
157
158 - This information supplements the ``colorspace`` and must be set by
159 the driver for capture streams and by the application for output
160 streams, see :ref:`colorspaces`.
161
162 - .. row 12
163
164 - __u8
165
166 - ``reserved[7]``
167
168 - Reserved for future extensions. Should be zeroed by drivers and
169 applications.
diff --git a/Documentation/media/uapi/v4l/pixfmt-006.rst b/Documentation/media/uapi/v4l/pixfmt-006.rst
index 819299d0291a..a9890ff6038b 100644
--- a/Documentation/media/uapi/v4l/pixfmt-006.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-006.rst
@@ -33,89 +33,37 @@ needs to be filled in.
33 :header-rows: 1 33 :header-rows: 1
34 :stub-columns: 0 34 :stub-columns: 0
35 35
36 36 * - Identifier
37 - .. row 1 37 - Details
38 38 * - ``V4L2_COLORSPACE_DEFAULT``
39 - Identifier 39 - The default colorspace. This can be used by applications to let
40 40 the driver fill in the colorspace.
41 - Details 41 * - ``V4L2_COLORSPACE_SMPTE170M``
42 42 - See :ref:`col-smpte-170m`.
43 - .. row 2 43 * - ``V4L2_COLORSPACE_REC709``
44 44 - See :ref:`col-rec709`.
45 - ``V4L2_COLORSPACE_DEFAULT`` 45 * - ``V4L2_COLORSPACE_SRGB``
46 46 - See :ref:`col-srgb`.
47 - The default colorspace. This can be used by applications to let 47 * - ``V4L2_COLORSPACE_ADOBERGB``
48 the driver fill in the colorspace. 48 - See :ref:`col-adobergb`.
49 49 * - ``V4L2_COLORSPACE_BT2020``
50 - .. row 3 50 - See :ref:`col-bt2020`.
51 51 * - ``V4L2_COLORSPACE_DCI_P3``
52 - ``V4L2_COLORSPACE_SMPTE170M`` 52 - See :ref:`col-dcip3`.
53 53 * - ``V4L2_COLORSPACE_SMPTE240M``
54 - See :ref:`col-smpte-170m`. 54 - See :ref:`col-smpte-240m`.
55 55 * - ``V4L2_COLORSPACE_470_SYSTEM_M``
56 - .. row 4 56 - See :ref:`col-sysm`.
57 57 * - ``V4L2_COLORSPACE_470_SYSTEM_BG``
58 - ``V4L2_COLORSPACE_REC709`` 58 - See :ref:`col-sysbg`.
59 59 * - ``V4L2_COLORSPACE_JPEG``
60 - See :ref:`col-rec709`. 60 - See :ref:`col-jpeg`.
61 61 * - ``V4L2_COLORSPACE_RAW``
62 - .. row 5 62 - The raw colorspace. This is used for raw image capture where the
63 63 image is minimally processed and is using the internal colorspace
64 - ``V4L2_COLORSPACE_SRGB`` 64 of the device. The software that processes an image using this
65 65 'colorspace' will have to know the internals of the capture
66 - See :ref:`col-srgb`. 66 device.
67
68 - .. row 6
69
70 - ``V4L2_COLORSPACE_ADOBERGB``
71
72 - See :ref:`col-adobergb`.
73
74 - .. row 7
75
76 - ``V4L2_COLORSPACE_BT2020``
77
78 - See :ref:`col-bt2020`.
79
80 - .. row 8
81
82 - ``V4L2_COLORSPACE_DCI_P3``
83
84 - See :ref:`col-dcip3`.
85
86 - .. row 9
87
88 - ``V4L2_COLORSPACE_SMPTE240M``
89
90 - See :ref:`col-smpte-240m`.
91
92 - .. row 10
93
94 - ``V4L2_COLORSPACE_470_SYSTEM_M``
95
96 - See :ref:`col-sysm`.
97
98 - .. row 11
99
100 - ``V4L2_COLORSPACE_470_SYSTEM_BG``
101
102 - See :ref:`col-sysbg`.
103
104 - .. row 12
105
106 - ``V4L2_COLORSPACE_JPEG``
107
108 - See :ref:`col-jpeg`.
109
110 - .. row 13
111
112 - ``V4L2_COLORSPACE_RAW``
113
114 - The raw colorspace. This is used for raw image capture where the
115 image is minimally processed and is using the internal colorspace
116 of the device. The software that processes an image using this
117 'colorspace' will have to know the internals of the capture
118 device.
119 67
120 68
121 69
@@ -125,60 +73,24 @@ needs to be filled in.
125 :header-rows: 1 73 :header-rows: 1
126 :stub-columns: 0 74 :stub-columns: 0
127 75
128 76 * - Identifier
129 - .. row 1 77 - Details
130 78 * - ``V4L2_XFER_FUNC_DEFAULT``
131 - Identifier 79 - Use the default transfer function as defined by the colorspace.
132 80 * - ``V4L2_XFER_FUNC_709``
133 - Details 81 - Use the Rec. 709 transfer function.
134 82 * - ``V4L2_XFER_FUNC_SRGB``
135 - .. row 2 83 - Use the sRGB transfer function.
136 84 * - ``V4L2_XFER_FUNC_ADOBERGB``
137 - ``V4L2_XFER_FUNC_DEFAULT`` 85 - Use the AdobeRGB transfer function.
138 86 * - ``V4L2_XFER_FUNC_SMPTE240M``
139 - Use the default transfer function as defined by the colorspace. 87 - Use the SMPTE 240M transfer function.
140 88 * - ``V4L2_XFER_FUNC_NONE``
141 - .. row 3 89 - Do not use a transfer function (i.e. use linear RGB values).
142 90 * - ``V4L2_XFER_FUNC_DCI_P3``
143 - ``V4L2_XFER_FUNC_709`` 91 - Use the DCI-P3 transfer function.
144 92 * - ``V4L2_XFER_FUNC_SMPTE2084``
145 - Use the Rec. 709 transfer function. 93 - Use the SMPTE 2084 transfer function.
146
147 - .. row 4
148
149 - ``V4L2_XFER_FUNC_SRGB``
150
151 - Use the sRGB transfer function.
152
153 - .. row 5
154
155 - ``V4L2_XFER_FUNC_ADOBERGB``
156
157 - Use the AdobeRGB transfer function.
158
159 - .. row 6
160
161 - ``V4L2_XFER_FUNC_SMPTE240M``
162
163 - Use the SMPTE 240M transfer function.
164
165 - .. row 7
166
167 - ``V4L2_XFER_FUNC_NONE``
168
169 - Do not use a transfer function (i.e. use linear RGB values).
170
171 - .. row 8
172
173 - ``V4L2_XFER_FUNC_DCI_P3``
174
175 - Use the DCI-P3 transfer function.
176
177 - .. row 9
178
179 - ``V4L2_XFER_FUNC_SMPTE2084``
180
181 - Use the SMPTE 2084 transfer function.
182 94
183 95
184 96
@@ -190,60 +102,24 @@ needs to be filled in.
190 :header-rows: 1 102 :header-rows: 1
191 :stub-columns: 0 103 :stub-columns: 0
192 104
193 105 * - Identifier
194 - .. row 1 106 - Details
195 107 * - ``V4L2_YCBCR_ENC_DEFAULT``
196 - Identifier 108 - Use the default Y'CbCr encoding as defined by the colorspace.
197 109 * - ``V4L2_YCBCR_ENC_601``
198 - Details 110 - Use the BT.601 Y'CbCr encoding.
199 111 * - ``V4L2_YCBCR_ENC_709``
200 - .. row 2 112 - Use the Rec. 709 Y'CbCr encoding.
201 113 * - ``V4L2_YCBCR_ENC_XV601``
202 - ``V4L2_YCBCR_ENC_DEFAULT`` 114 - Use the extended gamut xvYCC BT.601 encoding.
203 115 * - ``V4L2_YCBCR_ENC_XV709``
204 - Use the default Y'CbCr encoding as defined by the colorspace. 116 - Use the extended gamut xvYCC Rec. 709 encoding.
205 117 * - ``V4L2_YCBCR_ENC_BT2020``
206 - .. row 3 118 - Use the default non-constant luminance BT.2020 Y'CbCr encoding.
207 119 * - ``V4L2_YCBCR_ENC_BT2020_CONST_LUM``
208 - ``V4L2_YCBCR_ENC_601`` 120 - Use the constant luminance BT.2020 Yc'CbcCrc encoding.
209 121 * - ``V4L2_YCBCR_ENC_SMPTE_240M``
210 - Use the BT.601 Y'CbCr encoding. 122 - Use the SMPTE 240M Y'CbCr encoding.
211
212 - .. row 4
213
214 - ``V4L2_YCBCR_ENC_709``
215
216 - Use the Rec. 709 Y'CbCr encoding.
217
218 - .. row 5
219
220 - ``V4L2_YCBCR_ENC_XV601``
221
222 - Use the extended gamut xvYCC BT.601 encoding.
223
224 - .. row 6
225
226 - ``V4L2_YCBCR_ENC_XV709``
227
228 - Use the extended gamut xvYCC Rec. 709 encoding.
229
230 - .. row 7
231
232 - ``V4L2_YCBCR_ENC_BT2020``
233
234 - Use the default non-constant luminance BT.2020 Y'CbCr encoding.
235
236 - .. row 8
237
238 - ``V4L2_YCBCR_ENC_BT2020_CONST_LUM``
239
240 - Use the constant luminance BT.2020 Yc'CbcCrc encoding.
241
242 - .. row 9
243
244 - ``V4L2_YCBCR_ENC_SMPTE_240M``
245
246 - Use the SMPTE 240M Y'CbCr encoding.
247 123
248 124
249 125
@@ -255,35 +131,19 @@ needs to be filled in.
255 :header-rows: 1 131 :header-rows: 1
256 :stub-columns: 0 132 :stub-columns: 0
257 133
258 134 * - Identifier
259 - .. row 1 135 - Details
260 136 * - ``V4L2_QUANTIZATION_DEFAULT``
261 - Identifier 137 - Use the default quantization encoding as defined by the
262 138 colorspace. This is always full range for R'G'B' (except for the
263 - Details 139 BT.2020 colorspace) and usually limited range for Y'CbCr.
264 140 * - ``V4L2_QUANTIZATION_FULL_RANGE``
265 - .. row 2 141 - Use the full range quantization encoding. I.e. the range [0…1] is
266 142 mapped to [0…255] (with possible clipping to [1…254] to avoid the
267 - ``V4L2_QUANTIZATION_DEFAULT`` 143 0x00 and 0xff values). Cb and Cr are mapped from [-0.5…0.5] to
268 144 [0…255] (with possible clipping to [1…254] to avoid the 0x00 and
269 - Use the default quantization encoding as defined by the 145 0xff values).
270 colorspace. This is always full range for R'G'B' (except for the 146 * - ``V4L2_QUANTIZATION_LIM_RANGE``
271 BT.2020 colorspace) and usually limited range for Y'CbCr. 147 - Use the limited range quantization encoding. I.e. the range [0…1]
272 148 is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to
273 - .. row 3 149 [16…240].
274
275 - ``V4L2_QUANTIZATION_FULL_RANGE``
276
277 - Use the full range quantization encoding. I.e. the range [0…1] is
278 mapped to [0…255] (with possible clipping to [1…254] to avoid the
279 0x00 and 0xff values). Cb and Cr are mapped from [-0.5…0.5] to
280 [0…255] (with possible clipping to [1…254] to avoid the 0x00 and
281 0xff values).
282
283 - .. row 4
284
285 - ``V4L2_QUANTIZATION_LIM_RANGE``
286
287 - Use the limited range quantization encoding. I.e. the range [0…1]
288 is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to
289 [16…240].
diff --git a/Documentation/media/uapi/v4l/pixfmt-007.rst b/Documentation/media/uapi/v4l/pixfmt-007.rst
index f3e7f9e4c616..44bb5a7059b3 100644
--- a/Documentation/media/uapi/v4l/pixfmt-007.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-007.rst
@@ -26,46 +26,21 @@ are:
26 :stub-columns: 0 26 :stub-columns: 0
27 :widths: 1 1 2 27 :widths: 1 1 2
28 28
29 29 * - Color
30 - .. row 1 30 - x
31 31 - y
32 - Color 32 * - Red
33 33 - 0.630
34 - x 34 - 0.340
35 35 * - Green
36 - y 36 - 0.310
37 37 - 0.595
38 - .. row 2 38 * - Blue
39 39 - 0.155
40 - Red 40 - 0.070
41 41 * - White Reference (D65)
42 - 0.630 42 - 0.3127
43 43 - 0.3290
44 - 0.340
45
46 - .. row 3
47
48 - Green
49
50 - 0.310
51
52 - 0.595
53
54 - .. row 4
55
56 - Blue
57
58 - 0.155
59
60 - 0.070
61
62 - .. row 5
63
64 - White Reference (D65)
65
66 - 0.3127
67
68 - 0.3290
69 44
70 45
71The red, green and blue chromaticities are also often referred to as the 46The red, green and blue chromaticities are also often referred to as the
@@ -132,46 +107,21 @@ and the white reference are:
132 :stub-columns: 0 107 :stub-columns: 0
133 :widths: 1 1 2 108 :widths: 1 1 2
134 109
135 110 * - Color
136 - .. row 1 111 - x
137 112 - y
138 - Color 113 * - Red
139 114 - 0.640
140 - x 115 - 0.330
141 116 * - Green
142 - y 117 - 0.300
143 118 - 0.600
144 - .. row 2 119 * - Blue
145 120 - 0.150
146 - Red 121 - 0.060
147 122 * - White Reference (D65)
148 - 0.640 123 - 0.3127
149 124 - 0.3290
150 - 0.330
151
152 - .. row 3
153
154 - Green
155
156 - 0.300
157
158 - 0.600
159
160 - .. row 4
161
162 - Blue
163
164 - 0.150
165
166 - 0.060
167
168 - .. row 5
169
170 - White Reference (D65)
171
172 - 0.3127
173
174 - 0.3290
175 125
176 126
177The full name of this standard is Rec. ITU-R BT.709-5. 127The full name of this standard is Rec. ITU-R BT.709-5.
@@ -273,46 +223,21 @@ The chromaticities of the primary colors and the white reference are:
273 :stub-columns: 0 223 :stub-columns: 0
274 :widths: 1 1 2 224 :widths: 1 1 2
275 225
276 226 * - Color
277 - .. row 1 227 - x
278 228 - y
279 - Color 229 * - Red
280 230 - 0.640
281 - x 231 - 0.330
282 232 * - Green
283 - y 233 - 0.300
284 234 - 0.600
285 - .. row 2 235 * - Blue
286 236 - 0.150
287 - Red 237 - 0.060
288 238 * - White Reference (D65)
289 - 0.640 239 - 0.3127
290 240 - 0.3290
291 - 0.330
292
293 - .. row 3
294
295 - Green
296
297 - 0.300
298
299 - 0.600
300
301 - .. row 4
302
303 - Blue
304
305 - 0.150
306
307 - 0.060
308
309 - .. row 5
310
311 - White Reference (D65)
312
313 - 0.3127
314
315 - 0.3290
316 241
317 242
318These chromaticities are identical to the Rec. 709 colorspace. 243These chromaticities are identical to the Rec. 709 colorspace.
@@ -376,46 +301,21 @@ are:
376 :stub-columns: 0 301 :stub-columns: 0
377 :widths: 1 1 2 302 :widths: 1 1 2
378 303
379 304 * - Color
380 - .. row 1 305 - x
381 306 - y
382 - Color 307 * - Red
383 308 - 0.6400
384 - x 309 - 0.3300
385 310 * - Green
386 - y 311 - 0.2100
387 312 - 0.7100
388 - .. row 2 313 * - Blue
389 314 - 0.1500
390 - Red 315 - 0.0600
391 316 * - White Reference (D65)
392 - 0.6400 317 - 0.3127
393 318 - 0.3290
394 - 0.3300
395
396 - .. row 3
397
398 - Green
399
400 - 0.2100
401
402 - 0.7100
403
404 - .. row 4
405
406 - Blue
407
408 - 0.1500
409
410 - 0.0600
411
412 - .. row 5
413
414 - White Reference (D65)
415
416 - 0.3127
417
418 - 0.3290
419 319
420 320
421 321
@@ -468,46 +368,21 @@ of the primary colors and the white reference are:
468 :stub-columns: 0 368 :stub-columns: 0
469 :widths: 1 1 2 369 :widths: 1 1 2
470 370
471 371 * - Color
472 - .. row 1 372 - x
473 373 - y
474 - Color 374 * - Red
475 375 - 0.708
476 - x 376 - 0.292
477 377 * - Green
478 - y 378 - 0.170
479 379 - 0.797
480 - .. row 2 380 * - Blue
481 381 - 0.131
482 - Red 382 - 0.046
483 383 * - White Reference (D65)
484 - 0.708 384 - 0.3127
485 385 - 0.3290
486 - 0.292
487
488 - .. row 3
489
490 - Green
491
492 - 0.170
493
494 - 0.797
495
496 - .. row 4
497
498 - Blue
499
500 - 0.131
501
502 - 0.046
503
504 - .. row 5
505
506 - White Reference (D65)
507
508 - 0.3127
509
510 - 0.3290
511 386
512 387
513 388
@@ -592,46 +467,21 @@ The chromaticities of the primary colors and the white reference are:
592 :stub-columns: 0 467 :stub-columns: 0
593 :widths: 1 1 2 468 :widths: 1 1 2
594 469
595 470 * - Color
596 - .. row 1 471 - x
597 472 - y
598 - Color 473 * - Red
599 474 - 0.6800
600 - x 475 - 0.3200
601 476 * - Green
602 - y 477 - 0.2650
603 478 - 0.6900
604 - .. row 2 479 * - Blue
605 480 - 0.1500
606 - Red 481 - 0.0600
607 482 * - White Reference
608 - 0.6800 483 - 0.3140
609 484 - 0.3510
610 - 0.3200
611
612 - .. row 3
613
614 - Green
615
616 - 0.2650
617
618 - 0.6900
619
620 - .. row 4
621
622 - Blue
623
624 - 0.1500
625
626 - 0.0600
627
628 - .. row 5
629
630 - White Reference
631
632 - 0.3140
633
634 - 0.3510
635 485
636 486
637 487
@@ -671,46 +521,21 @@ and the white reference are:
671 :stub-columns: 0 521 :stub-columns: 0
672 :widths: 1 1 2 522 :widths: 1 1 2
673 523
674 524 * - Color
675 - .. row 1 525 - x
676 526 - y
677 - Color 527 * - Red
678 528 - 0.630
679 - x 529 - 0.340
680 530 * - Green
681 - y 531 - 0.310
682 532 - 0.595
683 - .. row 2 533 * - Blue
684 534 - 0.155
685 - Red 535 - 0.070
686 536 * - White Reference (D65)
687 - 0.630 537 - 0.3127
688 538 - 0.3290
689 - 0.340
690
691 - .. row 3
692
693 - Green
694
695 - 0.310
696
697 - 0.595
698
699 - .. row 4
700
701 - Blue
702
703 - 0.155
704
705 - 0.070
706
707 - .. row 5
708
709 - White Reference (D65)
710
711 - 0.3127
712
713 - 0.3290
714 539
715 540
716These chromaticities are identical to the SMPTE 170M colorspace. 541These chromaticities are identical to the SMPTE 170M colorspace.
@@ -767,46 +592,21 @@ reference are:
767 :stub-columns: 0 592 :stub-columns: 0
768 :widths: 1 1 2 593 :widths: 1 1 2
769 594
770 595 * - Color
771 - .. row 1 596 - x
772 597 - y
773 - Color 598 * - Red
774 599 - 0.67
775 - x 600 - 0.33
776 601 * - Green
777 - y 602 - 0.21
778 603 - 0.71
779 - .. row 2 604 * - Blue
780 605 - 0.14
781 - Red 606 - 0.08
782 607 * - White Reference (C)
783 - 0.67 608 - 0.310
784 609 - 0.316
785 - 0.33
786
787 - .. row 3
788
789 - Green
790
791 - 0.21
792
793 - 0.71
794
795 - .. row 4
796
797 - Blue
798
799 - 0.14
800
801 - 0.08
802
803 - .. row 5
804
805 - White Reference (C)
806
807 - 0.310
808
809 - 0.316
810 610
811 611
812.. note:: 612.. note::
@@ -871,46 +671,21 @@ are:
871 :stub-columns: 0 671 :stub-columns: 0
872 :widths: 1 1 2 672 :widths: 1 1 2
873 673
874 674 * - Color
875 - .. row 1 675 - x
876 676 - y
877 - Color 677 * - Red
878 678 - 0.64
879 - x 679 - 0.33
880 680 * - Green
881 - y 681 - 0.29
882 682 - 0.60
883 - .. row 2 683 * - Blue
884 684 - 0.15
885 - Red 685 - 0.06
886 686 * - White Reference (D65)
887 - 0.64 687 - 0.3127
888 688 - 0.3290
889 - 0.33
890
891 - .. row 3
892
893 - Green
894
895 - 0.29
896
897 - 0.60
898
899 - .. row 4
900
901 - Blue
902
903 - 0.15
904
905 - 0.06
906
907 - .. row 5
908
909 - White Reference (D65)
910
911 - 0.3127
912
913 - 0.3290
914 689
915 690
916 691
diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b/Documentation/media/uapi/v4l/pixfmt-013.rst
index bfef4f4ce6b1..542c087152e3 100644
--- a/Documentation/media/uapi/v4l/pixfmt-013.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-013.rst
@@ -14,118 +14,74 @@ Compressed Formats
14 :stub-columns: 0 14 :stub-columns: 0
15 :widths: 3 1 4 15 :widths: 3 1 4
16 16
17 17 * - Identifier
18 - .. row 1 18 - Code
19 19 - Details
20 - Identifier 20 * .. _V4L2-PIX-FMT-JPEG:
21 21
22 - Code 22 - ``V4L2_PIX_FMT_JPEG``
23 23 - 'JPEG'
24 - Details 24 - TBD. See also :ref:`VIDIOC_G_JPEGCOMP <VIDIOC_G_JPEGCOMP>`,
25 25 :ref:`VIDIOC_S_JPEGCOMP <VIDIOC_G_JPEGCOMP>`.
26 - .. _V4L2-PIX-FMT-JPEG: 26 * .. _V4L2-PIX-FMT-MPEG:
27 27
28 - ``V4L2_PIX_FMT_JPEG`` 28 - ``V4L2_PIX_FMT_MPEG``
29 29 - 'MPEG'
30 - 'JPEG' 30 - MPEG multiplexed stream. The actual format is determined by
31 31 extended control ``V4L2_CID_MPEG_STREAM_TYPE``, see
32 - TBD. See also :ref:`VIDIOC_G_JPEGCOMP <VIDIOC_G_JPEGCOMP>`, 32 :ref:`mpeg-control-id`.
33 :ref:`VIDIOC_S_JPEGCOMP <VIDIOC_G_JPEGCOMP>`. 33 * .. _V4L2-PIX-FMT-H264:
34 34
35 - .. _V4L2-PIX-FMT-MPEG: 35 - ``V4L2_PIX_FMT_H264``
36 36 - 'H264'
37 - ``V4L2_PIX_FMT_MPEG`` 37 - H264 video elementary stream with start codes.
38 38 * .. _V4L2-PIX-FMT-H264-NO-SC:
39 - 'MPEG' 39
40 40 - ``V4L2_PIX_FMT_H264_NO_SC``
41 - MPEG multiplexed stream. The actual format is determined by 41 - 'AVC1'
42 extended control ``V4L2_CID_MPEG_STREAM_TYPE``, see 42 - H264 video elementary stream without start codes.
43 :ref:`mpeg-control-id`. 43 * .. _V4L2-PIX-FMT-H264-MVC:
44 44
45 - .. _V4L2-PIX-FMT-H264: 45 - ``V4L2_PIX_FMT_H264_MVC``
46 46 - 'M264'
47 - ``V4L2_PIX_FMT_H264`` 47 - H264 MVC video elementary stream.
48 48 * .. _V4L2-PIX-FMT-H263:
49 - 'H264' 49
50 50 - ``V4L2_PIX_FMT_H263``
51 - H264 video elementary stream with start codes. 51 - 'H263'
52 52 - H263 video elementary stream.
53 - .. _V4L2-PIX-FMT-H264-NO-SC: 53 * .. _V4L2-PIX-FMT-MPEG1:
54 54
55 - ``V4L2_PIX_FMT_H264_NO_SC`` 55 - ``V4L2_PIX_FMT_MPEG1``
56 56 - 'MPG1'
57 - 'AVC1' 57 - MPEG1 video elementary stream.
58 58 * .. _V4L2-PIX-FMT-MPEG2:
59 - H264 video elementary stream without start codes. 59
60 60 - ``V4L2_PIX_FMT_MPEG2``
61 - .. _V4L2-PIX-FMT-H264-MVC: 61 - 'MPG2'
62 62 - MPEG2 video elementary stream.
63 - ``V4L2_PIX_FMT_H264_MVC`` 63 * .. _V4L2-PIX-FMT-MPEG4:
64 64
65 - 'M264' 65 - ``V4L2_PIX_FMT_MPEG4``
66 66 - 'MPG4'
67 - H264 MVC video elementary stream. 67 - MPEG4 video elementary stream.
68 68 * .. _V4L2-PIX-FMT-XVID:
69 - .. _V4L2-PIX-FMT-H263: 69
70 70 - ``V4L2_PIX_FMT_XVID``
71 - ``V4L2_PIX_FMT_H263`` 71 - 'XVID'
72 72 - Xvid video elementary stream.
73 - 'H263' 73 * .. _V4L2-PIX-FMT-VC1-ANNEX-G:
74 74
75 - H263 video elementary stream. 75 - ``V4L2_PIX_FMT_VC1_ANNEX_G``
76 76 - 'VC1G'
77 - .. _V4L2-PIX-FMT-MPEG1: 77 - VC1, SMPTE 421M Annex G compliant stream.
78 78 * .. _V4L2-PIX-FMT-VC1-ANNEX-L:
79 - ``V4L2_PIX_FMT_MPEG1`` 79
80 80 - ``V4L2_PIX_FMT_VC1_ANNEX_L``
81 - 'MPG1' 81 - 'VC1L'
82 82 - VC1, SMPTE 421M Annex L compliant stream.
83 - MPEG1 video elementary stream. 83 * .. _V4L2-PIX-FMT-VP8:
84 84
85 - .. _V4L2-PIX-FMT-MPEG2: 85 - ``V4L2_PIX_FMT_VP8``
86 86 - 'VP80'
87 - ``V4L2_PIX_FMT_MPEG2`` 87 - VP8 video elementary stream.
88
89 - 'MPG2'
90
91 - MPEG2 video elementary stream.
92
93 - .. _V4L2-PIX-FMT-MPEG4:
94
95 - ``V4L2_PIX_FMT_MPEG4``
96
97 - 'MPG4'
98
99 - MPEG4 video elementary stream.
100
101 - .. _V4L2-PIX-FMT-XVID:
102
103 - ``V4L2_PIX_FMT_XVID``
104
105 - 'XVID'
106
107 - Xvid video elementary stream.
108
109 - .. _V4L2-PIX-FMT-VC1-ANNEX-G:
110
111 - ``V4L2_PIX_FMT_VC1_ANNEX_G``
112
113 - 'VC1G'
114
115 - VC1, SMPTE 421M Annex G compliant stream.
116
117 - .. _V4L2-PIX-FMT-VC1-ANNEX-L:
118
119 - ``V4L2_PIX_FMT_VC1_ANNEX_L``
120
121 - 'VC1L'
122
123 - VC1, SMPTE 421M Annex L compliant stream.
124
125 - .. _V4L2-PIX-FMT-VP8:
126
127 - ``V4L2_PIX_FMT_VP8``
128
129 - 'VP80'
130
131 - VP8 video elementary stream.
diff --git a/Documentation/media/uapi/v4l/pixfmt-grey.rst b/Documentation/media/uapi/v4l/pixfmt-grey.rst
index fef58ca50f66..dad813819d3e 100644
--- a/Documentation/media/uapi/v4l/pixfmt-grey.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-grey.rst
@@ -22,51 +22,23 @@ Each cell is one byte.
22 :header-rows: 0 22 :header-rows: 0
23 :stub-columns: 0 23 :stub-columns: 0
24 24
25 25 * - start + 0:
26 - .. row 1 26 - Y'\ :sub:`00`
27 27 - Y'\ :sub:`01`
28 - start + 0: 28 - Y'\ :sub:`02`
29 29 - Y'\ :sub:`03`
30 - Y'\ :sub:`00` 30 * - start + 4:
31 31 - Y'\ :sub:`10`
32 - Y'\ :sub:`01` 32 - Y'\ :sub:`11`
33 33 - Y'\ :sub:`12`
34 - Y'\ :sub:`02` 34 - Y'\ :sub:`13`
35 35 * - start + 8:
36 - Y'\ :sub:`03` 36 - Y'\ :sub:`20`
37 37 - Y'\ :sub:`21`
38 - .. row 2 38 - Y'\ :sub:`22`
39 39 - Y'\ :sub:`23`
40 - start + 4: 40 * - start + 12:
41 41 - Y'\ :sub:`30`
42 - Y'\ :sub:`10` 42 - Y'\ :sub:`31`
43 43 - Y'\ :sub:`32`
44 - Y'\ :sub:`11` 44 - Y'\ :sub:`33`
45
46 - Y'\ :sub:`12`
47
48 - Y'\ :sub:`13`
49
50 - .. row 3
51
52 - start + 8:
53
54 - Y'\ :sub:`20`
55
56 - Y'\ :sub:`21`
57
58 - Y'\ :sub:`22`
59
60 - Y'\ :sub:`23`
61
62 - .. row 4
63
64 - start + 12:
65
66 - Y'\ :sub:`30`
67
68 - Y'\ :sub:`31`
69
70 - Y'\ :sub:`32`
71
72 - Y'\ :sub:`33`
diff --git a/Documentation/media/uapi/v4l/pixfmt-indexed.rst b/Documentation/media/uapi/v4l/pixfmt-indexed.rst
index 99a780fe6b61..6edac54dad74 100644
--- a/Documentation/media/uapi/v4l/pixfmt-indexed.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-indexed.rst
@@ -17,57 +17,31 @@ the palette, this must be done with ioctls of the Linux framebuffer API.
17 :header-rows: 2 17 :header-rows: 2
18 :stub-columns: 0 18 :stub-columns: 0
19 19
20 20 * - Identifier
21 - .. row 1 21 - Code
22 22 -
23 - Identifier 23 - :cspan:`7` Byte 0
24 24 * -
25 - Code 25 -
26 26 - Bit
27 - 27 - 7
28 - :cspan:`7` Byte 0 28 - 6
29 29 - 5
30 - .. row 2 30 - 4
31 31 - 3
32 - 32 - 2
33 - 33 - 1
34 - Bit 34 - 0
35 35 * .. _V4L2-PIX-FMT-PAL8:
36 - 7 36
37 37 - ``V4L2_PIX_FMT_PAL8``
38 - 6 38 - 'PAL8'
39 39 -
40 - 5 40 - i\ :sub:`7`
41 41 - i\ :sub:`6`
42 - 4 42 - i\ :sub:`5`
43 43 - i\ :sub:`4`
44 - 3 44 - i\ :sub:`3`
45 45 - i\ :sub:`2`
46 - 2 46 - i\ :sub:`1`
47 47 - i\ :sub:`0`
48 - 1
49
50 - 0
51
52 - .. _V4L2-PIX-FMT-PAL8:
53
54 - ``V4L2_PIX_FMT_PAL8``
55
56 - 'PAL8'
57
58 -
59 - i\ :sub:`7`
60
61 - i\ :sub:`6`
62
63 - i\ :sub:`5`
64
65 - i\ :sub:`4`
66
67 - i\ :sub:`3`
68
69 - i\ :sub:`2`
70
71 - i\ :sub:`1`
72
73 - i\ :sub:`0`
diff --git a/Documentation/media/uapi/v4l/pixfmt-m420.rst b/Documentation/media/uapi/v4l/pixfmt-m420.rst
index f4a21a8a6dcc..7dd47c071e2f 100644
--- a/Documentation/media/uapi/v4l/pixfmt-m420.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-m420.rst
@@ -34,78 +34,36 @@ Each cell is one byte.
34 :header-rows: 0 34 :header-rows: 0
35 :stub-columns: 0 35 :stub-columns: 0
36 36
37 37 * - start + 0:
38 - .. row 1 38 - Y'\ :sub:`00`
39 39 - Y'\ :sub:`01`
40 - start + 0: 40 - Y'\ :sub:`02`
41 41 - Y'\ :sub:`03`
42 - Y'\ :sub:`00` 42 * - start + 4:
43 43 - Y'\ :sub:`10`
44 - Y'\ :sub:`01` 44 - Y'\ :sub:`11`
45 45 - Y'\ :sub:`12`
46 - Y'\ :sub:`02` 46 - Y'\ :sub:`13`
47 47 * - start + 8:
48 - Y'\ :sub:`03` 48 - Cb\ :sub:`00`
49 49 - Cr\ :sub:`00`
50 - .. row 2 50 - Cb\ :sub:`01`
51 51 - Cr\ :sub:`01`
52 - start + 4: 52 * - start + 16:
53 53 - Y'\ :sub:`20`
54 - Y'\ :sub:`10` 54 - Y'\ :sub:`21`
55 55 - Y'\ :sub:`22`
56 - Y'\ :sub:`11` 56 - Y'\ :sub:`23`
57 57 * - start + 20:
58 - Y'\ :sub:`12` 58 - Y'\ :sub:`30`
59 59 - Y'\ :sub:`31`
60 - Y'\ :sub:`13` 60 - Y'\ :sub:`32`
61 61 - Y'\ :sub:`33`
62 - .. row 3 62 * - start + 24:
63 63 - Cb\ :sub:`10`
64 - start + 8: 64 - Cr\ :sub:`10`
65 65 - Cb\ :sub:`11`
66 - Cb\ :sub:`00` 66 - Cr\ :sub:`11`
67
68 - Cr\ :sub:`00`
69
70 - Cb\ :sub:`01`
71
72 - Cr\ :sub:`01`
73
74 - .. row 4
75
76 - start + 16:
77
78 - Y'\ :sub:`20`
79
80 - Y'\ :sub:`21`
81
82 - Y'\ :sub:`22`
83
84 - Y'\ :sub:`23`
85
86 - .. row 5
87
88 - start + 20:
89
90 - Y'\ :sub:`30`
91
92 - Y'\ :sub:`31`
93
94 - Y'\ :sub:`32`
95
96 - Y'\ :sub:`33`
97
98 - .. row 6
99
100 - start + 24:
101
102 - Cb\ :sub:`10`
103
104 - Cr\ :sub:`10`
105
106 - Cb\ :sub:`11`
107
108 - Cr\ :sub:`11`
109 67
110 68
111**Color Sample Location..** 69**Color Sample Location..**
@@ -116,100 +74,53 @@ Each cell is one byte.
116 :header-rows: 0 74 :header-rows: 0
117 :stub-columns: 0 75 :stub-columns: 0
118 76
119 77 * -
120 - .. row 1 78 - 0
121 79 -
122 - 80 - 1
123 - 0 81 - 2
124 82 -
125 - 83 - 3
126 - 1 84 * - 0
127 85 - Y
128 - 2 86 -
129 87 - Y
130 - 88 - Y
131 - 3 89 -
132 90 - Y
133 - .. row 2 91 * -
134 92 -
135 - 0 93 - C
136 94 -
137 - Y 95 -
138 96 - C
139 - 97 -
140 - Y 98 * - 1
141 99 - Y
142 - Y 100 -
143 101 - Y
144 - 102 - Y
145 - Y 103 -
146 104 - Y
147 - .. row 3 105 * -
148 106 * - 2
149 - 107 - Y
150 - 108 -
151 - C 109 - Y
152 110 - Y
153 - 111 -
154 - 112 - Y
155 - C 113 * -
156 114 -
157 - 115 - C
158 116 -
159 - .. row 4 117 -
160 118 - C
161 - 1 119 -
162 120 * - 3
163 - Y 121 - Y
164 122 -
165 - 123 - Y
166 - Y 124 - Y
167 125 -
168 - Y 126 - Y
169
170 -
171 - Y
172
173 - .. row 5
174
175 -
176
177 - .. row 6
178
179 - 2
180
181 - Y
182
183 -
184 - Y
185
186 - Y
187
188 -
189 - Y
190
191 - .. row 7
192
193 -
194 -
195 - C
196
197 -
198 -
199 - C
200
201 -
202
203 - .. row 8
204
205 - 3
206
207 - Y
208
209 -
210 - Y
211
212 - Y
213
214 -
215 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-nv12.rst b/Documentation/media/uapi/v4l/pixfmt-nv12.rst
index 6bbdc01362af..5b45a6d2ac95 100644
--- a/Documentation/media/uapi/v4l/pixfmt-nv12.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-nv12.rst
@@ -39,77 +39,36 @@ Each cell is one byte.
39 :header-rows: 0 39 :header-rows: 0
40 :stub-columns: 0 40 :stub-columns: 0
41 41
42 - .. row 1 42 * - start + 0:
43 43 - Y'\ :sub:`00`
44 - start + 0: 44 - Y'\ :sub:`01`
45 45 - Y'\ :sub:`02`
46 - Y'\ :sub:`00` 46 - Y'\ :sub:`03`
47 47 * - start + 4:
48 - Y'\ :sub:`01` 48 - Y'\ :sub:`10`
49 49 - Y'\ :sub:`11`
50 - Y'\ :sub:`02` 50 - Y'\ :sub:`12`
51 51 - Y'\ :sub:`13`
52 - Y'\ :sub:`03` 52 * - start + 8:
53 53 - Y'\ :sub:`20`
54 - .. row 2 54 - Y'\ :sub:`21`
55 55 - Y'\ :sub:`22`
56 - start + 4: 56 - Y'\ :sub:`23`
57 57 * - start + 12:
58 - Y'\ :sub:`10` 58 - Y'\ :sub:`30`
59 59 - Y'\ :sub:`31`
60 - Y'\ :sub:`11` 60 - Y'\ :sub:`32`
61 61 - Y'\ :sub:`33`
62 - Y'\ :sub:`12` 62 * - start + 16:
63 63 - Cb\ :sub:`00`
64 - Y'\ :sub:`13` 64 - Cr\ :sub:`00`
65 65 - Cb\ :sub:`01`
66 - .. row 3 66 - Cr\ :sub:`01`
67 67 * - start + 20:
68 - start + 8: 68 - Cb\ :sub:`10`
69 69 - Cr\ :sub:`10`
70 - Y'\ :sub:`20` 70 - Cb\ :sub:`11`
71 71 - Cr\ :sub:`11`
72 - Y'\ :sub:`21`
73
74 - Y'\ :sub:`22`
75
76 - Y'\ :sub:`23`
77
78 - .. row 4
79
80 - start + 12:
81
82 - Y'\ :sub:`30`
83
84 - Y'\ :sub:`31`
85
86 - Y'\ :sub:`32`
87
88 - Y'\ :sub:`33`
89
90 - .. row 5
91
92 - start + 16:
93
94 - Cb\ :sub:`00`
95
96 - Cr\ :sub:`00`
97
98 - Cb\ :sub:`01`
99
100 - Cr\ :sub:`01`
101
102 - .. row 6
103
104 - start + 20:
105
106 - Cb\ :sub:`10`
107
108 - Cr\ :sub:`10`
109
110 - Cb\ :sub:`11`
111
112 - Cr\ :sub:`11`
113 72
114 73
115**Color Sample Location..** 74**Color Sample Location..**
@@ -118,100 +77,53 @@ Each cell is one byte.
118 :header-rows: 0 77 :header-rows: 0
119 :stub-columns: 0 78 :stub-columns: 0
120 79
121 80 * -
122 - .. row 1 81 - 0
123 82 -
124 - 83 - 1
125 - 0 84 - 2
126 85 -
127 - 86 - 3
128 - 1 87 * - 0
129 88 - Y
130 - 2 89 -
131 90 - Y
132 - 91 - Y
133 - 3 92 -
134 93 - Y
135 - .. row 2 94 * -
136 95 -
137 - 0 96 - C
138 97 -
139 - Y 98 -
140 99 - C
141 - 100 -
142 - Y 101 * - 1
143 102 - Y
144 - Y 103 -
145 104 - Y
146 - 105 - Y
147 - Y 106 -
148 107 - Y
149 - .. row 3 108 * -
150 109 * - 2
151 - 110 - Y
152 - 111 -
153 - C 112 - Y
154 113 - Y
155 - 114 -
156 - 115 - Y
157 - C 116 * -
158 117 -
159 - 118 - C
160 119 -
161 - .. row 4 120 -
162 121 - C
163 - 1 122 -
164 123 * - 3
165 - Y 124 - Y
166 - 125 -
167 126 - Y
168 - Y 127 - Y
169 128 -
170 - Y 129 - Y
171
172 -
173 - Y
174
175 - .. row 5
176
177 -
178
179 - .. row 6
180
181 - 2
182
183 - Y
184 -
185
186 - Y
187
188 - Y
189
190 -
191 - Y
192
193 - .. row 7
194
195 -
196 -
197 - C
198
199 -
200 -
201 - C
202
203 -
204
205 - .. row 8
206
207 - 3
208
209 - Y
210
211 -
212 - Y
213
214 - Y
215
216 -
217 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-nv12m.rst b/Documentation/media/uapi/v4l/pixfmt-nv12m.rst
index 5c2e0648204b..de3051fd6b50 100644
--- a/Documentation/media/uapi/v4l/pixfmt-nv12m.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-nv12m.rst
@@ -50,81 +50,37 @@ Each cell is one byte.
50 :header-rows: 0 50 :header-rows: 0
51 :stub-columns: 0 51 :stub-columns: 0
52 52
53 - .. row 1 53 * - start0 + 0:
54 54 - Y'\ :sub:`00`
55 - start0 + 0: 55 - Y'\ :sub:`01`
56 56 - Y'\ :sub:`02`
57 - Y'\ :sub:`00` 57 - Y'\ :sub:`03`
58 58 * - start0 + 4:
59 - Y'\ :sub:`01` 59 - Y'\ :sub:`10`
60 60 - Y'\ :sub:`11`
61 - Y'\ :sub:`02` 61 - Y'\ :sub:`12`
62 62 - Y'\ :sub:`13`
63 - Y'\ :sub:`03` 63 * - start0 + 8:
64 64 - Y'\ :sub:`20`
65 - .. row 2 65 - Y'\ :sub:`21`
66 66 - Y'\ :sub:`22`
67 - start0 + 4: 67 - Y'\ :sub:`23`
68 68 * - start0 + 12:
69 - Y'\ :sub:`10` 69 - Y'\ :sub:`30`
70 70 - Y'\ :sub:`31`
71 - Y'\ :sub:`11` 71 - Y'\ :sub:`32`
72 72 - Y'\ :sub:`33`
73 - Y'\ :sub:`12` 73 * -
74 74 * - start1 + 0:
75 - Y'\ :sub:`13` 75 - Cb\ :sub:`00`
76 76 - Cr\ :sub:`00`
77 - .. row 3 77 - Cb\ :sub:`01`
78 78 - Cr\ :sub:`01`
79 - start0 + 8: 79 * - start1 + 4:
80 80 - Cb\ :sub:`10`
81 - Y'\ :sub:`20` 81 - Cr\ :sub:`10`
82 82 - Cb\ :sub:`11`
83 - Y'\ :sub:`21` 83 - Cr\ :sub:`11`
84
85 - Y'\ :sub:`22`
86
87 - Y'\ :sub:`23`
88
89 - .. row 4
90
91 - start0 + 12:
92
93 - Y'\ :sub:`30`
94
95 - Y'\ :sub:`31`
96
97 - Y'\ :sub:`32`
98
99 - Y'\ :sub:`33`
100
101 - .. row 5
102
103 -
104
105 - .. row 6
106
107 - start1 + 0:
108
109 - Cb\ :sub:`00`
110
111 - Cr\ :sub:`00`
112
113 - Cb\ :sub:`01`
114
115 - Cr\ :sub:`01`
116
117 - .. row 7
118
119 - start1 + 4:
120
121 - Cb\ :sub:`10`
122
123 - Cr\ :sub:`10`
124
125 - Cb\ :sub:`11`
126
127 - Cr\ :sub:`11`
128 84
129 85
130**Color Sample Location..** 86**Color Sample Location..**
@@ -135,101 +91,54 @@ Each cell is one byte.
135 :header-rows: 0 91 :header-rows: 0
136 :stub-columns: 0 92 :stub-columns: 0
137 93
138 94 * -
139 - .. row 1 95 - 0
140 96 -
141 - 97 - 1
142 - 0 98 - 2
143 99 -
144 - 100 - 3
145 - 1 101 * - 0
146 102 - Y
147 - 2 103 -
148 104 - Y
149 - 105 - Y
150 - 3 106 -
151 107 - Y
152 - .. row 2 108 * -
153 109 -
154 - 0 110 - C
155 111 -
156 - Y 112 -
157 113 - C
158 - 114 -
159 - Y 115 * - 1
160 116 - Y
161 - Y 117 -
162 118 - Y
163 - 119 - Y
164 - Y 120 -
165 121 - Y
166 - .. row 3 122 * -
167 123 * - 2
168 - 124 - Y
169 - 125 -
170 - C 126 - Y
171 127 - Y
172 - 128 -
173 - 129 - Y
174 - C 130 * -
175 131 -
176 - 132 - C
177 133 -
178 - .. row 4 134 -
179 135 -
180 - 1 136 - C
181 137 -
182 - Y 138 * - 3
183 139 - Y
184 - 140 -
185 - Y 141 - Y
186 142 - Y
187 - Y 143 -
188 144 - Y
189 -
190 - Y
191
192 - .. row 5
193
194 -
195
196 - .. row 6
197
198 - 2
199
200 - Y
201
202 -
203 - Y
204
205 - Y
206
207 -
208 - Y
209
210 - .. row 7
211
212 -
213 -
214 - C
215
216 -
217 -
218 -
219 - C
220
221 -
222
223 - .. row 8
224
225 - 3
226
227 - Y
228
229 -
230 - Y
231
232 - Y
233
234 -
235 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-nv16.rst b/Documentation/media/uapi/v4l/pixfmt-nv16.rst
index e2ea0fcdccc7..8ceba79ff636 100644
--- a/Documentation/media/uapi/v4l/pixfmt-nv16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-nv16.rst
@@ -37,101 +37,46 @@ Each cell is one byte.
37 :header-rows: 0 37 :header-rows: 0
38 :stub-columns: 0 38 :stub-columns: 0
39 39
40 - .. row 1 40 * - start + 0:
41 41 - Y'\ :sub:`00`
42 - start + 0: 42 - Y'\ :sub:`01`
43 43 - Y'\ :sub:`02`
44 - Y'\ :sub:`00` 44 - Y'\ :sub:`03`
45 45 * - start + 4:
46 - Y'\ :sub:`01` 46 - Y'\ :sub:`10`
47 47 - Y'\ :sub:`11`
48 - Y'\ :sub:`02` 48 - Y'\ :sub:`12`
49 49 - Y'\ :sub:`13`
50 - Y'\ :sub:`03` 50 * - start + 8:
51 51 - Y'\ :sub:`20`
52 - .. row 2 52 - Y'\ :sub:`21`
53 53 - Y'\ :sub:`22`
54 - start + 4: 54 - Y'\ :sub:`23`
55 55 * - start + 12:
56 - Y'\ :sub:`10` 56 - Y'\ :sub:`30`
57 57 - Y'\ :sub:`31`
58 - Y'\ :sub:`11` 58 - Y'\ :sub:`32`
59 59 - Y'\ :sub:`33`
60 - Y'\ :sub:`12` 60 * - start + 16:
61 61 - Cb\ :sub:`00`
62 - Y'\ :sub:`13` 62 - Cr\ :sub:`00`
63 63 - Cb\ :sub:`01`
64 - .. row 3 64 - Cr\ :sub:`01`
65 65 * - start + 20:
66 - start + 8: 66 - Cb\ :sub:`10`
67 67 - Cr\ :sub:`10`
68 - Y'\ :sub:`20` 68 - Cb\ :sub:`11`
69 69 - Cr\ :sub:`11`
70 - Y'\ :sub:`21` 70 * - start + 24:
71 71 - Cb\ :sub:`20`
72 - Y'\ :sub:`22` 72 - Cr\ :sub:`20`
73 73 - Cb\ :sub:`21`
74 - Y'\ :sub:`23` 74 - Cr\ :sub:`21`
75 75 * - start + 28:
76 - .. row 4 76 - Cb\ :sub:`30`
77 77 - Cr\ :sub:`30`
78 - start + 12: 78 - Cb\ :sub:`31`
79 79 - Cr\ :sub:`31`
80 - Y'\ :sub:`30`
81
82 - Y'\ :sub:`31`
83
84 - Y'\ :sub:`32`
85
86 - Y'\ :sub:`33`
87
88 - .. row 5
89
90 - start + 16:
91
92 - Cb\ :sub:`00`
93
94 - Cr\ :sub:`00`
95
96 - Cb\ :sub:`01`
97
98 - Cr\ :sub:`01`
99
100 - .. row 6
101
102 - start + 20:
103
104 - Cb\ :sub:`10`
105
106 - Cr\ :sub:`10`
107
108 - Cb\ :sub:`11`
109
110 - Cr\ :sub:`11`
111
112 - .. row 7
113
114 - start + 24:
115
116 - Cb\ :sub:`20`
117
118 - Cr\ :sub:`20`
119
120 - Cb\ :sub:`21`
121
122 - Cr\ :sub:`21`
123
124 - .. row 8
125
126 - start + 28:
127
128 - Cb\ :sub:`30`
129
130 - Cr\ :sub:`30`
131
132 - Cb\ :sub:`31`
133
134 - Cr\ :sub:`31`
135 80
136 81
137**Color Sample Location..** 82**Color Sample Location..**
@@ -142,124 +87,67 @@ Each cell is one byte.
142 :header-rows: 0 87 :header-rows: 0
143 :stub-columns: 0 88 :stub-columns: 0
144 89
145 90 * -
146 - .. row 1 91 - 0
147 92 -
148 - 93 - 1
149 - 0 94 - 2
150 95 -
151 - 96 - 3
152 - 1 97 * - 0
153 98 - Y
154 - 2 99 -
155 100 - Y
156 - 101 - Y
157 - 3 102 -
158 103 - Y
159 - .. row 2 104 * -
160 105 -
161 - 0 106 - C
162 107 -
163 - Y 108 -
164 109 - C
165 - 110 -
166 - Y 111 * - 1
167 112 - Y
168 - Y 113 -
169 114 - Y
170 - 115 - Y
171 - Y 116 -
172 117 - Y
173 - .. row 3 118 * -
174 119 -
175 - 120 - C
176 - 121 -
177 - C 122 -
178 123 - C
179 - 124 -
180 - 125 * -
181 - C 126 * - 2
182 127 - Y
183 - 128 -
184 129 - Y
185 - .. row 4 130 - Y
186 131 -
187 - 1 132 - Y
188 133 * -
189 - Y 134 -
190 135 - C
191 - 136 -
192 - Y 137 -
193 138 - C
194 - Y 139 -
195 140 * - 3
196 - 141 - Y
197 - Y 142 -
198 143 - Y
199 - .. row 5 144 - Y
200 145 -
201 - 146 - Y
202 - 147 * -
203 - C 148 -
204 149 - C
205 - 150 -
206 - 151 -
207 - C 152 - C
208 153 -
209 -
210
211 - .. row 6
212
213 -
214
215 - .. row 7
216
217 - 2
218
219 - Y
220
221 -
222 - Y
223
224 - Y
225
226 -
227 - Y
228
229 - .. row 8
230
231 -
232 -
233 - C
234
235 -
236 -
237 - C
238
239 -
240
241 - .. row 9
242
243 - 3
244
245 - Y
246
247 -
248 - Y
249
250 - Y
251
252 -
253 - Y
254
255 - .. row 10
256
257 -
258 -
259 - C
260
261 -
262 -
263 - C
264
265 -
diff --git a/Documentation/media/uapi/v4l/pixfmt-nv16m.rst b/Documentation/media/uapi/v4l/pixfmt-nv16m.rst
index 5908b0437697..4d46ab39f9f1 100644
--- a/Documentation/media/uapi/v4l/pixfmt-nv16m.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-nv16m.rst
@@ -40,105 +40,47 @@ Each cell is one byte.
40 :header-rows: 0 40 :header-rows: 0
41 :stub-columns: 0 41 :stub-columns: 0
42 42
43 - .. row 1 43 * - start0 + 0:
44 44 - Y'\ :sub:`00`
45 - start0 + 0: 45 - Y'\ :sub:`01`
46 46 - Y'\ :sub:`02`
47 - Y'\ :sub:`00` 47 - Y'\ :sub:`03`
48 48 * - start0 + 4:
49 - Y'\ :sub:`01` 49 - Y'\ :sub:`10`
50 50 - Y'\ :sub:`11`
51 - Y'\ :sub:`02` 51 - Y'\ :sub:`12`
52 52 - Y'\ :sub:`13`
53 - Y'\ :sub:`03` 53 * - start0 + 8:
54 54 - Y'\ :sub:`20`
55 - .. row 2 55 - Y'\ :sub:`21`
56 56 - Y'\ :sub:`22`
57 - start0 + 4: 57 - Y'\ :sub:`23`
58 58 * - start0 + 12:
59 - Y'\ :sub:`10` 59 - Y'\ :sub:`30`
60 60 - Y'\ :sub:`31`
61 - Y'\ :sub:`11` 61 - Y'\ :sub:`32`
62 62 - Y'\ :sub:`33`
63 - Y'\ :sub:`12` 63 * -
64 64 * - start1 + 0:
65 - Y'\ :sub:`13` 65 - Cb\ :sub:`00`
66 66 - Cr\ :sub:`00`
67 - .. row 3 67 - Cb\ :sub:`02`
68 68 - Cr\ :sub:`02`
69 - start0 + 8: 69 * - start1 + 4:
70 70 - Cb\ :sub:`10`
71 - Y'\ :sub:`20` 71 - Cr\ :sub:`10`
72 72 - Cb\ :sub:`12`
73 - Y'\ :sub:`21` 73 - Cr\ :sub:`12`
74 74 * - start1 + 8:
75 - Y'\ :sub:`22` 75 - Cb\ :sub:`20`
76 76 - Cr\ :sub:`20`
77 - Y'\ :sub:`23` 77 - Cb\ :sub:`22`
78 78 - Cr\ :sub:`22`
79 - .. row 4 79 * - start1 + 12:
80 80 - Cb\ :sub:`30`
81 - start0 + 12: 81 - Cr\ :sub:`30`
82 82 - Cb\ :sub:`32`
83 - Y'\ :sub:`30` 83 - Cr\ :sub:`32`
84
85 - Y'\ :sub:`31`
86
87 - Y'\ :sub:`32`
88
89 - Y'\ :sub:`33`
90
91 - .. row 5
92
93 -
94
95 - .. row 6
96
97 - start1 + 0:
98
99 - Cb\ :sub:`00`
100
101 - Cr\ :sub:`00`
102
103 - Cb\ :sub:`02`
104
105 - Cr\ :sub:`02`
106
107 - .. row 7
108
109 - start1 + 4:
110
111 - Cb\ :sub:`10`
112
113 - Cr\ :sub:`10`
114
115 - Cb\ :sub:`12`
116
117 - Cr\ :sub:`12`
118
119 - .. row 8
120
121 - start1 + 8:
122
123 - Cb\ :sub:`20`
124
125 - Cr\ :sub:`20`
126
127 - Cb\ :sub:`22`
128
129 - Cr\ :sub:`22`
130
131 - .. row 9
132
133 - start1 + 12:
134
135 - Cb\ :sub:`30`
136
137 - Cr\ :sub:`30`
138
139 - Cb\ :sub:`32`
140
141 - Cr\ :sub:`32`
142 84
143 85
144**Color Sample Location..** 86**Color Sample Location..**
@@ -149,124 +91,67 @@ Each cell is one byte.
149 :header-rows: 0 91 :header-rows: 0
150 :stub-columns: 0 92 :stub-columns: 0
151 93
152 94 * -
153 - .. row 1 95 - 0
154 96 -
155 - 97 - 1
156 - 0 98 - 2
157 99 -
158 - 100 - 3
159 - 1 101 * - 0
160 102 - Y
161 - 2 103 -
162 104 - Y
163 - 105 - Y
164 - 3 106 -
165 107 - Y
166 - .. row 2 108 * -
167 109 -
168 - 0 110 - C
169 111 -
170 - Y 112 -
171 113 - C
172 - 114 -
173 - Y 115 * - 1
174 116 - Y
175 - Y 117 -
176 118 - Y
177 - 119 - Y
178 - Y 120 -
179 121 - Y
180 - .. row 3 122 * -
181 123 -
182 - 124 - C
183 - 125 -
184 - C 126 -
185 127 - C
186 - 128 -
187 - 129 * -
188 - C 130 * - 2
189 131 - Y
190 - 132 -
191 133 - Y
192 - .. row 4 134 - Y
193 135 -
194 - 1 136 - Y
195 137 * -
196 - Y 138 -
197 139 - C
198 - 140 -
199 - Y 141 -
200 142 - C
201 - Y 143 -
202 144 * - 3
203 - 145 - Y
204 - Y 146 -
205 147 - Y
206 - .. row 5 148 - Y
207 149 -
208 - 150 - Y
209 - 151 * -
210 - C 152 -
211 153 - C
212 - 154 -
213 - 155 -
214 - C 156 - C
215 157 -
216 -
217
218 - .. row 6
219
220 -
221
222 - .. row 7
223
224 - 2
225
226 - Y
227
228 -
229 - Y
230
231 - Y
232
233 -
234 - Y
235
236 - .. row 8
237
238 -
239 -
240 - C
241
242 -
243 -
244 - C
245
246 -
247
248 - .. row 9
249
250 - 3
251
252 - Y
253
254 -
255 - Y
256
257 - Y
258
259 -
260 - Y
261
262 - .. row 10
263
264 -
265 -
266 - C
267
268 -
269 -
270 - C
271
272 -
diff --git a/Documentation/media/uapi/v4l/pixfmt-nv24.rst b/Documentation/media/uapi/v4l/pixfmt-nv24.rst
index 67f3c53ac48d..bda973e86227 100644
--- a/Documentation/media/uapi/v4l/pixfmt-nv24.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-nv24.rst
@@ -37,130 +37,59 @@ Each cell is one byte.
37 :header-rows: 0 37 :header-rows: 0
38 :stub-columns: 0 38 :stub-columns: 0
39 39
40 - .. row 1 40 * - start + 0:
41 41 - Y'\ :sub:`00`
42 - start + 0: 42 - Y'\ :sub:`01`
43 43 - Y'\ :sub:`02`
44 - Y'\ :sub:`00` 44 - Y'\ :sub:`03`
45 45 * - start + 4:
46 - Y'\ :sub:`01` 46 - Y'\ :sub:`10`
47 47 - Y'\ :sub:`11`
48 - Y'\ :sub:`02` 48 - Y'\ :sub:`12`
49 49 - Y'\ :sub:`13`
50 - Y'\ :sub:`03` 50 * - start + 8:
51 51 - Y'\ :sub:`20`
52 - .. row 2 52 - Y'\ :sub:`21`
53 53 - Y'\ :sub:`22`
54 - start + 4: 54 - Y'\ :sub:`23`
55 55 * - start + 12:
56 - Y'\ :sub:`10` 56 - Y'\ :sub:`30`
57 57 - Y'\ :sub:`31`
58 - Y'\ :sub:`11` 58 - Y'\ :sub:`32`
59 59 - Y'\ :sub:`33`
60 - Y'\ :sub:`12` 60 * - start + 16:
61 61 - Cb\ :sub:`00`
62 - Y'\ :sub:`13` 62 - Cr\ :sub:`00`
63 63 - Cb\ :sub:`01`
64 - .. row 3 64 - Cr\ :sub:`01`
65 65 - Cb\ :sub:`02`
66 - start + 8: 66 - Cr\ :sub:`02`
67 67 - Cb\ :sub:`03`
68 - Y'\ :sub:`20` 68 - Cr\ :sub:`03`
69 69 * - start + 24:
70 - Y'\ :sub:`21` 70 - Cb\ :sub:`10`
71 71 - Cr\ :sub:`10`
72 - Y'\ :sub:`22` 72 - Cb\ :sub:`11`
73 73 - Cr\ :sub:`11`
74 - Y'\ :sub:`23` 74 - Cb\ :sub:`12`
75 75 - Cr\ :sub:`12`
76 - .. row 4 76 - Cb\ :sub:`13`
77 77 - Cr\ :sub:`13`
78 - start + 12: 78 * - start + 32:
79 79 - Cb\ :sub:`20`
80 - Y'\ :sub:`30` 80 - Cr\ :sub:`20`
81 81 - Cb\ :sub:`21`
82 - Y'\ :sub:`31` 82 - Cr\ :sub:`21`
83 83 - Cb\ :sub:`22`
84 - Y'\ :sub:`32` 84 - Cr\ :sub:`22`
85 85 - Cb\ :sub:`23`
86 - Y'\ :sub:`33` 86 - Cr\ :sub:`23`
87 87 * - start + 40:
88 - .. row 5 88 - Cb\ :sub:`30`
89 89 - Cr\ :sub:`30`
90 - start + 16: 90 - Cb\ :sub:`31`
91 91 - Cr\ :sub:`31`
92 - Cb\ :sub:`00` 92 - Cb\ :sub:`32`
93 93 - Cr\ :sub:`32`
94 - Cr\ :sub:`00` 94 - Cb\ :sub:`33`
95 95 - Cr\ :sub:`33`
96 - Cb\ :sub:`01`
97
98 - Cr\ :sub:`01`
99
100 - Cb\ :sub:`02`
101
102 - Cr\ :sub:`02`
103
104 - Cb\ :sub:`03`
105
106 - Cr\ :sub:`03`
107
108 - .. row 6
109
110 - start + 24:
111
112 - Cb\ :sub:`10`
113
114 - Cr\ :sub:`10`
115
116 - Cb\ :sub:`11`
117
118 - Cr\ :sub:`11`
119
120 - Cb\ :sub:`12`
121
122 - Cr\ :sub:`12`
123
124 - Cb\ :sub:`13`
125
126 - Cr\ :sub:`13`
127
128 - .. row 7
129
130 - start + 32:
131
132 - Cb\ :sub:`20`
133
134 - Cr\ :sub:`20`
135
136 - Cb\ :sub:`21`
137
138 - Cr\ :sub:`21`
139
140 - Cb\ :sub:`22`
141
142 - Cr\ :sub:`22`
143
144 - Cb\ :sub:`23`
145
146 - Cr\ :sub:`23`
147
148 - .. row 8
149
150 - start + 40:
151
152 - Cb\ :sub:`30`
153
154 - Cr\ :sub:`30`
155
156 - Cb\ :sub:`31`
157
158 - Cr\ :sub:`31`
159
160 - Cb\ :sub:`32`
161
162 - Cr\ :sub:`32`
163
164 - Cb\ :sub:`33`
165
166 - Cr\ :sub:`33`
diff --git a/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst b/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
index 4eba72266587..84fcbcb74171 100644
--- a/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-packed-rgb.rst
@@ -26,924 +26,505 @@ next to each other in memory.
26 :header-rows: 2 26 :header-rows: 2
27 :stub-columns: 0 27 :stub-columns: 0
28 28
29 29 * - Identifier
30 - .. row 1 30 - Code
31 31 -
32 - Identifier 32 - :cspan:`7` Byte 0 in memory
33 33 -
34 - Code 34 - :cspan:`7` Byte 1
35 35 -
36 - 36 - :cspan:`7` Byte 2
37 - :cspan:`7` Byte 0 in memory 37 -
38 38 - :cspan:`7` Byte 3
39 - 39 * -
40 - :cspan:`7` Byte 1 40 -
41 41 - Bit
42 - 42 - 7
43 - :cspan:`7` Byte 2 43 - 6
44 44 - 5
45 - 45 - 4
46 - :cspan:`7` Byte 3 46 - 3
47 47 - 2
48 - .. row 2 48 - 1
49 49 - 0
50 - 50 -
51 - 51 - 7
52 - Bit 52 - 6
53 53 - 5
54 - 7 54 - 4
55 55 - 3
56 - 6 56 - 2
57 57 - 1
58 - 5 58 - 0
59 59 -
60 - 4 60 - 7
61 61 - 6
62 - 3 62 - 5
63 63 - 4
64 - 2 64 - 3
65 65 - 2
66 - 1 66 - 1
67 67 - 0
68 - 0 68 -
69 69 - 7
70 - 70 - 6
71 - 7 71 - 5
72 72 - 4
73 - 6 73 - 3
74 74 - 2
75 - 5 75 - 1
76 76 - 0
77 - 4 77 * .. _V4L2-PIX-FMT-RGB332:
78 78
79 - 3 79 - ``V4L2_PIX_FMT_RGB332``
80 80 - 'RGB1'
81 - 2 81 -
82 82 - r\ :sub:`2`
83 - 1 83 - r\ :sub:`1`
84 84 - r\ :sub:`0`
85 - 0 85 - g\ :sub:`2`
86 86 - g\ :sub:`1`
87 - 87 - g\ :sub:`0`
88 - 7 88 - b\ :sub:`1`
89 89 - b\ :sub:`0`
90 - 6 90 * .. _V4L2-PIX-FMT-ARGB444:
91 91
92 - 5 92 - ``V4L2_PIX_FMT_ARGB444``
93 93 - 'AR12'
94 - 4 94 -
95 95 - g\ :sub:`3`
96 - 3 96 - g\ :sub:`2`
97 97 - g\ :sub:`1`
98 - 2 98 - g\ :sub:`0`
99 99 - b\ :sub:`3`
100 - 1 100 - b\ :sub:`2`
101 101 - b\ :sub:`1`
102 - 0 102 - b\ :sub:`0`
103 103 -
104 - 104 - a\ :sub:`3`
105 - 7 105 - a\ :sub:`2`
106 106 - a\ :sub:`1`
107 - 6 107 - a\ :sub:`0`
108 108 - r\ :sub:`3`
109 - 5 109 - r\ :sub:`2`
110 110 - r\ :sub:`1`
111 - 4 111 - r\ :sub:`0`
112 112 * .. _V4L2-PIX-FMT-XRGB444:
113 - 3 113
114 114 - ``V4L2_PIX_FMT_XRGB444``
115 - 2 115 - 'XR12'
116 116 -
117 - 1 117 - g\ :sub:`3`
118 118 - g\ :sub:`2`
119 - 0 119 - g\ :sub:`1`
120 120 - g\ :sub:`0`
121 - .. _V4L2-PIX-FMT-RGB332: 121 - b\ :sub:`3`
122 122 - b\ :sub:`2`
123 - ``V4L2_PIX_FMT_RGB332`` 123 - b\ :sub:`1`
124 124 - b\ :sub:`0`
125 - 'RGB1' 125 -
126 126 -
127 - 127 -
128 - r\ :sub:`2` 128 -
129 129 -
130 - r\ :sub:`1` 130 - r\ :sub:`3`
131 131 - r\ :sub:`2`
132 - r\ :sub:`0` 132 - r\ :sub:`1`
133 133 - r\ :sub:`0`
134 - g\ :sub:`2` 134 * .. _V4L2-PIX-FMT-ARGB555:
135 135
136 - g\ :sub:`1` 136 - ``V4L2_PIX_FMT_ARGB555``
137 137 - 'AR15'
138 - g\ :sub:`0` 138 -
139 139 - g\ :sub:`2`
140 - b\ :sub:`1` 140 - g\ :sub:`1`
141 141 - g\ :sub:`0`
142 - b\ :sub:`0` 142 - b\ :sub:`4`
143 143 - b\ :sub:`3`
144 - .. _V4L2-PIX-FMT-ARGB444: 144 - b\ :sub:`2`
145 145 - b\ :sub:`1`
146 - ``V4L2_PIX_FMT_ARGB444`` 146 - b\ :sub:`0`
147 147 -
148 - 'AR12' 148 - a
149 149 - r\ :sub:`4`
150 - 150 - r\ :sub:`3`
151 - g\ :sub:`3` 151 - r\ :sub:`2`
152 152 - r\ :sub:`1`
153 - g\ :sub:`2` 153 - r\ :sub:`0`
154 154 - g\ :sub:`4`
155 - g\ :sub:`1` 155 - g\ :sub:`3`
156 156 * .. _V4L2-PIX-FMT-XRGB555:
157 - g\ :sub:`0` 157
158 158 - ``V4L2_PIX_FMT_XRGB555``
159 - b\ :sub:`3` 159 - 'XR15'
160 160 -
161 - b\ :sub:`2` 161 - g\ :sub:`2`
162 162 - g\ :sub:`1`
163 - b\ :sub:`1` 163 - g\ :sub:`0`
164 164 - b\ :sub:`4`
165 - b\ :sub:`0` 165 - b\ :sub:`3`
166 166 - b\ :sub:`2`
167 - 167 - b\ :sub:`1`
168 - a\ :sub:`3` 168 - b\ :sub:`0`
169 169 -
170 - a\ :sub:`2` 170 -
171 171 - r\ :sub:`4`
172 - a\ :sub:`1` 172 - r\ :sub:`3`
173 173 - r\ :sub:`2`
174 - a\ :sub:`0` 174 - r\ :sub:`1`
175 175 - r\ :sub:`0`
176 - r\ :sub:`3` 176 - g\ :sub:`4`
177 177 - g\ :sub:`3`
178 - r\ :sub:`2` 178 * .. _V4L2-PIX-FMT-RGB565:
179 179
180 - r\ :sub:`1` 180 - ``V4L2_PIX_FMT_RGB565``
181 181 - 'RGBP'
182 - r\ :sub:`0` 182 -
183 183 - g\ :sub:`2`
184 - .. _V4L2-PIX-FMT-XRGB444: 184 - g\ :sub:`1`
185 185 - g\ :sub:`0`
186 - ``V4L2_PIX_FMT_XRGB444`` 186 - b\ :sub:`4`
187 187 - b\ :sub:`3`
188 - 'XR12' 188 - b\ :sub:`2`
189 189 - b\ :sub:`1`
190 - 190 - b\ :sub:`0`
191 - g\ :sub:`3` 191 -
192 192 - r\ :sub:`4`
193 - g\ :sub:`2` 193 - r\ :sub:`3`
194 194 - r\ :sub:`2`
195 - g\ :sub:`1` 195 - r\ :sub:`1`
196 196 - r\ :sub:`0`
197 - g\ :sub:`0` 197 - g\ :sub:`5`
198 198 - g\ :sub:`4`
199 - b\ :sub:`3` 199 - g\ :sub:`3`
200 200 * .. _V4L2-PIX-FMT-ARGB555X:
201 - b\ :sub:`2` 201
202 202 - ``V4L2_PIX_FMT_ARGB555X``
203 - b\ :sub:`1` 203 - 'AR15' | (1 << 31)
204 204 -
205 - b\ :sub:`0` 205 - a
206 206 - r\ :sub:`4`
207 - 207 - r\ :sub:`3`
208 - 208 - r\ :sub:`2`
209 209 - r\ :sub:`1`
210 - 210 - r\ :sub:`0`
211 211 - g\ :sub:`4`
212 - 212 - g\ :sub:`3`
213 213 -
214 - 214 - g\ :sub:`2`
215 215 - g\ :sub:`1`
216 - r\ :sub:`3` 216 - g\ :sub:`0`
217 217 - b\ :sub:`4`
218 - r\ :sub:`2` 218 - b\ :sub:`3`
219 219 - b\ :sub:`2`
220 - r\ :sub:`1` 220 - b\ :sub:`1`
221 221 - b\ :sub:`0`
222 - r\ :sub:`0` 222 * .. _V4L2-PIX-FMT-XRGB555X:
223 223
224 - .. _V4L2-PIX-FMT-ARGB555: 224 - ``V4L2_PIX_FMT_XRGB555X``
225 225 - 'XR15' | (1 << 31)
226 - ``V4L2_PIX_FMT_ARGB555`` 226 -
227 227 -
228 - 'AR15' 228 - r\ :sub:`4`
229 229 - r\ :sub:`3`
230 - 230 - r\ :sub:`2`
231 - g\ :sub:`2` 231 - r\ :sub:`1`
232 232 - r\ :sub:`0`
233 - g\ :sub:`1` 233 - g\ :sub:`4`
234 234 - g\ :sub:`3`
235 - g\ :sub:`0` 235 -
236 236 - g\ :sub:`2`
237 - b\ :sub:`4` 237 - g\ :sub:`1`
238 238 - g\ :sub:`0`
239 - b\ :sub:`3` 239 - b\ :sub:`4`
240 240 - b\ :sub:`3`
241 - b\ :sub:`2` 241 - b\ :sub:`2`
242 242 - b\ :sub:`1`
243 - b\ :sub:`1` 243 - b\ :sub:`0`
244 244 * .. _V4L2-PIX-FMT-RGB565X:
245 - b\ :sub:`0` 245
246 246 - ``V4L2_PIX_FMT_RGB565X``
247 - 247 - 'RGBR'
248 - a 248 -
249 249 - r\ :sub:`4`
250 - r\ :sub:`4` 250 - r\ :sub:`3`
251 251 - r\ :sub:`2`
252 - r\ :sub:`3` 252 - r\ :sub:`1`
253 253 - r\ :sub:`0`
254 - r\ :sub:`2` 254 - g\ :sub:`5`
255 255 - g\ :sub:`4`
256 - r\ :sub:`1` 256 - g\ :sub:`3`
257 257 -
258 - r\ :sub:`0` 258 - g\ :sub:`2`
259 259 - g\ :sub:`1`
260 - g\ :sub:`4` 260 - g\ :sub:`0`
261 261 - b\ :sub:`4`
262 - g\ :sub:`3` 262 - b\ :sub:`3`
263 263 - b\ :sub:`2`
264 - .. _V4L2-PIX-FMT-XRGB555: 264 - b\ :sub:`1`
265 265 - b\ :sub:`0`
266 - ``V4L2_PIX_FMT_XRGB555`` 266 * .. _V4L2-PIX-FMT-BGR24:
267 267
268 - 'XR15' 268 - ``V4L2_PIX_FMT_BGR24``
269 269 - 'BGR3'
270 - 270 -
271 - g\ :sub:`2` 271 - b\ :sub:`7`
272 272 - b\ :sub:`6`
273 - g\ :sub:`1` 273 - b\ :sub:`5`
274 274 - b\ :sub:`4`
275 - g\ :sub:`0` 275 - b\ :sub:`3`
276 276 - b\ :sub:`2`
277 - b\ :sub:`4` 277 - b\ :sub:`1`
278 278 - b\ :sub:`0`
279 - b\ :sub:`3` 279 -
280 280 - g\ :sub:`7`
281 - b\ :sub:`2` 281 - g\ :sub:`6`
282 282 - g\ :sub:`5`
283 - b\ :sub:`1` 283 - g\ :sub:`4`
284 284 - g\ :sub:`3`
285 - b\ :sub:`0` 285 - g\ :sub:`2`
286 286 - g\ :sub:`1`
287 - 287 - g\ :sub:`0`
288 - 288 -
289 289 - r\ :sub:`7`
290 - r\ :sub:`4` 290 - r\ :sub:`6`
291 291 - r\ :sub:`5`
292 - r\ :sub:`3` 292 - r\ :sub:`4`
293 293 - r\ :sub:`3`
294 - r\ :sub:`2` 294 - r\ :sub:`2`
295 295 - r\ :sub:`1`
296 - r\ :sub:`1` 296 - r\ :sub:`0`
297 297 * .. _V4L2-PIX-FMT-RGB24:
298 - r\ :sub:`0` 298
299 299 - ``V4L2_PIX_FMT_RGB24``
300 - g\ :sub:`4` 300 - 'RGB3'
301 301 -
302 - g\ :sub:`3` 302 - r\ :sub:`7`
303 303 - r\ :sub:`6`
304 - .. _V4L2-PIX-FMT-RGB565: 304 - r\ :sub:`5`
305 305 - r\ :sub:`4`
306 - ``V4L2_PIX_FMT_RGB565`` 306 - r\ :sub:`3`
307 307 - r\ :sub:`2`
308 - 'RGBP' 308 - r\ :sub:`1`
309 309 - r\ :sub:`0`
310 - 310 -
311 - g\ :sub:`2` 311 - g\ :sub:`7`
312 312 - g\ :sub:`6`
313 - g\ :sub:`1` 313 - g\ :sub:`5`
314 314 - g\ :sub:`4`
315 - g\ :sub:`0` 315 - g\ :sub:`3`
316 316 - g\ :sub:`2`
317 - b\ :sub:`4` 317 - g\ :sub:`1`
318 318 - g\ :sub:`0`
319 - b\ :sub:`3` 319 -
320 320 - b\ :sub:`7`
321 - b\ :sub:`2` 321 - b\ :sub:`6`
322 322 - b\ :sub:`5`
323 - b\ :sub:`1` 323 - b\ :sub:`4`
324 324 - b\ :sub:`3`
325 - b\ :sub:`0` 325 - b\ :sub:`2`
326 326 - b\ :sub:`1`
327 - 327 - b\ :sub:`0`
328 - r\ :sub:`4` 328 * .. _V4L2-PIX-FMT-BGR666:
329 329
330 - r\ :sub:`3` 330 - ``V4L2_PIX_FMT_BGR666``
331 331 - 'BGRH'
332 - r\ :sub:`2` 332 -
333 333 - b\ :sub:`5`
334 - r\ :sub:`1` 334 - b\ :sub:`4`
335 335 - b\ :sub:`3`
336 - r\ :sub:`0` 336 - b\ :sub:`2`
337 337 - b\ :sub:`1`
338 - g\ :sub:`5` 338 - b\ :sub:`0`
339 339 - g\ :sub:`5`
340 - g\ :sub:`4` 340 - g\ :sub:`4`
341 341 -
342 - g\ :sub:`3` 342 - g\ :sub:`3`
343 343 - g\ :sub:`2`
344 - .. _V4L2-PIX-FMT-ARGB555X: 344 - g\ :sub:`1`
345 345 - g\ :sub:`0`
346 - ``V4L2_PIX_FMT_ARGB555X`` 346 - r\ :sub:`5`
347 347 - r\ :sub:`4`
348 - 'AR15' | (1 << 31) 348 - r\ :sub:`3`
349 349 - r\ :sub:`2`
350 - 350 -
351 - a 351 - r\ :sub:`1`
352 352 - r\ :sub:`0`
353 - r\ :sub:`4` 353 -
354 354 -
355 - r\ :sub:`3` 355 -
356 356 -
357 - r\ :sub:`2` 357 -
358 358 -
359 - r\ :sub:`1` 359 -
360 360 -
361 - r\ :sub:`0` 361 -
362 362 -
363 - g\ :sub:`4` 363 -
364 364 -
365 - g\ :sub:`3` 365 -
366 366 -
367 - 367 -
368 - g\ :sub:`2` 368 * .. _V4L2-PIX-FMT-ABGR32:
369 369
370 - g\ :sub:`1` 370 - ``V4L2_PIX_FMT_ABGR32``
371 371 - 'AR24'
372 - g\ :sub:`0` 372 -
373 373 - b\ :sub:`7`
374 - b\ :sub:`4` 374 - b\ :sub:`6`
375 375 - b\ :sub:`5`
376 - b\ :sub:`3` 376 - b\ :sub:`4`
377 377 - b\ :sub:`3`
378 - b\ :sub:`2` 378 - b\ :sub:`2`
379 379 - b\ :sub:`1`
380 - b\ :sub:`1` 380 - b\ :sub:`0`
381 381 -
382 - b\ :sub:`0` 382 - g\ :sub:`7`
383 383 - g\ :sub:`6`
384 - .. _V4L2-PIX-FMT-XRGB555X: 384 - g\ :sub:`5`
385 385 - g\ :sub:`4`
386 - ``V4L2_PIX_FMT_XRGB555X`` 386 - g\ :sub:`3`
387 387 - g\ :sub:`2`
388 - 'XR15' | (1 << 31) 388 - g\ :sub:`1`
389 389 - g\ :sub:`0`
390 - 390 -
391 - 391 - r\ :sub:`7`
392 392 - r\ :sub:`6`
393 - r\ :sub:`4` 393 - r\ :sub:`5`
394 394 - r\ :sub:`4`
395 - r\ :sub:`3` 395 - r\ :sub:`3`
396 396 - r\ :sub:`2`
397 - r\ :sub:`2` 397 - r\ :sub:`1`
398 398 - r\ :sub:`0`
399 - r\ :sub:`1` 399 -
400 400 - a\ :sub:`7`
401 - r\ :sub:`0` 401 - a\ :sub:`6`
402 402 - a\ :sub:`5`
403 - g\ :sub:`4` 403 - a\ :sub:`4`
404 404 - a\ :sub:`3`
405 - g\ :sub:`3` 405 - a\ :sub:`2`
406 406 - a\ :sub:`1`
407 - 407 - a\ :sub:`0`
408 - g\ :sub:`2` 408 * .. _V4L2-PIX-FMT-XBGR32:
409 409
410 - g\ :sub:`1` 410 - ``V4L2_PIX_FMT_XBGR32``
411 411 - 'XR24'
412 - g\ :sub:`0` 412 -
413 413 - b\ :sub:`7`
414 - b\ :sub:`4` 414 - b\ :sub:`6`
415 415 - b\ :sub:`5`
416 - b\ :sub:`3` 416 - b\ :sub:`4`
417 417 - b\ :sub:`3`
418 - b\ :sub:`2` 418 - b\ :sub:`2`
419 419 - b\ :sub:`1`
420 - b\ :sub:`1` 420 - b\ :sub:`0`
421 421 -
422 - b\ :sub:`0` 422 - g\ :sub:`7`
423 423 - g\ :sub:`6`
424 - .. _V4L2-PIX-FMT-RGB565X: 424 - g\ :sub:`5`
425 425 - g\ :sub:`4`
426 - ``V4L2_PIX_FMT_RGB565X`` 426 - g\ :sub:`3`
427 427 - g\ :sub:`2`
428 - 'RGBR' 428 - g\ :sub:`1`
429 429 - g\ :sub:`0`
430 - 430 -
431 - r\ :sub:`4` 431 - r\ :sub:`7`
432 432 - r\ :sub:`6`
433 - r\ :sub:`3` 433 - r\ :sub:`5`
434 434 - r\ :sub:`4`
435 - r\ :sub:`2` 435 - r\ :sub:`3`
436 436 - r\ :sub:`2`
437 - r\ :sub:`1` 437 - r\ :sub:`1`
438 438 - r\ :sub:`0`
439 - r\ :sub:`0` 439 -
440 440 -
441 - g\ :sub:`5` 441 -
442 442 -
443 - g\ :sub:`4` 443 -
444 444 -
445 - g\ :sub:`3` 445 -
446 446 -
447 - 447 -
448 - g\ :sub:`2` 448 * .. _V4L2-PIX-FMT-ARGB32:
449 449
450 - g\ :sub:`1` 450 - ``V4L2_PIX_FMT_ARGB32``
451 451 - 'BA24'
452 - g\ :sub:`0` 452 -
453 453 - a\ :sub:`7`
454 - b\ :sub:`4` 454 - a\ :sub:`6`
455 455 - a\ :sub:`5`
456 - b\ :sub:`3` 456 - a\ :sub:`4`
457 457 - a\ :sub:`3`
458 - b\ :sub:`2` 458 - a\ :sub:`2`
459 459 - a\ :sub:`1`
460 - b\ :sub:`1` 460 - a\ :sub:`0`
461 461 -
462 - b\ :sub:`0` 462 - r\ :sub:`7`
463 463 - r\ :sub:`6`
464 - .. _V4L2-PIX-FMT-BGR24: 464 - r\ :sub:`5`
465 465 - r\ :sub:`4`
466 - ``V4L2_PIX_FMT_BGR24`` 466 - r\ :sub:`3`
467 467 - r\ :sub:`2`
468 - 'BGR3' 468 - r\ :sub:`1`
469 469 - r\ :sub:`0`
470 - 470 -
471 - b\ :sub:`7` 471 - g\ :sub:`7`
472 472 - g\ :sub:`6`
473 - b\ :sub:`6` 473 - g\ :sub:`5`
474 474 - g\ :sub:`4`
475 - b\ :sub:`5` 475 - g\ :sub:`3`
476 476 - g\ :sub:`2`
477 - b\ :sub:`4` 477 - g\ :sub:`1`
478 478 - g\ :sub:`0`
479 - b\ :sub:`3` 479 -
480 480 - b\ :sub:`7`
481 - b\ :sub:`2` 481 - b\ :sub:`6`
482 482 - b\ :sub:`5`
483 - b\ :sub:`1` 483 - b\ :sub:`4`
484 484 - b\ :sub:`3`
485 - b\ :sub:`0` 485 - b\ :sub:`2`
486 486 - b\ :sub:`1`
487 - 487 - b\ :sub:`0`
488 - g\ :sub:`7` 488 * .. _V4L2-PIX-FMT-XRGB32:
489 489
490 - g\ :sub:`6` 490 - ``V4L2_PIX_FMT_XRGB32``
491 491 - 'BX24'
492 - g\ :sub:`5` 492 -
493 493 -
494 - g\ :sub:`4` 494 -
495 495 -
496 - g\ :sub:`3` 496 -
497 497 -
498 - g\ :sub:`2` 498 -
499 499 -
500 - g\ :sub:`1` 500 -
501 501 -
502 - g\ :sub:`0` 502 - r\ :sub:`7`
503 503 - r\ :sub:`6`
504 - 504 - r\ :sub:`5`
505 - r\ :sub:`7` 505 - r\ :sub:`4`
506 506 - r\ :sub:`3`
507 - r\ :sub:`6` 507 - r\ :sub:`2`
508 508 - r\ :sub:`1`
509 - r\ :sub:`5` 509 - r\ :sub:`0`
510 510 -
511 - r\ :sub:`4` 511 - g\ :sub:`7`
512 512 - g\ :sub:`6`
513 - r\ :sub:`3` 513 - g\ :sub:`5`
514 514 - g\ :sub:`4`
515 - r\ :sub:`2` 515 - g\ :sub:`3`
516 516 - g\ :sub:`2`
517 - r\ :sub:`1` 517 - g\ :sub:`1`
518 518 - g\ :sub:`0`
519 - r\ :sub:`0` 519 -
520 520 - b\ :sub:`7`
521 - .. _V4L2-PIX-FMT-RGB24: 521 - b\ :sub:`6`
522 522 - b\ :sub:`5`
523 - ``V4L2_PIX_FMT_RGB24`` 523 - b\ :sub:`4`
524 524 - b\ :sub:`3`
525 - 'RGB3' 525 - b\ :sub:`2`
526 526 - b\ :sub:`1`
527 - 527 - b\ :sub:`0`
528 - r\ :sub:`7`
529
530 - r\ :sub:`6`
531
532 - r\ :sub:`5`
533
534 - r\ :sub:`4`
535
536 - r\ :sub:`3`
537
538 - r\ :sub:`2`
539
540 - r\ :sub:`1`
541
542 - r\ :sub:`0`
543
544 -
545 - g\ :sub:`7`
546
547 - g\ :sub:`6`
548
549 - g\ :sub:`5`
550
551 - g\ :sub:`4`
552
553 - g\ :sub:`3`
554
555 - g\ :sub:`2`
556
557 - g\ :sub:`1`
558
559 - g\ :sub:`0`
560
561 -
562 - b\ :sub:`7`
563
564 - b\ :sub:`6`
565
566 - b\ :sub:`5`
567
568 - b\ :sub:`4`
569
570 - b\ :sub:`3`
571
572 - b\ :sub:`2`
573
574 - b\ :sub:`1`
575
576 - b\ :sub:`0`
577
578 - .. _V4L2-PIX-FMT-BGR666:
579
580 - ``V4L2_PIX_FMT_BGR666``
581
582 - 'BGRH'
583
584 -
585 - b\ :sub:`5`
586
587 - b\ :sub:`4`
588
589 - b\ :sub:`3`
590
591 - b\ :sub:`2`
592
593 - b\ :sub:`1`
594
595 - b\ :sub:`0`
596
597 - g\ :sub:`5`
598
599 - g\ :sub:`4`
600
601 -
602 - g\ :sub:`3`
603
604 - g\ :sub:`2`
605
606 - g\ :sub:`1`
607
608 - g\ :sub:`0`
609
610 - r\ :sub:`5`
611
612 - r\ :sub:`4`
613
614 - r\ :sub:`3`
615
616 - r\ :sub:`2`
617
618 -
619 - r\ :sub:`1`
620
621 - r\ :sub:`0`
622
623 -
624
625 -
626
627 -
628
629 -
630
631 -
632
633 -
634
635 -
636 -
637
638 -
639
640 -
641
642 -
643
644 -
645
646 -
647
648 -
649
650 -
651
652 - .. _V4L2-PIX-FMT-ABGR32:
653
654 - ``V4L2_PIX_FMT_ABGR32``
655
656 - 'AR24'
657
658 -
659 - b\ :sub:`7`
660
661 - b\ :sub:`6`
662
663 - b\ :sub:`5`
664
665 - b\ :sub:`4`
666
667 - b\ :sub:`3`
668
669 - b\ :sub:`2`
670
671 - b\ :sub:`1`
672
673 - b\ :sub:`0`
674
675 -
676 - g\ :sub:`7`
677
678 - g\ :sub:`6`
679
680 - g\ :sub:`5`
681
682 - g\ :sub:`4`
683
684 - g\ :sub:`3`
685
686 - g\ :sub:`2`
687
688 - g\ :sub:`1`
689
690 - g\ :sub:`0`
691
692 -
693 - r\ :sub:`7`
694
695 - r\ :sub:`6`
696
697 - r\ :sub:`5`
698
699 - r\ :sub:`4`
700
701 - r\ :sub:`3`
702
703 - r\ :sub:`2`
704
705 - r\ :sub:`1`
706
707 - r\ :sub:`0`
708
709 -
710 - a\ :sub:`7`
711
712 - a\ :sub:`6`
713
714 - a\ :sub:`5`
715
716 - a\ :sub:`4`
717
718 - a\ :sub:`3`
719
720 - a\ :sub:`2`
721
722 - a\ :sub:`1`
723
724 - a\ :sub:`0`
725
726 - .. _V4L2-PIX-FMT-XBGR32:
727
728 - ``V4L2_PIX_FMT_XBGR32``
729
730 - 'XR24'
731
732 -
733 - b\ :sub:`7`
734
735 - b\ :sub:`6`
736
737 - b\ :sub:`5`
738
739 - b\ :sub:`4`
740
741 - b\ :sub:`3`
742
743 - b\ :sub:`2`
744
745 - b\ :sub:`1`
746
747 - b\ :sub:`0`
748
749 -
750 - g\ :sub:`7`
751
752 - g\ :sub:`6`
753
754 - g\ :sub:`5`
755
756 - g\ :sub:`4`
757
758 - g\ :sub:`3`
759
760 - g\ :sub:`2`
761
762 - g\ :sub:`1`
763
764 - g\ :sub:`0`
765
766 -
767 - r\ :sub:`7`
768
769 - r\ :sub:`6`
770
771 - r\ :sub:`5`
772
773 - r\ :sub:`4`
774
775 - r\ :sub:`3`
776
777 - r\ :sub:`2`
778
779 - r\ :sub:`1`
780
781 - r\ :sub:`0`
782
783 -
784 -
785
786 -
787
788 -
789
790 -
791
792 -
793
794 -
795
796 -
797
798 -
799
800 - .. _V4L2-PIX-FMT-ARGB32:
801
802 - ``V4L2_PIX_FMT_ARGB32``
803
804 - 'BA24'
805
806 -
807 - a\ :sub:`7`
808
809 - a\ :sub:`6`
810
811 - a\ :sub:`5`
812
813 - a\ :sub:`4`
814
815 - a\ :sub:`3`
816
817 - a\ :sub:`2`
818
819 - a\ :sub:`1`
820
821 - a\ :sub:`0`
822
823 -
824 - r\ :sub:`7`
825
826 - r\ :sub:`6`
827
828 - r\ :sub:`5`
829
830 - r\ :sub:`4`
831
832 - r\ :sub:`3`
833
834 - r\ :sub:`2`
835
836 - r\ :sub:`1`
837
838 - r\ :sub:`0`
839
840 -
841 - g\ :sub:`7`
842
843 - g\ :sub:`6`
844
845 - g\ :sub:`5`
846
847 - g\ :sub:`4`
848
849 - g\ :sub:`3`
850
851 - g\ :sub:`2`
852
853 - g\ :sub:`1`
854
855 - g\ :sub:`0`
856
857 -
858 - b\ :sub:`7`
859
860 - b\ :sub:`6`
861
862 - b\ :sub:`5`
863
864 - b\ :sub:`4`
865
866 - b\ :sub:`3`
867
868 - b\ :sub:`2`
869
870 - b\ :sub:`1`
871
872 - b\ :sub:`0`
873
874 - .. _V4L2-PIX-FMT-XRGB32:
875
876 - ``V4L2_PIX_FMT_XRGB32``
877
878 - 'BX24'
879
880 -
881 -
882
883 -
884
885 -
886
887 -
888
889 -
890
891 -
892
893 -
894
895 -
896
897 -
898 - r\ :sub:`7`
899
900 - r\ :sub:`6`
901
902 - r\ :sub:`5`
903
904 - r\ :sub:`4`
905
906 - r\ :sub:`3`
907
908 - r\ :sub:`2`
909
910 - r\ :sub:`1`
911
912 - r\ :sub:`0`
913
914 -
915 - g\ :sub:`7`
916
917 - g\ :sub:`6`
918
919 - g\ :sub:`5`
920
921 - g\ :sub:`4`
922
923 - g\ :sub:`3`
924
925 - g\ :sub:`2`
926
927 - g\ :sub:`1`
928
929 - g\ :sub:`0`
930
931 -
932 - b\ :sub:`7`
933
934 - b\ :sub:`6`
935
936 - b\ :sub:`5`
937
938 - b\ :sub:`4`
939
940 - b\ :sub:`3`
941
942 - b\ :sub:`2`
943
944 - b\ :sub:`1`
945
946 - b\ :sub:`0`
947 528
948.. raw:: latex 529.. raw:: latex
949 530
@@ -990,118 +571,58 @@ Each cell is one byte.
990 :stub-columns: 0 571 :stub-columns: 0
991 :widths: 11 3 3 3 3 3 3 3 3 3 3 3 3 572 :widths: 11 3 3 3 3 3 3 3 3 3 3 3 3
992 573
993 574 * - start + 0:
994 - .. row 1 575 - B\ :sub:`00`
995 576 - G\ :sub:`00`
996 - start + 0: 577 - R\ :sub:`00`
997 578 - B\ :sub:`01`
998 - B\ :sub:`00` 579 - G\ :sub:`01`
999 580 - R\ :sub:`01`
1000 - G\ :sub:`00` 581 - B\ :sub:`02`
1001 582 - G\ :sub:`02`
1002 - R\ :sub:`00` 583 - R\ :sub:`02`
1003 584 - B\ :sub:`03`
1004 - B\ :sub:`01` 585 - G\ :sub:`03`
1005 586 - R\ :sub:`03`
1006 - G\ :sub:`01` 587 * - start + 12:
1007 588 - B\ :sub:`10`
1008 - R\ :sub:`01` 589 - G\ :sub:`10`
1009 590 - R\ :sub:`10`
1010 - B\ :sub:`02` 591 - B\ :sub:`11`
1011 592 - G\ :sub:`11`
1012 - G\ :sub:`02` 593 - R\ :sub:`11`
1013 594 - B\ :sub:`12`
1014 - R\ :sub:`02` 595 - G\ :sub:`12`
1015 596 - R\ :sub:`12`
1016 - B\ :sub:`03` 597 - B\ :sub:`13`
1017 598 - G\ :sub:`13`
1018 - G\ :sub:`03` 599 - R\ :sub:`13`
1019 600 * - start + 24:
1020 - R\ :sub:`03` 601 - B\ :sub:`20`
1021 602 - G\ :sub:`20`
1022 - .. row 2 603 - R\ :sub:`20`
1023 604 - B\ :sub:`21`
1024 - start + 12: 605 - G\ :sub:`21`
1025 606 - R\ :sub:`21`
1026 - B\ :sub:`10` 607 - B\ :sub:`22`
1027 608 - G\ :sub:`22`
1028 - G\ :sub:`10` 609 - R\ :sub:`22`
1029 610 - B\ :sub:`23`
1030 - R\ :sub:`10` 611 - G\ :sub:`23`
1031 612 - R\ :sub:`23`
1032 - B\ :sub:`11` 613 * - start + 36:
1033 614 - B\ :sub:`30`
1034 - G\ :sub:`11` 615 - G\ :sub:`30`
1035 616 - R\ :sub:`30`
1036 - R\ :sub:`11` 617 - B\ :sub:`31`
1037 618 - G\ :sub:`31`
1038 - B\ :sub:`12` 619 - R\ :sub:`31`
1039 620 - B\ :sub:`32`
1040 - G\ :sub:`12` 621 - G\ :sub:`32`
1041 622 - R\ :sub:`32`
1042 - R\ :sub:`12` 623 - B\ :sub:`33`
1043 624 - G\ :sub:`33`
1044 - B\ :sub:`13` 625 - R\ :sub:`33`
1045
1046 - G\ :sub:`13`
1047
1048 - R\ :sub:`13`
1049
1050 - .. row 3
1051
1052 - start + 24:
1053
1054 - B\ :sub:`20`
1055
1056 - G\ :sub:`20`
1057
1058 - R\ :sub:`20`
1059
1060 - B\ :sub:`21`
1061
1062 - G\ :sub:`21`
1063
1064 - R\ :sub:`21`
1065
1066 - B\ :sub:`22`
1067
1068 - G\ :sub:`22`
1069
1070 - R\ :sub:`22`
1071
1072 - B\ :sub:`23`
1073
1074 - G\ :sub:`23`
1075
1076 - R\ :sub:`23`
1077
1078 - .. row 4
1079
1080 - start + 36:
1081
1082 - B\ :sub:`30`
1083
1084 - G\ :sub:`30`
1085
1086 - R\ :sub:`30`
1087
1088 - B\ :sub:`31`
1089
1090 - G\ :sub:`31`
1091
1092 - R\ :sub:`31`
1093
1094 - B\ :sub:`32`
1095
1096 - G\ :sub:`32`
1097
1098 - R\ :sub:`32`
1099
1100 - B\ :sub:`33`
1101
1102 - G\ :sub:`33`
1103
1104 - R\ :sub:`33`
1105 626
1106.. raw:: latex 627.. raw:: latex
1107 628
@@ -1125,365 +646,200 @@ either the corresponding ARGB or XRGB format, depending on the driver.
1125 :header-rows: 2 646 :header-rows: 2
1126 :stub-columns: 0 647 :stub-columns: 0
1127 648
1128 649 * - Identifier
1129 - .. row 1 650 - Code
1130 651 -
1131 - Identifier 652 - :cspan:`7` Byte 0 in memory
1132 653 -
1133 - Code 654 - :cspan:`7` Byte 1
1134 655 -
1135 - 656 - :cspan:`7` Byte 2
1136 - :cspan:`7` Byte 0 in memory 657 -
1137 658 - :cspan:`7` Byte 3
1138 - 659 * -
1139 - :cspan:`7` Byte 1 660 -
1140 661 - Bit
1141 - 662 - 7
1142 - :cspan:`7` Byte 2 663 - 6
1143 664 - 5
1144 - 665 - 4
1145 - :cspan:`7` Byte 3 666 - 3
1146 667 - 2
1147 - .. row 2 668 - 1
1148 669 - 0
1149 - 670 -
1150 - 671 - 7
1151 - Bit 672 - 6
1152 673 - 5
1153 - 7 674 - 4
1154 675 - 3
1155 - 6 676 - 2
1156 677 - 1
1157 - 5 678 - 0
1158 679 -
1159 - 4 680 - 7
1160 681 - 6
1161 - 3 682 - 5
1162 683 - 4
1163 - 2 684 - 3
1164 685 - 2
1165 - 1 686 - 1
1166 687 - 0
1167 - 0 688 -
1168 689 - 7
1169 - 690 - 6
1170 - 7 691 - 5
1171 692 - 4
1172 - 6 693 - 3
1173 694 - 2
1174 - 5 695 - 1
1175 696 - 0
1176 - 4 697 * .. _V4L2-PIX-FMT-RGB444:
1177 698
1178 - 3 699 - ``V4L2_PIX_FMT_RGB444``
1179 700 - 'R444'
1180 - 2 701 -
1181 702 - g\ :sub:`3`
1182 - 1 703 - g\ :sub:`2`
1183 704 - g\ :sub:`1`
1184 - 0 705 - g\ :sub:`0`
1185 706 - b\ :sub:`3`
1186 - 707 - b\ :sub:`2`
1187 - 7 708 - b\ :sub:`1`
1188 709 - b\ :sub:`0`
1189 - 6 710 -
1190 711 - a\ :sub:`3`
1191 - 5 712 - a\ :sub:`2`
1192 713 - a\ :sub:`1`
1193 - 4 714 - a\ :sub:`0`
1194 715 - r\ :sub:`3`
1195 - 3 716 - r\ :sub:`2`
1196 717 - r\ :sub:`1`
1197 - 2 718 - r\ :sub:`0`
1198 719 * .. _V4L2-PIX-FMT-RGB555:
1199 - 1 720
1200 721 - ``V4L2_PIX_FMT_RGB555``
1201 - 0 722 - 'RGBO'
1202 723 -
1203 - 724 - g\ :sub:`2`
1204 - 7 725 - g\ :sub:`1`
1205 726 - g\ :sub:`0`
1206 - 6 727 - b\ :sub:`4`
1207 728 - b\ :sub:`3`
1208 - 5 729 - b\ :sub:`2`
1209 730 - b\ :sub:`1`
1210 - 4 731 - b\ :sub:`0`
1211 732 -
1212 - 3 733 - a
1213 734 - r\ :sub:`4`
1214 - 2 735 - r\ :sub:`3`
1215 736 - r\ :sub:`2`
1216 - 1 737 - r\ :sub:`1`
1217 738 - r\ :sub:`0`
1218 - 0 739 - g\ :sub:`4`
1219 740 - g\ :sub:`3`
1220 - .. _V4L2-PIX-FMT-RGB444: 741 * .. _V4L2-PIX-FMT-RGB555X:
1221 742
1222 - ``V4L2_PIX_FMT_RGB444`` 743 - ``V4L2_PIX_FMT_RGB555X``
1223 744 - 'RGBQ'
1224 - 'R444' 745 -
1225 746 - a
1226 - 747 - r\ :sub:`4`
1227 - g\ :sub:`3` 748 - r\ :sub:`3`
1228 749 - r\ :sub:`2`
1229 - g\ :sub:`2` 750 - r\ :sub:`1`
1230 751 - r\ :sub:`0`
1231 - g\ :sub:`1` 752 - g\ :sub:`4`
1232 753 - g\ :sub:`3`
1233 - g\ :sub:`0` 754 -
1234 755 - g\ :sub:`2`
1235 - b\ :sub:`3` 756 - g\ :sub:`1`
1236 757 - g\ :sub:`0`
1237 - b\ :sub:`2` 758 - b\ :sub:`4`
1238 759 - b\ :sub:`3`
1239 - b\ :sub:`1` 760 - b\ :sub:`2`
1240 761 - b\ :sub:`1`
1241 - b\ :sub:`0` 762 - b\ :sub:`0`
1242 763 * .. _V4L2-PIX-FMT-BGR32:
1243 - 764
1244 - a\ :sub:`3` 765 - ``V4L2_PIX_FMT_BGR32``
1245 766 - 'BGR4'
1246 - a\ :sub:`2` 767 -
1247 768 - b\ :sub:`7`
1248 - a\ :sub:`1` 769 - b\ :sub:`6`
1249 770 - b\ :sub:`5`
1250 - a\ :sub:`0` 771 - b\ :sub:`4`
1251 772 - b\ :sub:`3`
1252 - r\ :sub:`3` 773 - b\ :sub:`2`
1253 774 - b\ :sub:`1`
1254 - r\ :sub:`2` 775 - b\ :sub:`0`
1255 776 -
1256 - r\ :sub:`1` 777 - g\ :sub:`7`
1257 778 - g\ :sub:`6`
1258 - r\ :sub:`0` 779 - g\ :sub:`5`
1259 780 - g\ :sub:`4`
1260 - .. _V4L2-PIX-FMT-RGB555: 781 - g\ :sub:`3`
1261 782 - g\ :sub:`2`
1262 - ``V4L2_PIX_FMT_RGB555`` 783 - g\ :sub:`1`
1263 784 - g\ :sub:`0`
1264 - 'RGBO' 785 -
1265 786 - r\ :sub:`7`
1266 - 787 - r\ :sub:`6`
1267 - g\ :sub:`2` 788 - r\ :sub:`5`
1268 789 - r\ :sub:`4`
1269 - g\ :sub:`1` 790 - r\ :sub:`3`
1270 791 - r\ :sub:`2`
1271 - g\ :sub:`0` 792 - r\ :sub:`1`
1272 793 - r\ :sub:`0`
1273 - b\ :sub:`4` 794 -
1274 795 - a\ :sub:`7`
1275 - b\ :sub:`3` 796 - a\ :sub:`6`
1276 797 - a\ :sub:`5`
1277 - b\ :sub:`2` 798 - a\ :sub:`4`
1278 799 - a\ :sub:`3`
1279 - b\ :sub:`1` 800 - a\ :sub:`2`
1280 801 - a\ :sub:`1`
1281 - b\ :sub:`0` 802 - a\ :sub:`0`
1282 803 * .. _V4L2-PIX-FMT-RGB32:
1283 - 804
1284 - a 805 - ``V4L2_PIX_FMT_RGB32``
1285 806 - 'RGB4'
1286 - r\ :sub:`4` 807 -
1287 808 - a\ :sub:`7`
1288 - r\ :sub:`3` 809 - a\ :sub:`6`
1289 810 - a\ :sub:`5`
1290 - r\ :sub:`2` 811 - a\ :sub:`4`
1291 812 - a\ :sub:`3`
1292 - r\ :sub:`1` 813 - a\ :sub:`2`
1293 814 - a\ :sub:`1`
1294 - r\ :sub:`0` 815 - a\ :sub:`0`
1295 816 -
1296 - g\ :sub:`4` 817 - r\ :sub:`7`
1297 818 - r\ :sub:`6`
1298 - g\ :sub:`3` 819 - r\ :sub:`5`
1299 820 - r\ :sub:`4`
1300 - .. _V4L2-PIX-FMT-RGB555X: 821 - r\ :sub:`3`
1301 822 - r\ :sub:`2`
1302 - ``V4L2_PIX_FMT_RGB555X`` 823 - r\ :sub:`1`
1303 824 - r\ :sub:`0`
1304 - 'RGBQ' 825 -
1305 826 - g\ :sub:`7`
1306 - 827 - g\ :sub:`6`
1307 - a 828 - g\ :sub:`5`
1308 829 - g\ :sub:`4`
1309 - r\ :sub:`4` 830 - g\ :sub:`3`
1310 831 - g\ :sub:`2`
1311 - r\ :sub:`3` 832 - g\ :sub:`1`
1312 833 - g\ :sub:`0`
1313 - r\ :sub:`2` 834 -
1314 835 - b\ :sub:`7`
1315 - r\ :sub:`1` 836 - b\ :sub:`6`
1316 837 - b\ :sub:`5`
1317 - r\ :sub:`0` 838 - b\ :sub:`4`
1318 839 - b\ :sub:`3`
1319 - g\ :sub:`4` 840 - b\ :sub:`2`
1320 841 - b\ :sub:`1`
1321 - g\ :sub:`3` 842 - b\ :sub:`0`
1322
1323 -
1324 - g\ :sub:`2`
1325
1326 - g\ :sub:`1`
1327
1328 - g\ :sub:`0`
1329
1330 - b\ :sub:`4`
1331
1332 - b\ :sub:`3`
1333
1334 - b\ :sub:`2`
1335
1336 - b\ :sub:`1`
1337
1338 - b\ :sub:`0`
1339
1340 - .. _V4L2-PIX-FMT-BGR32:
1341
1342 - ``V4L2_PIX_FMT_BGR32``
1343
1344 - 'BGR4'
1345
1346 -
1347 - b\ :sub:`7`
1348
1349 - b\ :sub:`6`
1350
1351 - b\ :sub:`5`
1352
1353 - b\ :sub:`4`
1354
1355 - b\ :sub:`3`
1356
1357 - b\ :sub:`2`
1358
1359 - b\ :sub:`1`
1360
1361 - b\ :sub:`0`
1362
1363 -
1364 - g\ :sub:`7`
1365
1366 - g\ :sub:`6`
1367
1368 - g\ :sub:`5`
1369
1370 - g\ :sub:`4`
1371
1372 - g\ :sub:`3`
1373
1374 - g\ :sub:`2`
1375
1376 - g\ :sub:`1`
1377
1378 - g\ :sub:`0`
1379
1380 -
1381 - r\ :sub:`7`
1382
1383 - r\ :sub:`6`
1384
1385 - r\ :sub:`5`
1386
1387 - r\ :sub:`4`
1388
1389 - r\ :sub:`3`
1390
1391 - r\ :sub:`2`
1392
1393 - r\ :sub:`1`
1394
1395 - r\ :sub:`0`
1396
1397 -
1398 - a\ :sub:`7`
1399
1400 - a\ :sub:`6`
1401
1402 - a\ :sub:`5`
1403
1404 - a\ :sub:`4`
1405
1406 - a\ :sub:`3`
1407
1408 - a\ :sub:`2`
1409
1410 - a\ :sub:`1`
1411
1412 - a\ :sub:`0`
1413
1414 - .. _V4L2-PIX-FMT-RGB32:
1415
1416 - ``V4L2_PIX_FMT_RGB32``
1417
1418 - 'RGB4'
1419
1420 -
1421 - a\ :sub:`7`
1422
1423 - a\ :sub:`6`
1424
1425 - a\ :sub:`5`
1426
1427 - a\ :sub:`4`
1428
1429 - a\ :sub:`3`
1430
1431 - a\ :sub:`2`
1432
1433 - a\ :sub:`1`
1434
1435 - a\ :sub:`0`
1436
1437 -
1438 - r\ :sub:`7`
1439
1440 - r\ :sub:`6`
1441
1442 - r\ :sub:`5`
1443
1444 - r\ :sub:`4`
1445
1446 - r\ :sub:`3`
1447
1448 - r\ :sub:`2`
1449
1450 - r\ :sub:`1`
1451
1452 - r\ :sub:`0`
1453
1454 -
1455 - g\ :sub:`7`
1456
1457 - g\ :sub:`6`
1458
1459 - g\ :sub:`5`
1460
1461 - g\ :sub:`4`
1462
1463 - g\ :sub:`3`
1464
1465 - g\ :sub:`2`
1466
1467 - g\ :sub:`1`
1468
1469 - g\ :sub:`0`
1470
1471 -
1472 - b\ :sub:`7`
1473
1474 - b\ :sub:`6`
1475
1476 - b\ :sub:`5`
1477
1478 - b\ :sub:`4`
1479
1480 - b\ :sub:`3`
1481
1482 - b\ :sub:`2`
1483
1484 - b\ :sub:`1`
1485
1486 - b\ :sub:`0`
1487 843
1488.. raw:: latex 844.. raw:: latex
1489 845
diff --git a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
index 36a221753b37..ebc8fcc937ad 100644
--- a/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-packed-yuv.rst
@@ -24,291 +24,160 @@ component of each pixel in one 16 or 32 bit word.
24 :header-rows: 2 24 :header-rows: 2
25 :stub-columns: 0 25 :stub-columns: 0
26 26
27 27 * - Identifier
28 - .. row 1 28 - Code
29 29 -
30 - Identifier 30 - :cspan:`7` Byte 0 in memory
31 31 -
32 - Code 32 - :cspan:`7` Byte 1
33 33 -
34 - 34 - :cspan:`7` Byte 2
35 - :cspan:`7` Byte 0 in memory 35 -
36 36 - :cspan:`7` Byte 3
37 - 37 * -
38 - :cspan:`7` Byte 1 38 -
39 39 - Bit
40 - 40 - 7
41 - :cspan:`7` Byte 2 41 - 6
42 42 - 5
43 - 43 - 4
44 - :cspan:`7` Byte 3 44 - 3
45 45 - 2
46 - .. row 2 46 - 1
47 47 - 0
48 - 48 -
49 - 49 - 7
50 - Bit 50 - 6
51 51 - 5
52 - 7 52 - 4
53 53 - 3
54 - 6 54 - 2
55 55 - 1
56 - 5 56 - 0
57 57 -
58 - 4 58 - 7
59 59 - 6
60 - 3 60 - 5
61 61 - 4
62 - 2 62 - 3
63 63 - 2
64 - 1 64 - 1
65 65 - 0
66 - 0 66 -
67 67 - 7
68 - 68 - 6
69 - 7 69 - 5
70 70 - 4
71 - 6 71 - 3
72 72 - 2
73 - 5 73 - 1
74 74 - 0
75 - 4 75 * .. _V4L2-PIX-FMT-YUV444:
76 76
77 - 3 77 - ``V4L2_PIX_FMT_YUV444``
78 78 - 'Y444'
79 - 2 79 -
80 80 - Cb\ :sub:`3`
81 - 1 81 - Cb\ :sub:`2`
82 82 - Cb\ :sub:`1`
83 - 0 83 - Cb\ :sub:`0`
84 84 - Cr\ :sub:`3`
85 - 85 - Cr\ :sub:`2`
86 - 7 86 - Cr\ :sub:`1`
87 87 - Cr\ :sub:`0`
88 - 6 88 -
89 89 - a\ :sub:`3`
90 - 5 90 - a\ :sub:`2`
91 91 - a\ :sub:`1`
92 - 4 92 - a\ :sub:`0`
93 93 - Y'\ :sub:`3`
94 - 3 94 - Y'\ :sub:`2`
95 95 - Y'\ :sub:`1`
96 - 2 96 - Y'\ :sub:`0`
97 97 * .. _V4L2-PIX-FMT-YUV555:
98 - 1 98
99 99 - ``V4L2_PIX_FMT_YUV555``
100 - 0 100 - 'YUVO'
101 101 -
102 - 102 - Cb\ :sub:`2`
103 - 7 103 - Cb\ :sub:`1`
104 104 - Cb\ :sub:`0`
105 - 6 105 - Cr\ :sub:`4`
106 106 - Cr\ :sub:`3`
107 - 5 107 - Cr\ :sub:`2`
108 108 - Cr\ :sub:`1`
109 - 4 109 - Cr\ :sub:`0`
110 110 -
111 - 3 111 - a
112 112 - Y'\ :sub:`4`
113 - 2 113 - Y'\ :sub:`3`
114 114 - Y'\ :sub:`2`
115 - 1 115 - Y'\ :sub:`1`
116 116 - Y'\ :sub:`0`
117 - 0 117 - Cb\ :sub:`4`
118 118 - Cb\ :sub:`3`
119 - .. _V4L2-PIX-FMT-YUV444: 119 * .. _V4L2-PIX-FMT-YUV565:
120 120
121 - ``V4L2_PIX_FMT_YUV444`` 121 - ``V4L2_PIX_FMT_YUV565``
122 122 - 'YUVP'
123 - 'Y444' 123 -
124 124 - Cb\ :sub:`2`
125 - 125 - Cb\ :sub:`1`
126 - Cb\ :sub:`3` 126 - Cb\ :sub:`0`
127 127 - Cr\ :sub:`4`
128 - Cb\ :sub:`2` 128 - Cr\ :sub:`3`
129 129 - Cr\ :sub:`2`
130 - Cb\ :sub:`1` 130 - Cr\ :sub:`1`
131 131 - Cr\ :sub:`0`
132 - Cb\ :sub:`0` 132 -
133 133 - Y'\ :sub:`4`
134 - Cr\ :sub:`3` 134 - Y'\ :sub:`3`
135 135 - Y'\ :sub:`2`
136 - Cr\ :sub:`2` 136 - Y'\ :sub:`1`
137 137 - Y'\ :sub:`0`
138 - Cr\ :sub:`1` 138 - Cb\ :sub:`5`
139 139 - Cb\ :sub:`4`
140 - Cr\ :sub:`0` 140 - Cb\ :sub:`3`
141 141 * .. _V4L2-PIX-FMT-YUV32:
142 - 142
143 - a\ :sub:`3` 143 - ``V4L2_PIX_FMT_YUV32``
144 144 - 'YUV4'
145 - a\ :sub:`2` 145 -
146 146 - a\ :sub:`7`
147 - a\ :sub:`1` 147 - a\ :sub:`6`
148 148 - a\ :sub:`5`
149 - a\ :sub:`0` 149 - a\ :sub:`4`
150 150 - a\ :sub:`3`
151 - Y'\ :sub:`3` 151 - a\ :sub:`2`
152 152 - a\ :sub:`1`
153 - Y'\ :sub:`2` 153 - a\ :sub:`0`
154 154 -
155 - Y'\ :sub:`1` 155 - Y'\ :sub:`7`
156 156 - Y'\ :sub:`6`
157 - Y'\ :sub:`0` 157 - Y'\ :sub:`5`
158 158 - Y'\ :sub:`4`
159 - .. _V4L2-PIX-FMT-YUV555: 159 - Y'\ :sub:`3`
160 160 - Y'\ :sub:`2`
161 - ``V4L2_PIX_FMT_YUV555`` 161 - Y'\ :sub:`1`
162 162 - Y'\ :sub:`0`
163 - 'YUVO' 163 -
164 164 - Cb\ :sub:`7`
165 - 165 - Cb\ :sub:`6`
166 - Cb\ :sub:`2` 166 - Cb\ :sub:`5`
167 167 - Cb\ :sub:`4`
168 - Cb\ :sub:`1` 168 - Cb\ :sub:`3`
169 169 - Cb\ :sub:`2`
170 - Cb\ :sub:`0` 170 - Cb\ :sub:`1`
171 171 - Cb\ :sub:`0`
172 - Cr\ :sub:`4` 172 -
173 173 - Cr\ :sub:`7`
174 - Cr\ :sub:`3` 174 - Cr\ :sub:`6`
175 175 - Cr\ :sub:`5`
176 - Cr\ :sub:`2` 176 - Cr\ :sub:`4`
177 177 - Cr\ :sub:`3`
178 - Cr\ :sub:`1` 178 - Cr\ :sub:`2`
179 179 - Cr\ :sub:`1`
180 - Cr\ :sub:`0` 180 - Cr\ :sub:`0`
181
182 -
183 - a
184
185 - Y'\ :sub:`4`
186
187 - Y'\ :sub:`3`
188
189 - Y'\ :sub:`2`
190
191 - Y'\ :sub:`1`
192
193 - Y'\ :sub:`0`
194
195 - Cb\ :sub:`4`
196
197 - Cb\ :sub:`3`
198
199 - .. _V4L2-PIX-FMT-YUV565:
200
201 - ``V4L2_PIX_FMT_YUV565``
202
203 - 'YUVP'
204
205 -
206 - Cb\ :sub:`2`
207
208 - Cb\ :sub:`1`
209
210 - Cb\ :sub:`0`
211
212 - Cr\ :sub:`4`
213
214 - Cr\ :sub:`3`
215
216 - Cr\ :sub:`2`
217
218 - Cr\ :sub:`1`
219
220 - Cr\ :sub:`0`
221
222 -
223 - Y'\ :sub:`4`
224
225 - Y'\ :sub:`3`
226
227 - Y'\ :sub:`2`
228
229 - Y'\ :sub:`1`
230
231 - Y'\ :sub:`0`
232
233 - Cb\ :sub:`5`
234
235 - Cb\ :sub:`4`
236
237 - Cb\ :sub:`3`
238
239 - .. _V4L2-PIX-FMT-YUV32:
240
241 - ``V4L2_PIX_FMT_YUV32``
242
243 - 'YUV4'
244
245 -
246 - a\ :sub:`7`
247
248 - a\ :sub:`6`
249
250 - a\ :sub:`5`
251
252 - a\ :sub:`4`
253
254 - a\ :sub:`3`
255
256 - a\ :sub:`2`
257
258 - a\ :sub:`1`
259
260 - a\ :sub:`0`
261
262 -
263 - Y'\ :sub:`7`
264
265 - Y'\ :sub:`6`
266
267 - Y'\ :sub:`5`
268
269 - Y'\ :sub:`4`
270
271 - Y'\ :sub:`3`
272
273 - Y'\ :sub:`2`
274
275 - Y'\ :sub:`1`
276
277 - Y'\ :sub:`0`
278
279 -
280 - Cb\ :sub:`7`
281
282 - Cb\ :sub:`6`
283
284 - Cb\ :sub:`5`
285
286 - Cb\ :sub:`4`
287
288 - Cb\ :sub:`3`
289
290 - Cb\ :sub:`2`
291
292 - Cb\ :sub:`1`
293
294 - Cb\ :sub:`0`
295
296 -
297 - Cr\ :sub:`7`
298
299 - Cr\ :sub:`6`
300
301 - Cr\ :sub:`5`
302
303 - Cr\ :sub:`4`
304
305 - Cr\ :sub:`3`
306
307 - Cr\ :sub:`2`
308
309 - Cr\ :sub:`1`
310
311 - Cr\ :sub:`0`
312 181
313.. raw:: latex 182.. raw:: latex
314 183
diff --git a/Documentation/media/uapi/v4l/pixfmt-reserved.rst b/Documentation/media/uapi/v4l/pixfmt-reserved.rst
index 0dd2f7fe096f..bd7bf3dae6af 100644
--- a/Documentation/media/uapi/v4l/pixfmt-reserved.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-reserved.rst
@@ -26,318 +26,214 @@ please make a proposal on the linux-media mailing list.
26 :stub-columns: 0 26 :stub-columns: 0
27 :widths: 3 1 4 27 :widths: 3 1 4
28 28
29 29 * - Identifier
30 - .. row 1 30 - Code
31 31 - Details
32 - Identifier 32 * .. _V4L2-PIX-FMT-DV:
33 33
34 - Code 34 - ``V4L2_PIX_FMT_DV``
35 35 - 'dvsd'
36 - Details 36 - unknown
37 37 * .. _V4L2-PIX-FMT-ET61X251:
38 - .. _V4L2-PIX-FMT-DV: 38
39 39 - ``V4L2_PIX_FMT_ET61X251``
40 - ``V4L2_PIX_FMT_DV`` 40 - 'E625'
41 41 - Compressed format of the ET61X251 driver.
42 - 'dvsd' 42 * .. _V4L2-PIX-FMT-HI240:
43 43
44 - unknown 44 - ``V4L2_PIX_FMT_HI240``
45 45 - 'HI24'
46 - .. _V4L2-PIX-FMT-ET61X251: 46 - 8 bit RGB format used by the BTTV driver.
47 47 * .. _V4L2-PIX-FMT-HM12:
48 - ``V4L2_PIX_FMT_ET61X251`` 48
49 49 - ``V4L2_PIX_FMT_HM12``
50 - 'E625' 50 - 'HM12'
51 51 - YUV 4:2:0 format used by the IVTV driver,
52 - Compressed format of the ET61X251 driver. 52 `http://www.ivtvdriver.org/ <http://www.ivtvdriver.org/>`__
53 53
54 - .. _V4L2-PIX-FMT-HI240: 54 The format is documented in the kernel sources in the file
55 55 ``Documentation/video4linux/cx2341x/README.hm12``
56 - ``V4L2_PIX_FMT_HI240`` 56 * .. _V4L2-PIX-FMT-CPIA1:
57 57
58 - 'HI24' 58 - ``V4L2_PIX_FMT_CPIA1``
59 59 - 'CPIA'
60 - 8 bit RGB format used by the BTTV driver. 60 - YUV format used by the gspca cpia1 driver.
61 61 * .. _V4L2-PIX-FMT-JPGL:
62 - .. _V4L2-PIX-FMT-HM12: 62
63 63 - ``V4L2_PIX_FMT_JPGL``
64 - ``V4L2_PIX_FMT_HM12`` 64 - 'JPGL'
65 65 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
66 - 'HM12' 66 80x.
67 67 * .. _V4L2-PIX-FMT-SPCA501:
68 - YUV 4:2:0 format used by the IVTV driver, 68
69 `http://www.ivtvdriver.org/ <http://www.ivtvdriver.org/>`__ 69 - ``V4L2_PIX_FMT_SPCA501``
70 70 - 'S501'
71 The format is documented in the kernel sources in the file 71 - YUYV per line used by the gspca driver.
72 ``Documentation/video4linux/cx2341x/README.hm12`` 72 * .. _V4L2-PIX-FMT-SPCA505:
73 73
74 - .. _V4L2-PIX-FMT-CPIA1: 74 - ``V4L2_PIX_FMT_SPCA505``
75 75 - 'S505'
76 - ``V4L2_PIX_FMT_CPIA1`` 76 - YYUV per line used by the gspca driver.
77 77 * .. _V4L2-PIX-FMT-SPCA508:
78 - 'CPIA' 78
79 79 - ``V4L2_PIX_FMT_SPCA508``
80 - YUV format used by the gspca cpia1 driver. 80 - 'S508'
81 81 - YUVY per line used by the gspca driver.
82 - .. _V4L2-PIX-FMT-JPGL: 82 * .. _V4L2-PIX-FMT-SPCA561:
83 83
84 - ``V4L2_PIX_FMT_JPGL`` 84 - ``V4L2_PIX_FMT_SPCA561``
85 85 - 'S561'
86 - 'JPGL' 86 - Compressed GBRG Bayer format used by the gspca driver.
87 87 * .. _V4L2-PIX-FMT-PAC207:
88 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW 88
89 80x. 89 - ``V4L2_PIX_FMT_PAC207``
90 90 - 'P207'
91 - .. _V4L2-PIX-FMT-SPCA501: 91 - Compressed BGGR Bayer format used by the gspca driver.
92 92 * .. _V4L2-PIX-FMT-MR97310A:
93 - ``V4L2_PIX_FMT_SPCA501`` 93
94 94 - ``V4L2_PIX_FMT_MR97310A``
95 - 'S501' 95 - 'M310'
96 96 - Compressed BGGR Bayer format used by the gspca driver.
97 - YUYV per line used by the gspca driver. 97 * .. _V4L2-PIX-FMT-JL2005BCD:
98 98
99 - .. _V4L2-PIX-FMT-SPCA505: 99 - ``V4L2_PIX_FMT_JL2005BCD``
100 100 - 'JL20'
101 - ``V4L2_PIX_FMT_SPCA505`` 101 - JPEG compressed RGGB Bayer format used by the gspca driver.
102 102 * .. _V4L2-PIX-FMT-OV511:
103 - 'S505' 103
104 104 - ``V4L2_PIX_FMT_OV511``
105 - YYUV per line used by the gspca driver. 105 - 'O511'
106 106 - OV511 JPEG format used by the gspca driver.
107 - .. _V4L2-PIX-FMT-SPCA508: 107 * .. _V4L2-PIX-FMT-OV518:
108 108
109 - ``V4L2_PIX_FMT_SPCA508`` 109 - ``V4L2_PIX_FMT_OV518``
110 110 - 'O518'
111 - 'S508' 111 - OV518 JPEG format used by the gspca driver.
112 112 * .. _V4L2-PIX-FMT-PJPG:
113 - YUVY per line used by the gspca driver. 113
114 114 - ``V4L2_PIX_FMT_PJPG``
115 - .. _V4L2-PIX-FMT-SPCA561: 115 - 'PJPG'
116 116 - Pixart 73xx JPEG format used by the gspca driver.
117 - ``V4L2_PIX_FMT_SPCA561`` 117 * .. _V4L2-PIX-FMT-SE401:
118 118
119 - 'S561' 119 - ``V4L2_PIX_FMT_SE401``
120 120 - 'S401'
121 - Compressed GBRG Bayer format used by the gspca driver. 121 - Compressed RGB format used by the gspca se401 driver
122 122 * .. _V4L2-PIX-FMT-SQ905C:
123 - .. _V4L2-PIX-FMT-PAC207: 123
124 124 - ``V4L2_PIX_FMT_SQ905C``
125 - ``V4L2_PIX_FMT_PAC207`` 125 - '905C'
126 126 - Compressed RGGB bayer format used by the gspca driver.
127 - 'P207' 127 * .. _V4L2-PIX-FMT-MJPEG:
128 128
129 - Compressed BGGR Bayer format used by the gspca driver. 129 - ``V4L2_PIX_FMT_MJPEG``
130 130 - 'MJPG'
131 - .. _V4L2-PIX-FMT-MR97310A: 131 - Compressed format used by the Zoran driver
132 132 * .. _V4L2-PIX-FMT-PWC1:
133 - ``V4L2_PIX_FMT_MR97310A`` 133
134 134 - ``V4L2_PIX_FMT_PWC1``
135 - 'M310' 135 - 'PWC1'
136 136 - Compressed format of the PWC driver.
137 - Compressed BGGR Bayer format used by the gspca driver. 137 * .. _V4L2-PIX-FMT-PWC2:
138 138
139 - .. _V4L2-PIX-FMT-JL2005BCD: 139 - ``V4L2_PIX_FMT_PWC2``
140 140 - 'PWC2'
141 - ``V4L2_PIX_FMT_JL2005BCD`` 141 - Compressed format of the PWC driver.
142 142 * .. _V4L2-PIX-FMT-SN9C10X:
143 - 'JL20' 143
144 144 - ``V4L2_PIX_FMT_SN9C10X``
145 - JPEG compressed RGGB Bayer format used by the gspca driver. 145 - 'S910'
146 146 - Compressed format of the SN9C102 driver.
147 - .. _V4L2-PIX-FMT-OV511: 147 * .. _V4L2-PIX-FMT-SN9C20X-I420:
148 148
149 - ``V4L2_PIX_FMT_OV511`` 149 - ``V4L2_PIX_FMT_SN9C20X_I420``
150 150 - 'S920'
151 - 'O511' 151 - YUV 4:2:0 format of the gspca sn9c20x driver.
152 152 * .. _V4L2-PIX-FMT-SN9C2028:
153 - OV511 JPEG format used by the gspca driver. 153
154 154 - ``V4L2_PIX_FMT_SN9C2028``
155 - .. _V4L2-PIX-FMT-OV518: 155 - 'SONX'
156 156 - Compressed GBRG bayer format of the gspca sn9c2028 driver.
157 - ``V4L2_PIX_FMT_OV518`` 157 * .. _V4L2-PIX-FMT-STV0680:
158 158
159 - 'O518' 159 - ``V4L2_PIX_FMT_STV0680``
160 160 - 'S680'
161 - OV518 JPEG format used by the gspca driver. 161 - Bayer format of the gspca stv0680 driver.
162 162 * .. _V4L2-PIX-FMT-WNVA:
163 - .. _V4L2-PIX-FMT-PJPG: 163
164 164 - ``V4L2_PIX_FMT_WNVA``
165 - ``V4L2_PIX_FMT_PJPG`` 165 - 'WNVA'
166 166 - Used by the Winnov Videum driver,
167 - 'PJPG' 167 `http://www.thedirks.org/winnov/ <http://www.thedirks.org/winnov/>`__
168 168 * .. _V4L2-PIX-FMT-TM6000:
169 - Pixart 73xx JPEG format used by the gspca driver. 169
170 170 - ``V4L2_PIX_FMT_TM6000``
171 - .. _V4L2-PIX-FMT-SE401: 171 - 'TM60'
172 172 - Used by Trident tm6000
173 - ``V4L2_PIX_FMT_SE401`` 173 * .. _V4L2-PIX-FMT-CIT-YYVYUY:
174 174
175 - 'S401' 175 - ``V4L2_PIX_FMT_CIT_YYVYUY``
176 176 - 'CITV'
177 - Compressed RGB format used by the gspca se401 driver 177 - Used by xirlink CIT, found at IBM webcams.
178 178
179 - .. _V4L2-PIX-FMT-SQ905C: 179 Uses one line of Y then 1 line of VYUY
180 180 * .. _V4L2-PIX-FMT-KONICA420:
181 - ``V4L2_PIX_FMT_SQ905C`` 181
182 182 - ``V4L2_PIX_FMT_KONICA420``
183 - '905C' 183 - 'KONI'
184 184 - Used by Konica webcams.
185 - Compressed RGGB bayer format used by the gspca driver. 185
186 186 YUV420 planar in blocks of 256 pixels.
187 - .. _V4L2-PIX-FMT-MJPEG: 187 * .. _V4L2-PIX-FMT-YYUV:
188 188
189 - ``V4L2_PIX_FMT_MJPEG`` 189 - ``V4L2_PIX_FMT_YYUV``
190 190 - 'YYUV'
191 - 'MJPG' 191 - unknown
192 192 * .. _V4L2-PIX-FMT-Y4:
193 - Compressed format used by the Zoran driver 193
194 194 - ``V4L2_PIX_FMT_Y4``
195 - .. _V4L2-PIX-FMT-PWC1: 195 - 'Y04 '
196 196 - Old 4-bit greyscale format. Only the most significant 4 bits of
197 - ``V4L2_PIX_FMT_PWC1`` 197 each byte are used, the other bits are set to 0.
198 198 * .. _V4L2-PIX-FMT-Y6:
199 - 'PWC1' 199
200 200 - ``V4L2_PIX_FMT_Y6``
201 - Compressed format of the PWC driver. 201 - 'Y06 '
202 202 - Old 6-bit greyscale format. Only the most significant 6 bits of
203 - .. _V4L2-PIX-FMT-PWC2: 203 each byte are used, the other bits are set to 0.
204 204 * .. _V4L2-PIX-FMT-S5C-UYVY-JPG:
205 - ``V4L2_PIX_FMT_PWC2`` 205
206 206 - ``V4L2_PIX_FMT_S5C_UYVY_JPG``
207 - 'PWC2' 207 - 'S5CI'
208 208 - Two-planar format used by Samsung S5C73MX cameras. The first plane
209 - Compressed format of the PWC driver. 209 contains interleaved JPEG and UYVY image data, followed by meta
210 210 data in form of an array of offsets to the UYVY data blocks. The
211 - .. _V4L2-PIX-FMT-SN9C10X: 211 actual pointer array follows immediately the interleaved JPEG/UYVY
212 212 data, the number of entries in this array equals the height of the
213 - ``V4L2_PIX_FMT_SN9C10X`` 213 UYVY image. Each entry is a 4-byte unsigned integer in big endian
214 214 order and it's an offset to a single pixel line of the UYVY image.
215 - 'S910' 215 The first plane can start either with JPEG or UYVY data chunk. The
216 216 size of a single UYVY block equals the UYVY image's width
217 - Compressed format of the SN9C102 driver. 217 multiplied by 2. The size of a JPEG chunk depends on the image and
218 218 can vary with each line.
219 - .. _V4L2-PIX-FMT-SN9C20X-I420: 219
220 220 The second plane, at an offset of 4084 bytes, contains a 4-byte
221 - ``V4L2_PIX_FMT_SN9C20X_I420`` 221 offset to the pointer array in the first plane. This offset is
222 222 followed by a 4-byte value indicating size of the pointer array.
223 - 'S920' 223 All numbers in the second plane are also in big endian order.
224 224 Remaining data in the second plane is undefined. The information
225 - YUV 4:2:0 format of the gspca sn9c20x driver. 225 in the second plane allows to easily find location of the pointer
226 226 array, which can be different for each frame. The size of the
227 - .. _V4L2-PIX-FMT-SN9C2028: 227 pointer array is constant for given UYVY image height.
228 228
229 - ``V4L2_PIX_FMT_SN9C2028`` 229 In order to extract UYVY and JPEG frames an application can
230 230 initially set a data pointer to the start of first plane and then
231 - 'SONX' 231 add an offset from the first entry of the pointers table. Such a
232 232 pointer indicates start of an UYVY image pixel line. Whole UYVY
233 - Compressed GBRG bayer format of the gspca sn9c2028 driver. 233 line can be copied to a separate buffer. These steps should be
234 234 repeated for each line, i.e. the number of entries in the pointer
235 - .. _V4L2-PIX-FMT-STV0680: 235 array. Anything what's in between the UYVY lines is JPEG data and
236 236 should be concatenated to form the JPEG stream.
237 - ``V4L2_PIX_FMT_STV0680``
238
239 - 'S680'
240
241 - Bayer format of the gspca stv0680 driver.
242
243 - .. _V4L2-PIX-FMT-WNVA:
244
245 - ``V4L2_PIX_FMT_WNVA``
246
247 - 'WNVA'
248
249 - Used by the Winnov Videum driver,
250 `http://www.thedirks.org/winnov/ <http://www.thedirks.org/winnov/>`__
251
252 - .. _V4L2-PIX-FMT-TM6000:
253
254 - ``V4L2_PIX_FMT_TM6000``
255
256 - 'TM60'
257
258 - Used by Trident tm6000
259
260 - .. _V4L2-PIX-FMT-CIT-YYVYUY:
261
262 - ``V4L2_PIX_FMT_CIT_YYVYUY``
263
264 - 'CITV'
265
266 - Used by xirlink CIT, found at IBM webcams.
267
268 Uses one line of Y then 1 line of VYUY
269
270 - .. _V4L2-PIX-FMT-KONICA420:
271
272 - ``V4L2_PIX_FMT_KONICA420``
273
274 - 'KONI'
275
276 - Used by Konica webcams.
277
278 YUV420 planar in blocks of 256 pixels.
279
280 - .. _V4L2-PIX-FMT-YYUV:
281
282 - ``V4L2_PIX_FMT_YYUV``
283
284 - 'YYUV'
285
286 - unknown
287
288 - .. _V4L2-PIX-FMT-Y4:
289
290 - ``V4L2_PIX_FMT_Y4``
291
292 - 'Y04 '
293
294 - Old 4-bit greyscale format. Only the most significant 4 bits of
295 each byte are used, the other bits are set to 0.
296
297 - .. _V4L2-PIX-FMT-Y6:
298
299 - ``V4L2_PIX_FMT_Y6``
300
301 - 'Y06 '
302
303 - Old 6-bit greyscale format. Only the most significant 6 bits of
304 each byte are used, the other bits are set to 0.
305
306 - .. _V4L2-PIX-FMT-S5C-UYVY-JPG:
307
308 - ``V4L2_PIX_FMT_S5C_UYVY_JPG``
309
310 - 'S5CI'
311
312 - Two-planar format used by Samsung S5C73MX cameras. The first plane
313 contains interleaved JPEG and UYVY image data, followed by meta
314 data in form of an array of offsets to the UYVY data blocks. The
315 actual pointer array follows immediately the interleaved JPEG/UYVY
316 data, the number of entries in this array equals the height of the
317 UYVY image. Each entry is a 4-byte unsigned integer in big endian
318 order and it's an offset to a single pixel line of the UYVY image.
319 The first plane can start either with JPEG or UYVY data chunk. The
320 size of a single UYVY block equals the UYVY image's width
321 multiplied by 2. The size of a JPEG chunk depends on the image and
322 can vary with each line.
323
324 The second plane, at an offset of 4084 bytes, contains a 4-byte
325 offset to the pointer array in the first plane. This offset is
326 followed by a 4-byte value indicating size of the pointer array.
327 All numbers in the second plane are also in big endian order.
328 Remaining data in the second plane is undefined. The information
329 in the second plane allows to easily find location of the pointer
330 array, which can be different for each frame. The size of the
331 pointer array is constant for given UYVY image height.
332
333 In order to extract UYVY and JPEG frames an application can
334 initially set a data pointer to the start of first plane and then
335 add an offset from the first entry of the pointers table. Such a
336 pointer indicates start of an UYVY image pixel line. Whole UYVY
337 line can be copied to a separate buffer. These steps should be
338 repeated for each line, i.e. the number of entries in the pointer
339 array. Anything what's in between the UYVY lines is JPEG data and
340 should be concatenated to form the JPEG stream.
341 237
342 238
343 239
@@ -350,15 +246,10 @@ please make a proposal on the linux-media mailing list.
350 :stub-columns: 0 246 :stub-columns: 0
351 :widths: 3 1 4 247 :widths: 3 1 4
352 248
353 249 * - ``V4L2_PIX_FMT_FLAG_PREMUL_ALPHA``
354 - .. row 1 250 - 0x00000001
355 251 - The color values are premultiplied by the alpha channel value. For
356 - ``V4L2_PIX_FMT_FLAG_PREMUL_ALPHA`` 252 example, if a light blue pixel with 50% transparency was described
357 253 by RGBA values (128, 192, 255, 128), the same pixel described with
358 - 0x00000001 254 premultiplied colors would be described by RGBA values (64, 96,
359 255 128, 128)
360 - The color values are premultiplied by the alpha channel value. For
361 example, if a light blue pixel with 50% transparency was described
362 by RGBA values (128, 192, 255, 128), the same pixel described with
363 premultiplied colors would be described by RGBA values (64, 96,
364 128, 128)
diff --git a/Documentation/media/uapi/v4l/pixfmt-sbggr16.rst b/Documentation/media/uapi/v4l/pixfmt-sbggr16.rst
index e3b53e3b7f2e..6f7f327db85c 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sbggr16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sbggr16.rst
@@ -24,82 +24,39 @@ Each cell is one byte.
24 :header-rows: 0 24 :header-rows: 0
25 :stub-columns: 0 25 :stub-columns: 0
26 26
27 - .. row 1 27 * - start + 0:
28 28 - B\ :sub:`00low`
29 - start + 0: 29 - B\ :sub:`00high`
30 30 - G\ :sub:`01low`
31 - B\ :sub:`00low` 31 - G\ :sub:`01high`
32 32 - B\ :sub:`02low`
33 - B\ :sub:`00high` 33 - B\ :sub:`02high`
34 34 - G\ :sub:`03low`
35 - G\ :sub:`01low` 35 - G\ :sub:`03high`
36 36 * - start + 8:
37 - G\ :sub:`01high` 37 - G\ :sub:`10low`
38 38 - G\ :sub:`10high`
39 - B\ :sub:`02low` 39 - R\ :sub:`11low`
40 40 - R\ :sub:`11high`
41 - B\ :sub:`02high` 41 - G\ :sub:`12low`
42 42 - G\ :sub:`12high`
43 - G\ :sub:`03low` 43 - R\ :sub:`13low`
44 44 - R\ :sub:`13high`
45 - G\ :sub:`03high` 45 * - start + 16:
46 46 - B\ :sub:`20low`
47 - .. row 2 47 - B\ :sub:`20high`
48 48 - G\ :sub:`21low`
49 - start + 8: 49 - G\ :sub:`21high`
50 50 - B\ :sub:`22low`
51 - G\ :sub:`10low` 51 - B\ :sub:`22high`
52 52 - G\ :sub:`23low`
53 - G\ :sub:`10high` 53 - G\ :sub:`23high`
54 54 * - start + 24:
55 - R\ :sub:`11low` 55 - G\ :sub:`30low`
56 56 - G\ :sub:`30high`
57 - R\ :sub:`11high` 57 - R\ :sub:`31low`
58 58 - R\ :sub:`31high`
59 - G\ :sub:`12low` 59 - G\ :sub:`32low`
60 60 - G\ :sub:`32high`
61 - G\ :sub:`12high` 61 - R\ :sub:`33low`
62 62 - R\ :sub:`33high`
63 - R\ :sub:`13low`
64
65 - R\ :sub:`13high`
66
67 - .. row 3
68
69 - start + 16:
70
71 - B\ :sub:`20low`
72
73 - B\ :sub:`20high`
74
75 - G\ :sub:`21low`
76
77 - G\ :sub:`21high`
78
79 - B\ :sub:`22low`
80
81 - B\ :sub:`22high`
82
83 - G\ :sub:`23low`
84
85 - G\ :sub:`23high`
86
87 - .. row 4
88
89 - start + 24:
90
91 - G\ :sub:`30low`
92
93 - G\ :sub:`30high`
94
95 - R\ :sub:`31low`
96
97 - R\ :sub:`31high`
98
99 - G\ :sub:`32low`
100
101 - G\ :sub:`32high`
102
103 - R\ :sub:`33low`
104
105 - R\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-sdr-cs08.rst b/Documentation/media/uapi/v4l/pixfmt-sdr-cs08.rst
index 82b9995155fa..179894f6f8fb 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sdr-cs08.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sdr-cs08.rst
@@ -24,15 +24,7 @@ Each cell is one byte.
24 :header-rows: 0 24 :header-rows: 0
25 :stub-columns: 0 25 :stub-columns: 0
26 26
27 27 * - start + 0:
28 - .. row 1 28 - I'\ :sub:`0`
29 29 * - start + 1:
30 - start + 0: 30 - Q'\ :sub:`0`
31
32 - I'\ :sub:`0`
33
34 - .. row 2
35
36 - start + 1:
37
38 - Q'\ :sub:`0`
diff --git a/Documentation/media/uapi/v4l/pixfmt-sdr-cs14le.rst b/Documentation/media/uapi/v4l/pixfmt-sdr-cs14le.rst
index f06cbeb15dc2..5cf7d387447c 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sdr-cs14le.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sdr-cs14le.rst
@@ -26,18 +26,9 @@ Each cell is one byte.
26 :header-rows: 0 26 :header-rows: 0
27 :stub-columns: 0 27 :stub-columns: 0
28 28
29 - .. row 1 29 * - start + 0:
30 30 - I'\ :sub:`0[7:0]`
31 - start + 0: 31 - I'\ :sub:`0[13:8]`
32 32 * - start + 2:
33 - I'\ :sub:`0[7:0]` 33 - Q'\ :sub:`0[7:0]`
34 34 - Q'\ :sub:`0[13:8]`
35 - I'\ :sub:`0[13:8]`
36
37 - .. row 2
38
39 - start + 2:
40
41 - Q'\ :sub:`0[7:0]`
42
43 - Q'\ :sub:`0[13:8]`
diff --git a/Documentation/media/uapi/v4l/pixfmt-sdr-cu08.rst b/Documentation/media/uapi/v4l/pixfmt-sdr-cu08.rst
index bd81eb2e0549..fd915b7629b7 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sdr-cu08.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sdr-cu08.rst
@@ -24,14 +24,7 @@ Each cell is one byte.
24 :header-rows: 0 24 :header-rows: 0
25 :stub-columns: 0 25 :stub-columns: 0
26 26
27 - .. row 1 27 * - start + 0:
28 28 - I'\ :sub:`0`
29 - start + 0: 29 * - start + 1:
30 30 - Q'\ :sub:`0`
31 - I'\ :sub:`0`
32
33 - .. row 2
34
35 - start + 1:
36
37 - Q'\ :sub:`0`
diff --git a/Documentation/media/uapi/v4l/pixfmt-sdr-cu16le.rst b/Documentation/media/uapi/v4l/pixfmt-sdr-cu16le.rst
index c72587de4a8d..8922f5b35457 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sdr-cu16le.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sdr-cu16le.rst
@@ -26,18 +26,9 @@ Each cell is one byte.
26 :header-rows: 0 26 :header-rows: 0
27 :stub-columns: 0 27 :stub-columns: 0
28 28
29 - .. row 1 29 * - start + 0:
30 30 - I'\ :sub:`0[7:0]`
31 - start + 0: 31 - I'\ :sub:`0[15:8]`
32 32 * - start + 2:
33 - I'\ :sub:`0[7:0]` 33 - Q'\ :sub:`0[7:0]`
34 34 - Q'\ :sub:`0[15:8]`
35 - I'\ :sub:`0[15:8]`
36
37 - .. row 2
38
39 - start + 2:
40
41 - Q'\ :sub:`0[7:0]`
42
43 - Q'\ :sub:`0[15:8]`
diff --git a/Documentation/media/uapi/v4l/pixfmt-sdr-ru12le.rst b/Documentation/media/uapi/v4l/pixfmt-sdr-ru12le.rst
index b5f0ca0f0c45..5e383382802f 100644
--- a/Documentation/media/uapi/v4l/pixfmt-sdr-ru12le.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-sdr-ru12le.rst
@@ -27,11 +27,6 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - I'\ :sub:`0[7:0]`
32 32 - I'\ :sub:`0[11:8]`
33 - start + 0:
34
35 - I'\ :sub:`0[7:0]`
36
37 - I'\ :sub:`0[11:8]`
diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb10.rst b/Documentation/media/uapi/v4l/pixfmt-srggb10.rst
index b145c75d19bc..af2538ce34e5 100644
--- a/Documentation/media/uapi/v4l/pixfmt-srggb10.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-srggb10.rst
@@ -38,83 +38,39 @@ are 0.
38 :header-rows: 0 38 :header-rows: 0
39 :stub-columns: 0 39 :stub-columns: 0
40 40
41 41 * - start + 0:
42 - .. row 1 42 - B\ :sub:`00low`
43 43 - B\ :sub:`00high`
44 - start + 0: 44 - G\ :sub:`01low`
45 45 - G\ :sub:`01high`
46 - B\ :sub:`00low` 46 - B\ :sub:`02low`
47 47 - B\ :sub:`02high`
48 - B\ :sub:`00high` 48 - G\ :sub:`03low`
49 49 - G\ :sub:`03high`
50 - G\ :sub:`01low` 50 * - start + 8:
51 51 - G\ :sub:`10low`
52 - G\ :sub:`01high` 52 - G\ :sub:`10high`
53 53 - R\ :sub:`11low`
54 - B\ :sub:`02low` 54 - R\ :sub:`11high`
55 55 - G\ :sub:`12low`
56 - B\ :sub:`02high` 56 - G\ :sub:`12high`
57 57 - R\ :sub:`13low`
58 - G\ :sub:`03low` 58 - R\ :sub:`13high`
59 59 * - start + 16:
60 - G\ :sub:`03high` 60 - B\ :sub:`20low`
61 61 - B\ :sub:`20high`
62 - .. row 2 62 - G\ :sub:`21low`
63 63 - G\ :sub:`21high`
64 - start + 8: 64 - B\ :sub:`22low`
65 65 - B\ :sub:`22high`
66 - G\ :sub:`10low` 66 - G\ :sub:`23low`
67 67 - G\ :sub:`23high`
68 - G\ :sub:`10high` 68 * - start + 24:
69 69 - G\ :sub:`30low`
70 - R\ :sub:`11low` 70 - G\ :sub:`30high`
71 71 - R\ :sub:`31low`
72 - R\ :sub:`11high` 72 - R\ :sub:`31high`
73 73 - G\ :sub:`32low`
74 - G\ :sub:`12low` 74 - G\ :sub:`32high`
75 75 - R\ :sub:`33low`
76 - G\ :sub:`12high` 76 - R\ :sub:`33high`
77
78 - R\ :sub:`13low`
79
80 - R\ :sub:`13high`
81
82 - .. row 3
83
84 - start + 16:
85
86 - B\ :sub:`20low`
87
88 - B\ :sub:`20high`
89
90 - G\ :sub:`21low`
91
92 - G\ :sub:`21high`
93
94 - B\ :sub:`22low`
95
96 - B\ :sub:`22high`
97
98 - G\ :sub:`23low`
99
100 - G\ :sub:`23high`
101
102 - .. row 4
103
104 - start + 24:
105
106 - G\ :sub:`30low`
107
108 - G\ :sub:`30high`
109
110 - R\ :sub:`31low`
111
112 - R\ :sub:`31high`
113
114 - G\ :sub:`32low`
115
116 - G\ :sub:`32high`
117
118 - R\ :sub:`33low`
119
120 - R\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb10p.rst b/Documentation/media/uapi/v4l/pixfmt-srggb10p.rst
index 80e345704ae7..9a41c8d811d0 100644
--- a/Documentation/media/uapi/v4l/pixfmt-srggb10p.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-srggb10p.rst
@@ -44,65 +44,34 @@ Each cell is one byte.
44 :stub-columns: 0 44 :stub-columns: 0
45 :widths: 12 8 8 8 8 68 45 :widths: 12 8 8 8 8 68
46 46
47 - .. row 1 47 * - start + 0:
48 48 - B\ :sub:`00high`
49 - start + 0: 49 - G\ :sub:`01high`
50 50 - B\ :sub:`02high`
51 - B\ :sub:`00high` 51 - G\ :sub:`03high`
52 52 - G\ :sub:`03low`\ (bits 7--6) B\ :sub:`02low`\ (bits 5--4)
53 - G\ :sub:`01high` 53 G\ :sub:`01low`\ (bits 3--2) B\ :sub:`00low`\ (bits 1--0)
54 54 * - start + 5:
55 - B\ :sub:`02high` 55 - G\ :sub:`10high`
56 56 - R\ :sub:`11high`
57 - G\ :sub:`03high` 57 - G\ :sub:`12high`
58 58 - R\ :sub:`13high`
59 - G\ :sub:`03low`\ (bits 7--6) B\ :sub:`02low`\ (bits 5--4) 59 - R\ :sub:`13low`\ (bits 7--6) G\ :sub:`12low`\ (bits 5--4)
60 G\ :sub:`01low`\ (bits 3--2) B\ :sub:`00low`\ (bits 1--0) 60 R\ :sub:`11low`\ (bits 3--2) G\ :sub:`10low`\ (bits 1--0)
61 61 * - start + 10:
62 - .. row 2 62 - B\ :sub:`20high`
63 63 - G\ :sub:`21high`
64 - start + 5: 64 - B\ :sub:`22high`
65 65 - G\ :sub:`23high`
66 - G\ :sub:`10high` 66 - G\ :sub:`23low`\ (bits 7--6) B\ :sub:`22low`\ (bits 5--4)
67 67 G\ :sub:`21low`\ (bits 3--2) B\ :sub:`20low`\ (bits 1--0)
68 - R\ :sub:`11high` 68 * - start + 15:
69 69 - G\ :sub:`30high`
70 - G\ :sub:`12high` 70 - R\ :sub:`31high`
71 71 - G\ :sub:`32high`
72 - R\ :sub:`13high` 72 - R\ :sub:`33high`
73 73 - R\ :sub:`33low`\ (bits 7--6) G\ :sub:`32low`\ (bits 5--4)
74 - R\ :sub:`13low`\ (bits 7--6) G\ :sub:`12low`\ (bits 5--4) 74 R\ :sub:`31low`\ (bits 3--2) G\ :sub:`30low`\ (bits 1--0)
75 R\ :sub:`11low`\ (bits 3--2) G\ :sub:`10low`\ (bits 1--0)
76
77 - .. row 3
78
79 - start + 10:
80
81 - B\ :sub:`20high`
82
83 - G\ :sub:`21high`
84
85 - B\ :sub:`22high`
86
87 - G\ :sub:`23high`
88
89 - G\ :sub:`23low`\ (bits 7--6) B\ :sub:`22low`\ (bits 5--4)
90 G\ :sub:`21low`\ (bits 3--2) B\ :sub:`20low`\ (bits 1--0)
91
92 - .. row 4
93
94 - start + 15:
95
96 - G\ :sub:`30high`
97
98 - R\ :sub:`31high`
99
100 - G\ :sub:`32high`
101
102 - R\ :sub:`33high`
103
104 - R\ :sub:`33low`\ (bits 7--6) G\ :sub:`32low`\ (bits 5--4)
105 R\ :sub:`31low`\ (bits 3--2) G\ :sub:`30low`\ (bits 1--0)
106 75
107.. raw:: latex 76.. raw:: latex
108 77
diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb12.rst b/Documentation/media/uapi/v4l/pixfmt-srggb12.rst
index 4776f3fb28f1..a50ee143cb08 100644
--- a/Documentation/media/uapi/v4l/pixfmt-srggb12.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-srggb12.rst
@@ -39,83 +39,39 @@ Each cell is one byte, the 4 most significant bits in the high bytes are
39 :header-rows: 0 39 :header-rows: 0
40 :stub-columns: 0 40 :stub-columns: 0
41 41
42 42 * - start + 0:
43 - .. row 1 43 - B\ :sub:`00low`
44 44 - B\ :sub:`00high`
45 - start + 0: 45 - G\ :sub:`01low`
46 46 - G\ :sub:`01high`
47 - B\ :sub:`00low` 47 - B\ :sub:`02low`
48 48 - B\ :sub:`02high`
49 - B\ :sub:`00high` 49 - G\ :sub:`03low`
50 50 - G\ :sub:`03high`
51 - G\ :sub:`01low` 51 * - start + 8:
52 52 - G\ :sub:`10low`
53 - G\ :sub:`01high` 53 - G\ :sub:`10high`
54 54 - R\ :sub:`11low`
55 - B\ :sub:`02low` 55 - R\ :sub:`11high`
56 56 - G\ :sub:`12low`
57 - B\ :sub:`02high` 57 - G\ :sub:`12high`
58 58 - R\ :sub:`13low`
59 - G\ :sub:`03low` 59 - R\ :sub:`13high`
60 60 * - start + 16:
61 - G\ :sub:`03high` 61 - B\ :sub:`20low`
62 62 - B\ :sub:`20high`
63 - .. row 2 63 - G\ :sub:`21low`
64 64 - G\ :sub:`21high`
65 - start + 8: 65 - B\ :sub:`22low`
66 66 - B\ :sub:`22high`
67 - G\ :sub:`10low` 67 - G\ :sub:`23low`
68 68 - G\ :sub:`23high`
69 - G\ :sub:`10high` 69 * - start + 24:
70 70 - G\ :sub:`30low`
71 - R\ :sub:`11low` 71 - G\ :sub:`30high`
72 72 - R\ :sub:`31low`
73 - R\ :sub:`11high` 73 - R\ :sub:`31high`
74 74 - G\ :sub:`32low`
75 - G\ :sub:`12low` 75 - G\ :sub:`32high`
76 76 - R\ :sub:`33low`
77 - G\ :sub:`12high` 77 - R\ :sub:`33high`
78
79 - R\ :sub:`13low`
80
81 - R\ :sub:`13high`
82
83 - .. row 3
84
85 - start + 16:
86
87 - B\ :sub:`20low`
88
89 - B\ :sub:`20high`
90
91 - G\ :sub:`21low`
92
93 - G\ :sub:`21high`
94
95 - B\ :sub:`22low`
96
97 - B\ :sub:`22high`
98
99 - G\ :sub:`23low`
100
101 - G\ :sub:`23high`
102
103 - .. row 4
104
105 - start + 24:
106
107 - G\ :sub:`30low`
108
109 - G\ :sub:`30high`
110
111 - R\ :sub:`31low`
112
113 - R\ :sub:`31high`
114
115 - G\ :sub:`32low`
116
117 - G\ :sub:`32high`
118
119 - R\ :sub:`33low`
120
121 - R\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-srggb8.rst b/Documentation/media/uapi/v4l/pixfmt-srggb8.rst
index 55a1751bfe87..a3987d2e97fd 100644
--- a/Documentation/media/uapi/v4l/pixfmt-srggb8.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-srggb8.rst
@@ -32,51 +32,23 @@ Each cell is one byte.
32 :header-rows: 0 32 :header-rows: 0
33 :stub-columns: 0 33 :stub-columns: 0
34 34
35 35 * - start + 0:
36 - .. row 1 36 - B\ :sub:`00`
37 37 - G\ :sub:`01`
38 - start + 0: 38 - B\ :sub:`02`
39 39 - G\ :sub:`03`
40 - B\ :sub:`00` 40 * - start + 4:
41 41 - G\ :sub:`10`
42 - G\ :sub:`01` 42 - R\ :sub:`11`
43 43 - G\ :sub:`12`
44 - B\ :sub:`02` 44 - R\ :sub:`13`
45 45 * - start + 8:
46 - G\ :sub:`03` 46 - B\ :sub:`20`
47 47 - G\ :sub:`21`
48 - .. row 2 48 - B\ :sub:`22`
49 49 - G\ :sub:`23`
50 - start + 4: 50 * - start + 12:
51 51 - G\ :sub:`30`
52 - G\ :sub:`10` 52 - R\ :sub:`31`
53 53 - G\ :sub:`32`
54 - R\ :sub:`11` 54 - R\ :sub:`33`
55
56 - G\ :sub:`12`
57
58 - R\ :sub:`13`
59
60 - .. row 3
61
62 - start + 8:
63
64 - B\ :sub:`20`
65
66 - G\ :sub:`21`
67
68 - B\ :sub:`22`
69
70 - G\ :sub:`23`
71
72 - .. row 4
73
74 - start + 12:
75
76 - G\ :sub:`30`
77
78 - R\ :sub:`31`
79
80 - G\ :sub:`32`
81
82 - R\ :sub:`33`
diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-td08.rst b/Documentation/media/uapi/v4l/pixfmt-tch-td08.rst
index e1d1b75454cd..07834cd1249e 100644
--- a/Documentation/media/uapi/v4l/pixfmt-tch-td08.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-tch-td08.rst
@@ -30,51 +30,23 @@ Each cell is one byte.
30 :stub-columns: 0 30 :stub-columns: 0
31 :widths: 2 1 1 1 1 31 :widths: 2 1 1 1 1
32 32
33 33 * - start + 0:
34 - .. row 1 34 - D'\ :sub:`00`
35 35 - D'\ :sub:`01`
36 - start + 0: 36 - D'\ :sub:`02`
37 37 - D'\ :sub:`03`
38 - D'\ :sub:`00` 38 * - start + 4:
39 39 - D'\ :sub:`10`
40 - D'\ :sub:`01` 40 - D'\ :sub:`11`
41 41 - D'\ :sub:`12`
42 - D'\ :sub:`02` 42 - D'\ :sub:`13`
43 43 * - start + 8:
44 - D'\ :sub:`03` 44 - D'\ :sub:`20`
45 45 - D'\ :sub:`21`
46 - .. row 2 46 - D'\ :sub:`22`
47 47 - D'\ :sub:`23`
48 - start + 4: 48 * - start + 12:
49 49 - D'\ :sub:`30`
50 - D'\ :sub:`10` 50 - D'\ :sub:`31`
51 51 - D'\ :sub:`32`
52 - D'\ :sub:`11` 52 - D'\ :sub:`33`
53
54 - D'\ :sub:`12`
55
56 - D'\ :sub:`13`
57
58 - .. row 3
59
60 - start + 8:
61
62 - D'\ :sub:`20`
63
64 - D'\ :sub:`21`
65
66 - D'\ :sub:`22`
67
68 - D'\ :sub:`23`
69
70 - .. row 4
71
72 - start + 12:
73
74 - D'\ :sub:`30`
75
76 - D'\ :sub:`31`
77
78 - D'\ :sub:`32`
79
80 - D'\ :sub:`33`
diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-td16.rst b/Documentation/media/uapi/v4l/pixfmt-tch-td16.rst
index dfbbc405f889..29ebcf40a989 100644
--- a/Documentation/media/uapi/v4l/pixfmt-tch-td16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-tch-td16.rst
@@ -29,83 +29,39 @@ Each cell is one byte.
29 :stub-columns: 0 29 :stub-columns: 0
30 :widths: 2 1 1 1 1 1 1 1 1 30 :widths: 2 1 1 1 1 1 1 1 1
31 31
32 32 * - start + 0:
33 - .. row 1 33 - D'\ :sub:`00high`
34 34 - D'\ :sub:`00low`
35 - start + 0: 35 - D'\ :sub:`01high`
36 36 - D'\ :sub:`01low`
37 - D'\ :sub:`00high` 37 - D'\ :sub:`02high`
38 38 - D'\ :sub:`02low`
39 - D'\ :sub:`00low` 39 - D'\ :sub:`03high`
40 40 - D'\ :sub:`03low`
41 - D'\ :sub:`01high` 41 * - start + 8:
42 42 - D'\ :sub:`10high`
43 - D'\ :sub:`01low` 43 - D'\ :sub:`10low`
44 44 - D'\ :sub:`11high`
45 - D'\ :sub:`02high` 45 - D'\ :sub:`11low`
46 46 - D'\ :sub:`12high`
47 - D'\ :sub:`02low` 47 - D'\ :sub:`12low`
48 48 - D'\ :sub:`13high`
49 - D'\ :sub:`03high` 49 - D'\ :sub:`13low`
50 50 * - start + 16:
51 - D'\ :sub:`03low` 51 - D'\ :sub:`20high`
52 52 - D'\ :sub:`20low`
53 - .. row 2 53 - D'\ :sub:`21high`
54 54 - D'\ :sub:`21low`
55 - start + 8: 55 - D'\ :sub:`22high`
56 56 - D'\ :sub:`22low`
57 - D'\ :sub:`10high` 57 - D'\ :sub:`23high`
58 58 - D'\ :sub:`23low`
59 - D'\ :sub:`10low` 59 * - start + 24:
60 60 - D'\ :sub:`30high`
61 - D'\ :sub:`11high` 61 - D'\ :sub:`30low`
62 62 - D'\ :sub:`31high`
63 - D'\ :sub:`11low` 63 - D'\ :sub:`31low`
64 64 - D'\ :sub:`32high`
65 - D'\ :sub:`12high` 65 - D'\ :sub:`32low`
66 66 - D'\ :sub:`33high`
67 - D'\ :sub:`12low` 67 - D'\ :sub:`33low`
68
69 - D'\ :sub:`13high`
70
71 - D'\ :sub:`13low`
72
73 - .. row 3
74
75 - start + 16:
76
77 - D'\ :sub:`20high`
78
79 - D'\ :sub:`20low`
80
81 - D'\ :sub:`21high`
82
83 - D'\ :sub:`21low`
84
85 - D'\ :sub:`22high`
86
87 - D'\ :sub:`22low`
88
89 - D'\ :sub:`23high`
90
91 - D'\ :sub:`23low`
92
93 - .. row 4
94
95 - start + 24:
96
97 - D'\ :sub:`30high`
98
99 - D'\ :sub:`30low`
100
101 - D'\ :sub:`31high`
102
103 - D'\ :sub:`31low`
104
105 - D'\ :sub:`32high`
106
107 - D'\ :sub:`32low`
108
109 - D'\ :sub:`33high`
110
111 - D'\ :sub:`33low`
diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst b/Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst
index 18408afe39f5..e7fb7ddd191b 100644
--- a/Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-tch-tu08.rst
@@ -28,51 +28,23 @@ Each cell is one byte.
28 :stub-columns: 0 28 :stub-columns: 0
29 :widths: 2 1 1 1 1 29 :widths: 2 1 1 1 1
30 30
31 31 * - start + 0:
32 - .. row 1 32 - R'\ :sub:`00`
33 33 - R'\ :sub:`01`
34 - start + 0: 34 - R'\ :sub:`02`
35 35 - R'\ :sub:`03`
36 - R'\ :sub:`00` 36 * - start + 4:
37 37 - R'\ :sub:`10`
38 - R'\ :sub:`01` 38 - R'\ :sub:`11`
39 39 - R'\ :sub:`12`
40 - R'\ :sub:`02` 40 - R'\ :sub:`13`
41 41 * - start + 8:
42 - R'\ :sub:`03` 42 - R'\ :sub:`20`
43 43 - R'\ :sub:`21`
44 - .. row 2 44 - R'\ :sub:`22`
45 45 - R'\ :sub:`23`
46 - start + 4: 46 * - start + 12:
47 47 - R'\ :sub:`30`
48 - R'\ :sub:`10` 48 - R'\ :sub:`31`
49 49 - R'\ :sub:`32`
50 - R'\ :sub:`11` 50 - R'\ :sub:`33`
51
52 - R'\ :sub:`12`
53
54 - R'\ :sub:`13`
55
56 - .. row 3
57
58 - start + 8:
59
60 - R'\ :sub:`20`
61
62 - R'\ :sub:`21`
63
64 - R'\ :sub:`22`
65
66 - R'\ :sub:`23`
67
68 - .. row 4
69
70 - start + 12:
71
72 - R'\ :sub:`30`
73
74 - R'\ :sub:`31`
75
76 - R'\ :sub:`32`
77
78 - R'\ :sub:`33`
diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst b/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
index 67be13d9e550..1588fcc3f1e7 100644
--- a/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
@@ -28,83 +28,39 @@ Each cell is one byte.
28 :stub-columns: 0 28 :stub-columns: 0
29 :widths: 2 1 1 1 1 1 1 1 1 29 :widths: 2 1 1 1 1 1 1 1 1
30 30
31 31 * - start + 0:
32 - .. row 1 32 - R'\ :sub:`00high`
33 33 - R'\ :sub:`00low`
34 - start + 0: 34 - R'\ :sub:`01high`
35 35 - R'\ :sub:`01low`
36 - R'\ :sub:`00high` 36 - R'\ :sub:`02high`
37 37 - R'\ :sub:`02low`
38 - R'\ :sub:`00low` 38 - R'\ :sub:`03high`
39 39 - R'\ :sub:`03low`
40 - R'\ :sub:`01high` 40 * - start + 8:
41 41 - R'\ :sub:`10high`
42 - R'\ :sub:`01low` 42 - R'\ :sub:`10low`
43 43 - R'\ :sub:`11high`
44 - R'\ :sub:`02high` 44 - R'\ :sub:`11low`
45 45 - R'\ :sub:`12high`
46 - R'\ :sub:`02low` 46 - R'\ :sub:`12low`
47 47 - R'\ :sub:`13high`
48 - R'\ :sub:`03high` 48 - R'\ :sub:`13low`
49 49 * - start + 16:
50 - R'\ :sub:`03low` 50 - R'\ :sub:`20high`
51 51 - R'\ :sub:`20low`
52 - .. row 2 52 - R'\ :sub:`21high`
53 53 - R'\ :sub:`21low`
54 - start + 8: 54 - R'\ :sub:`22high`
55 55 - R'\ :sub:`22low`
56 - R'\ :sub:`10high` 56 - R'\ :sub:`23high`
57 57 - R'\ :sub:`23low`
58 - R'\ :sub:`10low` 58 * - start + 24:
59 59 - R'\ :sub:`30high`
60 - R'\ :sub:`11high` 60 - R'\ :sub:`30low`
61 61 - R'\ :sub:`31high`
62 - R'\ :sub:`11low` 62 - R'\ :sub:`31low`
63 63 - R'\ :sub:`32high`
64 - R'\ :sub:`12high` 64 - R'\ :sub:`32low`
65 65 - R'\ :sub:`33high`
66 - R'\ :sub:`12low` 66 - R'\ :sub:`33low`
67
68 - R'\ :sub:`13high`
69
70 - R'\ :sub:`13low`
71
72 - .. row 3
73
74 - start + 16:
75
76 - R'\ :sub:`20high`
77
78 - R'\ :sub:`20low`
79
80 - R'\ :sub:`21high`
81
82 - R'\ :sub:`21low`
83
84 - R'\ :sub:`22high`
85
86 - R'\ :sub:`22low`
87
88 - R'\ :sub:`23high`
89
90 - R'\ :sub:`23low`
91
92 - .. row 4
93
94 - start + 24:
95
96 - R'\ :sub:`30high`
97
98 - R'\ :sub:`30low`
99
100 - R'\ :sub:`31high`
101
102 - R'\ :sub:`31low`
103
104 - R'\ :sub:`32high`
105
106 - R'\ :sub:`32low`
107
108 - R'\ :sub:`33high`
109
110 - R'\ :sub:`33low`
diff --git a/Documentation/media/uapi/v4l/pixfmt-uv8.rst b/Documentation/media/uapi/v4l/pixfmt-uv8.rst
index 8c4ebbf79ca0..c449231b51bb 100644
--- a/Documentation/media/uapi/v4l/pixfmt-uv8.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-uv8.rst
@@ -25,51 +25,23 @@ Each cell is one byte.
25 :header-rows: 0 25 :header-rows: 0
26 :stub-columns: 0 26 :stub-columns: 0
27 27
28 28 * - start + 0:
29 - .. row 1 29 - Cb\ :sub:`00`
30 30 - Cr\ :sub:`00`
31 - start + 0: 31 - Cb\ :sub:`01`
32 32 - Cr\ :sub:`01`
33 - Cb\ :sub:`00` 33 * - start + 4:
34 34 - Cb\ :sub:`10`
35 - Cr\ :sub:`00` 35 - Cr\ :sub:`10`
36 36 - Cb\ :sub:`11`
37 - Cb\ :sub:`01` 37 - Cr\ :sub:`11`
38 38 * - start + 8:
39 - Cr\ :sub:`01` 39 - Cb\ :sub:`20`
40 40 - Cr\ :sub:`20`
41 - .. row 2 41 - Cb\ :sub:`21`
42 42 - Cr\ :sub:`21`
43 - start + 4: 43 * - start + 12:
44 44 - Cb\ :sub:`30`
45 - Cb\ :sub:`10` 45 - Cr\ :sub:`30`
46 46 - Cb\ :sub:`31`
47 - Cr\ :sub:`10` 47 - Cr\ :sub:`31`
48
49 - Cb\ :sub:`11`
50
51 - Cr\ :sub:`11`
52
53 - .. row 3
54
55 - start + 8:
56
57 - Cb\ :sub:`20`
58
59 - Cr\ :sub:`20`
60
61 - Cb\ :sub:`21`
62
63 - Cr\ :sub:`21`
64
65 - .. row 4
66
67 - start + 12:
68
69 - Cb\ :sub:`30`
70
71 - Cr\ :sub:`30`
72
73 - Cb\ :sub:`31`
74
75 - Cr\ :sub:`31`
diff --git a/Documentation/media/uapi/v4l/pixfmt-uyvy.rst b/Documentation/media/uapi/v4l/pixfmt-uyvy.rst
index ed8ccf52b1db..30660e04dd0e 100644
--- a/Documentation/media/uapi/v4l/pixfmt-uyvy.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-uyvy.rst
@@ -27,86 +27,42 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - Cb\ :sub:`00`
32 32 - Y'\ :sub:`00`
33 - start + 0: 33 - Cr\ :sub:`00`
34 34 - Y'\ :sub:`01`
35 - Cb\ :sub:`00` 35 - Cb\ :sub:`01`
36 36 - Y'\ :sub:`02`
37 - Y'\ :sub:`00` 37 - Cr\ :sub:`01`
38 38 - Y'\ :sub:`03`
39 - Cr\ :sub:`00` 39 * - start + 8:
40 40 - Cb\ :sub:`10`
41 - Y'\ :sub:`01` 41 - Y'\ :sub:`10`
42 42 - Cr\ :sub:`10`
43 - Cb\ :sub:`01` 43 - Y'\ :sub:`11`
44 44 - Cb\ :sub:`11`
45 - Y'\ :sub:`02` 45 - Y'\ :sub:`12`
46 46 - Cr\ :sub:`11`
47 - Cr\ :sub:`01` 47 - Y'\ :sub:`13`
48 48 * - start + 16:
49 - Y'\ :sub:`03` 49 - Cb\ :sub:`20`
50 50 - Y'\ :sub:`20`
51 - .. row 2 51 - Cr\ :sub:`20`
52 52 - Y'\ :sub:`21`
53 - start + 8: 53 - Cb\ :sub:`21`
54 54 - Y'\ :sub:`22`
55 - Cb\ :sub:`10` 55 - Cr\ :sub:`21`
56 56 - Y'\ :sub:`23`
57 - Y'\ :sub:`10` 57 * - start + 24:
58 58 - Cb\ :sub:`30`
59 - Cr\ :sub:`10` 59 - Y'\ :sub:`30`
60 60 - Cr\ :sub:`30`
61 - Y'\ :sub:`11` 61 - Y'\ :sub:`31`
62 62 - Cb\ :sub:`31`
63 - Cb\ :sub:`11` 63 - Y'\ :sub:`32`
64 64 - Cr\ :sub:`31`
65 - Y'\ :sub:`12` 65 - Y'\ :sub:`33`
66
67 - Cr\ :sub:`11`
68
69 - Y'\ :sub:`13`
70
71 - .. row 3
72
73 - start + 16:
74
75 - Cb\ :sub:`20`
76
77 - Y'\ :sub:`20`
78
79 - Cr\ :sub:`20`
80
81 - Y'\ :sub:`21`
82
83 - Cb\ :sub:`21`
84
85 - Y'\ :sub:`22`
86
87 - Cr\ :sub:`21`
88
89 - Y'\ :sub:`23`
90
91 - .. row 4
92
93 - start + 24:
94
95 - Cb\ :sub:`30`
96
97 - Y'\ :sub:`30`
98
99 - Cr\ :sub:`30`
100
101 - Y'\ :sub:`31`
102
103 - Cb\ :sub:`31`
104
105 - Y'\ :sub:`32`
106
107 - Cr\ :sub:`31`
108
109 - Y'\ :sub:`33`
110 66
111 67
112**Color Sample Location..** 68**Color Sample Location..**
@@ -117,80 +73,38 @@ Each cell is one byte.
117 :header-rows: 0 73 :header-rows: 0
118 :stub-columns: 0 74 :stub-columns: 0
119 75
120 76 * -
121 - .. row 1 77 - 0
122 78 -
123 - 79 - 1
124 - 0 80 - 2
125 81 -
126 - 82 - 3
127 - 1 83 * - 0
128 84 - Y
129 - 2 85 - C
130 86 - Y
131 - 87 - Y
132 - 3 88 - C
133 89 - Y
134 - .. row 2 90 * - 1
135 91 - Y
136 - 0 92 - C
137 93 - Y
138 - Y 94 - Y
139 95 - C
140 - C 96 - Y
141 97 * - 2
142 - Y 98 - Y
143 99 - C
144 - Y 100 - Y
145 101 - Y
146 - C 102 - C
147 103 - Y
148 - Y 104 * - 3
149 105 - Y
150 - .. row 3 106 - C
151 107 - Y
152 - 1 108 - Y
153 109 - C
154 - Y 110 - Y
155
156 - C
157
158 - Y
159
160 - Y
161
162 - C
163
164 - Y
165
166 - .. row 4
167
168 - 2
169
170 - Y
171
172 - C
173
174 - Y
175
176 - Y
177
178 - C
179
180 - Y
181
182 - .. row 5
183
184 - 3
185
186 - Y
187
188 - C
189
190 - Y
191
192 - Y
193
194 - C
195
196 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-vyuy.rst b/Documentation/media/uapi/v4l/pixfmt-vyuy.rst
index d62c1ac4ed08..a3f61f280b94 100644
--- a/Documentation/media/uapi/v4l/pixfmt-vyuy.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-vyuy.rst
@@ -27,86 +27,42 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - Cr\ :sub:`00`
32 32 - Y'\ :sub:`00`
33 - start + 0: 33 - Cb\ :sub:`00`
34 34 - Y'\ :sub:`01`
35 - Cr\ :sub:`00` 35 - Cr\ :sub:`01`
36 36 - Y'\ :sub:`02`
37 - Y'\ :sub:`00` 37 - Cb\ :sub:`01`
38 38 - Y'\ :sub:`03`
39 - Cb\ :sub:`00` 39 * - start + 8:
40 40 - Cr\ :sub:`10`
41 - Y'\ :sub:`01` 41 - Y'\ :sub:`10`
42 42 - Cb\ :sub:`10`
43 - Cr\ :sub:`01` 43 - Y'\ :sub:`11`
44 44 - Cr\ :sub:`11`
45 - Y'\ :sub:`02` 45 - Y'\ :sub:`12`
46 46 - Cb\ :sub:`11`
47 - Cb\ :sub:`01` 47 - Y'\ :sub:`13`
48 48 * - start + 16:
49 - Y'\ :sub:`03` 49 - Cr\ :sub:`20`
50 50 - Y'\ :sub:`20`
51 - .. row 2 51 - Cb\ :sub:`20`
52 52 - Y'\ :sub:`21`
53 - start + 8: 53 - Cr\ :sub:`21`
54 54 - Y'\ :sub:`22`
55 - Cr\ :sub:`10` 55 - Cb\ :sub:`21`
56 56 - Y'\ :sub:`23`
57 - Y'\ :sub:`10` 57 * - start + 24:
58 58 - Cr\ :sub:`30`
59 - Cb\ :sub:`10` 59 - Y'\ :sub:`30`
60 60 - Cb\ :sub:`30`
61 - Y'\ :sub:`11` 61 - Y'\ :sub:`31`
62 62 - Cr\ :sub:`31`
63 - Cr\ :sub:`11` 63 - Y'\ :sub:`32`
64 64 - Cb\ :sub:`31`
65 - Y'\ :sub:`12` 65 - Y'\ :sub:`33`
66
67 - Cb\ :sub:`11`
68
69 - Y'\ :sub:`13`
70
71 - .. row 3
72
73 - start + 16:
74
75 - Cr\ :sub:`20`
76
77 - Y'\ :sub:`20`
78
79 - Cb\ :sub:`20`
80
81 - Y'\ :sub:`21`
82
83 - Cr\ :sub:`21`
84
85 - Y'\ :sub:`22`
86
87 - Cb\ :sub:`21`
88
89 - Y'\ :sub:`23`
90
91 - .. row 4
92
93 - start + 24:
94
95 - Cr\ :sub:`30`
96
97 - Y'\ :sub:`30`
98
99 - Cb\ :sub:`30`
100
101 - Y'\ :sub:`31`
102
103 - Cr\ :sub:`31`
104
105 - Y'\ :sub:`32`
106
107 - Cb\ :sub:`31`
108
109 - Y'\ :sub:`33`
110 66
111 67
112**Color Sample Location..** 68**Color Sample Location..**
@@ -115,80 +71,38 @@ Each cell is one byte.
115 :header-rows: 0 71 :header-rows: 0
116 :stub-columns: 0 72 :stub-columns: 0
117 73
118 74 * -
119 - .. row 1 75 - 0
120 76 -
121 - 77 - 1
122 - 0 78 -
123 79 - 2
124 - 80 - 3
125 - 1 81 * - 0
126 82 - Y
127 - 83 - C
128 - 2 84 - Y
129 85 - Y
130 - 3 86 - C
131 87 - Y
132 - .. row 2 88 * - 1
133 89 - Y
134 - 0 90 - C
135 91 - Y
136 - Y 92 - Y
137 93 - C
138 - C 94 - Y
139 95 * - 2
140 - Y 96 - Y
141 97 - C
142 - Y 98 - Y
143 99 - Y
144 - C 100 - C
145 101 - Y
146 - Y 102 * - 3
147 103 - Y
148 - .. row 3 104 - C
149 105 - Y
150 - 1 106 - Y
151 107 - C
152 - Y 108 - Y
153
154 - C
155
156 - Y
157
158 - Y
159
160 - C
161
162 - Y
163
164 - .. row 4
165
166 - 2
167
168 - Y
169
170 - C
171
172 - Y
173
174 - Y
175
176 - C
177
178 - Y
179
180 - .. row 5
181
182 - 3
183
184 - Y
185
186 - C
187
188 - Y
189
190 - Y
191
192 - C
193
194 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-y10.rst b/Documentation/media/uapi/v4l/pixfmt-y10.rst
index cb78e365a84c..89e22899cd81 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y10.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y10.rst
@@ -27,83 +27,39 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - Y'\ :sub:`00low`
32 32 - Y'\ :sub:`00high`
33 - start + 0: 33 - Y'\ :sub:`01low`
34 34 - Y'\ :sub:`01high`
35 - Y'\ :sub:`00low` 35 - Y'\ :sub:`02low`
36 36 - Y'\ :sub:`02high`
37 - Y'\ :sub:`00high` 37 - Y'\ :sub:`03low`
38 38 - Y'\ :sub:`03high`
39 - Y'\ :sub:`01low` 39 * - start + 8:
40 40 - Y'\ :sub:`10low`
41 - Y'\ :sub:`01high` 41 - Y'\ :sub:`10high`
42 42 - Y'\ :sub:`11low`
43 - Y'\ :sub:`02low` 43 - Y'\ :sub:`11high`
44 44 - Y'\ :sub:`12low`
45 - Y'\ :sub:`02high` 45 - Y'\ :sub:`12high`
46 46 - Y'\ :sub:`13low`
47 - Y'\ :sub:`03low` 47 - Y'\ :sub:`13high`
48 48 * - start + 16:
49 - Y'\ :sub:`03high` 49 - Y'\ :sub:`20low`
50 50 - Y'\ :sub:`20high`
51 - .. row 2 51 - Y'\ :sub:`21low`
52 52 - Y'\ :sub:`21high`
53 - start + 8: 53 - Y'\ :sub:`22low`
54 54 - Y'\ :sub:`22high`
55 - Y'\ :sub:`10low` 55 - Y'\ :sub:`23low`
56 56 - Y'\ :sub:`23high`
57 - Y'\ :sub:`10high` 57 * - start + 24:
58 58 - Y'\ :sub:`30low`
59 - Y'\ :sub:`11low` 59 - Y'\ :sub:`30high`
60 60 - Y'\ :sub:`31low`
61 - Y'\ :sub:`11high` 61 - Y'\ :sub:`31high`
62 62 - Y'\ :sub:`32low`
63 - Y'\ :sub:`12low` 63 - Y'\ :sub:`32high`
64 64 - Y'\ :sub:`33low`
65 - Y'\ :sub:`12high` 65 - Y'\ :sub:`33high`
66
67 - Y'\ :sub:`13low`
68
69 - Y'\ :sub:`13high`
70
71 - .. row 3
72
73 - start + 16:
74
75 - Y'\ :sub:`20low`
76
77 - Y'\ :sub:`20high`
78
79 - Y'\ :sub:`21low`
80
81 - Y'\ :sub:`21high`
82
83 - Y'\ :sub:`22low`
84
85 - Y'\ :sub:`22high`
86
87 - Y'\ :sub:`23low`
88
89 - Y'\ :sub:`23high`
90
91 - .. row 4
92
93 - start + 24:
94
95 - Y'\ :sub:`30low`
96
97 - Y'\ :sub:`30high`
98
99 - Y'\ :sub:`31low`
100
101 - Y'\ :sub:`31high`
102
103 - Y'\ :sub:`32low`
104
105 - Y'\ :sub:`32high`
106
107 - Y'\ :sub:`33low`
108
109 - Y'\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y10b.rst b/Documentation/media/uapi/v4l/pixfmt-y10b.rst
index e89850bfef58..9feddf3ae07b 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y10b.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y10b.rst
@@ -26,14 +26,8 @@ pixels.
26 :header-rows: 0 26 :header-rows: 0
27 :stub-columns: 0 27 :stub-columns: 0
28 28
29 - .. row 1 29 * - Y'\ :sub:`00[9:2]`
30 30 - Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]`
31 - Y'\ :sub:`00[9:2]` 31 - Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]`
32 32 - Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`
33 - Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]` 33 - Y'\ :sub:`03[7:0]`
34
35 - Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]`
36
37 - Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`
38
39 - Y'\ :sub:`03[7:0]`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y12.rst b/Documentation/media/uapi/v4l/pixfmt-y12.rst
index 0958e87b6d22..0f230713290b 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y12.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y12.rst
@@ -27,83 +27,39 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - Y'\ :sub:`00low`
32 32 - Y'\ :sub:`00high`
33 - start + 0: 33 - Y'\ :sub:`01low`
34 34 - Y'\ :sub:`01high`
35 - Y'\ :sub:`00low` 35 - Y'\ :sub:`02low`
36 36 - Y'\ :sub:`02high`
37 - Y'\ :sub:`00high` 37 - Y'\ :sub:`03low`
38 38 - Y'\ :sub:`03high`
39 - Y'\ :sub:`01low` 39 * - start + 8:
40 40 - Y'\ :sub:`10low`
41 - Y'\ :sub:`01high` 41 - Y'\ :sub:`10high`
42 42 - Y'\ :sub:`11low`
43 - Y'\ :sub:`02low` 43 - Y'\ :sub:`11high`
44 44 - Y'\ :sub:`12low`
45 - Y'\ :sub:`02high` 45 - Y'\ :sub:`12high`
46 46 - Y'\ :sub:`13low`
47 - Y'\ :sub:`03low` 47 - Y'\ :sub:`13high`
48 48 * - start + 16:
49 - Y'\ :sub:`03high` 49 - Y'\ :sub:`20low`
50 50 - Y'\ :sub:`20high`
51 - .. row 2 51 - Y'\ :sub:`21low`
52 52 - Y'\ :sub:`21high`
53 - start + 8: 53 - Y'\ :sub:`22low`
54 54 - Y'\ :sub:`22high`
55 - Y'\ :sub:`10low` 55 - Y'\ :sub:`23low`
56 56 - Y'\ :sub:`23high`
57 - Y'\ :sub:`10high` 57 * - start + 24:
58 58 - Y'\ :sub:`30low`
59 - Y'\ :sub:`11low` 59 - Y'\ :sub:`30high`
60 60 - Y'\ :sub:`31low`
61 - Y'\ :sub:`11high` 61 - Y'\ :sub:`31high`
62 62 - Y'\ :sub:`32low`
63 - Y'\ :sub:`12low` 63 - Y'\ :sub:`32high`
64 64 - Y'\ :sub:`33low`
65 - Y'\ :sub:`12high` 65 - Y'\ :sub:`33high`
66
67 - Y'\ :sub:`13low`
68
69 - Y'\ :sub:`13high`
70
71 - .. row 3
72
73 - start + 16:
74
75 - Y'\ :sub:`20low`
76
77 - Y'\ :sub:`20high`
78
79 - Y'\ :sub:`21low`
80
81 - Y'\ :sub:`21high`
82
83 - Y'\ :sub:`22low`
84
85 - Y'\ :sub:`22high`
86
87 - Y'\ :sub:`23low`
88
89 - Y'\ :sub:`23high`
90
91 - .. row 4
92
93 - start + 24:
94
95 - Y'\ :sub:`30low`
96
97 - Y'\ :sub:`30high`
98
99 - Y'\ :sub:`31low`
100
101 - Y'\ :sub:`31high`
102
103 - Y'\ :sub:`32low`
104
105 - Y'\ :sub:`32high`
106
107 - Y'\ :sub:`33low`
108
109 - Y'\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y12i.rst b/Documentation/media/uapi/v4l/pixfmt-y12i.rst
index e66d8bcdb410..bb39a2463564 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y12i.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y12i.rst
@@ -31,11 +31,6 @@ interleaved pixel.
31 :header-rows: 0 31 :header-rows: 0
32 :stub-columns: 0 32 :stub-columns: 0
33 33
34 34 * - Y'\ :sub:`0left[7:0]`
35 - .. row 1 35 - Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]`
36 36 - Y'\ :sub:`0right[11:4]`
37 - Y'\ :sub:`0left[7:0]`
38
39 - Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]`
40
41 - Y'\ :sub:`0right[11:4]`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y16-be.rst b/Documentation/media/uapi/v4l/pixfmt-y16-be.rst
index fc23c6b12193..54ce35ef84b7 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y16-be.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y16-be.rst
@@ -31,83 +31,39 @@ Each cell is one byte.
31 :header-rows: 0 31 :header-rows: 0
32 :stub-columns: 0 32 :stub-columns: 0
33 33
34 34 * - start + 0:
35 - .. row 1 35 - Y'\ :sub:`00high`
36 36 - Y'\ :sub:`00low`
37 - start + 0: 37 - Y'\ :sub:`01high`
38 38 - Y'\ :sub:`01low`
39 - Y'\ :sub:`00high` 39 - Y'\ :sub:`02high`
40 40 - Y'\ :sub:`02low`
41 - Y'\ :sub:`00low` 41 - Y'\ :sub:`03high`
42 42 - Y'\ :sub:`03low`
43 - Y'\ :sub:`01high` 43 * - start + 8:
44 44 - Y'\ :sub:`10high`
45 - Y'\ :sub:`01low` 45 - Y'\ :sub:`10low`
46 46 - Y'\ :sub:`11high`
47 - Y'\ :sub:`02high` 47 - Y'\ :sub:`11low`
48 48 - Y'\ :sub:`12high`
49 - Y'\ :sub:`02low` 49 - Y'\ :sub:`12low`
50 50 - Y'\ :sub:`13high`
51 - Y'\ :sub:`03high` 51 - Y'\ :sub:`13low`
52 52 * - start + 16:
53 - Y'\ :sub:`03low` 53 - Y'\ :sub:`20high`
54 54 - Y'\ :sub:`20low`
55 - .. row 2 55 - Y'\ :sub:`21high`
56 56 - Y'\ :sub:`21low`
57 - start + 8: 57 - Y'\ :sub:`22high`
58 58 - Y'\ :sub:`22low`
59 - Y'\ :sub:`10high` 59 - Y'\ :sub:`23high`
60 60 - Y'\ :sub:`23low`
61 - Y'\ :sub:`10low` 61 * - start + 24:
62 62 - Y'\ :sub:`30high`
63 - Y'\ :sub:`11high` 63 - Y'\ :sub:`30low`
64 64 - Y'\ :sub:`31high`
65 - Y'\ :sub:`11low` 65 - Y'\ :sub:`31low`
66 66 - Y'\ :sub:`32high`
67 - Y'\ :sub:`12high` 67 - Y'\ :sub:`32low`
68 68 - Y'\ :sub:`33high`
69 - Y'\ :sub:`12low` 69 - Y'\ :sub:`33low`
70
71 - Y'\ :sub:`13high`
72
73 - Y'\ :sub:`13low`
74
75 - .. row 3
76
77 - start + 16:
78
79 - Y'\ :sub:`20high`
80
81 - Y'\ :sub:`20low`
82
83 - Y'\ :sub:`21high`
84
85 - Y'\ :sub:`21low`
86
87 - Y'\ :sub:`22high`
88
89 - Y'\ :sub:`22low`
90
91 - Y'\ :sub:`23high`
92
93 - Y'\ :sub:`23low`
94
95 - .. row 4
96
97 - start + 24:
98
99 - Y'\ :sub:`30high`
100
101 - Y'\ :sub:`30low`
102
103 - Y'\ :sub:`31high`
104
105 - Y'\ :sub:`31low`
106
107 - Y'\ :sub:`32high`
108
109 - Y'\ :sub:`32low`
110
111 - Y'\ :sub:`33high`
112
113 - Y'\ :sub:`33low`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y16.rst b/Documentation/media/uapi/v4l/pixfmt-y16.rst
index 6b4edc4e34e5..bcbd52de3aca 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y16.rst
@@ -31,83 +31,39 @@ Each cell is one byte.
31 :header-rows: 0 31 :header-rows: 0
32 :stub-columns: 0 32 :stub-columns: 0
33 33
34 34 * - start + 0:
35 - .. row 1 35 - Y'\ :sub:`00low`
36 36 - Y'\ :sub:`00high`
37 - start + 0: 37 - Y'\ :sub:`01low`
38 38 - Y'\ :sub:`01high`
39 - Y'\ :sub:`00low` 39 - Y'\ :sub:`02low`
40 40 - Y'\ :sub:`02high`
41 - Y'\ :sub:`00high` 41 - Y'\ :sub:`03low`
42 42 - Y'\ :sub:`03high`
43 - Y'\ :sub:`01low` 43 * - start + 8:
44 44 - Y'\ :sub:`10low`
45 - Y'\ :sub:`01high` 45 - Y'\ :sub:`10high`
46 46 - Y'\ :sub:`11low`
47 - Y'\ :sub:`02low` 47 - Y'\ :sub:`11high`
48 48 - Y'\ :sub:`12low`
49 - Y'\ :sub:`02high` 49 - Y'\ :sub:`12high`
50 50 - Y'\ :sub:`13low`
51 - Y'\ :sub:`03low` 51 - Y'\ :sub:`13high`
52 52 * - start + 16:
53 - Y'\ :sub:`03high` 53 - Y'\ :sub:`20low`
54 54 - Y'\ :sub:`20high`
55 - .. row 2 55 - Y'\ :sub:`21low`
56 56 - Y'\ :sub:`21high`
57 - start + 8: 57 - Y'\ :sub:`22low`
58 58 - Y'\ :sub:`22high`
59 - Y'\ :sub:`10low` 59 - Y'\ :sub:`23low`
60 60 - Y'\ :sub:`23high`
61 - Y'\ :sub:`10high` 61 * - start + 24:
62 62 - Y'\ :sub:`30low`
63 - Y'\ :sub:`11low` 63 - Y'\ :sub:`30high`
64 64 - Y'\ :sub:`31low`
65 - Y'\ :sub:`11high` 65 - Y'\ :sub:`31high`
66 66 - Y'\ :sub:`32low`
67 - Y'\ :sub:`12low` 67 - Y'\ :sub:`32high`
68 68 - Y'\ :sub:`33low`
69 - Y'\ :sub:`12high` 69 - Y'\ :sub:`33high`
70
71 - Y'\ :sub:`13low`
72
73 - Y'\ :sub:`13high`
74
75 - .. row 3
76
77 - start + 16:
78
79 - Y'\ :sub:`20low`
80
81 - Y'\ :sub:`20high`
82
83 - Y'\ :sub:`21low`
84
85 - Y'\ :sub:`21high`
86
87 - Y'\ :sub:`22low`
88
89 - Y'\ :sub:`22high`
90
91 - Y'\ :sub:`23low`
92
93 - Y'\ :sub:`23high`
94
95 - .. row 4
96
97 - start + 24:
98
99 - Y'\ :sub:`30low`
100
101 - Y'\ :sub:`30high`
102
103 - Y'\ :sub:`31low`
104
105 - Y'\ :sub:`31high`
106
107 - Y'\ :sub:`32low`
108
109 - Y'\ :sub:`32high`
110
111 - Y'\ :sub:`33low`
112
113 - Y'\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/pixfmt-y41p.rst b/Documentation/media/uapi/v4l/pixfmt-y41p.rst
index 9c3194bbf77e..05d040c46a47 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y41p.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y41p.rst
@@ -34,118 +34,58 @@ Each cell is one byte.
34 :header-rows: 0 34 :header-rows: 0
35 :stub-columns: 0 35 :stub-columns: 0
36 36
37 37 * - start + 0:
38 - .. row 1 38 - Cb\ :sub:`00`
39 39 - Y'\ :sub:`00`
40 - start + 0: 40 - Cr\ :sub:`00`
41 41 - Y'\ :sub:`01`
42 - Cb\ :sub:`00` 42 - Cb\ :sub:`01`
43 43 - Y'\ :sub:`02`
44 - Y'\ :sub:`00` 44 - Cr\ :sub:`01`
45 45 - Y'\ :sub:`03`
46 - Cr\ :sub:`00` 46 - Y'\ :sub:`04`
47 47 - Y'\ :sub:`05`
48 - Y'\ :sub:`01` 48 - Y'\ :sub:`06`
49 49 - Y'\ :sub:`07`
50 - Cb\ :sub:`01` 50 * - start + 12:
51 51 - Cb\ :sub:`10`
52 - Y'\ :sub:`02` 52 - Y'\ :sub:`10`
53 53 - Cr\ :sub:`10`
54 - Cr\ :sub:`01` 54 - Y'\ :sub:`11`
55 55 - Cb\ :sub:`11`
56 - Y'\ :sub:`03` 56 - Y'\ :sub:`12`
57 57 - Cr\ :sub:`11`
58 - Y'\ :sub:`04` 58 - Y'\ :sub:`13`
59 59 - Y'\ :sub:`14`
60 - Y'\ :sub:`05` 60 - Y'\ :sub:`15`
61 61 - Y'\ :sub:`16`
62 - Y'\ :sub:`06` 62 - Y'\ :sub:`17`
63 63 * - start + 24:
64 - Y'\ :sub:`07` 64 - Cb\ :sub:`20`
65 65 - Y'\ :sub:`20`
66 - .. row 2 66 - Cr\ :sub:`20`
67 67 - Y'\ :sub:`21`
68 - start + 12: 68 - Cb\ :sub:`21`
69 69 - Y'\ :sub:`22`
70 - Cb\ :sub:`10` 70 - Cr\ :sub:`21`
71 71 - Y'\ :sub:`23`
72 - Y'\ :sub:`10` 72 - Y'\ :sub:`24`
73 73 - Y'\ :sub:`25`
74 - Cr\ :sub:`10` 74 - Y'\ :sub:`26`
75 75 - Y'\ :sub:`27`
76 - Y'\ :sub:`11` 76 * - start + 36:
77 77 - Cb\ :sub:`30`
78 - Cb\ :sub:`11` 78 - Y'\ :sub:`30`
79 79 - Cr\ :sub:`30`
80 - Y'\ :sub:`12` 80 - Y'\ :sub:`31`
81 81 - Cb\ :sub:`31`
82 - Cr\ :sub:`11` 82 - Y'\ :sub:`32`
83 83 - Cr\ :sub:`31`
84 - Y'\ :sub:`13` 84 - Y'\ :sub:`33`
85 85 - Y'\ :sub:`34`
86 - Y'\ :sub:`14` 86 - Y'\ :sub:`35`
87 87 - Y'\ :sub:`36`
88 - Y'\ :sub:`15` 88 - Y'\ :sub:`37`
89
90 - Y'\ :sub:`16`
91
92 - Y'\ :sub:`17`
93
94 - .. row 3
95
96 - start + 24:
97
98 - Cb\ :sub:`20`
99
100 - Y'\ :sub:`20`
101
102 - Cr\ :sub:`20`
103
104 - Y'\ :sub:`21`
105
106 - Cb\ :sub:`21`
107
108 - Y'\ :sub:`22`
109
110 - Cr\ :sub:`21`
111
112 - Y'\ :sub:`23`
113
114 - Y'\ :sub:`24`
115
116 - Y'\ :sub:`25`
117
118 - Y'\ :sub:`26`
119
120 - Y'\ :sub:`27`
121
122 - .. row 4
123
124 - start + 36:
125
126 - Cb\ :sub:`30`
127
128 - Y'\ :sub:`30`
129
130 - Cr\ :sub:`30`
131
132 - Y'\ :sub:`31`
133
134 - Cb\ :sub:`31`
135
136 - Y'\ :sub:`32`
137
138 - Cr\ :sub:`31`
139
140 - Y'\ :sub:`33`
141
142 - Y'\ :sub:`34`
143
144 - Y'\ :sub:`35`
145
146 - Y'\ :sub:`36`
147
148 - Y'\ :sub:`37`
149 89
150 90
151**Color Sample Location..** 91**Color Sample Location..**
@@ -154,120 +94,58 @@ Each cell is one byte.
154 :header-rows: 0 94 :header-rows: 0
155 :stub-columns: 0 95 :stub-columns: 0
156 96
157 97 * -
158 - .. row 1 98 - 0
159 99 - 1
160 - 100 -
161 - 0 101 - 2
162 102 - 3
163 - 1 103 - 4
164 104 - 5
165 - 105 -
166 - 2 106 - 6
167 107 - 7
168 - 3 108 * - 0
169 109 - Y
170 - 4 110 - Y
171 111 - C
172 - 5 112 - Y
173 113 - Y
174 - 114 - Y
175 - 6 115 - Y
176 116 - C
177 - 7 117 - Y
178 118 - Y
179 - .. row 2 119 * - 1
180 120 - Y
181 - 0 121 - Y
182 122 - C
183 - Y 123 - Y
184 124 - Y
185 - Y 125 - Y
186 126 - Y
187 - C 127 - C
188 128 - Y
189 - Y 129 - Y
190 130 * - 2
191 - Y 131 - Y
192 132 - Y
193 - Y 133 - C
194 134 - Y
195 - Y 135 - Y
196 136 - Y
197 - C 137 - Y
198 138 - C
199 - Y 139 - Y
200 140 - Y
201 - Y 141 * - 3
202 142 - Y
203 - .. row 3 143 - Y
204 144 - C
205 - 1 145 - Y
206 146 - Y
207 - Y 147 - Y
208 148 - Y
209 - Y 149 - C
210 150 - Y
211 - C 151 - Y
212
213 - Y
214
215 - Y
216
217 - Y
218
219 - Y
220
221 - C
222
223 - Y
224
225 - Y
226
227 - .. row 4
228
229 - 2
230
231 - Y
232
233 - Y
234
235 - C
236
237 - Y
238
239 - Y
240
241 - Y
242
243 - Y
244
245 - C
246
247 - Y
248
249 - Y
250
251 - .. row 5
252
253 - 3
254
255 - Y
256
257 - Y
258
259 - C
260
261 - Y
262
263 - Y
264
265 - Y
266
267 - Y
268
269 - C
270
271 - Y
272
273 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-y8i.rst b/Documentation/media/uapi/v4l/pixfmt-y8i.rst
index 16bdfbbe6915..fd8ed23dd342 100644
--- a/Documentation/media/uapi/v4l/pixfmt-y8i.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-y8i.rst
@@ -28,83 +28,39 @@ Each cell is one byte.
28 :header-rows: 0 28 :header-rows: 0
29 :stub-columns: 0 29 :stub-columns: 0
30 30
31 31 * - start + 0:
32 - .. row 1 32 - Y'\ :sub:`00left`
33 33 - Y'\ :sub:`00right`
34 - start + 0: 34 - Y'\ :sub:`01left`
35 35 - Y'\ :sub:`01right`
36 - Y'\ :sub:`00left` 36 - Y'\ :sub:`02left`
37 37 - Y'\ :sub:`02right`
38 - Y'\ :sub:`00right` 38 - Y'\ :sub:`03left`
39 39 - Y'\ :sub:`03right`
40 - Y'\ :sub:`01left` 40 * - start + 8:
41 41 - Y'\ :sub:`10left`
42 - Y'\ :sub:`01right` 42 - Y'\ :sub:`10right`
43 43 - Y'\ :sub:`11left`
44 - Y'\ :sub:`02left` 44 - Y'\ :sub:`11right`
45 45 - Y'\ :sub:`12left`
46 - Y'\ :sub:`02right` 46 - Y'\ :sub:`12right`
47 47 - Y'\ :sub:`13left`
48 - Y'\ :sub:`03left` 48 - Y'\ :sub:`13right`
49 49 * - start + 16:
50 - Y'\ :sub:`03right` 50 - Y'\ :sub:`20left`
51 51 - Y'\ :sub:`20right`
52 - .. row 2 52 - Y'\ :sub:`21left`
53 53 - Y'\ :sub:`21right`
54 - start + 8: 54 - Y'\ :sub:`22left`
55 55 - Y'\ :sub:`22right`
56 - Y'\ :sub:`10left` 56 - Y'\ :sub:`23left`
57 57 - Y'\ :sub:`23right`
58 - Y'\ :sub:`10right` 58 * - start + 24:
59 59 - Y'\ :sub:`30left`
60 - Y'\ :sub:`11left` 60 - Y'\ :sub:`30right`
61 61 - Y'\ :sub:`31left`
62 - Y'\ :sub:`11right` 62 - Y'\ :sub:`31right`
63 63 - Y'\ :sub:`32left`
64 - Y'\ :sub:`12left` 64 - Y'\ :sub:`32right`
65 65 - Y'\ :sub:`33left`
66 - Y'\ :sub:`12right` 66 - Y'\ :sub:`33right`
67
68 - Y'\ :sub:`13left`
69
70 - Y'\ :sub:`13right`
71
72 - .. row 3
73
74 - start + 16:
75
76 - Y'\ :sub:`20left`
77
78 - Y'\ :sub:`20right`
79
80 - Y'\ :sub:`21left`
81
82 - Y'\ :sub:`21right`
83
84 - Y'\ :sub:`22left`
85
86 - Y'\ :sub:`22right`
87
88 - Y'\ :sub:`23left`
89
90 - Y'\ :sub:`23right`
91
92 - .. row 4
93
94 - start + 24:
95
96 - Y'\ :sub:`30left`
97
98 - Y'\ :sub:`30right`
99
100 - Y'\ :sub:`31left`
101
102 - Y'\ :sub:`31right`
103
104 - Y'\ :sub:`32left`
105
106 - Y'\ :sub:`32right`
107
108 - Y'\ :sub:`33left`
109
110 - Y'\ :sub:`33right`
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv410.rst b/Documentation/media/uapi/v4l/pixfmt-yuv410.rst
index 54909839b0d1..0c49915af850 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv410.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv410.rst
@@ -41,66 +41,30 @@ Each cell is one byte.
41 :header-rows: 0 41 :header-rows: 0
42 :stub-columns: 0 42 :stub-columns: 0
43 43
44 44 * - start + 0:
45 - .. row 1 45 - Y'\ :sub:`00`
46 46 - Y'\ :sub:`01`
47 - start + 0: 47 - Y'\ :sub:`02`
48 48 - Y'\ :sub:`03`
49 - Y'\ :sub:`00` 49 * - start + 4:
50 50 - Y'\ :sub:`10`
51 - Y'\ :sub:`01` 51 - Y'\ :sub:`11`
52 52 - Y'\ :sub:`12`
53 - Y'\ :sub:`02` 53 - Y'\ :sub:`13`
54 54 * - start + 8:
55 - Y'\ :sub:`03` 55 - Y'\ :sub:`20`
56 56 - Y'\ :sub:`21`
57 - .. row 2 57 - Y'\ :sub:`22`
58 58 - Y'\ :sub:`23`
59 - start + 4: 59 * - start + 12:
60 60 - Y'\ :sub:`30`
61 - Y'\ :sub:`10` 61 - Y'\ :sub:`31`
62 62 - Y'\ :sub:`32`
63 - Y'\ :sub:`11` 63 - Y'\ :sub:`33`
64 64 * - start + 16:
65 - Y'\ :sub:`12` 65 - Cr\ :sub:`00`
66 66 * - start + 17:
67 - Y'\ :sub:`13` 67 - Cb\ :sub:`00`
68
69 - .. row 3
70
71 - start + 8:
72
73 - Y'\ :sub:`20`
74
75 - Y'\ :sub:`21`
76
77 - Y'\ :sub:`22`
78
79 - Y'\ :sub:`23`
80
81 - .. row 4
82
83 - start + 12:
84
85 - Y'\ :sub:`30`
86
87 - Y'\ :sub:`31`
88
89 - Y'\ :sub:`32`
90
91 - Y'\ :sub:`33`
92
93 - .. row 5
94
95 - start + 16:
96
97 - Cr\ :sub:`00`
98
99 - .. row 6
100
101 - start + 17:
102
103 - Cb\ :sub:`00`
104 68
105 69
106**Color Sample Location..** 70**Color Sample Location..**
@@ -111,97 +75,53 @@ Each cell is one byte.
111 :header-rows: 0 75 :header-rows: 0
112 :stub-columns: 0 76 :stub-columns: 0
113 77
114 78 * -
115 - .. row 1 79 - 0
116 80 -
117 - 81 - 1
118 - 0 82 -
119 83 - 2
120 - 84 -
121 - 1 85 - 3
122 86 * - 0
123 - 87 - Y
124 - 2 88 -
125 89 - Y
126 - 90 -
127 - 3 91 - Y
128 92 -
129 - .. row 2 93 - Y
130 94 * -
131 - 0 95 * - 1
132 96 - Y
133 - Y 97 -
134 98 - Y
135 - 99 -
136 - Y 100 - Y
137 101 -
138 - 102 - Y
139 - Y 103 * -
140 104 -
141 - 105 -
142 - Y 106 -
143 107 - C
144 - .. row 3 108 -
145 109 -
146 - 110 -
147 111 * - 2
148 - .. row 4 112 - Y
149 113 -
150 - 1 114 - Y
151 115 -
152 - Y 116 - Y
153 117 -
154 - 118 - Y
155 - Y 119 * -
156 120 * - 3
157 - 121 - Y
158 - Y 122 -
159 123 - Y
160 - 124 -
161 - Y 125 - Y
162 126 -
163 - .. row 5 127 - Y
164
165 -
166 -
167 -
168 -
169 - C
170
171 -
172 -
173 -
174
175 - .. row 6
176
177 - 2
178
179 - Y
180
181 -
182 - Y
183
184 -
185 - Y
186
187 -
188 - Y
189
190 - .. row 7
191
192 -
193
194 - .. row 8
195
196 - 3
197
198 - Y
199
200 -
201 - Y
202
203 -
204 - Y
205
206 -
207 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv411p.rst b/Documentation/media/uapi/v4l/pixfmt-yuv411p.rst
index 913f68fe2536..2cf33fad7254 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv411p.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv411p.rst
@@ -37,102 +37,42 @@ Each cell is one byte.
37 :header-rows: 0 37 :header-rows: 0
38 :stub-columns: 0 38 :stub-columns: 0
39 39
40 40 * - start + 0:
41 - .. row 1 41 - Y'\ :sub:`00`
42 42 - Y'\ :sub:`01`
43 - start + 0: 43 - Y'\ :sub:`02`
44 44 - Y'\ :sub:`03`
45 - Y'\ :sub:`00` 45 * - start + 4:
46 46 - Y'\ :sub:`10`
47 - Y'\ :sub:`01` 47 - Y'\ :sub:`11`
48 48 - Y'\ :sub:`12`
49 - Y'\ :sub:`02` 49 - Y'\ :sub:`13`
50 50 * - start + 8:
51 - Y'\ :sub:`03` 51 - Y'\ :sub:`20`
52 52 - Y'\ :sub:`21`
53 - .. row 2 53 - Y'\ :sub:`22`
54 54 - Y'\ :sub:`23`
55 - start + 4: 55 * - start + 12:
56 56 - Y'\ :sub:`30`
57 - Y'\ :sub:`10` 57 - Y'\ :sub:`31`
58 58 - Y'\ :sub:`32`
59 - Y'\ :sub:`11` 59 - Y'\ :sub:`33`
60 60 * - start + 16:
61 - Y'\ :sub:`12` 61 - Cb\ :sub:`00`
62 62 * - start + 17:
63 - Y'\ :sub:`13` 63 - Cb\ :sub:`10`
64 64 * - start + 18:
65 - .. row 3 65 - Cb\ :sub:`20`
66 66 * - start + 19:
67 - start + 8: 67 - Cb\ :sub:`30`
68 68 * - start + 20:
69 - Y'\ :sub:`20` 69 - Cr\ :sub:`00`
70 70 * - start + 21:
71 - Y'\ :sub:`21` 71 - Cr\ :sub:`10`
72 72 * - start + 22:
73 - Y'\ :sub:`22` 73 - Cr\ :sub:`20`
74 74 * - start + 23:
75 - Y'\ :sub:`23` 75 - Cr\ :sub:`30`
76
77 - .. row 4
78
79 - start + 12:
80
81 - Y'\ :sub:`30`
82
83 - Y'\ :sub:`31`
84
85 - Y'\ :sub:`32`
86
87 - Y'\ :sub:`33`
88
89 - .. row 5
90
91 - start + 16:
92
93 - Cb\ :sub:`00`
94
95 - .. row 6
96
97 - start + 17:
98
99 - Cb\ :sub:`10`
100
101 - .. row 7
102
103 - start + 18:
104
105 - Cb\ :sub:`20`
106
107 - .. row 8
108
109 - start + 19:
110
111 - Cb\ :sub:`30`
112
113 - .. row 9
114
115 - start + 20:
116
117 - Cr\ :sub:`00`
118
119 - .. row 10
120
121 - start + 21:
122
123 - Cr\ :sub:`10`
124
125 - .. row 11
126
127 - start + 22:
128
129 - Cr\ :sub:`20`
130
131 - .. row 12
132
133 - start + 23:
134
135 - Cr\ :sub:`30`
136 76
137 77
138**Color Sample Location..** 78**Color Sample Location..**
@@ -143,71 +83,33 @@ Each cell is one byte.
143 :header-rows: 0 83 :header-rows: 0
144 :stub-columns: 0 84 :stub-columns: 0
145 85
146 86 * -
147 - .. row 1 87 - 0
148 88 - 1
149 - 89 -
150 - 0 90 - 2
151 91 - 3
152 - 1 92 * - 0
153 93 - Y
154 - 94 - Y
155 - 2 95 - C
156 96 - Y
157 - 3 97 - Y
158 98 * - 1
159 - .. row 2 99 - Y
160 100 - Y
161 - 0 101 - C
162 102 - Y
163 - Y 103 - Y
164 104 * - 2
165 - Y 105 - Y
166 106 - Y
167 - C 107 - C
168 108 - Y
169 - Y 109 - Y
170 110 * - 3
171 - Y 111 - Y
172 112 - Y
173 - .. row 3 113 - C
174 114 - Y
175 - 1 115 - Y
176
177 - Y
178
179 - Y
180
181 - C
182
183 - Y
184
185 - Y
186
187 - .. row 4
188
189 - 2
190
191 - Y
192
193 - Y
194
195 - C
196
197 - Y
198
199 - Y
200
201 - .. row 5
202
203 - 3
204
205 - Y
206
207 - Y
208
209 - C
210
211 - Y
212
213 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv420.rst b/Documentation/media/uapi/v4l/pixfmt-yuv420.rst
index a7f17e40b59e..fd98904058ed 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv420.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv420.rst
@@ -42,86 +42,38 @@ Each cell is one byte.
42 :header-rows: 0 42 :header-rows: 0
43 :stub-columns: 0 43 :stub-columns: 0
44 44
45 45 * - start + 0:
46 - .. row 1 46 - Y'\ :sub:`00`
47 47 - Y'\ :sub:`01`
48 - start + 0: 48 - Y'\ :sub:`02`
49 49 - Y'\ :sub:`03`
50 - Y'\ :sub:`00` 50 * - start + 4:
51 51 - Y'\ :sub:`10`
52 - Y'\ :sub:`01` 52 - Y'\ :sub:`11`
53 53 - Y'\ :sub:`12`
54 - Y'\ :sub:`02` 54 - Y'\ :sub:`13`
55 55 * - start + 8:
56 - Y'\ :sub:`03` 56 - Y'\ :sub:`20`
57 57 - Y'\ :sub:`21`
58 - .. row 2 58 - Y'\ :sub:`22`
59 59 - Y'\ :sub:`23`
60 - start + 4: 60 * - start + 12:
61 61 - Y'\ :sub:`30`
62 - Y'\ :sub:`10` 62 - Y'\ :sub:`31`
63 63 - Y'\ :sub:`32`
64 - Y'\ :sub:`11` 64 - Y'\ :sub:`33`
65 65 * - start + 16:
66 - Y'\ :sub:`12` 66 - Cr\ :sub:`00`
67 67 - Cr\ :sub:`01`
68 - Y'\ :sub:`13` 68 * - start + 18:
69 69 - Cr\ :sub:`10`
70 - .. row 3 70 - Cr\ :sub:`11`
71 71 * - start + 20:
72 - start + 8: 72 - Cb\ :sub:`00`
73 73 - Cb\ :sub:`01`
74 - Y'\ :sub:`20` 74 * - start + 22:
75 75 - Cb\ :sub:`10`
76 - Y'\ :sub:`21` 76 - Cb\ :sub:`11`
77
78 - Y'\ :sub:`22`
79
80 - Y'\ :sub:`23`
81
82 - .. row 4
83
84 - start + 12:
85
86 - Y'\ :sub:`30`
87
88 - Y'\ :sub:`31`
89
90 - Y'\ :sub:`32`
91
92 - Y'\ :sub:`33`
93
94 - .. row 5
95
96 - start + 16:
97
98 - Cr\ :sub:`00`
99
100 - Cr\ :sub:`01`
101
102 - .. row 6
103
104 - start + 18:
105
106 - Cr\ :sub:`10`
107
108 - Cr\ :sub:`11`
109
110 - .. row 7
111
112 - start + 20:
113
114 - Cb\ :sub:`00`
115
116 - Cb\ :sub:`01`
117
118 - .. row 8
119
120 - start + 22:
121
122 - Cb\ :sub:`10`
123
124 - Cb\ :sub:`11`
125 77
126 78
127**Color Sample Location..** 79**Color Sample Location..**
@@ -132,107 +84,60 @@ Each cell is one byte.
132 :header-rows: 0 84 :header-rows: 0
133 :stub-columns: 0 85 :stub-columns: 0
134 86
135 87 * -
136 - .. row 1 88 - 0
137 89 -
138 - 90 - 1
139 - 0 91 -
140 92 - 2
141 - 93 -
142 - 1 94 - 3
143 95 * - 0
144 - 96 - Y
145 - 2 97 -
146 98 - Y
147 - 99 -
148 - 3 100 - Y
149 101 -
150 - .. row 2 102 - Y
151 103 * -
152 - 0 104 -
153 105 - C
154 - Y 106 -
155 107 -
156 - 108 -
157 - Y 109 - C
158 110 -
159 - 111 * - 1
160 - Y 112 - Y
161 113 -
162 - 114 - Y
163 - Y 115 -
164 116 - Y
165 - .. row 3 117 -
166 118 - Y
167 - 119 * -
168 - 120 * - 2
169 - C 121 - Y
170 122 -
171 - 123 - Y
172 - 124 -
173 - 125 - Y
174 - C 126 -
175 127 - Y
176 - 128 * -
177 129 -
178 - .. row 4 130 - C
179 131 -
180 - 1 132 -
181 133 -
182 - Y 134 - C
183 135 -
184 - 136 * - 3
185 - Y 137 - Y
186 138 -
187 - 139 - Y
188 - Y 140 -
189 141 - Y
190 - 142 -
191 - Y 143 - Y
192
193 - .. row 5
194
195 -
196
197 - .. row 6
198
199 - 2
200
201 - Y
202
203 -
204 - Y
205
206 -
207 - Y
208
209 -
210 - Y
211
212 - .. row 7
213
214 -
215 -
216 - C
217
218 -
219 -
220 -
221 - C
222
223 -
224
225 - .. row 8
226
227 - 3
228
229 - Y
230
231 -
232 - Y
233
234 -
235 - Y
236
237 -
238 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv420m.rst b/Documentation/media/uapi/v4l/pixfmt-yuv420m.rst
index 588784512944..cce8c477fdfc 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv420m.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv420m.rst
@@ -49,94 +49,40 @@ Each cell is one byte.
49 :header-rows: 0 49 :header-rows: 0
50 :stub-columns: 0 50 :stub-columns: 0
51 51
52 52 * - start0 + 0:
53 - .. row 1 53 - Y'\ :sub:`00`
54 54 - Y'\ :sub:`01`
55 - start0 + 0: 55 - Y'\ :sub:`02`
56 56 - Y'\ :sub:`03`
57 - Y'\ :sub:`00` 57 * - start0 + 4:
58 58 - Y'\ :sub:`10`
59 - Y'\ :sub:`01` 59 - Y'\ :sub:`11`
60 60 - Y'\ :sub:`12`
61 - Y'\ :sub:`02` 61 - Y'\ :sub:`13`
62 62 * - start0 + 8:
63 - Y'\ :sub:`03` 63 - Y'\ :sub:`20`
64 64 - Y'\ :sub:`21`
65 - .. row 2 65 - Y'\ :sub:`22`
66 66 - Y'\ :sub:`23`
67 - start0 + 4: 67 * - start0 + 12:
68 68 - Y'\ :sub:`30`
69 - Y'\ :sub:`10` 69 - Y'\ :sub:`31`
70 70 - Y'\ :sub:`32`
71 - Y'\ :sub:`11` 71 - Y'\ :sub:`33`
72 72 * -
73 - Y'\ :sub:`12` 73 * - start1 + 0:
74 74 - Cb\ :sub:`00`
75 - Y'\ :sub:`13` 75 - Cb\ :sub:`01`
76 76 * - start1 + 2:
77 - .. row 3 77 - Cb\ :sub:`10`
78 78 - Cb\ :sub:`11`
79 - start0 + 8: 79 * -
80 80 * - start2 + 0:
81 - Y'\ :sub:`20` 81 - Cr\ :sub:`00`
82 82 - Cr\ :sub:`01`
83 - Y'\ :sub:`21` 83 * - start2 + 2:
84 84 - Cr\ :sub:`10`
85 - Y'\ :sub:`22` 85 - Cr\ :sub:`11`
86
87 - Y'\ :sub:`23`
88
89 - .. row 4
90
91 - start0 + 12:
92
93 - Y'\ :sub:`30`
94
95 - Y'\ :sub:`31`
96
97 - Y'\ :sub:`32`
98
99 - Y'\ :sub:`33`
100
101 - .. row 5
102
103 -
104
105 - .. row 6
106
107 - start1 + 0:
108
109 - Cb\ :sub:`00`
110
111 - Cb\ :sub:`01`
112
113 - .. row 7
114
115 - start1 + 2:
116
117 - Cb\ :sub:`10`
118
119 - Cb\ :sub:`11`
120
121 - .. row 8
122
123 -
124
125 - .. row 9
126
127 - start2 + 0:
128
129 - Cr\ :sub:`00`
130
131 - Cr\ :sub:`01`
132
133 - .. row 10
134
135 - start2 + 2:
136
137 - Cr\ :sub:`10`
138
139 - Cr\ :sub:`11`
140 86
141 87
142**Color Sample Location..** 88**Color Sample Location..**
@@ -147,107 +93,60 @@ Each cell is one byte.
147 :header-rows: 0 93 :header-rows: 0
148 :stub-columns: 0 94 :stub-columns: 0
149 95
150 96 * -
151 - .. row 1 97 - 0
152 98 -
153 - 99 - 1
154 - 0 100 -
155 101 - 2
156 - 102 -
157 - 1 103 - 3
158 104 * - 0
159 - 105 - Y
160 - 2 106 -
161 107 - Y
162 - 108 -
163 - 3 109 - Y
164 110 -
165 - .. row 2 111 - Y
166 112 * -
167 - 0 113 -
168 114 - C
169 - Y 115 -
170 116 -
171 - 117 -
172 - Y 118 - C
173 119 -
174 - 120 * - 1
175 - Y 121 - Y
176 122 -
177 - 123 - Y
178 - Y 124 -
179 125 - Y
180 - .. row 3 126 -
181 127 - Y
182 - 128 * -
183 - 129 * - 2
184 - C 130 - Y
185 131 -
186 - 132 - Y
187 - 133 -
188 - 134 - Y
189 - C 135 -
190 136 - Y
191 - 137 * -
192 138 -
193 - .. row 4 139 - C
194 140 -
195 - 1 141 -
196 142 -
197 - Y 143 - C
198 144 -
199 - 145 * - 3
200 - Y 146 - Y
201 147 -
202 - 148 - Y
203 - Y 149 -
204 150 - Y
205 - 151 -
206 - Y 152 - Y
207
208 - .. row 5
209
210 -
211
212 - .. row 6
213
214 - 2
215
216 - Y
217
218 -
219 - Y
220
221 -
222 - Y
223
224 -
225 - Y
226
227 - .. row 7
228
229 -
230 -
231 - C
232
233 -
234 -
235 -
236 - C
237
238 -
239
240 - .. row 8
241
242 - 3
243
244 - Y
245
246 -
247 - Y
248
249 -
250 - Y
251
252 -
253 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv422m.rst b/Documentation/media/uapi/v4l/pixfmt-yuv422m.rst
index 0c0a462c4dde..d986393aa934 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv422m.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv422m.rst
@@ -48,126 +48,52 @@ Each cell is one byte.
48 :header-rows: 0 48 :header-rows: 0
49 :stub-columns: 0 49 :stub-columns: 0
50 50
51 51 * - start0 + 0:
52 - .. row 1 52 - Y'\ :sub:`00`
53 53 - Y'\ :sub:`01`
54 - start0 + 0: 54 - Y'\ :sub:`02`
55 55 - Y'\ :sub:`03`
56 - Y'\ :sub:`00` 56 * - start0 + 4:
57 57 - Y'\ :sub:`10`
58 - Y'\ :sub:`01` 58 - Y'\ :sub:`11`
59 59 - Y'\ :sub:`12`
60 - Y'\ :sub:`02` 60 - Y'\ :sub:`13`
61 61 * - start0 + 8:
62 - Y'\ :sub:`03` 62 - Y'\ :sub:`20`
63 63 - Y'\ :sub:`21`
64 - .. row 2 64 - Y'\ :sub:`22`
65 65 - Y'\ :sub:`23`
66 - start0 + 4: 66 * - start0 + 12:
67 67 - Y'\ :sub:`30`
68 - Y'\ :sub:`10` 68 - Y'\ :sub:`31`
69 69 - Y'\ :sub:`32`
70 - Y'\ :sub:`11` 70 - Y'\ :sub:`33`
71 71 * -
72 - Y'\ :sub:`12` 72 * - start1 + 0:
73 73 - Cb\ :sub:`00`
74 - Y'\ :sub:`13` 74 - Cb\ :sub:`01`
75 75 * - start1 + 2:
76 - .. row 3 76 - Cb\ :sub:`10`
77 77 - Cb\ :sub:`11`
78 - start0 + 8: 78 * - start1 + 4:
79 79 - Cb\ :sub:`20`
80 - Y'\ :sub:`20` 80 - Cb\ :sub:`21`
81 81 * - start1 + 6:
82 - Y'\ :sub:`21` 82 - Cb\ :sub:`30`
83 83 - Cb\ :sub:`31`
84 - Y'\ :sub:`22` 84 * -
85 85 * - start2 + 0:
86 - Y'\ :sub:`23` 86 - Cr\ :sub:`00`
87 87 - Cr\ :sub:`01`
88 - .. row 4 88 * - start2 + 2:
89 89 - Cr\ :sub:`10`
90 - start0 + 12: 90 - Cr\ :sub:`11`
91 91 * - start2 + 4:
92 - Y'\ :sub:`30` 92 - Cr\ :sub:`20`
93 93 - Cr\ :sub:`21`
94 - Y'\ :sub:`31` 94 * - start2 + 6:
95 95 - Cr\ :sub:`30`
96 - Y'\ :sub:`32` 96 - Cr\ :sub:`31`
97
98 - Y'\ :sub:`33`
99
100 - .. row 5
101
102 -
103
104 - .. row 6
105
106 - start1 + 0:
107
108 - Cb\ :sub:`00`
109
110 - Cb\ :sub:`01`
111
112 - .. row 7
113
114 - start1 + 2:
115
116 - Cb\ :sub:`10`
117
118 - Cb\ :sub:`11`
119
120 - .. row 8
121
122 - start1 + 4:
123
124 - Cb\ :sub:`20`
125
126 - Cb\ :sub:`21`
127
128 - .. row 9
129
130 - start1 + 6:
131
132 - Cb\ :sub:`30`
133
134 - Cb\ :sub:`31`
135
136 - .. row 10
137
138 -
139
140 - .. row 11
141
142 - start2 + 0:
143
144 - Cr\ :sub:`00`
145
146 - Cr\ :sub:`01`
147
148 - .. row 12
149
150 - start2 + 2:
151
152 - Cr\ :sub:`10`
153
154 - Cr\ :sub:`11`
155
156 - .. row 13
157
158 - start2 + 4:
159
160 - Cr\ :sub:`20`
161
162 - Cr\ :sub:`21`
163
164 - .. row 14
165
166 - start2 + 6:
167
168 - Cr\ :sub:`30`
169
170 - Cr\ :sub:`31`
171 97
172 98
173**Color Sample Location..** 99**Color Sample Location..**
@@ -178,80 +104,38 @@ Each cell is one byte.
178 :header-rows: 0 104 :header-rows: 0
179 :stub-columns: 0 105 :stub-columns: 0
180 106
181 107 * -
182 - .. row 1 108 - 0
183 109 -
184 - 110 - 1
185 - 0 111 - 2
186 112 -
187 - 113 - 3
188 - 1 114 * - 0
189 115 - Y
190 - 2 116 - C
191 117 - Y
192 - 118 - Y
193 - 3 119 - C
194 120 - Y
195 - .. row 2 121 * - 1
196 122 - Y
197 - 0 123 - C
198 124 - Y
199 - Y 125 - Y
200 126 - C
201 - C 127 - Y
202 128 * - 2
203 - Y 129 - Y
204 130 - C
205 - Y 131 - Y
206 132 - Y
207 - C 133 - C
208 134 - Y
209 - Y 135 * - 3
210 136 - Y
211 - .. row 3 137 - C
212 138 - Y
213 - 1 139 - Y
214 140 - C
215 - Y 141 - Y
216
217 - C
218
219 - Y
220
221 - Y
222
223 - C
224
225 - Y
226
227 - .. row 4
228
229 - 2
230
231 - Y
232
233 - C
234
235 - Y
236
237 - Y
238
239 - C
240
241 - Y
242
243 - .. row 5
244
245 - 3
246
247 - Y
248
249 - C
250
251 - Y
252
253 - Y
254
255 - C
256
257 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv422p.rst b/Documentation/media/uapi/v4l/pixfmt-yuv422p.rst
index 9618f0d24265..e6f5de546dba 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv422p.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv422p.rst
@@ -38,118 +38,50 @@ Each cell is one byte.
38 :header-rows: 0 38 :header-rows: 0
39 :stub-columns: 0 39 :stub-columns: 0
40 40
41 41 * - start + 0:
42 - .. row 1 42 - Y'\ :sub:`00`
43 43 - Y'\ :sub:`01`
44 - start + 0: 44 - Y'\ :sub:`02`
45 45 - Y'\ :sub:`03`
46 - Y'\ :sub:`00` 46 * - start + 4:
47 47 - Y'\ :sub:`10`
48 - Y'\ :sub:`01` 48 - Y'\ :sub:`11`
49 49 - Y'\ :sub:`12`
50 - Y'\ :sub:`02` 50 - Y'\ :sub:`13`
51 51 * - start + 8:
52 - Y'\ :sub:`03` 52 - Y'\ :sub:`20`
53 53 - Y'\ :sub:`21`
54 - .. row 2 54 - Y'\ :sub:`22`
55 55 - Y'\ :sub:`23`
56 - start + 4: 56 * - start + 12:
57 57 - Y'\ :sub:`30`
58 - Y'\ :sub:`10` 58 - Y'\ :sub:`31`
59 59 - Y'\ :sub:`32`
60 - Y'\ :sub:`11` 60 - Y'\ :sub:`33`
61 61 * - start + 16:
62 - Y'\ :sub:`12` 62 - Cb\ :sub:`00`
63 63 - Cb\ :sub:`01`
64 - Y'\ :sub:`13` 64 * - start + 18:
65 65 - Cb\ :sub:`10`
66 - .. row 3 66 - Cb\ :sub:`11`
67 67 * - start + 20:
68 - start + 8: 68 - Cb\ :sub:`20`
69 69 - Cb\ :sub:`21`
70 - Y'\ :sub:`20` 70 * - start + 22:
71 71 - Cb\ :sub:`30`
72 - Y'\ :sub:`21` 72 - Cb\ :sub:`31`
73 73 * - start + 24:
74 - Y'\ :sub:`22` 74 - Cr\ :sub:`00`
75 75 - Cr\ :sub:`01`
76 - Y'\ :sub:`23` 76 * - start + 26:
77 77 - Cr\ :sub:`10`
78 - .. row 4 78 - Cr\ :sub:`11`
79 79 * - start + 28:
80 - start + 12: 80 - Cr\ :sub:`20`
81 81 - Cr\ :sub:`21`
82 - Y'\ :sub:`30` 82 * - start + 30:
83 83 - Cr\ :sub:`30`
84 - Y'\ :sub:`31` 84 - Cr\ :sub:`31`
85
86 - Y'\ :sub:`32`
87
88 - Y'\ :sub:`33`
89
90 - .. row 5
91
92 - start + 16:
93
94 - Cb\ :sub:`00`
95
96 - Cb\ :sub:`01`
97
98 - .. row 6
99
100 - start + 18:
101
102 - Cb\ :sub:`10`
103
104 - Cb\ :sub:`11`
105
106 - .. row 7
107
108 - start + 20:
109
110 - Cb\ :sub:`20`
111
112 - Cb\ :sub:`21`
113
114 - .. row 8
115
116 - start + 22:
117
118 - Cb\ :sub:`30`
119
120 - Cb\ :sub:`31`
121
122 - .. row 9
123
124 - start + 24:
125
126 - Cr\ :sub:`00`
127
128 - Cr\ :sub:`01`
129
130 - .. row 10
131
132 - start + 26:
133
134 - Cr\ :sub:`10`
135
136 - Cr\ :sub:`11`
137
138 - .. row 11
139
140 - start + 28:
141
142 - Cr\ :sub:`20`
143
144 - Cr\ :sub:`21`
145
146 - .. row 12
147
148 - start + 30:
149
150 - Cr\ :sub:`30`
151
152 - Cr\ :sub:`31`
153 85
154 86
155**Color Sample Location..** 87**Color Sample Location..**
@@ -160,80 +92,38 @@ Each cell is one byte.
160 :header-rows: 0 92 :header-rows: 0
161 :stub-columns: 0 93 :stub-columns: 0
162 94
163 95 * -
164 - .. row 1 96 - 0
165 97 -
166 - 98 - 1
167 - 0 99 - 2
168 100 -
169 - 101 - 3
170 - 1 102 * - 0
171 103 - Y
172 - 2 104 - C
173 105 - Y
174 - 106 - Y
175 - 3 107 - C
176 108 - Y
177 - .. row 2 109 * - 1
178 110 - Y
179 - 0 111 - C
180 112 - Y
181 - Y 113 - Y
182 114 - C
183 - C 115 - Y
184 116 * - 2
185 - Y 117 - Y
186 118 - C
187 - Y 119 - Y
188 120 - Y
189 - C 121 - C
190 122 - Y
191 - Y 123 * - 3
192 124 - Y
193 - .. row 3 125 - C
194 126 - Y
195 - 1 127 - Y
196 128 - C
197 - Y 129 - Y
198
199 - C
200
201 - Y
202
203 - Y
204
205 - C
206
207 - Y
208
209 - .. row 4
210
211 - 2
212
213 - Y
214
215 - C
216
217 - Y
218
219 - Y
220
221 - C
222
223 - Y
224
225 - .. row 5
226
227 - 3
228
229 - Y
230
231 - C
232
233 - Y
234
235 - Y
236
237 - C
238
239 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuv444m.rst b/Documentation/media/uapi/v4l/pixfmt-yuv444m.rst
index 5985d45efb2c..830fbf6fcd1d 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuv444m.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuv444m.rst
@@ -42,158 +42,68 @@ Each cell is one byte.
42 :header-rows: 0 42 :header-rows: 0
43 :stub-columns: 0 43 :stub-columns: 0
44 44
45 45 * - start0 + 0:
46 - .. row 1 46 - Y'\ :sub:`00`
47 47 - Y'\ :sub:`01`
48 - start0 + 0: 48 - Y'\ :sub:`02`
49 49 - Y'\ :sub:`03`
50 - Y'\ :sub:`00` 50 * - start0 + 4:
51 51 - Y'\ :sub:`10`
52 - Y'\ :sub:`01` 52 - Y'\ :sub:`11`
53 53 - Y'\ :sub:`12`
54 - Y'\ :sub:`02` 54 - Y'\ :sub:`13`
55 55 * - start0 + 8:
56 - Y'\ :sub:`03` 56 - Y'\ :sub:`20`
57 57 - Y'\ :sub:`21`
58 - .. row 2 58 - Y'\ :sub:`22`
59 59 - Y'\ :sub:`23`
60 - start0 + 4: 60 * - start0 + 12:
61 61 - Y'\ :sub:`30`
62 - Y'\ :sub:`10` 62 - Y'\ :sub:`31`
63 63 - Y'\ :sub:`32`
64 - Y'\ :sub:`11` 64 - Y'\ :sub:`33`
65 65 * -
66 - Y'\ :sub:`12` 66 * - start1 + 0:
67 67 - Cb\ :sub:`00`
68 - Y'\ :sub:`13` 68 - Cb\ :sub:`01`
69 69 - Cb\ :sub:`02`
70 - .. row 3 70 - Cb\ :sub:`03`
71 71 * - start1 + 4:
72 - start0 + 8: 72 - Cb\ :sub:`10`
73 73 - Cb\ :sub:`11`
74 - Y'\ :sub:`20` 74 - Cb\ :sub:`12`
75 75 - Cb\ :sub:`13`
76 - Y'\ :sub:`21` 76 * - start1 + 8:
77 77 - Cb\ :sub:`20`
78 - Y'\ :sub:`22` 78 - Cb\ :sub:`21`
79 79 - Cb\ :sub:`22`
80 - Y'\ :sub:`23` 80 - Cb\ :sub:`23`
81 81 * - start1 + 12:
82 - .. row 4 82 - Cb\ :sub:`20`
83 83 - Cb\ :sub:`21`
84 - start0 + 12: 84 - Cb\ :sub:`32`
85 85 - Cb\ :sub:`33`
86 - Y'\ :sub:`30` 86 * -
87 87 * - start2 + 0:
88 - Y'\ :sub:`31` 88 - Cr\ :sub:`00`
89 89 - Cr\ :sub:`01`
90 - Y'\ :sub:`32` 90 - Cr\ :sub:`02`
91 91 - Cr\ :sub:`03`
92 - Y'\ :sub:`33` 92 * - start2 + 4:
93 93 - Cr\ :sub:`10`
94 - .. row 5 94 - Cr\ :sub:`11`
95 95 - Cr\ :sub:`12`
96 - 96 - Cr\ :sub:`13`
97 97 * - start2 + 8:
98 - .. row 6 98 - Cr\ :sub:`20`
99 99 - Cr\ :sub:`21`
100 - start1 + 0: 100 - Cr\ :sub:`22`
101 101 - Cr\ :sub:`23`
102 - Cb\ :sub:`00` 102 * - start2 + 12:
103 103 - Cr\ :sub:`30`
104 - Cb\ :sub:`01` 104 - Cr\ :sub:`31`
105 105 - Cr\ :sub:`32`
106 - Cb\ :sub:`02` 106 - Cr\ :sub:`33`
107
108 - Cb\ :sub:`03`
109
110 - .. row 7
111
112 - start1 + 4:
113
114 - Cb\ :sub:`10`
115
116 - Cb\ :sub:`11`
117
118 - Cb\ :sub:`12`
119
120 - Cb\ :sub:`13`
121
122 - .. row 8
123
124 - start1 + 8:
125
126 - Cb\ :sub:`20`
127
128 - Cb\ :sub:`21`
129
130 - Cb\ :sub:`22`
131
132 - Cb\ :sub:`23`
133
134 - .. row 9
135
136 - start1 + 12:
137
138 - Cb\ :sub:`20`
139
140 - Cb\ :sub:`21`
141
142 - Cb\ :sub:`32`
143
144 - Cb\ :sub:`33`
145
146 - .. row 10
147
148 -
149
150 - .. row 11
151
152 - start2 + 0:
153
154 - Cr\ :sub:`00`
155
156 - Cr\ :sub:`01`
157
158 - Cr\ :sub:`02`
159
160 - Cr\ :sub:`03`
161
162 - .. row 12
163
164 - start2 + 4:
165
166 - Cr\ :sub:`10`
167
168 - Cr\ :sub:`11`
169
170 - Cr\ :sub:`12`
171
172 - Cr\ :sub:`13`
173
174 - .. row 13
175
176 - start2 + 8:
177
178 - Cr\ :sub:`20`
179
180 - Cr\ :sub:`21`
181
182 - Cr\ :sub:`22`
183
184 - Cr\ :sub:`23`
185
186 - .. row 14
187
188 - start2 + 12:
189
190 - Cr\ :sub:`30`
191
192 - Cr\ :sub:`31`
193
194 - Cr\ :sub:`32`
195
196 - Cr\ :sub:`33`
197 107
198 108
199**Color Sample Location..** 109**Color Sample Location..**
@@ -204,62 +114,28 @@ Each cell is one byte.
204 :header-rows: 0 114 :header-rows: 0
205 :stub-columns: 0 115 :stub-columns: 0
206 116
207 117 * -
208 - .. row 1 118 - 0
209 119 - 1
210 - 120 - 2
211 - 0 121 - 3
212 122 * - 0
213 - 1 123 - YC
214 124 - YC
215 - 2 125 - YC
216 126 - YC
217 - 3 127 * - 1
218 128 - YC
219 - .. row 2 129 - YC
220 130 - YC
221 - 0 131 - YC
222 132 * - 2
223 - YC 133 - YC
224 134 - YC
225 - YC 135 - YC
226 136 - YC
227 - YC 137 * - 3
228 138 - YC
229 - YC 139 - YC
230 140 - YC
231 - .. row 3 141 - YC
232
233 - 1
234
235 - YC
236
237 - YC
238
239 - YC
240
241 - YC
242
243 - .. row 4
244
245 - 2
246
247 - YC
248
249 - YC
250
251 - YC
252
253 - YC
254
255 - .. row 5
256
257 - 3
258
259 - YC
260
261 - YC
262
263 - YC
264
265 - YC
diff --git a/Documentation/media/uapi/v4l/pixfmt-yuyv.rst b/Documentation/media/uapi/v4l/pixfmt-yuyv.rst
index 10deab080d51..e1bdd6b1aefc 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yuyv.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yuyv.rst
@@ -30,86 +30,42 @@ Each cell is one byte.
30 :header-rows: 0 30 :header-rows: 0
31 :stub-columns: 0 31 :stub-columns: 0
32 32
33 33 * - start + 0:
34 - .. row 1 34 - Y'\ :sub:`00`
35 35 - Cb\ :sub:`00`
36 - start + 0: 36 - Y'\ :sub:`01`
37 37 - Cr\ :sub:`00`
38 - Y'\ :sub:`00` 38 - Y'\ :sub:`02`
39 39 - Cb\ :sub:`01`
40 - Cb\ :sub:`00` 40 - Y'\ :sub:`03`
41 41 - Cr\ :sub:`01`
42 - Y'\ :sub:`01` 42 * - start + 8:
43 43 - Y'\ :sub:`10`
44 - Cr\ :sub:`00` 44 - Cb\ :sub:`10`
45 45 - Y'\ :sub:`11`
46 - Y'\ :sub:`02` 46 - Cr\ :sub:`10`
47 47 - Y'\ :sub:`12`
48 - Cb\ :sub:`01` 48 - Cb\ :sub:`11`
49 49 - Y'\ :sub:`13`
50 - Y'\ :sub:`03` 50 - Cr\ :sub:`11`
51 51 * - start + 16:
52 - Cr\ :sub:`01` 52 - Y'\ :sub:`20`
53 53 - Cb\ :sub:`20`
54 - .. row 2 54 - Y'\ :sub:`21`
55 55 - Cr\ :sub:`20`
56 - start + 8: 56 - Y'\ :sub:`22`
57 57 - Cb\ :sub:`21`
58 - Y'\ :sub:`10` 58 - Y'\ :sub:`23`
59 59 - Cr\ :sub:`21`
60 - Cb\ :sub:`10` 60 * - start + 24:
61 61 - Y'\ :sub:`30`
62 - Y'\ :sub:`11` 62 - Cb\ :sub:`30`
63 63 - Y'\ :sub:`31`
64 - Cr\ :sub:`10` 64 - Cr\ :sub:`30`
65 65 - Y'\ :sub:`32`
66 - Y'\ :sub:`12` 66 - Cb\ :sub:`31`
67 67 - Y'\ :sub:`33`
68 - Cb\ :sub:`11` 68 - Cr\ :sub:`31`
69
70 - Y'\ :sub:`13`
71
72 - Cr\ :sub:`11`
73
74 - .. row 3
75
76 - start + 16:
77
78 - Y'\ :sub:`20`
79
80 - Cb\ :sub:`20`
81
82 - Y'\ :sub:`21`
83
84 - Cr\ :sub:`20`
85
86 - Y'\ :sub:`22`
87
88 - Cb\ :sub:`21`
89
90 - Y'\ :sub:`23`
91
92 - Cr\ :sub:`21`
93
94 - .. row 4
95
96 - start + 24:
97
98 - Y'\ :sub:`30`
99
100 - Cb\ :sub:`30`
101
102 - Y'\ :sub:`31`
103
104 - Cr\ :sub:`30`
105
106 - Y'\ :sub:`32`
107
108 - Cb\ :sub:`31`
109
110 - Y'\ :sub:`33`
111
112 - Cr\ :sub:`31`
113 69
114 70
115**Color Sample Location..** 71**Color Sample Location..**
@@ -120,85 +76,43 @@ Each cell is one byte.
120 :header-rows: 0 76 :header-rows: 0
121 :stub-columns: 0 77 :stub-columns: 0
122 78
123 79 * -
124 - .. row 1 80 - 0
125 81 -
126 - 82 - 1
127 - 0 83 -
128 84 - 2
129 - 85 -
130 - 1 86 - 3
131 87 * - 0
132 - 88 - Y
133 - 2 89 - C
134 90 - Y
135 - 91 -
136 - 3 92 - Y
137 93 - C
138 - .. row 2 94 - Y
139 95 * - 1
140 - 0 96 - Y
141 97 - C
142 - Y 98 - Y
143 99 -
144 - C 100 - Y
145 101 - C
146 - Y 102 - Y
147 103 * - 2
148 - 104 - Y
149 - Y 105 - C
150 106 - Y
151 - C 107 -
152 108 - Y
153 - Y 109 - C
154 110 - Y
155 - .. row 3 111 * - 3
156 112 - Y
157 - 1 113 - C
158 114 - Y
159 - Y 115 -
160 116 - Y
161 - C 117 - C
162 118 - Y
163 - Y
164
165 -
166 - Y
167
168 - C
169
170 - Y
171
172 - .. row 4
173
174 - 2
175
176 - Y
177
178 - C
179
180 - Y
181
182 -
183 - Y
184
185 - C
186
187 - Y
188
189 - .. row 5
190
191 - 3
192
193 - Y
194
195 - C
196
197 - Y
198
199 -
200 - Y
201
202 - C
203
204 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-yvyu.rst b/Documentation/media/uapi/v4l/pixfmt-yvyu.rst
index d126f08c1adc..0244ce6741a6 100644
--- a/Documentation/media/uapi/v4l/pixfmt-yvyu.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-yvyu.rst
@@ -27,86 +27,42 @@ Each cell is one byte.
27 :header-rows: 0 27 :header-rows: 0
28 :stub-columns: 0 28 :stub-columns: 0
29 29
30 30 * - start + 0:
31 - .. row 1 31 - Y'\ :sub:`00`
32 32 - Cr\ :sub:`00`
33 - start + 0: 33 - Y'\ :sub:`01`
34 34 - Cb\ :sub:`00`
35 - Y'\ :sub:`00` 35 - Y'\ :sub:`02`
36 36 - Cr\ :sub:`01`
37 - Cr\ :sub:`00` 37 - Y'\ :sub:`03`
38 38 - Cb\ :sub:`01`
39 - Y'\ :sub:`01` 39 * - start + 8:
40 40 - Y'\ :sub:`10`
41 - Cb\ :sub:`00` 41 - Cr\ :sub:`10`
42 42 - Y'\ :sub:`11`
43 - Y'\ :sub:`02` 43 - Cb\ :sub:`10`
44 44 - Y'\ :sub:`12`
45 - Cr\ :sub:`01` 45 - Cr\ :sub:`11`
46 46 - Y'\ :sub:`13`
47 - Y'\ :sub:`03` 47 - Cb\ :sub:`11`
48 48 * - start + 16:
49 - Cb\ :sub:`01` 49 - Y'\ :sub:`20`
50 50 - Cr\ :sub:`20`
51 - .. row 2 51 - Y'\ :sub:`21`
52 52 - Cb\ :sub:`20`
53 - start + 8: 53 - Y'\ :sub:`22`
54 54 - Cr\ :sub:`21`
55 - Y'\ :sub:`10` 55 - Y'\ :sub:`23`
56 56 - Cb\ :sub:`21`
57 - Cr\ :sub:`10` 57 * - start + 24:
58 58 - Y'\ :sub:`30`
59 - Y'\ :sub:`11` 59 - Cr\ :sub:`30`
60 60 - Y'\ :sub:`31`
61 - Cb\ :sub:`10` 61 - Cb\ :sub:`30`
62 62 - Y'\ :sub:`32`
63 - Y'\ :sub:`12` 63 - Cr\ :sub:`31`
64 64 - Y'\ :sub:`33`
65 - Cr\ :sub:`11` 65 - Cb\ :sub:`31`
66
67 - Y'\ :sub:`13`
68
69 - Cb\ :sub:`11`
70
71 - .. row 3
72
73 - start + 16:
74
75 - Y'\ :sub:`20`
76
77 - Cr\ :sub:`20`
78
79 - Y'\ :sub:`21`
80
81 - Cb\ :sub:`20`
82
83 - Y'\ :sub:`22`
84
85 - Cr\ :sub:`21`
86
87 - Y'\ :sub:`23`
88
89 - Cb\ :sub:`21`
90
91 - .. row 4
92
93 - start + 24:
94
95 - Y'\ :sub:`30`
96
97 - Cr\ :sub:`30`
98
99 - Y'\ :sub:`31`
100
101 - Cb\ :sub:`30`
102
103 - Y'\ :sub:`32`
104
105 - Cr\ :sub:`31`
106
107 - Y'\ :sub:`33`
108
109 - Cb\ :sub:`31`
110 66
111 67
112**Color Sample Location..** 68**Color Sample Location..**
@@ -115,80 +71,38 @@ Each cell is one byte.
115 :header-rows: 0 71 :header-rows: 0
116 :stub-columns: 0 72 :stub-columns: 0
117 73
118 74 * -
119 - .. row 1 75 - 0
120 76 -
121 - 77 - 1
122 - 0 78 - 2
123 79 -
124 - 80 - 3
125 - 1 81 * - 0
126 82 - Y
127 - 2 83 - C
128 84 - Y
129 - 85 - Y
130 - 3 86 - C
131 87 - Y
132 - .. row 2 88 * - 1
133 89 - Y
134 - 0 90 - C
135 91 - Y
136 - Y 92 - Y
137 93 - C
138 - C 94 - Y
139 95 * - 2
140 - Y 96 - Y
141 97 - C
142 - Y 98 - Y
143 99 - Y
144 - C 100 - C
145 101 - Y
146 - Y 102 * - 3
147 103 - Y
148 - .. row 3 104 - C
149 105 - Y
150 - 1 106 - Y
151 107 - C
152 - Y 108 - Y
153
154 - C
155
156 - Y
157
158 - Y
159
160 - C
161
162 - Y
163
164 - .. row 4
165
166 - 2
167
168 - Y
169
170 - C
171
172 - Y
173
174 - Y
175
176 - C
177
178 - Y
179
180 - .. row 5
181
182 - 3
183
184 - Y
185
186 - C
187
188 - Y
189
190 - Y
191
192 - C
193
194 - Y
diff --git a/Documentation/media/uapi/v4l/pixfmt-z16.rst b/Documentation/media/uapi/v4l/pixfmt-z16.rst
index 97fe1483a481..eb713a9bccae 100644
--- a/Documentation/media/uapi/v4l/pixfmt-z16.rst
+++ b/Documentation/media/uapi/v4l/pixfmt-z16.rst
@@ -28,83 +28,39 @@ Each cell is one byte.
28 :header-rows: 0 28 :header-rows: 0
29 :stub-columns: 0 29 :stub-columns: 0
30 30
31 31 * - start + 0:
32 - .. row 1 32 - Z\ :sub:`00low`
33 33 - Z\ :sub:`00high`
34 - start + 0: 34 - Z\ :sub:`01low`
35 35 - Z\ :sub:`01high`
36 - Z\ :sub:`00low` 36 - Z\ :sub:`02low`
37 37 - Z\ :sub:`02high`
38 - Z\ :sub:`00high` 38 - Z\ :sub:`03low`
39 39 - Z\ :sub:`03high`
40 - Z\ :sub:`01low` 40 * - start + 8:
41 41 - Z\ :sub:`10low`
42 - Z\ :sub:`01high` 42 - Z\ :sub:`10high`
43 43 - Z\ :sub:`11low`
44 - Z\ :sub:`02low` 44 - Z\ :sub:`11high`
45 45 - Z\ :sub:`12low`
46 - Z\ :sub:`02high` 46 - Z\ :sub:`12high`
47 47 - Z\ :sub:`13low`
48 - Z\ :sub:`03low` 48 - Z\ :sub:`13high`
49 49 * - start + 16:
50 - Z\ :sub:`03high` 50 - Z\ :sub:`20low`
51 51 - Z\ :sub:`20high`
52 - .. row 2 52 - Z\ :sub:`21low`
53 53 - Z\ :sub:`21high`
54 - start + 8: 54 - Z\ :sub:`22low`
55 55 - Z\ :sub:`22high`
56 - Z\ :sub:`10low` 56 - Z\ :sub:`23low`
57 57 - Z\ :sub:`23high`
58 - Z\ :sub:`10high` 58 * - start + 24:
59 59 - Z\ :sub:`30low`
60 - Z\ :sub:`11low` 60 - Z\ :sub:`30high`
61 61 - Z\ :sub:`31low`
62 - Z\ :sub:`11high` 62 - Z\ :sub:`31high`
63 63 - Z\ :sub:`32low`
64 - Z\ :sub:`12low` 64 - Z\ :sub:`32high`
65 65 - Z\ :sub:`33low`
66 - Z\ :sub:`12high` 66 - Z\ :sub:`33high`
67
68 - Z\ :sub:`13low`
69
70 - Z\ :sub:`13high`
71
72 - .. row 3
73
74 - start + 16:
75
76 - Z\ :sub:`20low`
77
78 - Z\ :sub:`20high`
79
80 - Z\ :sub:`21low`
81
82 - Z\ :sub:`21high`
83
84 - Z\ :sub:`22low`
85
86 - Z\ :sub:`22high`
87
88 - Z\ :sub:`23low`
89
90 - Z\ :sub:`23high`
91
92 - .. row 4
93
94 - start + 24:
95
96 - Z\ :sub:`30low`
97
98 - Z\ :sub:`30high`
99
100 - Z\ :sub:`31low`
101
102 - Z\ :sub:`31high`
103
104 - Z\ :sub:`32low`
105
106 - Z\ :sub:`32high`
107
108 - Z\ :sub:`33low`
109
110 - Z\ :sub:`33high`
diff --git a/Documentation/media/uapi/v4l/subdev-formats.rst b/Documentation/media/uapi/v4l/subdev-formats.rst
index 08d6532b0a26..e144370f62a0 100644
--- a/Documentation/media/uapi/v4l/subdev-formats.rst
+++ b/Documentation/media/uapi/v4l/subdev-formats.rst
@@ -14,89 +14,44 @@ Media Bus Formats
14 :stub-columns: 0 14 :stub-columns: 0
15 :widths: 1 1 2 15 :widths: 1 1 2
16 16
17 17 * - __u32
18 - .. row 1 18 - ``width``
19 19 - Image width, in pixels.
20 - __u32 20 * - __u32
21 21 - ``height``
22 - ``width`` 22 - Image height, in pixels.
23 23 * - __u32
24 - Image width, in pixels. 24 - ``code``
25 25 - Format code, from enum
26 - .. row 2 26 :ref:`v4l2_mbus_pixelcode <v4l2-mbus-pixelcode>`.
27 27 * - __u32
28 - __u32 28 - ``field``
29 29 - Field order, from enum :c:type:`v4l2_field`. See
30 - ``height`` 30 :ref:`field-order` for details.
31 31 * - __u32
32 - Image height, in pixels. 32 - ``colorspace``
33 33 - Image colorspace, from enum
34 - .. row 3 34 :c:type:`v4l2_colorspace`. See
35 35 :ref:`colorspaces` for details.
36 - __u32 36 * - enum :c:type:`v4l2_ycbcr_encoding`
37 37 - ``ycbcr_enc``
38 - ``code`` 38 - This information supplements the ``colorspace`` and must be set by
39 39 the driver for capture streams and by the application for output
40 - Format code, from enum 40 streams, see :ref:`colorspaces`.
41 :ref:`v4l2_mbus_pixelcode <v4l2-mbus-pixelcode>`. 41 * - enum :c:type:`v4l2_quantization`
42 42 - ``quantization``
43 - .. row 4 43 - This information supplements the ``colorspace`` and must be set by
44 44 the driver for capture streams and by the application for output
45 - __u32 45 streams, see :ref:`colorspaces`.
46 46 * - enum :c:type:`v4l2_xfer_func`
47 - ``field`` 47 - ``xfer_func``
48 48 - This information supplements the ``colorspace`` and must be set by
49 - Field order, from enum :c:type:`v4l2_field`. See 49 the driver for capture streams and by the application for output
50 :ref:`field-order` for details. 50 streams, see :ref:`colorspaces`.
51 51 * - __u16
52 - .. row 5 52 - ``reserved``\ [11]
53 53 - Reserved for future extensions. Applications and drivers must set
54 - __u32 54 the array to zero.
55
56 - ``colorspace``
57
58 - Image colorspace, from enum
59 :c:type:`v4l2_colorspace`. See
60 :ref:`colorspaces` for details.
61
62 - .. row 6
63
64 - enum :c:type:`v4l2_ycbcr_encoding`
65
66 - ``ycbcr_enc``
67
68 - This information supplements the ``colorspace`` and must be set by
69 the driver for capture streams and by the application for output
70 streams, see :ref:`colorspaces`.
71
72 - .. row 7
73
74 - enum :c:type:`v4l2_quantization`
75
76 - ``quantization``
77
78 - This information supplements the ``colorspace`` and must be set by
79 the driver for capture streams and by the application for output
80 streams, see :ref:`colorspaces`.
81
82 - .. row 8
83
84 - enum :c:type:`v4l2_xfer_func`
85
86 - ``xfer_func``
87
88 - This information supplements the ``colorspace`` and must be set by
89 the driver for capture streams and by the application for output
90 streams, see :ref:`colorspaces`.
91
92 - .. row 9
93
94 - __u16
95
96 - ``reserved``\ [11]
97
98 - Reserved for future extensions. Applications and drivers must set
99 the array to zero.
100 55
101 56
102 57
@@ -174,2194 +129,1135 @@ The following tables list existing packed RGB formats.
174 :stub-columns: 0 129 :stub-columns: 0
175 :widths: 36 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 130 :widths: 36 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
176 131
177 - .. row 1 132 * - Identifier
178 133 - Code
179 - Identifier 134 -
180 135 - :cspan:`31` Data organization
181 - Code 136 * -
182 137 -
183 - 138 - Bit
184 - :cspan:`31` Data organization 139 - 31
185 140 - 30
186 - .. row 2 141 - 29
187 142 - 28
188 - 143 - 27
189 - 144 - 26
190 - Bit 145 - 25
191 146 - 24
192 - 31 147 - 23
193 148 - 22
194 - 30 149 - 21
195 150 - 20
196 - 29 151 - 19
197 152 - 18
198 - 28 153 - 17
199 154 - 16
200 - 27 155 - 15
201 156 - 14
202 - 26 157 - 13
203 158 - 12
204 - 25 159 - 11
205 160 - 10
206 - 24 161 - 9
207 162 - 8
208 - 23 163 - 7
209 164 - 6
210 - 22 165 - 5
211 166 - 4
212 - 21 167 - 3
213 168 - 2
214 - 20 169 - 1
215 170 - 0
216 - 19 171 * .. _MEDIA-BUS-FMT-RGB444-1X12:
217 172
218 - 18 173 - MEDIA_BUS_FMT_RGB444_1X12
219 174 - 0x1016
220 - 17 175 -
221 176 -
222 - 16 177 -
223 178 -
224 - 15 179 -
225 180 -
226 - 14 181 -
227 182 -
228 - 13 183 -
229 184 -
230 - 12 185 -
231 186 -
232 - 11 187 -
233 188 -
234 - 10 189 -
235 190 -
236 - 9 191 -
237 192 -
238 - 8 193 -
239 194 -
240 - 7 195 -
241 196 - r\ :sub:`3`
242 - 6 197 - r\ :sub:`2`
243 198 - r\ :sub:`1`
244 - 5 199 - r\ :sub:`0`
245 200 - g\ :sub:`3`
246 - 4 201 - g\ :sub:`2`
247 202 - g\ :sub:`1`
248 - 3 203 - g\ :sub:`0`
249 204 - b\ :sub:`3`
250 - 2 205 - b\ :sub:`2`
251 206 - b\ :sub:`1`
252 - 1 207 - b\ :sub:`0`
253 208 * .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-BE:
254 - 0 209
255 210 - MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE
256 - .. _MEDIA-BUS-FMT-RGB444-1X12: 211 - 0x1001
257 212 -
258 - MEDIA_BUS_FMT_RGB444_1X12 213 -
259 214 -
260 - 0x1016 215 -
261 216 -
262 - 217 -
263 - 218 -
264 219 -
265 - 220 -
266 221 -
267 - 222 -
268 223 -
269 - 224 -
270 225 -
271 - 226 -
272 227 -
273 - 228 -
274 229 -
275 - 230 -
276 231 -
277 - 232 -
278 233 -
279 - 234 -
280 235 -
281 - 236 -
282 237 - 0
283 - 238 - 0
284 239 - 0
285 - 240 - 0
286 241 - r\ :sub:`3`
287 - 242 - r\ :sub:`2`
288 243 - r\ :sub:`1`
289 - 244 - r\ :sub:`0`
290 245 * -
291 - 246 -
292 247 -
293 - 248 -
294 249 -
295 - 250 -
296 251 -
297 - 252 -
298 253 -
299 - 254 -
300 255 -
301 - 256 -
302 257 -
303 - r\ :sub:`3` 258 -
304 259 -
305 - r\ :sub:`2` 260 -
306 261 -
307 - r\ :sub:`1` 262 -
308 263 -
309 - r\ :sub:`0` 264 -
310 265 -
311 - g\ :sub:`3` 266 -
312 267 -
313 - g\ :sub:`2` 268 -
314 269 -
315 - g\ :sub:`1` 270 -
316 271 -
317 - g\ :sub:`0` 272 - g\ :sub:`3`
318 273 - g\ :sub:`2`
319 - b\ :sub:`3` 274 - g\ :sub:`1`
320 275 - g\ :sub:`0`
321 - b\ :sub:`2` 276 - b\ :sub:`3`
322 277 - b\ :sub:`2`
323 - b\ :sub:`1` 278 - b\ :sub:`1`
324 279 - b\ :sub:`0`
325 - b\ :sub:`0` 280 * .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-LE:
326 281
327 - .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-BE: 282 - MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE
328 283 - 0x1002
329 - MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 284 -
330 285 -
331 - 0x1001 286 -
332 287 -
333 - 288 -
334 - 289 -
335 290 -
336 - 291 -
337 292 -
338 - 293 -
339 294 -
340 - 295 -
341 296 -
342 - 297 -
343 298 -
344 - 299 -
345 300 -
346 - 301 -
347 302 -
348 - 303 -
349 304 -
350 - 305 -
351 306 -
352 - 307 -
353 308 -
354 - 309 - g\ :sub:`3`
355 310 - g\ :sub:`2`
356 - 311 - g\ :sub:`1`
357 312 - g\ :sub:`0`
358 - 313 - b\ :sub:`3`
359 314 - b\ :sub:`2`
360 - 315 - b\ :sub:`1`
361 316 - b\ :sub:`0`
362 - 317 * -
363 318 -
364 - 319 -
365 320 -
366 - 321 -
367 322 -
368 - 323 -
369 324 -
370 - 325 -
371 326 -
372 - 327 -
373 328 -
374 - 329 -
375 330 -
376 - 331 -
377 332 -
378 - 333 -
379 334 -
380 - 335 -
381 336 -
382 - 0 337 -
383 338 -
384 - 0 339 -
385 340 -
386 - 0 341 -
387 342 -
388 - 0 343 -
389 344 - 0
390 - r\ :sub:`3` 345 - 0
391 346 - 0
392 - r\ :sub:`2` 347 - 0
393 348 - r\ :sub:`3`
394 - r\ :sub:`1` 349 - r\ :sub:`2`
395 350 - r\ :sub:`1`
396 - r\ :sub:`0` 351 - r\ :sub:`0`
397 352 * .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-BE:
398 - .. row 5 353
399 354 - MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE
400 - 355 - 0x1003
401 - 356 -
402 - 357 -
403 - 358 -
404 359 -
405 - 360 -
406 361 -
407 - 362 -
408 363 -
409 - 364 -
410 365 -
411 - 366 -
412 367 -
413 - 368 -
414 369 -
415 - 370 -
416 371 -
417 - 372 -
418 373 -
419 - 374 -
420 375 -
421 - 376 -
422 377 -
423 - 378 -
424 379 -
425 - 380 -
426 381 - 0
427 - 382 - r\ :sub:`4`
428 383 - r\ :sub:`3`
429 - 384 - r\ :sub:`2`
430 385 - r\ :sub:`1`
431 - 386 - r\ :sub:`0`
432 387 - g\ :sub:`4`
433 - 388 - g\ :sub:`3`
434 389 * -
435 - 390 -
436 391 -
437 - 392 -
438 393 -
439 - 394 -
440 395 -
441 - 396 -
442 397 -
443 - 398 -
444 399 -
445 - 400 -
446 401 -
447 - 402 -
448 403 -
449 - 404 -
450 405 -
451 - g\ :sub:`3` 406 -
452 407 -
453 - g\ :sub:`2` 408 -
454 409 -
455 - g\ :sub:`1` 410 -
456 411 -
457 - g\ :sub:`0` 412 -
458 413 -
459 - b\ :sub:`3` 414 -
460 415 -
461 - b\ :sub:`2` 416 - g\ :sub:`2`
462 417 - g\ :sub:`1`
463 - b\ :sub:`1` 418 - g\ :sub:`0`
464 419 - b\ :sub:`4`
465 - b\ :sub:`0` 420 - b\ :sub:`3`
466 421 - b\ :sub:`2`
467 - .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-LE: 422 - b\ :sub:`1`
468 423 - b\ :sub:`0`
469 - MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 424 * .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-LE:
470 425
471 - 0x1002 426 - MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE
472 427 - 0x1004
473 - 428 -
474 - 429 -
475 430 -
476 - 431 -
477 432 -
478 - 433 -
479 434 -
480 - 435 -
481 436 -
482 - 437 -
483 438 -
484 - 439 -
485 440 -
486 - 441 -
487 442 -
488 - 443 -
489 444 -
490 - 445 -
491 446 -
492 - 447 -
493 448 -
494 - 449 -
495 450 -
496 - 451 -
497 452 -
498 - 453 - g\ :sub:`2`
499 454 - g\ :sub:`1`
500 - 455 - g\ :sub:`0`
501 456 - b\ :sub:`4`
502 - 457 - b\ :sub:`3`
503 458 - b\ :sub:`2`
504 - 459 - b\ :sub:`1`
505 460 - b\ :sub:`0`
506 - 461 * -
507 462 -
508 - 463 -
509 464 -
510 - 465 -
511 466 -
512 - 467 -
513 468 -
514 - 469 -
515 470 -
516 - 471 -
517 472 -
518 - 473 -
519 474 -
520 - 475 -
521 476 -
522 - g\ :sub:`3` 477 -
523 478 -
524 - g\ :sub:`2` 479 -
525 480 -
526 - g\ :sub:`1` 481 -
527 482 -
528 - g\ :sub:`0` 483 -
529 484 -
530 - b\ :sub:`3` 485 -
531 486 -
532 - b\ :sub:`2` 487 -
533 488 - 0
534 - b\ :sub:`1` 489 - r\ :sub:`4`
535 490 - r\ :sub:`3`
536 - b\ :sub:`0` 491 - r\ :sub:`2`
537 492 - r\ :sub:`1`
538 - .. row 7 493 - r\ :sub:`0`
539 494 - g\ :sub:`4`
540 - 495 - g\ :sub:`3`
541 - 496 * .. _MEDIA-BUS-FMT-RGB565-1X16:
542 - 497
543 - 498 - MEDIA_BUS_FMT_RGB565_1X16
544 499 - 0x1017
545 - 500 -
546 501 -
547 - 502 -
548 503 -
549 - 504 -
550 505 -
551 - 506 -
552 507 -
553 - 508 -
554 509 -
555 - 510 -
556 511 -
557 - 512 -
558 513 -
559 - 514 -
560 515 -
561 - 516 -
562 517 - r\ :sub:`4`
563 - 518 - r\ :sub:`3`
564 519 - r\ :sub:`2`
565 - 520 - r\ :sub:`1`
566 521 - r\ :sub:`0`
567 - 522 - g\ :sub:`5`
568 523 - g\ :sub:`4`
569 - 524 - g\ :sub:`3`
570 525 - g\ :sub:`2`
571 - 526 - g\ :sub:`1`
572 527 - g\ :sub:`0`
573 - 528 - b\ :sub:`4`
574 529 - b\ :sub:`3`
575 - 530 - b\ :sub:`2`
576 531 - b\ :sub:`1`
577 - 532 - b\ :sub:`0`
578 533 * .. _MEDIA-BUS-FMT-BGR565-2X8-BE:
579 - 534
580 535 - MEDIA_BUS_FMT_BGR565_2X8_BE
581 - 536 - 0x1005
582 537 -
583 - 538 -
584 539 -
585 - 540 -
586 541 -
587 - 542 -
588 543 -
589 - 544 -
590 545 -
591 - 0 546 -
592 547 -
593 - 0 548 -
594 549 -
595 - 0 550 -
596 551 -
597 - 0 552 -
598 553 -
599 - r\ :sub:`3` 554 -
600 555 -
601 - r\ :sub:`2` 556 -
602 557 -
603 - r\ :sub:`1` 558 -
604 559 -
605 - r\ :sub:`0` 560 -
606 561 -
607 - .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-BE: 562 - b\ :sub:`4`
608 563 - b\ :sub:`3`
609 - MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 564 - b\ :sub:`2`
610 565 - b\ :sub:`1`
611 - 0x1003 566 - b\ :sub:`0`
612 567 - g\ :sub:`5`
613 - 568 - g\ :sub:`4`
614 - 569 - g\ :sub:`3`
615 570 * -
616 - 571 -
617 572 -
618 - 573 -
619 574 -
620 - 575 -
621 576 -
622 - 577 -
623 578 -
624 - 579 -
625 580 -
626 - 581 -
627 582 -
628 - 583 -
629 584 -
630 - 585 -
631 586 -
632 - 587 -
633 588 -
634 - 589 -
635 590 -
636 - 591 -
637 592 -
638 - 593 -
639 594 -
640 - 595 -
641 596 -
642 - 597 - g\ :sub:`2`
643 598 - g\ :sub:`1`
644 - 599 - g\ :sub:`0`
645 600 - r\ :sub:`4`
646 - 601 - r\ :sub:`3`
647 602 - r\ :sub:`2`
648 - 603 - r\ :sub:`1`
649 604 - r\ :sub:`0`
650 - 605 * .. _MEDIA-BUS-FMT-BGR565-2X8-LE:
651 606
652 - 607 - MEDIA_BUS_FMT_BGR565_2X8_LE
653 608 - 0x1006
654 - 609 -
655 610 -
656 - 611 -
657 612 -
658 - 613 -
659 614 -
660 - 615 -
661 616 -
662 - 0 617 -
663 618 -
664 - r\ :sub:`4` 619 -
665 620 -
666 - r\ :sub:`3` 621 -
667 622 -
668 - r\ :sub:`2` 623 -
669 624 -
670 - r\ :sub:`1` 625 -
671 626 -
672 - r\ :sub:`0` 627 -
673 628 -
674 - g\ :sub:`4` 629 -
675 630 -
676 - g\ :sub:`3` 631 -
677 632 -
678 - .. row 9 633 -
679 634 - g\ :sub:`2`
680 - 635 - g\ :sub:`1`
681 - 636 - g\ :sub:`0`
682 - 637 - r\ :sub:`4`
683 - 638 - r\ :sub:`3`
684 639 - r\ :sub:`2`
685 - 640 - r\ :sub:`1`
686 641 - r\ :sub:`0`
687 - 642 * -
688 643 -
689 - 644 -
690 645 -
691 - 646 -
692 647 -
693 - 648 -
694 649 -
695 - 650 -
696 651 -
697 - 652 -
698 653 -
699 - 654 -
700 655 -
701 - 656 -
702 657 -
703 - 658 -
704 659 -
705 - 660 -
706 661 -
707 - 662 -
708 663 -
709 - 664 -
710 665 -
711 - 666 -
712 667 -
713 - 668 -
714 669 - b\ :sub:`4`
715 - 670 - b\ :sub:`3`
716 671 - b\ :sub:`2`
717 - 672 - b\ :sub:`1`
718 673 - b\ :sub:`0`
719 - 674 - g\ :sub:`5`
720 675 - g\ :sub:`4`
721 - 676 - g\ :sub:`3`
722 677 * .. _MEDIA-BUS-FMT-RGB565-2X8-BE:
723 - 678
724 679 - MEDIA_BUS_FMT_RGB565_2X8_BE
725 - 680 - 0x1007
726 681 -
727 - 682 -
728 683 -
729 - 684 -
730 685 -
731 - g\ :sub:`2` 686 -
732 687 -
733 - g\ :sub:`1` 688 -
734 689 -
735 - g\ :sub:`0` 690 -
736 691 -
737 - b\ :sub:`4` 692 -
738 693 -
739 - b\ :sub:`3` 694 -
740 695 -
741 - b\ :sub:`2` 696 -
742 697 -
743 - b\ :sub:`1` 698 -
744 699 -
745 - b\ :sub:`0` 700 -
746 701 -
747 - .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-LE: 702 -
748 703 -
749 - MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE 704 -
750 705 -
751 - 0x1004 706 - r\ :sub:`4`
752 707 - r\ :sub:`3`
753 - 708 - r\ :sub:`2`
754 - 709 - r\ :sub:`1`
755 710 - r\ :sub:`0`
756 - 711 - g\ :sub:`5`
757 712 - g\ :sub:`4`
758 - 713 - g\ :sub:`3`
759 714 * -
760 - 715 -
761 716 -
762 - 717 -
763 718 -
764 - 719 -
765 720 -
766 - 721 -
767 722 -
768 - 723 -
769 724 -
770 - 725 -
771 726 -
772 - 727 -
773 728 -
774 - 729 -
775 730 -
776 - 731 -
777 732 -
778 - 733 -
779 734 -
780 - 735 -
781 736 -
782 - 737 -
783 738 -
784 - 739 -
785 740 -
786 - 741 - g\ :sub:`2`
787 742 - g\ :sub:`1`
788 - 743 - g\ :sub:`0`
789 744 - b\ :sub:`4`
790 - 745 - b\ :sub:`3`
791 746 - b\ :sub:`2`
792 - 747 - b\ :sub:`1`
793 748 - b\ :sub:`0`
794 - 749 * .. _MEDIA-BUS-FMT-RGB565-2X8-LE:
795 750
796 - 751 - MEDIA_BUS_FMT_RGB565_2X8_LE
797 752 - 0x1008
798 - 753 -
799 754 -
800 - 755 -
801 756 -
802 - g\ :sub:`2` 757 -
803 758 -
804 - g\ :sub:`1` 759 -
805 760 -
806 - g\ :sub:`0` 761 -
807 762 -
808 - b\ :sub:`4` 763 -
809 764 -
810 - b\ :sub:`3` 765 -
811 766 -
812 - b\ :sub:`2` 767 -
813 768 -
814 - b\ :sub:`1` 769 -
815 770 -
816 - b\ :sub:`0` 771 -
817 772 -
818 - .. row 11 773 -
819 774 -
820 - 775 -
821 - 776 -
822 - 777 -
823 - 778 - g\ :sub:`2`
824 779 - g\ :sub:`1`
825 - 780 - g\ :sub:`0`
826 781 - b\ :sub:`4`
827 - 782 - b\ :sub:`3`
828 783 - b\ :sub:`2`
829 - 784 - b\ :sub:`1`
830 785 - b\ :sub:`0`
831 - 786 * -
832 787 -
833 - 788 -
834 789 -
835 - 790 -
836 791 -
837 - 792 -
838 793 -
839 - 794 -
840 795 -
841 - 796 -
842 797 -
843 - 798 -
844 799 -
845 - 800 -
846 801 -
847 - 802 -
848 803 -
849 - 804 -
850 805 -
851 - 806 -
852 807 -
853 - 808 -
854 809 -
855 - 810 -
856 811 -
857 - 812 -
858 813 - r\ :sub:`4`
859 - 814 - r\ :sub:`3`
860 815 - r\ :sub:`2`
861 - 816 - r\ :sub:`1`
862 817 - r\ :sub:`0`
863 - 818 - g\ :sub:`5`
864 819 - g\ :sub:`4`
865 - 820 - g\ :sub:`3`
866 821 * .. _MEDIA-BUS-FMT-RGB666-1X18:
867 - 822
868 823 - MEDIA_BUS_FMT_RGB666_1X18
869 - 824 - 0x1009
870 825 -
871 - 0 826 -
872 827 -
873 - r\ :sub:`4` 828 -
874 829 -
875 - r\ :sub:`3` 830 -
876 831 -
877 - r\ :sub:`2` 832 -
878 833 -
879 - r\ :sub:`1` 834 -
880 835 -
881 - r\ :sub:`0` 836 -
882 837 -
883 - g\ :sub:`4` 838 -
884 839 -
885 - g\ :sub:`3` 840 - r\ :sub:`5`
886 841 - r\ :sub:`4`
887 - .. _MEDIA-BUS-FMT-RGB565-1X16: 842 - r\ :sub:`3`
888 843 - r\ :sub:`2`
889 - MEDIA_BUS_FMT_RGB565_1X16 844 - r\ :sub:`1`
890 845 - r\ :sub:`0`
891 - 0x1017 846 - g\ :sub:`5`
892 847 - g\ :sub:`4`
893 - 848 - g\ :sub:`3`
894 - 849 - g\ :sub:`2`
895 850 - g\ :sub:`1`
896 - 851 - g\ :sub:`0`
897 852 - b\ :sub:`5`
898 - 853 - b\ :sub:`4`
899 854 - b\ :sub:`3`
900 - 855 - b\ :sub:`2`
901 856 - b\ :sub:`1`
902 - 857 - b\ :sub:`0`
903 858 * .. _MEDIA-BUS-FMT-RBG888-1X24:
904 - 859
905 860 - MEDIA_BUS_FMT_RBG888_1X24
906 - 861 - 0x100e
907 862 -
908 - 863 -
909 864 -
910 - 865 -
911 866 -
912 - 867 -
913 868 -
914 - 869 -
915 870 -
916 - 871 - r\ :sub:`7`
917 872 - r\ :sub:`6`
918 - 873 - r\ :sub:`5`
919 874 - r\ :sub:`4`
920 - 875 - r\ :sub:`3`
921 876 - r\ :sub:`2`
922 - 877 - r\ :sub:`1`
923 878 - r\ :sub:`0`
924 - 879 - b\ :sub:`7`
925 880 - b\ :sub:`6`
926 - r\ :sub:`4` 881 - b\ :sub:`5`
927 882 - b\ :sub:`4`
928 - r\ :sub:`3` 883 - b\ :sub:`3`
929 884 - b\ :sub:`2`
930 - r\ :sub:`2` 885 - b\ :sub:`1`
931 886 - b\ :sub:`0`
932 - r\ :sub:`1` 887 - g\ :sub:`7`
933 888 - g\ :sub:`6`
934 - r\ :sub:`0` 889 - g\ :sub:`5`
935 890 - g\ :sub:`4`
936 - g\ :sub:`5` 891 - g\ :sub:`3`
937 892 - g\ :sub:`2`
938 - g\ :sub:`4` 893 - g\ :sub:`1`
939 894 - g\ :sub:`0`
940 - g\ :sub:`3` 895 * .. _MEDIA-BUS-FMT-RGB666-1X24_CPADHI:
941 896
942 - g\ :sub:`2` 897 - MEDIA_BUS_FMT_RGB666_1X24_CPADHI
943 898 - 0x1015
944 - g\ :sub:`1` 899 -
945 900 -
946 - g\ :sub:`0` 901 -
947 902 -
948 - b\ :sub:`4` 903 -
949 904 -
950 - b\ :sub:`3` 905 -
951 906 -
952 - b\ :sub:`2` 907 -
953 908 - 0
954 - b\ :sub:`1` 909 - 0
955 910 - r\ :sub:`5`
956 - b\ :sub:`0` 911 - r\ :sub:`4`
957 912 - r\ :sub:`3`
958 - .. _MEDIA-BUS-FMT-BGR565-2X8-BE: 913 - r\ :sub:`2`
959 914 - r\ :sub:`1`
960 - MEDIA_BUS_FMT_BGR565_2X8_BE 915 - r\ :sub:`0`
961 916 - 0
962 - 0x1005 917 - 0
963 918 - g\ :sub:`5`
964 - 919 - g\ :sub:`4`
965 - 920 - g\ :sub:`3`
966 921 - g\ :sub:`2`
967 - 922 - g\ :sub:`1`
968 923 - g\ :sub:`0`
969 - 924 - 0
970 925 - 0
971 - 926 - b\ :sub:`5`
972 927 - b\ :sub:`4`
973 - 928 - b\ :sub:`3`
974 929 - b\ :sub:`2`
975 - 930 - b\ :sub:`1`
976 931 - b\ :sub:`0`
977 - 932 * .. _MEDIA-BUS-FMT-BGR888-1X24:
978 933
979 - 934 - MEDIA_BUS_FMT_BGR888_1X24
980 935 - 0x1013
981 - 936 -
982 937 -
983 - 938 -
984 939 -
985 - 940 -
986 941 -
987 - 942 -
988 943 -
989 - 944 -
990 945 - b\ :sub:`7`
991 - 946 - b\ :sub:`6`
992 947 - b\ :sub:`5`
993 - 948 - b\ :sub:`4`
994 949 - b\ :sub:`3`
995 - 950 - b\ :sub:`2`
996 951 - b\ :sub:`1`
997 - 952 - b\ :sub:`0`
998 953 - g\ :sub:`7`
999 - 954 - g\ :sub:`6`
1000 955 - g\ :sub:`5`
1001 - 956 - g\ :sub:`4`
1002 957 - g\ :sub:`3`
1003 - 958 - g\ :sub:`2`
1004 959 - g\ :sub:`1`
1005 - 960 - g\ :sub:`0`
1006 961 - r\ :sub:`7`
1007 - 962 - r\ :sub:`6`
1008 963 - r\ :sub:`5`
1009 - 964 - r\ :sub:`4`
1010 965 - r\ :sub:`3`
1011 - 966 - r\ :sub:`2`
1012 967 - r\ :sub:`1`
1013 - b\ :sub:`4` 968 - r\ :sub:`0`
1014 969 * .. _MEDIA-BUS-FMT-GBR888-1X24:
1015 - b\ :sub:`3` 970
1016 971 - MEDIA_BUS_FMT_GBR888_1X24
1017 - b\ :sub:`2` 972 - 0x1014
1018 973 -
1019 - b\ :sub:`1` 974 -
1020 975 -
1021 - b\ :sub:`0` 976 -
1022 977 -
1023 - g\ :sub:`5` 978 -
1024 979 -
1025 - g\ :sub:`4` 980 -
1026 981 -
1027 - g\ :sub:`3` 982 - g\ :sub:`7`
1028 983 - g\ :sub:`6`
1029 - .. row 14 984 - g\ :sub:`5`
1030 985 - g\ :sub:`4`
1031 - 986 - g\ :sub:`3`
1032 - 987 - g\ :sub:`2`
1033 - 988 - g\ :sub:`1`
1034 - 989 - g\ :sub:`0`
1035 990 - b\ :sub:`7`
1036 - 991 - b\ :sub:`6`
1037 992 - b\ :sub:`5`
1038 - 993 - b\ :sub:`4`
1039 994 - b\ :sub:`3`
1040 - 995 - b\ :sub:`2`
1041 996 - b\ :sub:`1`
1042 - 997 - b\ :sub:`0`
1043 998 - r\ :sub:`7`
1044 - 999 - r\ :sub:`6`
1045 1000 - r\ :sub:`5`
1046 - 1001 - r\ :sub:`4`
1047 1002 - r\ :sub:`3`
1048 - 1003 - r\ :sub:`2`
1049 1004 - r\ :sub:`1`
1050 - 1005 - r\ :sub:`0`
1051 1006 * .. _MEDIA-BUS-FMT-RGB888-1X24:
1052 - 1007
1053 1008 - MEDIA_BUS_FMT_RGB888_1X24
1054 - 1009 - 0x100a
1055 1010 -
1056 - 1011 -
1057 1012 -
1058 - 1013 -
1059 1014 -
1060 - 1015 -
1061 1016 -
1062 - 1017 -
1063 1018 -
1064 - 1019 - r\ :sub:`7`
1065 1020 - r\ :sub:`6`
1066 - 1021 - r\ :sub:`5`
1067 1022 - r\ :sub:`4`
1068 - 1023 - r\ :sub:`3`
1069 1024 - r\ :sub:`2`
1070 - 1025 - r\ :sub:`1`
1071 1026 - r\ :sub:`0`
1072 - 1027 - g\ :sub:`7`
1073 1028 - g\ :sub:`6`
1074 - 1029 - g\ :sub:`5`
1075 1030 - g\ :sub:`4`
1076 - 1031 - g\ :sub:`3`
1077 1032 - g\ :sub:`2`
1078 - 1033 - g\ :sub:`1`
1079 1034 - g\ :sub:`0`
1080 - 1035 - b\ :sub:`7`
1081 1036 - b\ :sub:`6`
1082 - g\ :sub:`2` 1037 - b\ :sub:`5`
1083 1038 - b\ :sub:`4`
1084 - g\ :sub:`1` 1039 - b\ :sub:`3`
1085 1040 - b\ :sub:`2`
1086 - g\ :sub:`0` 1041 - b\ :sub:`1`
1087 1042 - b\ :sub:`0`
1088 - r\ :sub:`4` 1043 * .. _MEDIA-BUS-FMT-RGB888-2X12-BE:
1089 1044
1090 - r\ :sub:`3` 1045 - MEDIA_BUS_FMT_RGB888_2X12_BE
1091 1046 - 0x100b
1092 - r\ :sub:`2` 1047 -
1093 1048 -
1094 - r\ :sub:`1` 1049 -
1095 1050 -
1096 - r\ :sub:`0` 1051 -
1097 1052 -
1098 - .. _MEDIA-BUS-FMT-BGR565-2X8-LE: 1053 -
1099 1054 -
1100 - MEDIA_BUS_FMT_BGR565_2X8_LE 1055 -
1101 1056 -
1102 - 0x1006 1057 -
1103 1058 -
1104 - 1059 -
1105 - 1060 -
1106 1061 -
1107 - 1062 -
1108 1063 -
1109 - 1064 -
1110 1065 -
1111 - 1066 -
1112 1067 -
1113 - 1068 - r\ :sub:`7`
1114 1069 - r\ :sub:`6`
1115 - 1070 - r\ :sub:`5`
1116 1071 - r\ :sub:`4`
1117 - 1072 - r\ :sub:`3`
1118 1073 - r\ :sub:`2`
1119 - 1074 - r\ :sub:`1`
1120 1075 - r\ :sub:`0`
1121 - 1076 - g\ :sub:`7`
1122 1077 - g\ :sub:`6`
1123 - 1078 - g\ :sub:`5`
1124 1079 - g\ :sub:`4`
1125 - 1080 * -
1126 1081 -
1127 - 1082 -
1128 1083 -
1129 - 1084 -
1130 1085 -
1131 - 1086 -
1132 1087 -
1133 - 1088 -
1134 1089 -
1135 - 1090 -
1136 1091 -
1137 - 1092 -
1138 1093 -
1139 - 1094 -
1140 1095 -
1141 - 1096 -
1142 1097 -
1143 - 1098 -
1144 1099 -
1145 - 1100 -
1146 1101 -
1147 - 1102 -
1148 1103 - g\ :sub:`3`
1149 - 1104 - g\ :sub:`2`
1150 1105 - g\ :sub:`1`
1151 - 1106 - g\ :sub:`0`
1152 1107 - b\ :sub:`7`
1153 - g\ :sub:`2` 1108 - b\ :sub:`6`
1154 1109 - b\ :sub:`5`
1155 - g\ :sub:`1` 1110 - b\ :sub:`4`
1156 1111 - b\ :sub:`3`
1157 - g\ :sub:`0` 1112 - b\ :sub:`2`
1158 1113 - b\ :sub:`1`
1159 - r\ :sub:`4` 1114 - b\ :sub:`0`
1160 1115 * .. _MEDIA-BUS-FMT-RGB888-2X12-LE:
1161 - r\ :sub:`3` 1116
1162 1117 - MEDIA_BUS_FMT_RGB888_2X12_LE
1163 - r\ :sub:`2` 1118 - 0x100c
1164 1119 -
1165 - r\ :sub:`1` 1120 -
1166 1121 -
1167 - r\ :sub:`0` 1122 -
1168 1123 -
1169 - .. row 16 1124 -
1170 1125 -
1171 - 1126 -
1172 - 1127 -
1173 - 1128 -
1174 - 1129 -
1175 1130 -
1176 - 1131 -
1177 1132 -
1178 - 1133 -
1179 1134 -
1180 - 1135 -
1181 1136 -
1182 - 1137 -
1183 1138 -
1184 - 1139 -
1185 1140 - g\ :sub:`3`
1186 - 1141 - g\ :sub:`2`
1187 1142 - g\ :sub:`1`
1188 - 1143 - g\ :sub:`0`
1189 1144 - b\ :sub:`7`
1190 - 1145 - b\ :sub:`6`
1191 1146 - b\ :sub:`5`
1192 - 1147 - b\ :sub:`4`
1193 1148 - b\ :sub:`3`
1194 - 1149 - b\ :sub:`2`
1195 1150 - b\ :sub:`1`
1196 - 1151 - b\ :sub:`0`
1197 1152 * -
1198 - 1153 -
1199 1154 -
1200 - 1155 -
1201 1156 -
1202 - 1157 -
1203 1158 -
1204 - 1159 -
1205 1160 -
1206 - 1161 -
1207 1162 -
1208 - 1163 -
1209 1164 -
1210 - 1165 -
1211 1166 -
1212 - 1167 -
1213 1168 -
1214 - 1169 -
1215 1170 -
1216 - 1171 -
1217 1172 -
1218 - 1173 -
1219 1174 -
1220 - 1175 - r\ :sub:`7`
1221 1176 - r\ :sub:`6`
1222 - b\ :sub:`4` 1177 - r\ :sub:`5`
1223 1178 - r\ :sub:`4`
1224 - b\ :sub:`3` 1179 - r\ :sub:`3`
1225 1180 - r\ :sub:`2`
1226 - b\ :sub:`2` 1181 - r\ :sub:`1`
1227 1182 - r\ :sub:`0`
1228 - b\ :sub:`1` 1183 - g\ :sub:`7`
1229 1184 - g\ :sub:`6`
1230 - b\ :sub:`0` 1185 - g\ :sub:`5`
1231 1186 - g\ :sub:`4`
1232 - g\ :sub:`5` 1187 * .. _MEDIA-BUS-FMT-ARGB888-1X32:
1233 1188
1234 - g\ :sub:`4` 1189 - MEDIA_BUS_FMT_ARGB888_1X32
1235 1190 - 0x100d
1236 - g\ :sub:`3` 1191 -
1237 1192 - a\ :sub:`7`
1238 - .. _MEDIA-BUS-FMT-RGB565-2X8-BE: 1193 - a\ :sub:`6`
1239 1194 - a\ :sub:`5`
1240 - MEDIA_BUS_FMT_RGB565_2X8_BE 1195 - a\ :sub:`4`
1241 1196 - a\ :sub:`3`
1242 - 0x1007 1197 - a\ :sub:`2`
1243 1198 - a\ :sub:`1`
1244 - 1199 - a\ :sub:`0`
1245 - 1200 - r\ :sub:`7`
1246 1201 - r\ :sub:`6`
1247 - 1202 - r\ :sub:`5`
1248 1203 - r\ :sub:`4`
1249 - 1204 - r\ :sub:`3`
1250 1205 - r\ :sub:`2`
1251 - 1206 - r\ :sub:`1`
1252 1207 - r\ :sub:`0`
1253 - 1208 - g\ :sub:`7`
1254 1209 - g\ :sub:`6`
1255 - 1210 - g\ :sub:`5`
1256 1211 - g\ :sub:`4`
1257 - 1212 - g\ :sub:`3`
1258 1213 - g\ :sub:`2`
1259 - 1214 - g\ :sub:`1`
1260 1215 - g\ :sub:`0`
1261 - 1216 - b\ :sub:`7`
1262 1217 - b\ :sub:`6`
1263 - 1218 - b\ :sub:`5`
1264 1219 - b\ :sub:`4`
1265 - 1220 - b\ :sub:`3`
1266 1221 - b\ :sub:`2`
1267 - 1222 - b\ :sub:`1`
1268 1223 - b\ :sub:`0`
1269 - 1224 * .. _MEDIA-BUS-FMT-RGB888-1X32-PADHI:
1270 1225
1271 - 1226 - MEDIA_BUS_FMT_RGB888_1X32_PADHI
1272 1227 - 0x100f
1273 - 1228 -
1274 1229 - 0
1275 - 1230 - 0
1276 1231 - 0
1277 - 1232 - 0
1278 1233 - 0
1279 - 1234 - 0
1280 1235 - 0
1281 - 1236 - 0
1282 1237 - r\ :sub:`7`
1283 - 1238 - r\ :sub:`6`
1284 1239 - r\ :sub:`5`
1285 - 1240 - r\ :sub:`4`
1286 1241 - r\ :sub:`3`
1287 - 1242 - r\ :sub:`2`
1288 1243 - r\ :sub:`1`
1289 - 1244 - r\ :sub:`0`
1290 1245 - g\ :sub:`7`
1291 - 1246 - g\ :sub:`6`
1292 1247 - g\ :sub:`5`
1293 - r\ :sub:`4` 1248 - g\ :sub:`4`
1294 1249 - g\ :sub:`3`
1295 - r\ :sub:`3` 1250 - g\ :sub:`2`
1296 1251 - g\ :sub:`1`
1297 - r\ :sub:`2` 1252 - g\ :sub:`0`
1298 1253 - b\ :sub:`7`
1299 - r\ :sub:`1` 1254 - b\ :sub:`6`
1300 1255 - b\ :sub:`5`
1301 - r\ :sub:`0` 1256 - b\ :sub:`4`
1302 1257 - b\ :sub:`3`
1303 - g\ :sub:`5` 1258 - b\ :sub:`2`
1304 1259 - b\ :sub:`1`
1305 - g\ :sub:`4` 1260 - b\ :sub:`0`
1306
1307 - g\ :sub:`3`
1308
1309 - .. row 18
1310
1311 -
1312 -
1313 -
1314 -
1315
1316 -
1317
1318 -
1319
1320 -
1321
1322 -
1323
1324 -
1325
1326 -
1327
1328 -
1329
1330 -
1331
1332 -
1333
1334 -
1335
1336 -
1337
1338 -
1339
1340 -
1341
1342 -
1343
1344 -
1345
1346 -
1347
1348 -
1349
1350 -
1351
1352 -
1353
1354 -
1355
1356 -
1357
1358 -
1359
1360 -
1361
1362 - g\ :sub:`2`
1363
1364 - g\ :sub:`1`
1365
1366 - g\ :sub:`0`
1367
1368 - b\ :sub:`4`
1369
1370 - b\ :sub:`3`
1371
1372 - b\ :sub:`2`
1373
1374 - b\ :sub:`1`
1375
1376 - b\ :sub:`0`
1377
1378 - .. _MEDIA-BUS-FMT-RGB565-2X8-LE:
1379
1380 - MEDIA_BUS_FMT_RGB565_2X8_LE
1381
1382 - 0x1008
1383
1384 -
1385 -
1386
1387 -
1388
1389 -
1390
1391 -
1392
1393 -
1394
1395 -
1396
1397 -
1398
1399 -
1400
1401 -
1402
1403 -
1404
1405 -
1406
1407 -
1408
1409 -
1410
1411 -
1412
1413 -
1414
1415 -
1416
1417 -
1418
1419 -
1420
1421 -
1422
1423 -
1424
1425 -
1426
1427 -
1428
1429 -
1430
1431 -
1432
1433 - g\ :sub:`2`
1434
1435 - g\ :sub:`1`
1436
1437 - g\ :sub:`0`
1438
1439 - b\ :sub:`4`
1440
1441 - b\ :sub:`3`
1442
1443 - b\ :sub:`2`
1444
1445 - b\ :sub:`1`
1446
1447 - b\ :sub:`0`
1448
1449 - .. row 20
1450
1451 -
1452 -
1453 -
1454 -
1455
1456 -
1457
1458 -
1459
1460 -
1461
1462 -
1463
1464 -
1465
1466 -
1467
1468 -
1469
1470 -
1471
1472 -
1473
1474 -
1475
1476 -
1477
1478 -
1479
1480 -
1481
1482 -
1483
1484 -
1485
1486 -
1487
1488 -
1489
1490 -
1491
1492 -
1493
1494 -
1495
1496 -
1497
1498 -
1499
1500 -
1501
1502 - r\ :sub:`4`
1503
1504 - r\ :sub:`3`
1505
1506 - r\ :sub:`2`
1507
1508 - r\ :sub:`1`
1509
1510 - r\ :sub:`0`
1511
1512 - g\ :sub:`5`
1513
1514 - g\ :sub:`4`
1515
1516 - g\ :sub:`3`
1517
1518 - .. _MEDIA-BUS-FMT-RGB666-1X18:
1519
1520 - MEDIA_BUS_FMT_RGB666_1X18
1521
1522 - 0x1009
1523
1524 -
1525 -
1526
1527 -
1528
1529 -
1530
1531 -
1532
1533 -
1534
1535 -
1536
1537 -
1538
1539 -
1540
1541 -
1542
1543 -
1544
1545 -
1546
1547 -
1548
1549 -
1550
1551 -
1552
1553 - r\ :sub:`5`
1554
1555 - r\ :sub:`4`
1556
1557 - r\ :sub:`3`
1558
1559 - r\ :sub:`2`
1560
1561 - r\ :sub:`1`
1562
1563 - r\ :sub:`0`
1564
1565 - g\ :sub:`5`
1566
1567 - g\ :sub:`4`
1568
1569 - g\ :sub:`3`
1570
1571 - g\ :sub:`2`
1572
1573 - g\ :sub:`1`
1574
1575 - g\ :sub:`0`
1576
1577 - b\ :sub:`5`
1578
1579 - b\ :sub:`4`
1580
1581 - b\ :sub:`3`
1582
1583 - b\ :sub:`2`
1584
1585 - b\ :sub:`1`
1586
1587 - b\ :sub:`0`
1588
1589 - .. _MEDIA-BUS-FMT-RBG888-1X24:
1590
1591 - MEDIA_BUS_FMT_RBG888_1X24
1592
1593 - 0x100e
1594
1595 -
1596 -
1597
1598 -
1599
1600 -
1601
1602 -
1603
1604 -
1605
1606 -
1607
1608 -
1609
1610 -
1611
1612 - r\ :sub:`7`
1613
1614 - r\ :sub:`6`
1615
1616 - r\ :sub:`5`
1617
1618 - r\ :sub:`4`
1619
1620 - r\ :sub:`3`
1621
1622 - r\ :sub:`2`
1623
1624 - r\ :sub:`1`
1625
1626 - r\ :sub:`0`
1627
1628 - b\ :sub:`7`
1629
1630 - b\ :sub:`6`
1631
1632 - b\ :sub:`5`
1633
1634 - b\ :sub:`4`
1635
1636 - b\ :sub:`3`
1637
1638 - b\ :sub:`2`
1639
1640 - b\ :sub:`1`
1641
1642 - b\ :sub:`0`
1643
1644 - g\ :sub:`7`
1645
1646 - g\ :sub:`6`
1647
1648 - g\ :sub:`5`
1649
1650 - g\ :sub:`4`
1651
1652 - g\ :sub:`3`
1653
1654 - g\ :sub:`2`
1655
1656 - g\ :sub:`1`
1657
1658 - g\ :sub:`0`
1659
1660 - .. _MEDIA-BUS-FMT-RGB666-1X24_CPADHI:
1661
1662 - MEDIA_BUS_FMT_RGB666_1X24_CPADHI
1663
1664 - 0x1015
1665
1666 -
1667 -
1668
1669 -
1670
1671 -
1672
1673 -
1674
1675 -
1676
1677 -
1678
1679 -
1680
1681 -
1682
1683 - 0
1684
1685 - 0
1686
1687 - r\ :sub:`5`
1688
1689 - r\ :sub:`4`
1690
1691 - r\ :sub:`3`
1692
1693 - r\ :sub:`2`
1694
1695 - r\ :sub:`1`
1696
1697 - r\ :sub:`0`
1698
1699 - 0
1700
1701 - 0
1702
1703 - g\ :sub:`5`
1704
1705 - g\ :sub:`4`
1706
1707 - g\ :sub:`3`
1708
1709 - g\ :sub:`2`
1710
1711 - g\ :sub:`1`
1712
1713 - g\ :sub:`0`
1714
1715 - 0
1716
1717 - 0
1718
1719 - b\ :sub:`5`
1720
1721 - b\ :sub:`4`
1722
1723 - b\ :sub:`3`
1724
1725 - b\ :sub:`2`
1726
1727 - b\ :sub:`1`
1728
1729 - b\ :sub:`0`
1730
1731 - .. _MEDIA-BUS-FMT-BGR888-1X24:
1732
1733 - MEDIA_BUS_FMT_BGR888_1X24
1734
1735 - 0x1013
1736
1737 -
1738 -
1739
1740 -
1741
1742 -
1743
1744 -
1745
1746 -
1747
1748 -
1749
1750 -
1751
1752 -
1753
1754 - b\ :sub:`7`
1755
1756 - b\ :sub:`6`
1757
1758 - b\ :sub:`5`
1759
1760 - b\ :sub:`4`
1761
1762 - b\ :sub:`3`
1763
1764 - b\ :sub:`2`
1765
1766 - b\ :sub:`1`
1767
1768 - b\ :sub:`0`
1769
1770 - g\ :sub:`7`
1771
1772 - g\ :sub:`6`
1773
1774 - g\ :sub:`5`
1775
1776 - g\ :sub:`4`
1777
1778 - g\ :sub:`3`
1779
1780 - g\ :sub:`2`
1781
1782 - g\ :sub:`1`
1783
1784 - g\ :sub:`0`
1785
1786 - r\ :sub:`7`
1787
1788 - r\ :sub:`6`
1789
1790 - r\ :sub:`5`
1791
1792 - r\ :sub:`4`
1793
1794 - r\ :sub:`3`
1795
1796 - r\ :sub:`2`
1797
1798 - r\ :sub:`1`
1799
1800 - r\ :sub:`0`
1801
1802 - .. _MEDIA-BUS-FMT-GBR888-1X24:
1803
1804 - MEDIA_BUS_FMT_GBR888_1X24
1805
1806 - 0x1014
1807
1808 -
1809 -
1810
1811 -
1812
1813 -
1814
1815 -
1816
1817 -
1818
1819 -
1820
1821 -
1822
1823 -
1824
1825 - g\ :sub:`7`
1826
1827 - g\ :sub:`6`
1828
1829 - g\ :sub:`5`
1830
1831 - g\ :sub:`4`
1832
1833 - g\ :sub:`3`
1834
1835 - g\ :sub:`2`
1836
1837 - g\ :sub:`1`
1838
1839 - g\ :sub:`0`
1840
1841 - b\ :sub:`7`
1842
1843 - b\ :sub:`6`
1844
1845 - b\ :sub:`5`
1846
1847 - b\ :sub:`4`
1848
1849 - b\ :sub:`3`
1850
1851 - b\ :sub:`2`
1852
1853 - b\ :sub:`1`
1854
1855 - b\ :sub:`0`
1856
1857 - r\ :sub:`7`
1858
1859 - r\ :sub:`6`
1860
1861 - r\ :sub:`5`
1862
1863 - r\ :sub:`4`
1864
1865 - r\ :sub:`3`
1866
1867 - r\ :sub:`2`
1868
1869 - r\ :sub:`1`
1870
1871 - r\ :sub:`0`
1872
1873 - .. _MEDIA-BUS-FMT-RGB888-1X24:
1874
1875 - MEDIA_BUS_FMT_RGB888_1X24
1876
1877 - 0x100a
1878
1879 -
1880 -
1881
1882 -
1883
1884 -
1885
1886 -
1887
1888 -
1889
1890 -
1891
1892 -
1893
1894 -
1895
1896 - r\ :sub:`7`
1897
1898 - r\ :sub:`6`
1899
1900 - r\ :sub:`5`
1901
1902 - r\ :sub:`4`
1903
1904 - r\ :sub:`3`
1905
1906 - r\ :sub:`2`
1907
1908 - r\ :sub:`1`
1909
1910 - r\ :sub:`0`
1911
1912 - g\ :sub:`7`
1913
1914 - g\ :sub:`6`
1915
1916 - g\ :sub:`5`
1917
1918 - g\ :sub:`4`
1919
1920 - g\ :sub:`3`
1921
1922 - g\ :sub:`2`
1923
1924 - g\ :sub:`1`
1925
1926 - g\ :sub:`0`
1927
1928 - b\ :sub:`7`
1929
1930 - b\ :sub:`6`
1931
1932 - b\ :sub:`5`
1933
1934 - b\ :sub:`4`
1935
1936 - b\ :sub:`3`
1937
1938 - b\ :sub:`2`
1939
1940 - b\ :sub:`1`
1941
1942 - b\ :sub:`0`
1943
1944 - .. _MEDIA-BUS-FMT-RGB888-2X12-BE:
1945
1946 - MEDIA_BUS_FMT_RGB888_2X12_BE
1947
1948 - 0x100b
1949
1950 -
1951 -
1952
1953 -
1954
1955 -
1956
1957 -
1958
1959 -
1960
1961 -
1962
1963 -
1964
1965 -
1966
1967 -
1968
1969 -
1970
1971 -
1972
1973 -
1974
1975 -
1976
1977 -
1978
1979 -
1980
1981 -
1982
1983 -
1984
1985 -
1986
1987 -
1988
1989 -
1990
1991 - r\ :sub:`7`
1992
1993 - r\ :sub:`6`
1994
1995 - r\ :sub:`5`
1996
1997 - r\ :sub:`4`
1998
1999 - r\ :sub:`3`
2000
2001 - r\ :sub:`2`
2002
2003 - r\ :sub:`1`
2004
2005 - r\ :sub:`0`
2006
2007 - g\ :sub:`7`
2008
2009 - g\ :sub:`6`
2010
2011 - g\ :sub:`5`
2012
2013 - g\ :sub:`4`
2014
2015 - .. row 28
2016
2017 -
2018 -
2019 -
2020 -
2021
2022 -
2023
2024 -
2025
2026 -
2027
2028 -
2029
2030 -
2031
2032 -
2033
2034 -
2035
2036 -
2037
2038 -
2039
2040 -
2041
2042 -
2043
2044 -
2045
2046 -
2047
2048 -
2049
2050 -
2051
2052 -
2053
2054 -
2055
2056 -
2057
2058 -
2059
2060 - g\ :sub:`3`
2061
2062 - g\ :sub:`2`
2063
2064 - g\ :sub:`1`
2065
2066 - g\ :sub:`0`
2067
2068 - b\ :sub:`7`
2069
2070 - b\ :sub:`6`
2071
2072 - b\ :sub:`5`
2073
2074 - b\ :sub:`4`
2075
2076 - b\ :sub:`3`
2077
2078 - b\ :sub:`2`
2079
2080 - b\ :sub:`1`
2081
2082 - b\ :sub:`0`
2083
2084 - .. _MEDIA-BUS-FMT-RGB888-2X12-LE:
2085
2086 - MEDIA_BUS_FMT_RGB888_2X12_LE
2087
2088 - 0x100c
2089
2090 -
2091 -
2092
2093 -
2094
2095 -
2096
2097 -
2098
2099 -
2100
2101 -
2102
2103 -
2104
2105 -
2106
2107 -
2108
2109 -
2110
2111 -
2112
2113 -
2114
2115 -
2116
2117 -
2118
2119 -
2120
2121 -
2122
2123 -
2124
2125 -
2126
2127 -
2128
2129 -
2130
2131 - g\ :sub:`3`
2132
2133 - g\ :sub:`2`
2134
2135 - g\ :sub:`1`
2136
2137 - g\ :sub:`0`
2138
2139 - b\ :sub:`7`
2140
2141 - b\ :sub:`6`
2142
2143 - b\ :sub:`5`
2144
2145 - b\ :sub:`4`
2146
2147 - b\ :sub:`3`
2148
2149 - b\ :sub:`2`
2150
2151 - b\ :sub:`1`
2152
2153 - b\ :sub:`0`
2154
2155 - .. row 30
2156
2157 -
2158 -
2159 -
2160 -
2161
2162 -
2163
2164 -
2165
2166 -
2167
2168 -
2169
2170 -
2171
2172 -
2173
2174 -
2175
2176 -
2177
2178 -
2179
2180 -
2181
2182 -
2183
2184 -
2185
2186 -
2187
2188 -
2189
2190 -
2191
2192 -
2193
2194 -
2195
2196 -
2197
2198 -
2199
2200 - r\ :sub:`7`
2201
2202 - r\ :sub:`6`
2203
2204 - r\ :sub:`5`
2205
2206 - r\ :sub:`4`
2207
2208 - r\ :sub:`3`
2209
2210 - r\ :sub:`2`
2211
2212 - r\ :sub:`1`
2213
2214 - r\ :sub:`0`
2215
2216 - g\ :sub:`7`
2217
2218 - g\ :sub:`6`
2219
2220 - g\ :sub:`5`
2221
2222 - g\ :sub:`4`
2223
2224 - .. _MEDIA-BUS-FMT-ARGB888-1X32:
2225
2226 - MEDIA_BUS_FMT_ARGB888_1X32
2227
2228 - 0x100d
2229
2230 -
2231 - a\ :sub:`7`
2232
2233 - a\ :sub:`6`
2234
2235 - a\ :sub:`5`
2236
2237 - a\ :sub:`4`
2238
2239 - a\ :sub:`3`
2240
2241 - a\ :sub:`2`
2242
2243 - a\ :sub:`1`
2244
2245 - a\ :sub:`0`
2246
2247 - r\ :sub:`7`
2248
2249 - r\ :sub:`6`
2250
2251 - r\ :sub:`5`
2252
2253 - r\ :sub:`4`
2254
2255 - r\ :sub:`3`
2256
2257 - r\ :sub:`2`
2258
2259 - r\ :sub:`1`
2260
2261 - r\ :sub:`0`
2262
2263 - g\ :sub:`7`
2264
2265 - g\ :sub:`6`
2266
2267 - g\ :sub:`5`
2268
2269 - g\ :sub:`4`
2270
2271 - g\ :sub:`3`
2272
2273 - g\ :sub:`2`
2274
2275 - g\ :sub:`1`
2276
2277 - g\ :sub:`0`
2278
2279 - b\ :sub:`7`
2280
2281 - b\ :sub:`6`
2282
2283 - b\ :sub:`5`
2284
2285 - b\ :sub:`4`
2286
2287 - b\ :sub:`3`
2288
2289 - b\ :sub:`2`
2290
2291 - b\ :sub:`1`
2292
2293 - b\ :sub:`0`
2294
2295 - .. _MEDIA-BUS-FMT-RGB888-1X32-PADHI:
2296
2297 - MEDIA_BUS_FMT_RGB888_1X32_PADHI
2298
2299 - 0x100f
2300
2301 -
2302 - 0
2303
2304 - 0
2305
2306 - 0
2307
2308 - 0
2309
2310 - 0
2311
2312 - 0
2313
2314 - 0
2315
2316 - 0
2317
2318 - r\ :sub:`7`
2319
2320 - r\ :sub:`6`
2321
2322 - r\ :sub:`5`
2323
2324 - r\ :sub:`4`
2325
2326 - r\ :sub:`3`
2327
2328 - r\ :sub:`2`
2329
2330 - r\ :sub:`1`
2331
2332 - r\ :sub:`0`
2333
2334 - g\ :sub:`7`
2335
2336 - g\ :sub:`6`
2337
2338 - g\ :sub:`5`
2339
2340 - g\ :sub:`4`
2341
2342 - g\ :sub:`3`
2343
2344 - g\ :sub:`2`
2345
2346 - g\ :sub:`1`
2347
2348 - g\ :sub:`0`
2349
2350 - b\ :sub:`7`
2351
2352 - b\ :sub:`6`
2353
2354 - b\ :sub:`5`
2355
2356 - b\ :sub:`4`
2357
2358 - b\ :sub:`3`
2359
2360 - b\ :sub:`2`
2361
2362 - b\ :sub:`1`
2363
2364 - b\ :sub:`0`
2365 1261
2366.. raw:: latex 1262.. raw:: latex
2367 1263
@@ -2385,353 +1281,193 @@ JEIDA defined bit mapping will be named
2385 :header-rows: 2 1281 :header-rows: 2
2386 :stub-columns: 0 1282 :stub-columns: 0
2387 1283
2388 1284 * - Identifier
2389 - .. row 1 1285 - Code
2390 1286 -
2391 - Identifier 1287 -
2392 1288 - :cspan:`3` Data organization
2393 - Code 1289 * -
2394 1290 -
2395 - 1291 - Timeslot
2396 - 1292 - Lane
2397 - :cspan:`3` Data organization 1293 - 3
2398 1294 - 2
2399 - .. row 2 1295 - 1
2400 1296 - 0
2401 - 1297 * .. _MEDIA-BUS-FMT-RGB666-1X7X3-SPWG:
2402 - 1298
2403 - Timeslot 1299 - MEDIA_BUS_FMT_RGB666_1X7X3_SPWG
2404 1300 - 0x1010
2405 - Lane 1301 - 0
2406 1302 -
2407 - 3 1303 -
2408 1304 - d
2409 - 2 1305 - b\ :sub:`1`
2410 1306 - g\ :sub:`0`
2411 - 1 1307 * -
2412 1308 -
2413 - 0 1309 - 1
2414 1310 -
2415 - .. _MEDIA-BUS-FMT-RGB666-1X7X3-SPWG: 1311 -
2416 1312 - d
2417 - MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 1313 - b\ :sub:`0`
2418 1314 - r\ :sub:`5`
2419 - 0x1010 1315 * -
2420 1316 -
2421 - 0 1317 - 2
2422 1318 -
2423 - 1319 -
2424 - 1320 - d
2425 1321 - g\ :sub:`5`
2426 - d 1322 - r\ :sub:`4`
2427 1323 * -
2428 - b\ :sub:`1` 1324 -
2429 1325 - 3
2430 - g\ :sub:`0` 1326 -
2431 1327 -
2432 - .. row 4 1328 - b\ :sub:`5`
2433 1329 - g\ :sub:`4`
2434 - 1330 - r\ :sub:`3`
2435 - 1331 * -
2436 - 1 1332 -
2437 1333 - 4
2438 - 1334 -
2439 - 1335 -
2440 1336 - b\ :sub:`4`
2441 - d 1337 - g\ :sub:`3`
2442 1338 - r\ :sub:`2`
2443 - b\ :sub:`0` 1339 * -
2444 1340 -
2445 - r\ :sub:`5` 1341 - 5
2446 1342 -
2447 - .. row 5 1343 -
2448 1344 - b\ :sub:`3`
2449 - 1345 - g\ :sub:`2`
2450 - 1346 - r\ :sub:`1`
2451 - 2 1347 * -
2452 1348 -
2453 - 1349 - 6
2454 - 1350 -
2455 1351 -
2456 - d 1352 - b\ :sub:`2`
2457 1353 - g\ :sub:`1`
2458 - g\ :sub:`5` 1354 - r\ :sub:`0`
2459 1355 * .. _MEDIA-BUS-FMT-RGB888-1X7X4-SPWG:
2460 - r\ :sub:`4` 1356
2461 1357 - MEDIA_BUS_FMT_RGB888_1X7X4_SPWG
2462 - .. row 6 1358 - 0x1011
2463 1359 - 0
2464 - 1360 -
2465 - 1361 - d
2466 - 3 1362 - d
2467 1363 - b\ :sub:`1`
2468 - 1364 - g\ :sub:`0`
2469 - 1365 * -
2470 1366 -
2471 - b\ :sub:`5` 1367 - 1
2472 1368 -
2473 - g\ :sub:`4` 1369 - b\ :sub:`7`
2474 1370 - d
2475 - r\ :sub:`3` 1371 - b\ :sub:`0`
2476 1372 - r\ :sub:`5`
2477 - .. row 7 1373 * -
2478 1374 -
2479 - 1375 - 2
2480 - 1376 -
2481 - 4 1377 - b\ :sub:`6`
2482 1378 - d
2483 - 1379 - g\ :sub:`5`
2484 - 1380 - r\ :sub:`4`
2485 1381 * -
2486 - b\ :sub:`4` 1382 -
2487 1383 - 3
2488 - g\ :sub:`3` 1384 -
2489 1385 - g\ :sub:`7`
2490 - r\ :sub:`2` 1386 - b\ :sub:`5`
2491 1387 - g\ :sub:`4`
2492 - .. row 8 1388 - r\ :sub:`3`
2493 1389 * -
2494 - 1390 -
2495 - 1391 - 4
2496 - 5 1392 -
2497 1393 - g\ :sub:`6`
2498 - 1394 - b\ :sub:`4`
2499 - 1395 - g\ :sub:`3`
2500 1396 - r\ :sub:`2`
2501 - b\ :sub:`3` 1397 * -
2502 1398 -
2503 - g\ :sub:`2` 1399 - 5
2504 1400 -
2505 - r\ :sub:`1` 1401 - r\ :sub:`7`
2506 1402 - b\ :sub:`3`
2507 - .. row 9 1403 - g\ :sub:`2`
2508 1404 - r\ :sub:`1`
2509 - 1405 * -
2510 - 1406 -
2511 - 6 1407 - 6
2512 1408 -
2513 - 1409 - r\ :sub:`6`
2514 - 1410 - b\ :sub:`2`
2515 1411 - g\ :sub:`1`
2516 - b\ :sub:`2` 1412 - r\ :sub:`0`
2517 1413 * .. _MEDIA-BUS-FMT-RGB888-1X7X4-JEIDA:
2518 - g\ :sub:`1` 1414
2519 1415 - MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA
2520 - r\ :sub:`0` 1416 - 0x1012
2521 1417 - 0
2522 - .. _MEDIA-BUS-FMT-RGB888-1X7X4-SPWG: 1418 -
2523 1419 - d
2524 - MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 1420 - d
2525 1421 - b\ :sub:`3`
2526 - 0x1011 1422 - g\ :sub:`2`
2527 1423 * -
2528 - 0 1424 -
2529 1425 - 1
2530 - 1426 -
2531 - d 1427 - b\ :sub:`1`
2532 1428 - d
2533 - d 1429 - b\ :sub:`2`
2534 1430 - r\ :sub:`7`
2535 - b\ :sub:`1` 1431 * -
2536 1432 -
2537 - g\ :sub:`0` 1433 - 2
2538 1434 -
2539 - .. row 11 1435 - b\ :sub:`0`
2540 1436 - d
2541 - 1437 - g\ :sub:`7`
2542 - 1438 - r\ :sub:`6`
2543 - 1 1439 * -
2544 1440 -
2545 - 1441 - 3
2546 - b\ :sub:`7` 1442 -
2547 1443 - g\ :sub:`1`
2548 - d 1444 - b\ :sub:`7`
2549 1445 - g\ :sub:`6`
2550 - b\ :sub:`0` 1446 - r\ :sub:`5`
2551 1447 * -
2552 - r\ :sub:`5` 1448 -
2553 1449 - 4
2554 - .. row 12 1450 -
2555 1451 - g\ :sub:`0`
2556 - 1452 - b\ :sub:`6`
2557 - 1453 - g\ :sub:`5`
2558 - 2 1454 - r\ :sub:`4`
2559 1455 * -
2560 - 1456 -
2561 - b\ :sub:`6` 1457 - 5
2562 1458 -
2563 - d 1459 - r\ :sub:`1`
2564 1460 - b\ :sub:`5`
2565 - g\ :sub:`5` 1461 - g\ :sub:`4`
2566 1462 - r\ :sub:`3`
2567 - r\ :sub:`4` 1463 * -
2568 1464 -
2569 - .. row 13 1465 - 6
2570 1466 -
2571 - 1467 - r\ :sub:`0`
2572 - 1468 - b\ :sub:`4`
2573 - 3 1469 - g\ :sub:`3`
2574 1470 - r\ :sub:`2`
2575 -
2576 - g\ :sub:`7`
2577
2578 - b\ :sub:`5`
2579
2580 - g\ :sub:`4`
2581
2582 - r\ :sub:`3`
2583
2584 - .. row 14
2585
2586 -
2587 -
2588 - 4
2589
2590 -
2591 - g\ :sub:`6`
2592
2593 - b\ :sub:`4`
2594
2595 - g\ :sub:`3`
2596
2597 - r\ :sub:`2`
2598
2599 - .. row 15
2600
2601 -
2602 -
2603 - 5
2604
2605 -
2606 - r\ :sub:`7`
2607
2608 - b\ :sub:`3`
2609
2610 - g\ :sub:`2`
2611
2612 - r\ :sub:`1`
2613
2614 - .. row 16
2615
2616 -
2617 -
2618 - 6
2619
2620 -
2621 - r\ :sub:`6`
2622
2623 - b\ :sub:`2`
2624
2625 - g\ :sub:`1`
2626
2627 - r\ :sub:`0`
2628
2629 - .. _MEDIA-BUS-FMT-RGB888-1X7X4-JEIDA:
2630
2631 - MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA
2632
2633 - 0x1012
2634
2635 - 0
2636
2637 -
2638 - d
2639
2640 - d
2641
2642 - b\ :sub:`3`
2643
2644 - g\ :sub:`2`
2645
2646 - .. row 18
2647
2648 -
2649 -
2650 - 1
2651
2652 -
2653 - b\ :sub:`1`
2654
2655 - d
2656
2657 - b\ :sub:`2`
2658
2659 - r\ :sub:`7`
2660
2661 - .. row 19
2662
2663 -
2664 -
2665 - 2
2666
2667 -
2668 - b\ :sub:`0`
2669
2670 - d
2671
2672 - g\ :sub:`7`
2673
2674 - r\ :sub:`6`
2675
2676 - .. row 20
2677
2678 -
2679 -
2680 - 3
2681
2682 -
2683 - g\ :sub:`1`
2684
2685 - b\ :sub:`7`
2686
2687 - g\ :sub:`6`
2688
2689 - r\ :sub:`5`
2690
2691 - .. row 21
2692
2693 -
2694 -
2695 - 4
2696
2697 -
2698 - g\ :sub:`0`
2699
2700 - b\ :sub:`6`
2701
2702 - g\ :sub:`5`
2703
2704 - r\ :sub:`4`
2705
2706 - .. row 22
2707
2708 -
2709 -
2710 - 5
2711
2712 -
2713 - r\ :sub:`1`
2714
2715 - b\ :sub:`5`
2716
2717 - g\ :sub:`4`
2718
2719 - r\ :sub:`3`
2720
2721 - .. row 23
2722
2723 -
2724 -
2725 - 6
2726
2727 -
2728 - r\ :sub:`0`
2729
2730 - b\ :sub:`4`
2731
2732 - g\ :sub:`3`
2733
2734 - r\ :sub:`2`
2735 1471
2736.. raw:: latex 1472.. raw:: latex
2737 1473
@@ -2804,1449 +1540,777 @@ organization is given as an example for the first pixel only.
2804 :header-rows: 2 1540 :header-rows: 2
2805 :stub-columns: 0 1541 :stub-columns: 0
2806 1542
2807 1543 * - Identifier
2808 - .. row 1 1544 - Code
2809 1545 -
2810 - Identifier 1546 - :cspan:`15` Data organization
2811 1547 * -
2812 - Code 1548 -
2813 1549 - Bit
2814 - 1550 - 15
2815 - :cspan:`15` Data organization 1551 - 14
2816 1552 - 13
2817 - .. row 2 1553 - 12
2818 1554 - 11
2819 - 1555 - 10
2820 - 1556 - 9
2821 - Bit 1557 - 8
2822 1558 - 7
2823 - 15 1559 - 6
2824 1560 - 5
2825 - 14 1561 - 4
2826 1562 - 3
2827 - 13 1563 - 2
2828 1564 - 1
2829 - 12 1565 - 0
2830 1566 * .. _MEDIA-BUS-FMT-SBGGR8-1X8:
2831 - 11 1567
2832 1568 - MEDIA_BUS_FMT_SBGGR8_1X8
2833 - 10 1569 - 0x3001
2834 1570 -
2835 - 9 1571 -
2836 1572 -
2837 - 8 1573 -
2838 1574 -
2839 - 7 1575 - -
2840 1576 - -
2841 - 6 1577 - -
2842 1578 - -
2843 - 5 1579 - b\ :sub:`7`
2844 1580 - b\ :sub:`6`
2845 - 4 1581 - b\ :sub:`5`
2846 1582 - b\ :sub:`4`
2847 - 3 1583 - b\ :sub:`3`
2848 1584 - b\ :sub:`2`
2849 - 2 1585 - b\ :sub:`1`
2850 1586 - b\ :sub:`0`
2851 - 1 1587 * .. _MEDIA-BUS-FMT-SGBRG8-1X8:
2852 1588
2853 - 0 1589 - MEDIA_BUS_FMT_SGBRG8_1X8
2854 1590 - 0x3013
2855 - .. _MEDIA-BUS-FMT-SBGGR8-1X8: 1591 -
2856 1592 -
2857 - MEDIA_BUS_FMT_SBGGR8_1X8 1593 -
2858 1594 -
2859 - 0x3001 1595 -
2860 1596 - -
2861 - 1597 - -
2862 - 1598 - -
2863 1599 - -
2864 - 1600 - g\ :sub:`7`
2865 1601 - g\ :sub:`6`
2866 - 1602 - g\ :sub:`5`
2867 1603 - g\ :sub:`4`
2868 - 1604 - g\ :sub:`3`
2869 1605 - g\ :sub:`2`
2870 - - 1606 - g\ :sub:`1`
2871 1607 - g\ :sub:`0`
2872 - - 1608 * .. _MEDIA-BUS-FMT-SGRBG8-1X8:
2873 1609
2874 - - 1610 - MEDIA_BUS_FMT_SGRBG8_1X8
2875 1611 - 0x3002
2876 - - 1612 -
2877 1613 -
2878 - b\ :sub:`7` 1614 -
2879 1615 -
2880 - b\ :sub:`6` 1616 -
2881 1617 - -
2882 - b\ :sub:`5` 1618 - -
2883 1619 - -
2884 - b\ :sub:`4` 1620 - -
2885 1621 - g\ :sub:`7`
2886 - b\ :sub:`3` 1622 - g\ :sub:`6`
2887 1623 - g\ :sub:`5`
2888 - b\ :sub:`2` 1624 - g\ :sub:`4`
2889 1625 - g\ :sub:`3`
2890 - b\ :sub:`1` 1626 - g\ :sub:`2`
2891 1627 - g\ :sub:`1`
2892 - b\ :sub:`0` 1628 - g\ :sub:`0`
2893 1629 * .. _MEDIA-BUS-FMT-SRGGB8-1X8:
2894 - .. _MEDIA-BUS-FMT-SGBRG8-1X8: 1630
2895 1631 - MEDIA_BUS_FMT_SRGGB8_1X8
2896 - MEDIA_BUS_FMT_SGBRG8_1X8 1632 - 0x3014
2897 1633 -
2898 - 0x3013 1634 -
2899 1635 -
2900 - 1636 -
2901 - 1637 -
2902 1638 - -
2903 - 1639 - -
2904 1640 - -
2905 - 1641 - -
2906 1642 - r\ :sub:`7`
2907 - 1643 - r\ :sub:`6`
2908 1644 - r\ :sub:`5`
2909 - - 1645 - r\ :sub:`4`
2910 1646 - r\ :sub:`3`
2911 - - 1647 - r\ :sub:`2`
2912 1648 - r\ :sub:`1`
2913 - - 1649 - r\ :sub:`0`
2914 1650 * .. _MEDIA-BUS-FMT-SBGGR10-ALAW8-1X8:
2915 - - 1651
2916 1652 - MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8
2917 - g\ :sub:`7` 1653 - 0x3015
2918 1654 -
2919 - g\ :sub:`6` 1655 -
2920 1656 -
2921 - g\ :sub:`5` 1657 -
2922 1658 -
2923 - g\ :sub:`4` 1659 - -
2924 1660 - -
2925 - g\ :sub:`3` 1661 - -
2926 1662 - -
2927 - g\ :sub:`2` 1663 - b\ :sub:`7`
2928 1664 - b\ :sub:`6`
2929 - g\ :sub:`1` 1665 - b\ :sub:`5`
2930 1666 - b\ :sub:`4`
2931 - g\ :sub:`0` 1667 - b\ :sub:`3`
2932 1668 - b\ :sub:`2`
2933 - .. _MEDIA-BUS-FMT-SGRBG8-1X8: 1669 - b\ :sub:`1`
2934 1670 - b\ :sub:`0`
2935 - MEDIA_BUS_FMT_SGRBG8_1X8 1671 * .. _MEDIA-BUS-FMT-SGBRG10-ALAW8-1X8:
2936 1672
2937 - 0x3002 1673 - MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8
2938 1674 - 0x3016
2939 - 1675 -
2940 - 1676 -
2941 1677 -
2942 - 1678 -
2943 1679 -
2944 - 1680 - -
2945 1681 - -
2946 - 1682 - -
2947 1683 - -
2948 - - 1684 - g\ :sub:`7`
2949 1685 - g\ :sub:`6`
2950 - - 1686 - g\ :sub:`5`
2951 1687 - g\ :sub:`4`
2952 - - 1688 - g\ :sub:`3`
2953 1689 - g\ :sub:`2`
2954 - - 1690 - g\ :sub:`1`
2955 1691 - g\ :sub:`0`
2956 - g\ :sub:`7` 1692 * .. _MEDIA-BUS-FMT-SGRBG10-ALAW8-1X8:
2957 1693
2958 - g\ :sub:`6` 1694 - MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8
2959 1695 - 0x3017
2960 - g\ :sub:`5` 1696 -
2961 1697 -
2962 - g\ :sub:`4` 1698 -
2963 1699 -
2964 - g\ :sub:`3` 1700 -
2965 1701 - -
2966 - g\ :sub:`2` 1702 - -
2967 1703 - -
2968 - g\ :sub:`1` 1704 - -
2969 1705 - g\ :sub:`7`
2970 - g\ :sub:`0` 1706 - g\ :sub:`6`
2971 1707 - g\ :sub:`5`
2972 - .. _MEDIA-BUS-FMT-SRGGB8-1X8: 1708 - g\ :sub:`4`
2973 1709 - g\ :sub:`3`
2974 - MEDIA_BUS_FMT_SRGGB8_1X8 1710 - g\ :sub:`2`
2975 1711 - g\ :sub:`1`
2976 - 0x3014 1712 - g\ :sub:`0`
2977 1713 * .. _MEDIA-BUS-FMT-SRGGB10-ALAW8-1X8:
2978 - 1714
2979 - 1715 - MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8
2980 1716 - 0x3018
2981 - 1717 -
2982 1718 -
2983 - 1719 -
2984 1720 -
2985 - 1721 -
2986 1722 - -
2987 - - 1723 - -
2988 1724 - -
2989 - - 1725 - -
2990 1726 - r\ :sub:`7`
2991 - - 1727 - r\ :sub:`6`
2992 1728 - r\ :sub:`5`
2993 - - 1729 - r\ :sub:`4`
2994 1730 - r\ :sub:`3`
2995 - r\ :sub:`7` 1731 - r\ :sub:`2`
2996 1732 - r\ :sub:`1`
2997 - r\ :sub:`6` 1733 - r\ :sub:`0`
2998 1734 * .. _MEDIA-BUS-FMT-SBGGR10-DPCM8-1X8:
2999 - r\ :sub:`5` 1735
3000 1736 - MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8
3001 - r\ :sub:`4` 1737 - 0x300b
3002 1738 -
3003 - r\ :sub:`3` 1739 -
3004 1740 -
3005 - r\ :sub:`2` 1741 -
3006 1742 -
3007 - r\ :sub:`1` 1743 - -
3008 1744 - -
3009 - r\ :sub:`0` 1745 - -
3010 1746 - -
3011 - .. _MEDIA-BUS-FMT-SBGGR10-ALAW8-1X8: 1747 - b\ :sub:`7`
3012 1748 - b\ :sub:`6`
3013 - MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8 1749 - b\ :sub:`5`
3014 1750 - b\ :sub:`4`
3015 - 0x3015 1751 - b\ :sub:`3`
3016 1752 - b\ :sub:`2`
3017 - 1753 - b\ :sub:`1`
3018 - 1754 - b\ :sub:`0`
3019 1755 * .. _MEDIA-BUS-FMT-SGBRG10-DPCM8-1X8:
3020 - 1756
3021 1757 - MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8
3022 - 1758 - 0x300c
3023 1759 -
3024 - 1760 -
3025 1761 -
3026 - - 1762 -
3027 1763 -
3028 - - 1764 - -
3029 1765 - -
3030 - - 1766 - -
3031 1767 - -
3032 - - 1768 - g\ :sub:`7`
3033 1769 - g\ :sub:`6`
3034 - b\ :sub:`7` 1770 - g\ :sub:`5`
3035 1771 - g\ :sub:`4`
3036 - b\ :sub:`6` 1772 - g\ :sub:`3`
3037 1773 - g\ :sub:`2`
3038 - b\ :sub:`5` 1774 - g\ :sub:`1`
3039 1775 - g\ :sub:`0`
3040 - b\ :sub:`4` 1776 * .. _MEDIA-BUS-FMT-SGRBG10-DPCM8-1X8:
3041 1777
3042 - b\ :sub:`3` 1778 - MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8
3043 1779 - 0x3009
3044 - b\ :sub:`2` 1780 -
3045 1781 -
3046 - b\ :sub:`1` 1782 -
3047 1783 -
3048 - b\ :sub:`0` 1784 -
3049 1785 - -
3050 - .. _MEDIA-BUS-FMT-SGBRG10-ALAW8-1X8: 1786 - -
3051 1787 - -
3052 - MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8 1788 - -
3053 1789 - g\ :sub:`7`
3054 - 0x3016 1790 - g\ :sub:`6`
3055 1791 - g\ :sub:`5`
3056 - 1792 - g\ :sub:`4`
3057 - 1793 - g\ :sub:`3`
3058 1794 - g\ :sub:`2`
3059 - 1795 - g\ :sub:`1`
3060 1796 - g\ :sub:`0`
3061 - 1797 * .. _MEDIA-BUS-FMT-SRGGB10-DPCM8-1X8:
3062 1798
3063 - 1799 - MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8
3064 1800 - 0x300d
3065 - - 1801 -
3066 1802 -
3067 - - 1803 -
3068 1804 -
3069 - - 1805 -
3070 1806 - -
3071 - - 1807 - -
3072 1808 - -
3073 - g\ :sub:`7` 1809 - -
3074 1810 - r\ :sub:`7`
3075 - g\ :sub:`6` 1811 - r\ :sub:`6`
3076 1812 - r\ :sub:`5`
3077 - g\ :sub:`5` 1813 - r\ :sub:`4`
3078 1814 - r\ :sub:`3`
3079 - g\ :sub:`4` 1815 - r\ :sub:`2`
3080 1816 - r\ :sub:`1`
3081 - g\ :sub:`3` 1817 - r\ :sub:`0`
3082 1818 * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-BE:
3083 - g\ :sub:`2` 1819
3084 1820 - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE
3085 - g\ :sub:`1` 1821 - 0x3003
3086 1822 -
3087 - g\ :sub:`0` 1823 -
3088 1824 -
3089 - .. _MEDIA-BUS-FMT-SGRBG10-ALAW8-1X8: 1825 -
3090 1826 -
3091 - MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8 1827 - -
3092 1828 - -
3093 - 0x3017 1829 - -
3094 1830 - -
3095 - 1831 - 0
3096 - 1832 - 0
3097 1833 - 0
3098 - 1834 - 0
3099 1835 - 0
3100 - 1836 - 0
3101 1837 - b\ :sub:`9`
3102 - 1838 - b\ :sub:`8`
3103 1839 * -
3104 - - 1840 -
3105 1841 -
3106 - - 1842 -
3107 1843 -
3108 - - 1844 -
3109 1845 -
3110 - - 1846 - -
3111 1847 - -
3112 - g\ :sub:`7` 1848 - -
3113 1849 - -
3114 - g\ :sub:`6` 1850 - b\ :sub:`7`
3115 1851 - b\ :sub:`6`
3116 - g\ :sub:`5` 1852 - b\ :sub:`5`
3117 1853 - b\ :sub:`4`
3118 - g\ :sub:`4` 1854 - b\ :sub:`3`
3119 1855 - b\ :sub:`2`
3120 - g\ :sub:`3` 1856 - b\ :sub:`1`
3121 1857 - b\ :sub:`0`
3122 - g\ :sub:`2` 1858 * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-LE:
3123 1859
3124 - g\ :sub:`1` 1860 - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
3125 1861 - 0x3004
3126 - g\ :sub:`0` 1862 -
3127 1863 -
3128 - .. _MEDIA-BUS-FMT-SRGGB10-ALAW8-1X8: 1864 -
3129 1865 -
3130 - MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8 1866 -
3131 1867 - -
3132 - 0x3018 1868 - -
3133 1869 - -
3134 - 1870 - -
3135 - 1871 - b\ :sub:`7`
3136 1872 - b\ :sub:`6`
3137 - 1873 - b\ :sub:`5`
3138 1874 - b\ :sub:`4`
3139 - 1875 - b\ :sub:`3`
3140 1876 - b\ :sub:`2`
3141 - 1877 - b\ :sub:`1`
3142 1878 - b\ :sub:`0`
3143 - - 1879 * -
3144 1880 -
3145 - - 1881 -
3146 1882 -
3147 - - 1883 -
3148 1884 -
3149 - - 1885 -
3150 1886 - -
3151 - r\ :sub:`7` 1887 - -
3152 1888 - -
3153 - r\ :sub:`6` 1889 - -
3154 1890 - 0
3155 - r\ :sub:`5` 1891 - 0
3156 1892 - 0
3157 - r\ :sub:`4` 1893 - 0
3158 1894 - 0
3159 - r\ :sub:`3` 1895 - 0
3160 1896 - b\ :sub:`9`
3161 - r\ :sub:`2` 1897 - b\ :sub:`8`
3162 1898 * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-BE:
3163 - r\ :sub:`1` 1899
3164 1900 - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE
3165 - r\ :sub:`0` 1901 - 0x3005
3166 1902 -
3167 - .. _MEDIA-BUS-FMT-SBGGR10-DPCM8-1X8: 1903 -
3168 1904 -
3169 - MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8 1905 -
3170 1906 -
3171 - 0x300b 1907 - -
3172 1908 - -
3173 - 1909 - -
3174 - 1910 - -
3175 1911 - b\ :sub:`9`
3176 - 1912 - b\ :sub:`8`
3177 1913 - b\ :sub:`7`
3178 - 1914 - b\ :sub:`6`
3179 1915 - b\ :sub:`5`
3180 - 1916 - b\ :sub:`4`
3181 1917 - b\ :sub:`3`
3182 - - 1918 - b\ :sub:`2`
3183 1919 * -
3184 - - 1920 -
3185 1921 -
3186 - - 1922 -
3187 1923 -
3188 - - 1924 -
3189 1925 -
3190 - b\ :sub:`7` 1926 - -
3191 1927 - -
3192 - b\ :sub:`6` 1928 - -
3193 1929 - -
3194 - b\ :sub:`5` 1930 - b\ :sub:`1`
3195 1931 - b\ :sub:`0`
3196 - b\ :sub:`4` 1932 - 0
3197 1933 - 0
3198 - b\ :sub:`3` 1934 - 0
3199 1935 - 0
3200 - b\ :sub:`2` 1936 - 0
3201 1937 - 0
3202 - b\ :sub:`1` 1938 * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-LE:
3203 1939
3204 - b\ :sub:`0` 1940 - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE
3205 1941 - 0x3006
3206 - .. _MEDIA-BUS-FMT-SGBRG10-DPCM8-1X8: 1942 -
3207 1943 -
3208 - MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8 1944 -
3209 1945 -
3210 - 0x300c 1946 -
3211 1947 - -
3212 - 1948 - -
3213 - 1949 - -
3214 1950 - -
3215 - 1951 - b\ :sub:`1`
3216 1952 - b\ :sub:`0`
3217 - 1953 - 0
3218 1954 - 0
3219 - 1955 - 0
3220 1956 - 0
3221 - - 1957 - 0
3222 1958 - 0
3223 - - 1959 * -
3224 1960 -
3225 - - 1961 -
3226 1962 -
3227 - - 1963 -
3228 1964 -
3229 - g\ :sub:`7` 1965 -
3230 1966 - -
3231 - g\ :sub:`6` 1967 - -
3232 1968 - -
3233 - g\ :sub:`5` 1969 - -
3234 1970 - b\ :sub:`9`
3235 - g\ :sub:`4` 1971 - b\ :sub:`8`
3236 1972 - b\ :sub:`7`
3237 - g\ :sub:`3` 1973 - b\ :sub:`6`
3238 1974 - b\ :sub:`5`
3239 - g\ :sub:`2` 1975 - b\ :sub:`4`
3240 1976 - b\ :sub:`3`
3241 - g\ :sub:`1` 1977 - b\ :sub:`2`
3242 1978 * .. _MEDIA-BUS-FMT-SBGGR10-1X10:
3243 - g\ :sub:`0` 1979
3244 1980 - MEDIA_BUS_FMT_SBGGR10_1X10
3245 - .. _MEDIA-BUS-FMT-SGRBG10-DPCM8-1X8: 1981 - 0x3007
3246 1982 -
3247 - MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8 1983 -
3248 1984 -
3249 - 0x3009 1985 - -
3250 1986 - -
3251 - 1987 - -
3252 - 1988 - -
3253 1989 - b\ :sub:`9`
3254 - 1990 - b\ :sub:`8`
3255 1991 - b\ :sub:`7`
3256 - 1992 - b\ :sub:`6`
3257 1993 - b\ :sub:`5`
3258 - 1994 - b\ :sub:`4`
3259 1995 - b\ :sub:`3`
3260 - - 1996 - b\ :sub:`2`
3261 1997 - b\ :sub:`1`
3262 - - 1998 - b\ :sub:`0`
3263 1999 * .. _MEDIA-BUS-FMT-SGBRG10-1X10:
3264 - - 2000
3265 2001 - MEDIA_BUS_FMT_SGBRG10_1X10
3266 - - 2002 - 0x300e
3267 2003 -
3268 - g\ :sub:`7` 2004 -
3269 2005 -
3270 - g\ :sub:`6` 2006 - -
3271 2007 - -
3272 - g\ :sub:`5` 2008 - -
3273 2009 - -
3274 - g\ :sub:`4` 2010 - g\ :sub:`9`
3275 2011 - g\ :sub:`8`
3276 - g\ :sub:`3` 2012 - g\ :sub:`7`
3277 2013 - g\ :sub:`6`
3278 - g\ :sub:`2` 2014 - g\ :sub:`5`
3279 2015 - g\ :sub:`4`
3280 - g\ :sub:`1` 2016 - g\ :sub:`3`
3281 2017 - g\ :sub:`2`
3282 - g\ :sub:`0` 2018 - g\ :sub:`1`
3283 2019 - g\ :sub:`0`
3284 - .. _MEDIA-BUS-FMT-SRGGB10-DPCM8-1X8: 2020 * .. _MEDIA-BUS-FMT-SGRBG10-1X10:
3285 2021
3286 - MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8 2022 - MEDIA_BUS_FMT_SGRBG10_1X10
3287 2023 - 0x300a
3288 - 0x300d 2024 -
3289 2025 -
3290 - 2026 -
3291 - 2027 - -
3292 2028 - -
3293 - 2029 - -
3294 2030 - -
3295 - 2031 - g\ :sub:`9`
3296 2032 - g\ :sub:`8`
3297 - 2033 - g\ :sub:`7`
3298 2034 - g\ :sub:`6`
3299 - - 2035 - g\ :sub:`5`
3300 2036 - g\ :sub:`4`
3301 - - 2037 - g\ :sub:`3`
3302 2038 - g\ :sub:`2`
3303 - - 2039 - g\ :sub:`1`
3304 2040 - g\ :sub:`0`
3305 - - 2041 * .. _MEDIA-BUS-FMT-SRGGB10-1X10:
3306 2042
3307 - r\ :sub:`7` 2043 - MEDIA_BUS_FMT_SRGGB10_1X10
3308 2044 - 0x300f
3309 - r\ :sub:`6` 2045 -
3310 2046 -
3311 - r\ :sub:`5` 2047 -
3312 2048 - -
3313 - r\ :sub:`4` 2049 - -
3314 2050 - -
3315 - r\ :sub:`3` 2051 - -
3316 2052 - r\ :sub:`9`
3317 - r\ :sub:`2` 2053 - r\ :sub:`8`
3318 2054 - r\ :sub:`7`
3319 - r\ :sub:`1` 2055 - r\ :sub:`6`
3320 2056 - r\ :sub:`5`
3321 - r\ :sub:`0` 2057 - r\ :sub:`4`
3322 2058 - r\ :sub:`3`
3323 - .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-BE: 2059 - r\ :sub:`2`
3324 2060 - r\ :sub:`1`
3325 - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE 2061 - r\ :sub:`0`
3326 2062 * .. _MEDIA-BUS-FMT-SBGGR12-1X12:
3327 - 0x3003 2063
3328 2064 - MEDIA_BUS_FMT_SBGGR12_1X12
3329 - 2065 - 0x3008
3330 - 2066 -
3331 2067 - -
3332 - 2068 - -
3333 2069 - -
3334 - 2070 - -
3335 2071 - b\ :sub:`11`
3336 - 2072 - b\ :sub:`10`
3337 2073 - b\ :sub:`9`
3338 - - 2074 - b\ :sub:`8`
3339 2075 - b\ :sub:`7`
3340 - - 2076 - b\ :sub:`6`
3341 2077 - b\ :sub:`5`
3342 - - 2078 - b\ :sub:`4`
3343 2079 - b\ :sub:`3`
3344 - - 2080 - b\ :sub:`2`
3345 2081 - b\ :sub:`1`
3346 - 0 2082 - b\ :sub:`0`
3347 2083 * .. _MEDIA-BUS-FMT-SGBRG12-1X12:
3348 - 0 2084
3349 2085 - MEDIA_BUS_FMT_SGBRG12_1X12
3350 - 0 2086 - 0x3010
3351 2087 -
3352 - 0 2088 - -
3353 2089 - -
3354 - 0 2090 - -
3355 2091 - -
3356 - 0 2092 - g\ :sub:`11`
3357 2093 - g\ :sub:`10`
3358 - b\ :sub:`9` 2094 - g\ :sub:`9`
3359 2095 - g\ :sub:`8`
3360 - b\ :sub:`8` 2096 - g\ :sub:`7`
3361 2097 - g\ :sub:`6`
3362 - .. row 16 2098 - g\ :sub:`5`
3363 2099 - g\ :sub:`4`
3364 - 2100 - g\ :sub:`3`
3365 - 2101 - g\ :sub:`2`
3366 - 2102 - g\ :sub:`1`
3367 - 2103 - g\ :sub:`0`
3368 2104 * .. _MEDIA-BUS-FMT-SGRBG12-1X12:
3369 - 2105
3370 2106 - MEDIA_BUS_FMT_SGRBG12_1X12
3371 - 2107 - 0x3011
3372 2108 -
3373 - 2109 - -
3374 2110 - -
3375 - - 2111 - -
3376 2112 - -
3377 - - 2113 - g\ :sub:`11`
3378 2114 - g\ :sub:`10`
3379 - - 2115 - g\ :sub:`9`
3380 2116 - g\ :sub:`8`
3381 - - 2117 - g\ :sub:`7`
3382 2118 - g\ :sub:`6`
3383 - b\ :sub:`7` 2119 - g\ :sub:`5`
3384 2120 - g\ :sub:`4`
3385 - b\ :sub:`6` 2121 - g\ :sub:`3`
3386 2122 - g\ :sub:`2`
3387 - b\ :sub:`5` 2123 - g\ :sub:`1`
3388 2124 - g\ :sub:`0`
3389 - b\ :sub:`4` 2125 * .. _MEDIA-BUS-FMT-SRGGB12-1X12:
3390 2126
3391 - b\ :sub:`3` 2127 - MEDIA_BUS_FMT_SRGGB12_1X12
3392 2128 - 0x3012
3393 - b\ :sub:`2` 2129 -
3394 2130 - -
3395 - b\ :sub:`1` 2131 - -
3396 2132 - -
3397 - b\ :sub:`0` 2133 - -
3398 2134 - r\ :sub:`11`
3399 - .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-LE: 2135 - r\ :sub:`10`
3400 2136 - r\ :sub:`9`
3401 - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE 2137 - r\ :sub:`8`
3402 2138 - r\ :sub:`7`
3403 - 0x3004 2139 - r\ :sub:`6`
3404 2140 - r\ :sub:`5`
3405 - 2141 - r\ :sub:`4`
3406 - 2142 - r\ :sub:`3`
3407 2143 - r\ :sub:`2`
3408 - 2144 - r\ :sub:`1`
3409 2145 - r\ :sub:`0`
3410 - 2146 * .. _MEDIA-BUS-FMT-SBGGR14-1X14:
3411 2147
3412 - 2148 - MEDIA_BUS_FMT_SBGGR14_1X14
3413 2149 - 0x3019
3414 - - 2150 -
3415 2151 - -
3416 - - 2152 - -
3417 2153 - b\ :sub:`13`
3418 - - 2154 - b\ :sub:`12`
3419 2155 - b\ :sub:`11`
3420 - - 2156 - b\ :sub:`10`
3421 2157 - b\ :sub:`9`
3422 - b\ :sub:`7` 2158 - b\ :sub:`8`
3423 2159 - b\ :sub:`7`
3424 - b\ :sub:`6` 2160 - b\ :sub:`6`
3425 2161 - b\ :sub:`5`
3426 - b\ :sub:`5` 2162 - b\ :sub:`4`
3427 2163 - b\ :sub:`3`
3428 - b\ :sub:`4` 2164 - b\ :sub:`2`
3429 2165 - b\ :sub:`1`
3430 - b\ :sub:`3` 2166 - b\ :sub:`0`
3431 2167 * .. _MEDIA-BUS-FMT-SGBRG14-1X14:
3432 - b\ :sub:`2` 2168
3433 2169 - MEDIA_BUS_FMT_SGBRG14_1X14
3434 - b\ :sub:`1` 2170 - 0x301a
3435 2171 -
3436 - b\ :sub:`0` 2172 - -
3437 2173 - -
3438 - .. row 18 2174 - g\ :sub:`13`
3439 2175 - g\ :sub:`12`
3440 - 2176 - g\ :sub:`11`
3441 - 2177 - g\ :sub:`10`
3442 - 2178 - g\ :sub:`9`
3443 - 2179 - g\ :sub:`8`
3444 2180 - g\ :sub:`7`
3445 - 2181 - g\ :sub:`6`
3446 2182 - g\ :sub:`5`
3447 - 2183 - g\ :sub:`4`
3448 2184 - g\ :sub:`3`
3449 - 2185 - g\ :sub:`2`
3450 2186 - g\ :sub:`1`
3451 - - 2187 - g\ :sub:`0`
3452 2188 * .. _MEDIA-BUS-FMT-SGRBG14-1X14:
3453 - - 2189
3454 2190 - MEDIA_BUS_FMT_SGRBG14_1X14
3455 - - 2191 - 0x301b
3456 2192 -
3457 - - 2193 - -
3458 2194 - -
3459 - 0 2195 - g\ :sub:`13`
3460 2196 - g\ :sub:`12`
3461 - 0 2197 - g\ :sub:`11`
3462 2198 - g\ :sub:`10`
3463 - 0 2199 - g\ :sub:`9`
3464 2200 - g\ :sub:`8`
3465 - 0 2201 - g\ :sub:`7`
3466 2202 - g\ :sub:`6`
3467 - 0 2203 - g\ :sub:`5`
3468 2204 - g\ :sub:`4`
3469 - 0 2205 - g\ :sub:`3`
3470 2206 - g\ :sub:`2`
3471 - b\ :sub:`9` 2207 - g\ :sub:`1`
3472 2208 - g\ :sub:`0`
3473 - b\ :sub:`8` 2209 * .. _MEDIA-BUS-FMT-SRGGB14-1X14:
3474 2210
3475 - .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-BE: 2211 - MEDIA_BUS_FMT_SRGGB14_1X14
3476 2212 - 0x301c
3477 - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE 2213 -
3478 2214 - -
3479 - 0x3005 2215 - -
3480 2216 - r\ :sub:`13`
3481 - 2217 - r\ :sub:`12`
3482 - 2218 - r\ :sub:`11`
3483 2219 - r\ :sub:`10`
3484 - 2220 - r\ :sub:`9`
3485 2221 - r\ :sub:`8`
3486 - 2222 - r\ :sub:`7`
3487 2223 - r\ :sub:`6`
3488 - 2224 - r\ :sub:`5`
3489 2225 - r\ :sub:`4`
3490 - - 2226 - r\ :sub:`3`
3491 2227 - r\ :sub:`2`
3492 - - 2228 - r\ :sub:`1`
3493 2229 - r\ :sub:`0`
3494 - - 2230 * .. _MEDIA-BUS-FMT-SBGGR16-1X16:
3495 2231
3496 - - 2232 - MEDIA_BUS_FMT_SBGGR16_1X16
3497 2233 - 0x301d
3498 - b\ :sub:`9` 2234 -
3499 2235 - b\ :sub:`15`
3500 - b\ :sub:`8` 2236 - b\ :sub:`14`
3501 2237 - b\ :sub:`13`
3502 - b\ :sub:`7` 2238 - b\ :sub:`12`
3503 2239 - b\ :sub:`11`
3504 - b\ :sub:`6` 2240 - b\ :sub:`10`
3505 2241 - b\ :sub:`9`
3506 - b\ :sub:`5` 2242 - b\ :sub:`8`
3507 2243 - b\ :sub:`7`
3508 - b\ :sub:`4` 2244 - b\ :sub:`6`
3509 2245 - b\ :sub:`5`
3510 - b\ :sub:`3` 2246 - b\ :sub:`4`
3511 2247 - b\ :sub:`3`
3512 - b\ :sub:`2` 2248 - b\ :sub:`2`
3513 2249 - b\ :sub:`1`
3514 - .. row 20 2250 - b\ :sub:`0`
3515 2251 * .. _MEDIA-BUS-FMT-SGBRG16-1X16:
3516 - 2252
3517 - 2253 - MEDIA_BUS_FMT_SGBRG16_1X16
3518 - 2254 - 0x301e
3519 - 2255 -
3520 2256 - g\ :sub:`15`
3521 - 2257 - g\ :sub:`14`
3522 2258 - g\ :sub:`13`
3523 - 2259 - g\ :sub:`12`
3524 2260 - g\ :sub:`11`
3525 - 2261 - g\ :sub:`10`
3526 2262 - g\ :sub:`9`
3527 - - 2263 - g\ :sub:`8`
3528 2264 - g\ :sub:`7`
3529 - - 2265 - g\ :sub:`6`
3530 2266 - g\ :sub:`5`
3531 - - 2267 - g\ :sub:`4`
3532 2268 - g\ :sub:`3`
3533 - - 2269 - g\ :sub:`2`
3534 2270 - g\ :sub:`1`
3535 - b\ :sub:`1` 2271 - g\ :sub:`0`
3536 2272 * .. _MEDIA-BUS-FMT-SGRBG16-1X16:
3537 - b\ :sub:`0` 2273
3538 2274 - MEDIA_BUS_FMT_SGRBG16_1X16
3539 - 0 2275 - 0x301f
3540 2276 -
3541 - 0 2277 - g\ :sub:`15`
3542 2278 - g\ :sub:`14`
3543 - 0 2279 - g\ :sub:`13`
3544 2280 - g\ :sub:`12`
3545 - 0 2281 - g\ :sub:`11`
3546 2282 - g\ :sub:`10`
3547 - 0 2283 - g\ :sub:`9`
3548 2284 - g\ :sub:`8`
3549 - 0 2285 - g\ :sub:`7`
3550 2286 - g\ :sub:`6`
3551 - .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-LE: 2287 - g\ :sub:`5`
3552 2288 - g\ :sub:`4`
3553 - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE 2289 - g\ :sub:`3`
3554 2290 - g\ :sub:`2`
3555 - 0x3006 2291 - g\ :sub:`1`
3556 2292 - g\ :sub:`0`
3557 - 2293 * .. _MEDIA-BUS-FMT-SRGGB16-1X16:
3558 - 2294
3559 2295 - MEDIA_BUS_FMT_SRGGB16_1X16
3560 - 2296 - 0x3020
3561 2297 -
3562 - 2298 - r\ :sub:`15`
3563 2299 - r\ :sub:`14`
3564 - 2300 - r\ :sub:`13`
3565 2301 - r\ :sub:`12`
3566 - - 2302 - r\ :sub:`11`
3567 2303 - r\ :sub:`10`
3568 - - 2304 - r\ :sub:`9`
3569 2305 - r\ :sub:`8`
3570 - - 2306 - r\ :sub:`7`
3571 2307 - r\ :sub:`6`
3572 - - 2308 - r\ :sub:`5`
3573 2309 - r\ :sub:`4`
3574 - b\ :sub:`1` 2310 - r\ :sub:`3`
3575 2311 - r\ :sub:`2`
3576 - b\ :sub:`0` 2312 - r\ :sub:`1`
3577 2313 - r\ :sub:`0`
3578 - 0
3579
3580 - 0
3581
3582 - 0
3583
3584 - 0
3585
3586 - 0
3587
3588 - 0
3589
3590 - .. row 22
3591
3592 -
3593 -
3594 -
3595 -
3596
3597 -
3598
3599 -
3600
3601 -
3602
3603 - -
3604
3605 - -
3606
3607 - -
3608
3609 - -
3610
3611 - b\ :sub:`9`
3612
3613 - b\ :sub:`8`
3614
3615 - b\ :sub:`7`
3616
3617 - b\ :sub:`6`
3618
3619 - b\ :sub:`5`
3620
3621 - b\ :sub:`4`
3622
3623 - b\ :sub:`3`
3624
3625 - b\ :sub:`2`
3626
3627 - .. _MEDIA-BUS-FMT-SBGGR10-1X10:
3628
3629 - MEDIA_BUS_FMT_SBGGR10_1X10
3630
3631 - 0x3007
3632
3633 -
3634 -
3635
3636 -
3637
3638 - -
3639
3640 - -
3641
3642 - -
3643
3644 - -
3645
3646 - b\ :sub:`9`
3647
3648 - b\ :sub:`8`
3649
3650 - b\ :sub:`7`
3651
3652 - b\ :sub:`6`
3653
3654 - b\ :sub:`5`
3655
3656 - b\ :sub:`4`
3657
3658 - b\ :sub:`3`
3659
3660 - b\ :sub:`2`
3661
3662 - b\ :sub:`1`
3663
3664 - b\ :sub:`0`
3665
3666 - .. _MEDIA-BUS-FMT-SGBRG10-1X10:
3667
3668 - MEDIA_BUS_FMT_SGBRG10_1X10
3669
3670 - 0x300e
3671
3672 -
3673 -
3674
3675 -
3676
3677 - -
3678
3679 - -
3680
3681 - -
3682
3683 - -
3684
3685 - g\ :sub:`9`
3686
3687 - g\ :sub:`8`
3688
3689 - g\ :sub:`7`
3690
3691 - g\ :sub:`6`
3692
3693 - g\ :sub:`5`
3694
3695 - g\ :sub:`4`
3696
3697 - g\ :sub:`3`
3698
3699 - g\ :sub:`2`
3700
3701 - g\ :sub:`1`
3702
3703 - g\ :sub:`0`
3704
3705 - .. _MEDIA-BUS-FMT-SGRBG10-1X10:
3706
3707 - MEDIA_BUS_FMT_SGRBG10_1X10
3708
3709 - 0x300a
3710
3711 -
3712 -
3713
3714 -
3715
3716 - -
3717
3718 - -
3719
3720 - -
3721
3722 - -
3723
3724 - g\ :sub:`9`
3725
3726 - g\ :sub:`8`
3727
3728 - g\ :sub:`7`
3729
3730 - g\ :sub:`6`
3731
3732 - g\ :sub:`5`
3733
3734 - g\ :sub:`4`
3735
3736 - g\ :sub:`3`
3737
3738 - g\ :sub:`2`
3739
3740 - g\ :sub:`1`
3741
3742 - g\ :sub:`0`
3743
3744 - .. _MEDIA-BUS-FMT-SRGGB10-1X10:
3745
3746 - MEDIA_BUS_FMT_SRGGB10_1X10
3747
3748 - 0x300f
3749
3750 -
3751 -
3752
3753 -
3754
3755 - -
3756
3757 - -
3758
3759 - -
3760
3761 - -
3762
3763 - r\ :sub:`9`
3764
3765 - r\ :sub:`8`
3766
3767 - r\ :sub:`7`
3768
3769 - r\ :sub:`6`
3770
3771 - r\ :sub:`5`
3772
3773 - r\ :sub:`4`
3774
3775 - r\ :sub:`3`
3776
3777 - r\ :sub:`2`
3778
3779 - r\ :sub:`1`
3780
3781 - r\ :sub:`0`
3782
3783 - .. _MEDIA-BUS-FMT-SBGGR12-1X12:
3784
3785 - MEDIA_BUS_FMT_SBGGR12_1X12
3786
3787 - 0x3008
3788
3789 -
3790 - -
3791
3792 - -
3793
3794 - -
3795
3796 - -
3797
3798 - b\ :sub:`11`
3799
3800 - b\ :sub:`10`
3801
3802 - b\ :sub:`9`
3803
3804 - b\ :sub:`8`
3805
3806 - b\ :sub:`7`
3807
3808 - b\ :sub:`6`
3809
3810 - b\ :sub:`5`
3811
3812 - b\ :sub:`4`
3813
3814 - b\ :sub:`3`
3815
3816 - b\ :sub:`2`
3817
3818 - b\ :sub:`1`
3819
3820 - b\ :sub:`0`
3821
3822 - .. _MEDIA-BUS-FMT-SGBRG12-1X12:
3823
3824 - MEDIA_BUS_FMT_SGBRG12_1X12
3825
3826 - 0x3010
3827
3828 -
3829 - -
3830
3831 - -
3832
3833 - -
3834
3835 - -
3836
3837 - g\ :sub:`11`
3838
3839 - g\ :sub:`10`
3840
3841 - g\ :sub:`9`
3842
3843 - g\ :sub:`8`
3844
3845 - g\ :sub:`7`
3846
3847 - g\ :sub:`6`
3848
3849 - g\ :sub:`5`
3850
3851 - g\ :sub:`4`
3852
3853 - g\ :sub:`3`
3854
3855 - g\ :sub:`2`
3856
3857 - g\ :sub:`1`
3858
3859 - g\ :sub:`0`
3860
3861 - .. _MEDIA-BUS-FMT-SGRBG12-1X12:
3862
3863 - MEDIA_BUS_FMT_SGRBG12_1X12
3864
3865 - 0x3011
3866
3867 -
3868 - -
3869
3870 - -
3871
3872 - -
3873
3874 - -
3875
3876 - g\ :sub:`11`
3877
3878 - g\ :sub:`10`
3879
3880 - g\ :sub:`9`
3881
3882 - g\ :sub:`8`
3883
3884 - g\ :sub:`7`
3885
3886 - g\ :sub:`6`
3887
3888 - g\ :sub:`5`
3889
3890 - g\ :sub:`4`
3891
3892 - g\ :sub:`3`
3893
3894 - g\ :sub:`2`
3895
3896 - g\ :sub:`1`
3897
3898 - g\ :sub:`0`
3899
3900 - .. _MEDIA-BUS-FMT-SRGGB12-1X12:
3901
3902 - MEDIA_BUS_FMT_SRGGB12_1X12
3903
3904 - 0x3012
3905
3906 -
3907 - -
3908
3909 - -
3910
3911 - -
3912
3913 - -
3914
3915 - r\ :sub:`11`
3916
3917 - r\ :sub:`10`
3918
3919 - r\ :sub:`9`
3920
3921 - r\ :sub:`8`
3922
3923 - r\ :sub:`7`
3924
3925 - r\ :sub:`6`
3926
3927 - r\ :sub:`5`
3928
3929 - r\ :sub:`4`
3930
3931 - r\ :sub:`3`
3932
3933 - r\ :sub:`2`
3934
3935 - r\ :sub:`1`
3936
3937 - r\ :sub:`0`
3938
3939 - .. _MEDIA-BUS-FMT-SBGGR14-1X14:
3940
3941 - MEDIA_BUS_FMT_SBGGR14_1X14
3942
3943 - 0x3019
3944
3945 -
3946 - -
3947
3948 - -
3949
3950 - b\ :sub:`13`
3951
3952 - b\ :sub:`12`
3953
3954 - b\ :sub:`11`
3955
3956 - b\ :sub:`10`
3957
3958 - b\ :sub:`9`
3959
3960 - b\ :sub:`8`
3961
3962 - b\ :sub:`7`
3963
3964 - b\ :sub:`6`
3965
3966 - b\ :sub:`5`
3967
3968 - b\ :sub:`4`
3969
3970 - b\ :sub:`3`
3971
3972 - b\ :sub:`2`
3973
3974 - b\ :sub:`1`
3975
3976 - b\ :sub:`0`
3977
3978 - .. _MEDIA-BUS-FMT-SGBRG14-1X14:
3979
3980 - MEDIA_BUS_FMT_SGBRG14_1X14
3981
3982 - 0x301a
3983
3984 -
3985 - -
3986
3987 - -
3988
3989 - g\ :sub:`13`
3990
3991 - g\ :sub:`12`
3992
3993 - g\ :sub:`11`
3994
3995 - g\ :sub:`10`
3996
3997 - g\ :sub:`9`
3998
3999 - g\ :sub:`8`
4000
4001 - g\ :sub:`7`
4002
4003 - g\ :sub:`6`
4004
4005 - g\ :sub:`5`
4006
4007 - g\ :sub:`4`
4008
4009 - g\ :sub:`3`
4010
4011 - g\ :sub:`2`
4012
4013 - g\ :sub:`1`
4014
4015 - g\ :sub:`0`
4016
4017 - .. _MEDIA-BUS-FMT-SGRBG14-1X14:
4018
4019 - MEDIA_BUS_FMT_SGRBG14_1X14
4020
4021 - 0x301b
4022
4023 -
4024 - -
4025
4026 - -
4027
4028 - g\ :sub:`13`
4029
4030 - g\ :sub:`12`
4031
4032 - g\ :sub:`11`
4033
4034 - g\ :sub:`10`
4035
4036 - g\ :sub:`9`
4037
4038 - g\ :sub:`8`
4039
4040 - g\ :sub:`7`
4041
4042 - g\ :sub:`6`
4043
4044 - g\ :sub:`5`
4045
4046 - g\ :sub:`4`
4047
4048 - g\ :sub:`3`
4049
4050 - g\ :sub:`2`
4051
4052 - g\ :sub:`1`
4053
4054 - g\ :sub:`0`
4055
4056 - .. _MEDIA-BUS-FMT-SRGGB14-1X14:
4057
4058 - MEDIA_BUS_FMT_SRGGB14_1X14
4059
4060 - 0x301c
4061
4062 -
4063 - -
4064
4065 - -
4066
4067 - r\ :sub:`13`
4068
4069 - r\ :sub:`12`
4070
4071 - r\ :sub:`11`
4072
4073 - r\ :sub:`10`
4074
4075 - r\ :sub:`9`
4076
4077 - r\ :sub:`8`
4078
4079 - r\ :sub:`7`
4080
4081 - r\ :sub:`6`
4082
4083 - r\ :sub:`5`
4084
4085 - r\ :sub:`4`
4086
4087 - r\ :sub:`3`
4088
4089 - r\ :sub:`2`
4090
4091 - r\ :sub:`1`
4092
4093 - r\ :sub:`0`
4094
4095 - .. _MEDIA-BUS-FMT-SBGGR16-1X16:
4096
4097 - MEDIA_BUS_FMT_SBGGR16_1X16
4098
4099 - 0x301d
4100
4101 -
4102 - b\ :sub:`15`
4103
4104 - b\ :sub:`14`
4105
4106 - b\ :sub:`13`
4107
4108 - b\ :sub:`12`
4109
4110 - b\ :sub:`11`
4111
4112 - b\ :sub:`10`
4113
4114 - b\ :sub:`9`
4115
4116 - b\ :sub:`8`
4117
4118 - b\ :sub:`7`
4119
4120 - b\ :sub:`6`
4121
4122 - b\ :sub:`5`
4123
4124 - b\ :sub:`4`
4125
4126 - b\ :sub:`3`
4127
4128 - b\ :sub:`2`
4129
4130 - b\ :sub:`1`
4131
4132 - b\ :sub:`0`
4133
4134 - .. _MEDIA-BUS-FMT-SGBRG16-1X16:
4135
4136 - MEDIA_BUS_FMT_SGBRG16_1X16
4137
4138 - 0x301e
4139
4140 -
4141 - g\ :sub:`15`
4142
4143 - g\ :sub:`14`
4144
4145 - g\ :sub:`13`
4146
4147 - g\ :sub:`12`
4148
4149 - g\ :sub:`11`
4150
4151 - g\ :sub:`10`
4152
4153 - g\ :sub:`9`
4154
4155 - g\ :sub:`8`
4156
4157 - g\ :sub:`7`
4158
4159 - g\ :sub:`6`
4160
4161 - g\ :sub:`5`
4162
4163 - g\ :sub:`4`
4164
4165 - g\ :sub:`3`
4166
4167 - g\ :sub:`2`
4168
4169 - g\ :sub:`1`
4170
4171 - g\ :sub:`0`
4172
4173 - .. _MEDIA-BUS-FMT-SGRBG16-1X16:
4174
4175 - MEDIA_BUS_FMT_SGRBG16_1X16
4176
4177 - 0x301f
4178
4179 -
4180 - g\ :sub:`15`
4181
4182 - g\ :sub:`14`
4183
4184 - g\ :sub:`13`
4185
4186 - g\ :sub:`12`
4187
4188 - g\ :sub:`11`
4189
4190 - g\ :sub:`10`
4191
4192 - g\ :sub:`9`
4193
4194 - g\ :sub:`8`
4195
4196 - g\ :sub:`7`
4197
4198 - g\ :sub:`6`
4199
4200 - g\ :sub:`5`
4201
4202 - g\ :sub:`4`
4203
4204 - g\ :sub:`3`
4205
4206 - g\ :sub:`2`
4207
4208 - g\ :sub:`1`
4209
4210 - g\ :sub:`0`
4211
4212 - .. _MEDIA-BUS-FMT-SRGGB16-1X16:
4213
4214 - MEDIA_BUS_FMT_SRGGB16_1X16
4215
4216 - 0x3020
4217
4218 -
4219 - r\ :sub:`15`
4220
4221 - r\ :sub:`14`
4222
4223 - r\ :sub:`13`
4224
4225 - r\ :sub:`12`
4226
4227 - r\ :sub:`11`
4228
4229 - r\ :sub:`10`
4230
4231 - r\ :sub:`9`
4232
4233 - r\ :sub:`8`
4234
4235 - r\ :sub:`7`
4236
4237 - r\ :sub:`6`
4238
4239 - r\ :sub:`5`
4240
4241 - r\ :sub:`4`
4242
4243 - r\ :sub:`3`
4244
4245 - r\ :sub:`2`
4246
4247 - r\ :sub:`1`
4248
4249 - r\ :sub:`0`
4250 2314
4251.. raw:: latex 2315.. raw:: latex
4252 2316
@@ -4327,7679 +2391,3934 @@ the following codes.
4327 :stub-columns: 0 2391 :stub-columns: 0
4328 :widths: 36 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2392 :widths: 36 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
4329 2393
4330 - .. row 1 2394 * - Identifier
4331 2395 - Code
4332 - Identifier 2396 -
4333 2397 - :cspan:`31` Data organization
4334 - Code 2398 * -
4335 2399 -
4336 - 2400 - Bit
4337 - :cspan:`31` Data organization 2401 - 31
4338 2402 - 30
4339 - .. row 2 2403 - 29
4340 2404 - 28
4341 - 2405 - 27
4342 - 2406 - 26
4343 - Bit 2407 - 25
4344 2408 - 24
4345 - 31 2409 - 23
4346 2410 - 22
4347 - 30 2411 - 21
4348 2412 - 10
4349 - 29 2413 - 19
4350 2414 - 18
4351 - 28 2415 - 17
4352 2416 - 16
4353 - 27 2417 - 15
4354 2418 - 14
4355 - 26 2419 - 13
4356 2420 - 12
4357 - 25 2421 - 11
4358 2422 - 10
4359 - 24 2423 - 9
4360 2424 - 8
4361 - 23 2425 - 7
4362 2426 - 6
4363 - 22 2427 - 5
4364 2428 - 4
4365 - 21 2429 - 3
4366 2430 - 2
4367 - 10 2431 - 1
4368 2432 - 0
4369 - 19 2433 * .. _MEDIA-BUS-FMT-Y8-1X8:
4370 2434
4371 - 18 2435 - MEDIA_BUS_FMT_Y8_1X8
4372 2436 - 0x2001
4373 - 17 2437 -
4374 2438 -
4375 - 16 2439 -
4376 2440 -
4377 - 15 2441 -
4378 2442 -
4379 - 14 2443 -
4380 2444 -
4381 - 13 2445 -
4382 2446 -
4383 - 12 2447 -
4384 2448 -
4385 - 11 2449 -
4386 2450 -
4387 - 10 2451 -
4388 2452 -
4389 - 9 2453 -
4390 2454 -
4391 - 8 2455 -
4392 2456 -
4393 - 7 2457 -
4394 2458 -
4395 - 6 2459 -
4396 2460 -
4397 - 5 2461 -
4398 2462 - y\ :sub:`7`
4399 - 4 2463 - y\ :sub:`6`
4400 2464 - y\ :sub:`5`
4401 - 3 2465 - y\ :sub:`4`
4402 2466 - y\ :sub:`3`
4403 - 2 2467 - y\ :sub:`2`
4404 2468 - y\ :sub:`1`
4405 - 1 2469 - y\ :sub:`0`
4406 2470 * .. _MEDIA-BUS-FMT-UV8-1X8:
4407 - 0 2471
4408 2472 - MEDIA_BUS_FMT_UV8_1X8
4409 - .. _MEDIA-BUS-FMT-Y8-1X8: 2473 - 0x2015
4410 2474 -
4411 - MEDIA_BUS_FMT_Y8_1X8 2475 -
4412 2476 -
4413 - 0x2001 2477 -
4414 2478 -
4415 - 2479 -
4416 - 2480 -
4417 2481 -
4418 - 2482 -
4419 2483 -
4420 - 2484 -
4421 2485 -
4422 - 2486 -
4423 2487 -
4424 - 2488 -
4425 2489 -
4426 - 2490 -
4427 2491 -
4428 - 2492 -
4429 2493 -
4430 - 2494 -
4431 2495 -
4432 - 2496 -
4433 2497 -
4434 - 2498 -
4435 2499 - u\ :sub:`7`
4436 - 2500 - u\ :sub:`6`
4437 2501 - u\ :sub:`5`
4438 - 2502 - u\ :sub:`4`
4439 2503 - u\ :sub:`3`
4440 - 2504 - u\ :sub:`2`
4441 2505 - u\ :sub:`1`
4442 - 2506 - u\ :sub:`0`
4443 2507 * -
4444 - 2508 -
4445 2509 -
4446 - 2510 -
4447 2511 -
4448 - 2512 -
4449 2513 -
4450 - 2514 -
4451 2515 -
4452 - 2516 -
4453 2517 -
4454 - 2518 -
4455 2519 -
4456 - 2520 -
4457 2521 -
4458 - 2522 -
4459 2523 -
4460 - 2524 -
4461 2525 -
4462 - 2526 -
4463 2527 -
4464 - y\ :sub:`7` 2528 -
4465 2529 -
4466 - y\ :sub:`6` 2530 -
4467 2531 -
4468 - y\ :sub:`5` 2532 -
4469 2533 -
4470 - y\ :sub:`4` 2534 - v\ :sub:`7`
4471 2535 - v\ :sub:`6`
4472 - y\ :sub:`3` 2536 - v\ :sub:`5`
4473 2537 - v\ :sub:`4`
4474 - y\ :sub:`2` 2538 - v\ :sub:`3`
4475 2539 - v\ :sub:`2`
4476 - y\ :sub:`1` 2540 - v\ :sub:`1`
4477 2541 - v\ :sub:`0`
4478 - y\ :sub:`0` 2542 * .. _MEDIA-BUS-FMT-UYVY8-1_5X8:
4479 2543
4480 - .. _MEDIA-BUS-FMT-UV8-1X8: 2544 - MEDIA_BUS_FMT_UYVY8_1_5X8
4481 2545 - 0x2002
4482 - MEDIA_BUS_FMT_UV8_1X8 2546 -
4483 2547 -
4484 - 0x2015 2548 -
4485 2549 -
4486 - 2550 -
4487 - 2551 -
4488 2552 -
4489 - 2553 -
4490 2554 -
4491 - 2555 -
4492 2556 -
4493 - 2557 -
4494 2558 -
4495 - 2559 -
4496 2560 -
4497 - 2561 -
4498 2562 -
4499 - 2563 -
4500 2564 -
4501 - 2565 -
4502 2566 -
4503 - 2567 -
4504 2568 -
4505 - 2569 -
4506 2570 -
4507 - 2571 - u\ :sub:`7`
4508 2572 - u\ :sub:`6`
4509 - 2573 - u\ :sub:`5`
4510 2574 - u\ :sub:`4`
4511 - 2575 - u\ :sub:`3`
4512 2576 - u\ :sub:`2`
4513 - 2577 - u\ :sub:`1`
4514 2578 - u\ :sub:`0`
4515 - 2579 * -
4516 2580 -
4517 - 2581 -
4518 2582 -
4519 - 2583 -
4520 2584 -
4521 - 2585 -
4522 2586 -
4523 - 2587 -
4524 2588 -
4525 - 2589 -
4526 2590 -
4527 - 2591 -
4528 2592 -
4529 - 2593 -
4530 2594 -
4531 - 2595 -
4532 2596 -
4533 - 2597 -
4534 2598 -
4535 - u\ :sub:`7` 2599 -
4536 2600 -
4537 - u\ :sub:`6` 2601 -
4538 2602 -
4539 - u\ :sub:`5` 2603 -
4540 2604 -
4541 - u\ :sub:`4` 2605 -
4542 2606 - y\ :sub:`7`
4543 - u\ :sub:`3` 2607 - y\ :sub:`6`
4544 2608 - y\ :sub:`5`
4545 - u\ :sub:`2` 2609 - y\ :sub:`4`
4546 2610 - y\ :sub:`3`
4547 - u\ :sub:`1` 2611 - y\ :sub:`2`
4548 2612 - y\ :sub:`1`
4549 - u\ :sub:`0` 2613 - y\ :sub:`0`
4550 2614 * -
4551 - .. row 5 2615 -
4552 2616 -
4553 - 2617 -
4554 - 2618 -
4555 - 2619 -
4556 - 2620 -
4557 2621 -
4558 - 2622 -
4559 2623 -
4560 - 2624 -
4561 2625 -
4562 - 2626 -
4563 2627 -
4564 - 2628 -
4565 2629 -
4566 - 2630 -
4567 2631 -
4568 - 2632 -
4569 2633 -
4570 - 2634 -
4571 2635 -
4572 - 2636 -
4573 2637 -
4574 - 2638 -
4575 2639 -
4576 - 2640 -
4577 2641 - y\ :sub:`7`
4578 - 2642 - y\ :sub:`6`
4579 2643 - y\ :sub:`5`
4580 - 2644 - y\ :sub:`4`
4581 2645 - y\ :sub:`3`
4582 - 2646 - y\ :sub:`2`
4583 2647 - y\ :sub:`1`
4584 - 2648 - y\ :sub:`0`
4585 2649 * -
4586 - 2650 -
4587 2651 -
4588 - 2652 -
4589 2653 -
4590 - 2654 -
4591 2655 -
4592 - 2656 -
4593 2657 -
4594 - 2658 -
4595 2659 -
4596 - 2660 -
4597 2661 -
4598 - 2662 -
4599 2663 -
4600 - 2664 -
4601 2665 -
4602 - 2666 -
4603 2667 -
4604 - v\ :sub:`7` 2668 -
4605 2669 -
4606 - v\ :sub:`6` 2670 -
4607 2671 -
4608 - v\ :sub:`5` 2672 -
4609 2673 -
4610 - v\ :sub:`4` 2674 -
4611 2675 -
4612 - v\ :sub:`3` 2676 - v\ :sub:`7`
4613 2677 - v\ :sub:`6`
4614 - v\ :sub:`2` 2678 - v\ :sub:`5`
4615 2679 - v\ :sub:`4`
4616 - v\ :sub:`1` 2680 - v\ :sub:`3`
4617 2681 - v\ :sub:`2`
4618 - v\ :sub:`0` 2682 - v\ :sub:`1`
4619 2683 - v\ :sub:`0`
4620 - .. _MEDIA-BUS-FMT-UYVY8-1_5X8: 2684 * -
4621 2685 -
4622 - MEDIA_BUS_FMT_UYVY8_1_5X8 2686 -
4623 2687 -
4624 - 0x2002 2688 -
4625 2689 -
4626 - 2690 -
4627 - 2691 -
4628 2692 -
4629 - 2693 -
4630 2694 -
4631 - 2695 -
4632 2696 -
4633 - 2697 -
4634 2698 -
4635 - 2699 -
4636 2700 -
4637 - 2701 -
4638 2702 -
4639 - 2703 -
4640 2704 -
4641 - 2705 -
4642 2706 -
4643 - 2707 -
4644 2708 -
4645 - 2709 -
4646 2710 -
4647 - 2711 - y\ :sub:`7`
4648 2712 - y\ :sub:`6`
4649 - 2713 - y\ :sub:`5`
4650 2714 - y\ :sub:`4`
4651 - 2715 - y\ :sub:`3`
4652 2716 - y\ :sub:`2`
4653 - 2717 - y\ :sub:`1`
4654 2718 - y\ :sub:`0`
4655 - 2719 * -
4656 2720 -
4657 - 2721 -
4658 2722 -
4659 - 2723 -
4660 2724 -
4661 - 2725 -
4662 2726 -
4663 - 2727 -
4664 2728 -
4665 - 2729 -
4666 2730 -
4667 - 2731 -
4668 2732 -
4669 - 2733 -
4670 2734 -
4671 - 2735 -
4672 2736 -
4673 - 2737 -
4674 2738 -
4675 - u\ :sub:`7` 2739 -
4676 2740 -
4677 - u\ :sub:`6` 2741 -
4678 2742 -
4679 - u\ :sub:`5` 2743 -
4680 2744 -
4681 - u\ :sub:`4` 2745 -
4682 2746 - y\ :sub:`7`
4683 - u\ :sub:`3` 2747 - y\ :sub:`6`
4684 2748 - y\ :sub:`5`
4685 - u\ :sub:`2` 2749 - y\ :sub:`4`
4686 2750 - y\ :sub:`3`
4687 - u\ :sub:`1` 2751 - y\ :sub:`2`
4688 2752 - y\ :sub:`1`
4689 - u\ :sub:`0` 2753 - y\ :sub:`0`
4690 2754 * .. _MEDIA-BUS-FMT-VYUY8-1_5X8:
4691 - .. row 7 2755
4692 2756 - MEDIA_BUS_FMT_VYUY8_1_5X8
4693 - 2757 - 0x2003
4694 - 2758 -
4695 - 2759 -
4696 - 2760 -
4697 2761 -
4698 - 2762 -
4699 2763 -
4700 - 2764 -
4701 2765 -
4702 - 2766 -
4703 2767 -
4704 - 2768 -
4705 2769 -
4706 - 2770 -
4707 2771 -
4708 - 2772 -
4709 2773 -
4710 - 2774 -
4711 2775 -
4712 - 2776 -
4713 2777 -
4714 - 2778 -
4715 2779 -
4716 - 2780 -
4717 2781 -
4718 - 2782 -
4719 2783 - v\ :sub:`7`
4720 - 2784 - v\ :sub:`6`
4721 2785 - v\ :sub:`5`
4722 - 2786 - v\ :sub:`4`
4723 2787 - v\ :sub:`3`
4724 - 2788 - v\ :sub:`2`
4725 2789 - v\ :sub:`1`
4726 - 2790 - v\ :sub:`0`
4727 2791 * -
4728 - 2792 -
4729 2793 -
4730 - 2794 -
4731 2795 -
4732 - 2796 -
4733 2797 -
4734 - 2798 -
4735 2799 -
4736 - 2800 -
4737 2801 -
4738 - 2802 -
4739 2803 -
4740 - 2804 -
4741 2805 -
4742 - 2806 -
4743 2807 -
4744 - y\ :sub:`7` 2808 -
4745 2809 -
4746 - y\ :sub:`6` 2810 -
4747 2811 -
4748 - y\ :sub:`5` 2812 -
4749 2813 -
4750 - y\ :sub:`4` 2814 -
4751 2815 -
4752 - y\ :sub:`3` 2816 -
4753 2817 -
4754 - y\ :sub:`2` 2818 - y\ :sub:`7`
4755 2819 - y\ :sub:`6`
4756 - y\ :sub:`1` 2820 - y\ :sub:`5`
4757 2821 - y\ :sub:`4`
4758 - y\ :sub:`0` 2822 - y\ :sub:`3`
4759 2823 - y\ :sub:`2`
4760 - .. row 8 2824 - y\ :sub:`1`
4761 2825 - y\ :sub:`0`
4762 - 2826 * -
4763 - 2827 -
4764 - 2828 -
4765 - 2829 -
4766 2830 -
4767 - 2831 -
4768 2832 -
4769 - 2833 -
4770 2834 -
4771 - 2835 -
4772 2836 -
4773 - 2837 -
4774 2838 -
4775 - 2839 -
4776 2840 -
4777 - 2841 -
4778 2842 -
4779 - 2843 -
4780 2844 -
4781 - 2845 -
4782 2846 -
4783 - 2847 -
4784 2848 -
4785 - 2849 -
4786 2850 -
4787 - 2851 -
4788 2852 -
4789 - 2853 - y\ :sub:`7`
4790 2854 - y\ :sub:`6`
4791 - 2855 - y\ :sub:`5`
4792 2856 - y\ :sub:`4`
4793 - 2857 - y\ :sub:`3`
4794 2858 - y\ :sub:`2`
4795 - 2859 - y\ :sub:`1`
4796 2860 - y\ :sub:`0`
4797 - 2861 * -
4798 2862 -
4799 - 2863 -
4800 2864 -
4801 - 2865 -
4802 2866 -
4803 - 2867 -
4804 2868 -
4805 - 2869 -
4806 2870 -
4807 - 2871 -
4808 2872 -
4809 - 2873 -
4810 2874 -
4811 - 2875 -
4812 2876 -
4813 - y\ :sub:`7` 2877 -
4814 2878 -
4815 - y\ :sub:`6` 2879 -
4816 2880 -
4817 - y\ :sub:`5` 2881 -
4818 2882 -
4819 - y\ :sub:`4` 2883 -
4820 2884 -
4821 - y\ :sub:`3` 2885 -
4822 2886 -
4823 - y\ :sub:`2` 2887 -
4824 2888 - u\ :sub:`7`
4825 - y\ :sub:`1` 2889 - u\ :sub:`6`
4826 2890 - u\ :sub:`5`
4827 - y\ :sub:`0` 2891 - u\ :sub:`4`
4828 2892 - u\ :sub:`3`
4829 - .. row 9 2893 - u\ :sub:`2`
4830 2894 - u\ :sub:`1`
4831 - 2895 - u\ :sub:`0`
4832 - 2896 * -
4833 - 2897 -
4834 - 2898 -
4835 2899 -
4836 - 2900 -
4837 2901 -
4838 - 2902 -
4839 2903 -
4840 - 2904 -
4841 2905 -
4842 - 2906 -
4843 2907 -
4844 - 2908 -
4845 2909 -
4846 - 2910 -
4847 2911 -
4848 - 2912 -
4849 2913 -
4850 - 2914 -
4851 2915 -
4852 - 2916 -
4853 2917 -
4854 - 2918 -
4855 2919 -
4856 - 2920 -
4857 2921 -
4858 - 2922 -
4859 2923 - y\ :sub:`7`
4860 - 2924 - y\ :sub:`6`
4861 2925 - y\ :sub:`5`
4862 - 2926 - y\ :sub:`4`
4863 2927 - y\ :sub:`3`
4864 - 2928 - y\ :sub:`2`
4865 2929 - y\ :sub:`1`
4866 - 2930 - y\ :sub:`0`
4867 2931 * -
4868 - 2932 -
4869 2933 -
4870 - 2934 -
4871 2935 -
4872 - 2936 -
4873 2937 -
4874 - 2938 -
4875 2939 -
4876 - 2940 -
4877 2941 -
4878 - 2942 -
4879 2943 -
4880 - 2944 -
4881 2945 -
4882 - v\ :sub:`7` 2946 -
4883 2947 -
4884 - v\ :sub:`6` 2948 -
4885 2949 -
4886 - v\ :sub:`5` 2950 -
4887 2951 -
4888 - v\ :sub:`4` 2952 -
4889 2953 -
4890 - v\ :sub:`3` 2954 -
4891 2955 -
4892 - v\ :sub:`2` 2956 -
4893 2957 -
4894 - v\ :sub:`1` 2958 - y\ :sub:`7`
4895 2959 - y\ :sub:`6`
4896 - v\ :sub:`0` 2960 - y\ :sub:`5`
4897 2961 - y\ :sub:`4`
4898 - .. row 10 2962 - y\ :sub:`3`
4899 2963 - y\ :sub:`2`
4900 - 2964 - y\ :sub:`1`
4901 - 2965 - y\ :sub:`0`
4902 - 2966 * .. _MEDIA-BUS-FMT-YUYV8-1_5X8:
4903 - 2967
4904 2968 - MEDIA_BUS_FMT_YUYV8_1_5X8
4905 - 2969 - 0x2004
4906 2970 -
4907 - 2971 -
4908 2972 -
4909 - 2973 -
4910 2974 -
4911 - 2975 -
4912 2976 -
4913 - 2977 -
4914 2978 -
4915 - 2979 -
4916 2980 -
4917 - 2981 -
4918 2982 -
4919 - 2983 -
4920 2984 -
4921 - 2985 -
4922 2986 -
4923 - 2987 -
4924 2988 -
4925 - 2989 -
4926 2990 -
4927 - 2991 -
4928 2992 -
4929 - 2993 -
4930 2994 -
4931 - 2995 - y\ :sub:`7`
4932 2996 - y\ :sub:`6`
4933 - 2997 - y\ :sub:`5`
4934 2998 - y\ :sub:`4`
4935 - 2999 - y\ :sub:`3`
4936 3000 - y\ :sub:`2`
4937 - 3001 - y\ :sub:`1`
4938 3002 - y\ :sub:`0`
4939 - 3003 * -
4940 3004 -
4941 - 3005 -
4942 3006 -
4943 - 3007 -
4944 3008 -
4945 - 3009 -
4946 3010 -
4947 - 3011 -
4948 3012 -
4949 - 3013 -
4950 3014 -
4951 - y\ :sub:`7` 3015 -
4952 3016 -
4953 - y\ :sub:`6` 3017 -
4954 3018 -
4955 - y\ :sub:`5` 3019 -
4956 3020 -
4957 - y\ :sub:`4` 3021 -
4958 3022 -
4959 - y\ :sub:`3` 3023 -
4960 3024 -
4961 - y\ :sub:`2` 3025 -
4962 3026 -
4963 - y\ :sub:`1` 3027 -
4964 3028 -
4965 - y\ :sub:`0` 3029 -
4966 3030 - y\ :sub:`7`
4967 - .. row 11 3031 - y\ :sub:`6`
4968 3032 - y\ :sub:`5`
4969 - 3033 - y\ :sub:`4`
4970 - 3034 - y\ :sub:`3`
4971 - 3035 - y\ :sub:`2`
4972 - 3036 - y\ :sub:`1`
4973 3037 - y\ :sub:`0`
4974 - 3038 * -
4975 3039 -
4976 - 3040 -
4977 3041 -
4978 - 3042 -
4979 3043 -
4980 - 3044 -
4981 3045 -
4982 - 3046 -
4983 3047 -
4984 - 3048 -
4985 3049 -
4986 - 3050 -
4987 3051 -
4988 - 3052 -
4989 3053 -
4990 - 3054 -
4991 3055 -
4992 - 3056 -
4993 3057 -
4994 - 3058 -
4995 3059 -
4996 - 3060 -
4997 3061 -
4998 - 3062 -
4999 3063 -
5000 - 3064 -
5001 3065 - u\ :sub:`7`
5002 - 3066 - u\ :sub:`6`
5003 3067 - u\ :sub:`5`
5004 - 3068 - u\ :sub:`4`
5005 3069 - u\ :sub:`3`
5006 - 3070 - u\ :sub:`2`
5007 3071 - u\ :sub:`1`
5008 - 3072 - u\ :sub:`0`
5009 3073 * -
5010 - 3074 -
5011 3075 -
5012 - 3076 -
5013 3077 -
5014 - 3078 -
5015 3079 -
5016 - 3080 -
5017 3081 -
5018 - 3082 -
5019 3083 -
5020 - y\ :sub:`7` 3084 -
5021 3085 -
5022 - y\ :sub:`6` 3086 -
5023 3087 -
5024 - y\ :sub:`5` 3088 -
5025 3089 -
5026 - y\ :sub:`4` 3090 -
5027 3091 -
5028 - y\ :sub:`3` 3092 -
5029 3093 -
5030 - y\ :sub:`2` 3094 -
5031 3095 -
5032 - y\ :sub:`1` 3096 -
5033 3097 -
5034 - y\ :sub:`0` 3098 -
5035 3099 -
5036 - .. _MEDIA-BUS-FMT-VYUY8-1_5X8: 3100 - y\ :sub:`7`
5037 3101 - y\ :sub:`6`
5038 - MEDIA_BUS_FMT_VYUY8_1_5X8 3102 - y\ :sub:`5`
5039 3103 - y\ :sub:`4`
5040 - 0x2003 3104 - y\ :sub:`3`
5041 3105 - y\ :sub:`2`
5042 - 3106 - y\ :sub:`1`
5043 - 3107 - y\ :sub:`0`
5044 3108 * -
5045 - 3109 -
5046 3110 -
5047 - 3111 -
5048 3112 -
5049 - 3113 -
5050 3114 -
5051 - 3115 -
5052 3116 -
5053 - 3117 -
5054 3118 -
5055 - 3119 -
5056 3120 -
5057 - 3121 -
5058 3122 -
5059 - 3123 -
5060 3124 -
5061 - 3125 -
5062 3126 -
5063 - 3127 -
5064 3128 -
5065 - 3129 -
5066 3130 -
5067 - 3131 -
5068 3132 -
5069 - 3133 -
5070 3134 -
5071 - 3135 - y\ :sub:`7`
5072 3136 - y\ :sub:`6`
5073 - 3137 - y\ :sub:`5`
5074 3138 - y\ :sub:`4`
5075 - 3139 - y\ :sub:`3`
5076 3140 - y\ :sub:`2`
5077 - 3141 - y\ :sub:`1`
5078 3142 - y\ :sub:`0`
5079 - 3143 * -
5080 3144 -
5081 - 3145 -
5082 3146 -
5083 - 3147 -
5084 3148 -
5085 - 3149 -
5086 3150 -
5087 - 3151 -
5088 3152 -
5089 - 3153 -
5090 3154 -
5091 - v\ :sub:`7` 3155 -
5092 3156 -
5093 - v\ :sub:`6` 3157 -
5094 3158 -
5095 - v\ :sub:`5` 3159 -
5096 3160 -
5097 - v\ :sub:`4` 3161 -
5098 3162 -
5099 - v\ :sub:`3` 3163 -
5100 3164 -
5101 - v\ :sub:`2` 3165 -
5102 3166 -
5103 - v\ :sub:`1` 3167 -
5104 3168 -
5105 - v\ :sub:`0` 3169 -
5106 3170 - v\ :sub:`7`
5107 - .. row 13 3171 - v\ :sub:`6`
5108 3172 - v\ :sub:`5`
5109 - 3173 - v\ :sub:`4`
5110 - 3174 - v\ :sub:`3`
5111 - 3175 - v\ :sub:`2`
5112 - 3176 - v\ :sub:`1`
5113 3177 - v\ :sub:`0`
5114 - 3178 * .. _MEDIA-BUS-FMT-YVYU8-1_5X8:
5115 3179
5116 - 3180 - MEDIA_BUS_FMT_YVYU8_1_5X8
5117 3181 - 0x2005
5118 - 3182 -
5119 3183 -
5120 - 3184 -
5121 3185 -
5122 - 3186 -
5123 3187 -
5124 - 3188 -
5125 3189 -
5126 - 3190 -
5127 3191 -
5128 - 3192 -
5129 3193 -
5130 - 3194 -
5131 3195 -
5132 - 3196 -
5133 3197 -
5134 - 3198 -
5135 3199 -
5136 - 3200 -
5137 3201 -
5138 - 3202 -
5139 3203 -
5140 - 3204 -
5141 3205 -
5142 - 3206 -
5143 3207 - y\ :sub:`7`
5144 - 3208 - y\ :sub:`6`
5145 3209 - y\ :sub:`5`
5146 - 3210 - y\ :sub:`4`
5147 3211 - y\ :sub:`3`
5148 - 3212 - y\ :sub:`2`
5149 3213 - y\ :sub:`1`
5150 - 3214 - y\ :sub:`0`
5151 3215 * -
5152 - 3216 -
5153 3217 -
5154 - 3218 -
5155 3219 -
5156 - 3220 -
5157 3221 -
5158 - 3222 -
5159 3223 -
5160 - y\ :sub:`7` 3224 -
5161 3225 -
5162 - y\ :sub:`6` 3226 -
5163 3227 -
5164 - y\ :sub:`5` 3228 -
5165 3229 -
5166 - y\ :sub:`4` 3230 -
5167 3231 -
5168 - y\ :sub:`3` 3232 -
5169 3233 -
5170 - y\ :sub:`2` 3234 -
5171 3235 -
5172 - y\ :sub:`1` 3236 -
5173 3237 -
5174 - y\ :sub:`0` 3238 -
5175 3239 -
5176 - .. row 14 3240 -
5177 3241 -
5178 - 3242 - y\ :sub:`7`
5179 - 3243 - y\ :sub:`6`
5180 - 3244 - y\ :sub:`5`
5181 - 3245 - y\ :sub:`4`
5182 3246 - y\ :sub:`3`
5183 - 3247 - y\ :sub:`2`
5184 3248 - y\ :sub:`1`
5185 - 3249 - y\ :sub:`0`
5186 3250 * -
5187 - 3251 -
5188 3252 -
5189 - 3253 -
5190 3254 -
5191 - 3255 -
5192 3256 -
5193 - 3257 -
5194 3258 -
5195 - 3259 -
5196 3260 -
5197 - 3261 -
5198 3262 -
5199 - 3263 -
5200 3264 -
5201 - 3265 -
5202 3266 -
5203 - 3267 -
5204 3268 -
5205 - 3269 -
5206 3270 -
5207 - 3271 -
5208 3272 -
5209 - 3273 -
5210 3274 -
5211 - 3275 -
5212 3276 -
5213 - 3277 - v\ :sub:`7`
5214 3278 - v\ :sub:`6`
5215 - 3279 - v\ :sub:`5`
5216 3280 - v\ :sub:`4`
5217 - 3281 - v\ :sub:`3`
5218 3282 - v\ :sub:`2`
5219 - 3283 - v\ :sub:`1`
5220 3284 - v\ :sub:`0`
5221 - 3285 * -
5222 3286 -
5223 - 3287 -
5224 3288 -
5225 - 3289 -
5226 3290 -
5227 - 3291 -
5228 3292 -
5229 - y\ :sub:`7` 3293 -
5230 3294 -
5231 - y\ :sub:`6` 3295 -
5232 3296 -
5233 - y\ :sub:`5` 3297 -
5234 3298 -
5235 - y\ :sub:`4` 3299 -
5236 3300 -
5237 - y\ :sub:`3` 3301 -
5238 3302 -
5239 - y\ :sub:`2` 3303 -
5240 3304 -
5241 - y\ :sub:`1` 3305 -
5242 3306 -
5243 - y\ :sub:`0` 3307 -
5244 3308 -
5245 - .. row 15 3309 -
5246 3310 -
5247 - 3311 -
5248 - 3312 - y\ :sub:`7`
5249 - 3313 - y\ :sub:`6`
5250 - 3314 - y\ :sub:`5`
5251 3315 - y\ :sub:`4`
5252 - 3316 - y\ :sub:`3`
5253 3317 - y\ :sub:`2`
5254 - 3318 - y\ :sub:`1`
5255 3319 - y\ :sub:`0`
5256 - 3320 * -
5257 3321 -
5258 - 3322 -
5259 3323 -
5260 - 3324 -
5261 3325 -
5262 - 3326 -
5263 3327 -
5264 - 3328 -
5265 3329 -
5266 - 3330 -
5267 3331 -
5268 - 3332 -
5269 3333 -
5270 - 3334 -
5271 3335 -
5272 - 3336 -
5273 3337 -
5274 - 3338 -
5275 3339 -
5276 - 3340 -
5277 3341 -
5278 - 3342 -
5279 3343 -
5280 - 3344 -
5281 3345 -
5282 - 3346 -
5283 3347 - y\ :sub:`7`
5284 - 3348 - y\ :sub:`6`
5285 3349 - y\ :sub:`5`
5286 - 3350 - y\ :sub:`4`
5287 3351 - y\ :sub:`3`
5288 - 3352 - y\ :sub:`2`
5289 3353 - y\ :sub:`1`
5290 - 3354 - y\ :sub:`0`
5291 3355 * -
5292 - 3356 -
5293 3357 -
5294 - 3358 -
5295 3359 -
5296 - 3360 -
5297 3361 -
5298 - u\ :sub:`7` 3362 -
5299 3363 -
5300 - u\ :sub:`6` 3364 -
5301 3365 -
5302 - u\ :sub:`5` 3366 -
5303 3367 -
5304 - u\ :sub:`4` 3368 -
5305 3369 -
5306 - u\ :sub:`3` 3370 -
5307 3371 -
5308 - u\ :sub:`2` 3372 -
5309 3373 -
5310 - u\ :sub:`1` 3374 -
5311 3375 -
5312 - u\ :sub:`0` 3376 -
5313 3377 -
5314 - .. row 16 3378 -
5315 3379 -
5316 - 3380 -
5317 - 3381 -
5318 - 3382 - u\ :sub:`7`
5319 - 3383 - u\ :sub:`6`
5320 3384 - u\ :sub:`5`
5321 - 3385 - u\ :sub:`4`
5322 3386 - u\ :sub:`3`
5323 - 3387 - u\ :sub:`2`
5324 3388 - u\ :sub:`1`
5325 - 3389 - u\ :sub:`0`
5326 3390 * .. _MEDIA-BUS-FMT-UYVY8-2X8:
5327 - 3391
5328 3392 - MEDIA_BUS_FMT_UYVY8_2X8
5329 - 3393 - 0x2006
5330 3394 -
5331 - 3395 -
5332 3396 -
5333 - 3397 -
5334 3398 -
5335 - 3399 -
5336 3400 -
5337 - 3401 -
5338 3402 -
5339 - 3403 -
5340 3404 -
5341 - 3405 -
5342 3406 -
5343 - 3407 -
5344 3408 -
5345 - 3409 -
5346 3410 -
5347 - 3411 -
5348 3412 -
5349 - 3413 -
5350 3414 -
5351 - 3415 -
5352 3416 -
5353 - 3417 -
5354 3418 -
5355 - 3419 - u\ :sub:`7`
5356 3420 - u\ :sub:`6`
5357 - 3421 - u\ :sub:`5`
5358 3422 - u\ :sub:`4`
5359 - 3423 - u\ :sub:`3`
5360 3424 - u\ :sub:`2`
5361 - 3425 - u\ :sub:`1`
5362 3426 - u\ :sub:`0`
5363 - 3427 * -
5364 3428 -
5365 - 3429 -
5366 3430 -
5367 - y\ :sub:`7` 3431 -
5368 3432 -
5369 - y\ :sub:`6` 3433 -
5370 3434 -
5371 - y\ :sub:`5` 3435 -
5372 3436 -
5373 - y\ :sub:`4` 3437 -
5374 3438 -
5375 - y\ :sub:`3` 3439 -
5376 3440 -
5377 - y\ :sub:`2` 3441 -
5378 3442 -
5379 - y\ :sub:`1` 3443 -
5380 3444 -
5381 - y\ :sub:`0` 3445 -
5382 3446 -
5383 - .. row 17 3447 -
5384 3448 -
5385 - 3449 -
5386 - 3450 -
5387 - 3451 -
5388 - 3452 -
5389 3453 -
5390 - 3454 - y\ :sub:`7`
5391 3455 - y\ :sub:`6`
5392 - 3456 - y\ :sub:`5`
5393 3457 - y\ :sub:`4`
5394 - 3458 - y\ :sub:`3`
5395 3459 - y\ :sub:`2`
5396 - 3460 - y\ :sub:`1`
5397 3461 - y\ :sub:`0`
5398 - 3462 * -
5399 3463 -
5400 - 3464 -
5401 3465 -
5402 - 3466 -
5403 3467 -
5404 - 3468 -
5405 3469 -
5406 - 3470 -
5407 3471 -
5408 - 3472 -
5409 3473 -
5410 - 3474 -
5411 3475 -
5412 - 3476 -
5413 3477 -
5414 - 3478 -
5415 3479 -
5416 - 3480 -
5417 3481 -
5418 - 3482 -
5419 3483 -
5420 - 3484 -
5421 3485 -
5422 - 3486 -
5423 3487 -
5424 - 3488 -
5425 3489 - v\ :sub:`7`
5426 - 3490 - v\ :sub:`6`
5427 3491 - v\ :sub:`5`
5428 - 3492 - v\ :sub:`4`
5429 3493 - v\ :sub:`3`
5430 - 3494 - v\ :sub:`2`
5431 3495 - v\ :sub:`1`
5432 - 3496 - v\ :sub:`0`
5433 3497 * -
5434 - 3498 -
5435 3499 -
5436 - y\ :sub:`7` 3500 -
5437 3501 -
5438 - y\ :sub:`6` 3502 -
5439 3503 -
5440 - y\ :sub:`5` 3504 -
5441 3505 -
5442 - y\ :sub:`4` 3506 -
5443 3507 -
5444 - y\ :sub:`3` 3508 -
5445 3509 -
5446 - y\ :sub:`2` 3510 -
5447 3511 -
5448 - y\ :sub:`1` 3512 -
5449 3513 -
5450 - y\ :sub:`0` 3514 -
5451 3515 -
5452 - .. _MEDIA-BUS-FMT-YUYV8-1_5X8: 3516 -
5453 3517 -
5454 - MEDIA_BUS_FMT_YUYV8_1_5X8 3518 -
5455 3519 -
5456 - 0x2004 3520 -
5457 3521 -
5458 - 3522 -
5459 - 3523 -
5460 3524 - y\ :sub:`7`
5461 - 3525 - y\ :sub:`6`
5462 3526 - y\ :sub:`5`
5463 - 3527 - y\ :sub:`4`
5464 3528 - y\ :sub:`3`
5465 - 3529 - y\ :sub:`2`
5466 3530 - y\ :sub:`1`
5467 - 3531 - y\ :sub:`0`
5468 3532 * .. _MEDIA-BUS-FMT-VYUY8-2X8:
5469 - 3533
5470 3534 - MEDIA_BUS_FMT_VYUY8_2X8
5471 - 3535 - 0x2007
5472 3536 -
5473 - 3537 -
5474 3538 -
5475 - 3539 -
5476 3540 -
5477 - 3541 -
5478 3542 -
5479 - 3543 -
5480 3544 -
5481 - 3545 -
5482 3546 -
5483 - 3547 -
5484 3548 -
5485 - 3549 -
5486 3550 -
5487 - 3551 -
5488 3552 -
5489 - 3553 -
5490 3554 -
5491 - 3555 -
5492 3556 -
5493 - 3557 -
5494 3558 -
5495 - 3559 -
5496 3560 -
5497 - 3561 - v\ :sub:`7`
5498 3562 - v\ :sub:`6`
5499 - 3563 - v\ :sub:`5`
5500 3564 - v\ :sub:`4`
5501 - 3565 - v\ :sub:`3`
5502 3566 - v\ :sub:`2`
5503 - 3567 - v\ :sub:`1`
5504 3568 - v\ :sub:`0`
5505 - 3569 * -
5506 3570 -
5507 - y\ :sub:`7` 3571 -
5508 3572 -
5509 - y\ :sub:`6` 3573 -
5510 3574 -
5511 - y\ :sub:`5` 3575 -
5512 3576 -
5513 - y\ :sub:`4` 3577 -
5514 3578 -
5515 - y\ :sub:`3` 3579 -
5516 3580 -
5517 - y\ :sub:`2` 3581 -
5518 3582 -
5519 - y\ :sub:`1` 3583 -
5520 3584 -
5521 - y\ :sub:`0` 3585 -
5522 3586 -
5523 - .. row 19 3587 -
5524 3588 -
5525 - 3589 -
5526 - 3590 -
5527 - 3591 -
5528 - 3592 -
5529 3593 -
5530 - 3594 -
5531 3595 -
5532 - 3596 - y\ :sub:`7`
5533 3597 - y\ :sub:`6`
5534 - 3598 - y\ :sub:`5`
5535 3599 - y\ :sub:`4`
5536 - 3600 - y\ :sub:`3`
5537 3601 - y\ :sub:`2`
5538 - 3602 - y\ :sub:`1`
5539 3603 - y\ :sub:`0`
5540 - 3604 * -
5541 3605 -
5542 - 3606 -
5543 3607 -
5544 - 3608 -
5545 3609 -
5546 - 3610 -
5547 3611 -
5548 - 3612 -
5549 3613 -
5550 - 3614 -
5551 3615 -
5552 - 3616 -
5553 3617 -
5554 - 3618 -
5555 3619 -
5556 - 3620 -
5557 3621 -
5558 - 3622 -
5559 3623 -
5560 - 3624 -
5561 3625 -
5562 - 3626 -
5563 3627 -
5564 - 3628 -
5565 3629 -
5566 - 3630 -
5567 3631 - u\ :sub:`7`
5568 - 3632 - u\ :sub:`6`
5569 3633 - u\ :sub:`5`
5570 - 3634 - u\ :sub:`4`
5571 3635 - u\ :sub:`3`
5572 - 3636 - u\ :sub:`2`
5573 3637 - u\ :sub:`1`
5574 - 3638 - u\ :sub:`0`
5575 3639 * -
5576 - y\ :sub:`7` 3640 -
5577 3641 -
5578 - y\ :sub:`6` 3642 -
5579 3643 -
5580 - y\ :sub:`5` 3644 -
5581 3645 -
5582 - y\ :sub:`4` 3646 -
5583 3647 -
5584 - y\ :sub:`3` 3648 -
5585 3649 -
5586 - y\ :sub:`2` 3650 -
5587 3651 -
5588 - y\ :sub:`1` 3652 -
5589 3653 -
5590 - y\ :sub:`0` 3654 -
5591 3655 -
5592 - .. row 20 3656 -
5593 3657 -
5594 - 3658 -
5595 - 3659 -
5596 - 3660 -
5597 - 3661 -
5598 3662 -
5599 - 3663 -
5600 3664 -
5601 - 3665 -
5602 3666 - y\ :sub:`7`
5603 - 3667 - y\ :sub:`6`
5604 3668 - y\ :sub:`5`
5605 - 3669 - y\ :sub:`4`
5606 3670 - y\ :sub:`3`
5607 - 3671 - y\ :sub:`2`
5608 3672 - y\ :sub:`1`
5609 - 3673 - y\ :sub:`0`
5610 3674 * .. _MEDIA-BUS-FMT-YUYV8-2X8:
5611 - 3675
5612 3676 - MEDIA_BUS_FMT_YUYV8_2X8
5613 - 3677 - 0x2008
5614 3678 -
5615 - 3679 -
5616 3680 -
5617 - 3681 -
5618 3682 -
5619 - 3683 -
5620 3684 -
5621 - 3685 -
5622 3686 -
5623 - 3687 -
5624 3688 -
5625 - 3689 -
5626 3690 -
5627 - 3691 -
5628 3692 -
5629 - 3693 -
5630 3694 -
5631 - 3695 -
5632 3696 -
5633 - 3697 -
5634 3698 -
5635 - 3699 -
5636 3700 -
5637 - 3701 -
5638 3702 -
5639 - 3703 - y\ :sub:`7`
5640 3704 - y\ :sub:`6`
5641 - 3705 - y\ :sub:`5`
5642 3706 - y\ :sub:`4`
5643 - 3707 - y\ :sub:`3`
5644 3708 - y\ :sub:`2`
5645 - u\ :sub:`7` 3709 - y\ :sub:`1`
5646 3710 - y\ :sub:`0`
5647 - u\ :sub:`6` 3711 * -
5648 3712 -
5649 - u\ :sub:`5` 3713 -
5650 3714 -
5651 - u\ :sub:`4` 3715 -
5652 3716 -
5653 - u\ :sub:`3` 3717 -
5654 3718 -
5655 - u\ :sub:`2` 3719 -
5656 3720 -
5657 - u\ :sub:`1` 3721 -
5658 3722 -
5659 - u\ :sub:`0` 3723 -
5660 3724 -
5661 - .. row 21 3725 -
5662 3726 -
5663 - 3727 -
5664 - 3728 -
5665 - 3729 -
5666 - 3730 -
5667 3731 -
5668 - 3732 -
5669 3733 -
5670 - 3734 -
5671 3735 -
5672 - 3736 -
5673 3737 -
5674 - 3738 - u\ :sub:`7`
5675 3739 - u\ :sub:`6`
5676 - 3740 - u\ :sub:`5`
5677 3741 - u\ :sub:`4`
5678 - 3742 - u\ :sub:`3`
5679 3743 - u\ :sub:`2`
5680 - 3744 - u\ :sub:`1`
5681 3745 - u\ :sub:`0`
5682 - 3746 * -
5683 3747 -
5684 - 3748 -
5685 3749 -
5686 - 3750 -
5687 3751 -
5688 - 3752 -
5689 3753 -
5690 - 3754 -
5691 3755 -
5692 - 3756 -
5693 3757 -
5694 - 3758 -
5695 3759 -
5696 - 3760 -
5697 3761 -
5698 - 3762 -
5699 3763 -
5700 - 3764 -
5701 3765 -
5702 - 3766 -
5703 3767 -
5704 - 3768 -
5705 3769 -
5706 - 3770 -
5707 3771 -
5708 - 3772 -
5709 3773 - y\ :sub:`7`
5710 - 3774 - y\ :sub:`6`
5711 3775 - y\ :sub:`5`
5712 - 3776 - y\ :sub:`4`
5713 3777 - y\ :sub:`3`
5714 - y\ :sub:`7` 3778 - y\ :sub:`2`
5715 3779 - y\ :sub:`1`
5716 - y\ :sub:`6` 3780 - y\ :sub:`0`
5717 3781 * -
5718 - y\ :sub:`5` 3782 -
5719 3783 -
5720 - y\ :sub:`4` 3784 -
5721 3785 -
5722 - y\ :sub:`3` 3786 -
5723 3787 -
5724 - y\ :sub:`2` 3788 -
5725 3789 -
5726 - y\ :sub:`1` 3790 -
5727 3791 -
5728 - y\ :sub:`0` 3792 -
5729 3793 -
5730 - .. row 22 3794 -
5731 3795 -
5732 - 3796 -
5733 - 3797 -
5734 - 3798 -
5735 - 3799 -
5736 3800 -
5737 - 3801 -
5738 3802 -
5739 - 3803 -
5740 3804 -
5741 - 3805 -
5742 3806 -
5743 - 3807 -
5744 3808 - v\ :sub:`7`
5745 - 3809 - v\ :sub:`6`
5746 3810 - v\ :sub:`5`
5747 - 3811 - v\ :sub:`4`
5748 3812 - v\ :sub:`3`
5749 - 3813 - v\ :sub:`2`
5750 3814 - v\ :sub:`1`
5751 - 3815 - v\ :sub:`0`
5752 3816 * .. _MEDIA-BUS-FMT-YVYU8-2X8:
5753 - 3817
5754 3818 - MEDIA_BUS_FMT_YVYU8_2X8
5755 - 3819 - 0x2009
5756 3820 -
5757 - 3821 -
5758 3822 -
5759 - 3823 -
5760 3824 -
5761 - 3825 -
5762 3826 -
5763 - 3827 -
5764 3828 -
5765 - 3829 -
5766 3830 -
5767 - 3831 -
5768 3832 -
5769 - 3833 -
5770 3834 -
5771 - 3835 -
5772 3836 -
5773 - 3837 -
5774 3838 -
5775 - 3839 -
5776 3840 -
5777 - 3841 -
5778 3842 -
5779 - 3843 -
5780 3844 -
5781 - 3845 - y\ :sub:`7`
5782 3846 - y\ :sub:`6`
5783 - y\ :sub:`7` 3847 - y\ :sub:`5`
5784 3848 - y\ :sub:`4`
5785 - y\ :sub:`6` 3849 - y\ :sub:`3`
5786 3850 - y\ :sub:`2`
5787 - y\ :sub:`5` 3851 - y\ :sub:`1`
5788 3852 - y\ :sub:`0`
5789 - y\ :sub:`4` 3853 * -
5790 3854 -
5791 - y\ :sub:`3` 3855 -
5792 3856 -
5793 - y\ :sub:`2` 3857 -
5794 3858 -
5795 - y\ :sub:`1` 3859 -
5796 3860 -
5797 - y\ :sub:`0` 3861 -
5798 3862 -
5799 - .. row 23 3863 -
5800 3864 -
5801 - 3865 -
5802 - 3866 -
5803 - 3867 -
5804 - 3868 -
5805 3869 -
5806 - 3870 -
5807 3871 -
5808 - 3872 -
5809 3873 -
5810 - 3874 -
5811 3875 -
5812 - 3876 -
5813 3877 -
5814 - 3878 -
5815 3879 -
5816 - 3880 - v\ :sub:`7`
5817 3881 - v\ :sub:`6`
5818 - 3882 - v\ :sub:`5`
5819 3883 - v\ :sub:`4`
5820 - 3884 - v\ :sub:`3`
5821 3885 - v\ :sub:`2`
5822 - 3886 - v\ :sub:`1`
5823 3887 - v\ :sub:`0`
5824 - 3888 * -
5825 3889 -
5826 - 3890 -
5827 3891 -
5828 - 3892 -
5829 3893 -
5830 - 3894 -
5831 3895 -
5832 - 3896 -
5833 3897 -
5834 - 3898 -
5835 3899 -
5836 - 3900 -
5837 3901 -
5838 - 3902 -
5839 3903 -
5840 - 3904 -
5841 3905 -
5842 - 3906 -
5843 3907 -
5844 - 3908 -
5845 3909 -
5846 - 3910 -
5847 3911 -
5848 - 3912 -
5849 3913 -
5850 - 3914 -
5851 3915 - y\ :sub:`7`
5852 - v\ :sub:`7` 3916 - y\ :sub:`6`
5853 3917 - y\ :sub:`5`
5854 - v\ :sub:`6` 3918 - y\ :sub:`4`
5855 3919 - y\ :sub:`3`
5856 - v\ :sub:`5` 3920 - y\ :sub:`2`
5857 3921 - y\ :sub:`1`
5858 - v\ :sub:`4` 3922 - y\ :sub:`0`
5859 3923 * -
5860 - v\ :sub:`3` 3924 -
5861 3925 -
5862 - v\ :sub:`2` 3926 -
5863 3927 -
5864 - v\ :sub:`1` 3928 -
5865 3929 -
5866 - v\ :sub:`0` 3930 -
5867 3931 -
5868 - .. _MEDIA-BUS-FMT-YVYU8-1_5X8: 3932 -
5869 3933 -
5870 - MEDIA_BUS_FMT_YVYU8_1_5X8 3934 -
5871 3935 -
5872 - 0x2005 3936 -
5873 3937 -
5874 - 3938 -
5875 - 3939 -
5876 3940 -
5877 - 3941 -
5878 3942 -
5879 - 3943 -
5880 3944 -
5881 - 3945 -
5882 3946 -
5883 - 3947 -
5884 3948 -
5885 - 3949 -
5886 3950 - u\ :sub:`7`
5887 - 3951 - u\ :sub:`6`
5888 3952 - u\ :sub:`5`
5889 - 3953 - u\ :sub:`4`
5890 3954 - u\ :sub:`3`
5891 - 3955 - u\ :sub:`2`
5892 3956 - u\ :sub:`1`
5893 - 3957 - u\ :sub:`0`
5894 3958 * .. _MEDIA-BUS-FMT-Y10-1X10:
5895 - 3959
5896 3960 - MEDIA_BUS_FMT_Y10_1X10
5897 - 3961 - 0x200a
5898 3962 -
5899 - 3963 -
5900 3964 -
5901 - 3965 -
5902 3966 -
5903 - 3967 -
5904 3968 -
5905 - 3969 -
5906 3970 -
5907 - 3971 -
5908 3972 -
5909 - 3973 -
5910 3974 -
5911 - 3975 -
5912 3976 -
5913 - 3977 -
5914 3978 -
5915 - 3979 -
5916 3980 -
5917 - 3981 -
5918 3982 -
5919 - 3983 -
5920 3984 -
5921 - 3985 - y\ :sub:`9`
5922 3986 - y\ :sub:`8`
5923 - y\ :sub:`7` 3987 - y\ :sub:`7`
5924 3988 - y\ :sub:`6`
5925 - y\ :sub:`6` 3989 - y\ :sub:`5`
5926 3990 - y\ :sub:`4`
5927 - y\ :sub:`5` 3991 - y\ :sub:`3`
5928 3992 - y\ :sub:`2`
5929 - y\ :sub:`4` 3993 - y\ :sub:`1`
5930 3994 - y\ :sub:`0`
5931 - y\ :sub:`3` 3995 * .. _MEDIA-BUS-FMT-UYVY10-2X10:
5932 3996
5933 - y\ :sub:`2` 3997 - MEDIA_BUS_FMT_UYVY10_2X10
5934 3998 - 0x2018
5935 - y\ :sub:`1` 3999 -
5936 4000 -
5937 - y\ :sub:`0` 4001 -
5938 4002 -
5939 - .. row 25 4003 -
5940 4004 -
5941 - 4005 -
5942 - 4006 -
5943 - 4007 -
5944 - 4008 -
5945 4009 -
5946 - 4010 -
5947 4011 -
5948 - 4012 -
5949 4013 -
5950 - 4014 -
5951 4015 -
5952 - 4016 -
5953 4017 -
5954 - 4018 -
5955 4019 -
5956 - 4020 -
5957 4021 -
5958 - 4022 - u\ :sub:`9`
5959 4023 - u\ :sub:`8`
5960 - 4024 - u\ :sub:`7`
5961 4025 - u\ :sub:`6`
5962 - 4026 - u\ :sub:`5`
5963 4027 - u\ :sub:`4`
5964 - 4028 - u\ :sub:`3`
5965 4029 - u\ :sub:`2`
5966 - 4030 - u\ :sub:`1`
5967 4031 - u\ :sub:`0`
5968 - 4032 * -
5969 4033 -
5970 - 4034 -
5971 4035 -
5972 - 4036 -
5973 4037 -
5974 - 4038 -
5975 4039 -
5976 - 4040 -
5977 4041 -
5978 - 4042 -
5979 4043 -
5980 - 4044 -
5981 4045 -
5982 - 4046 -
5983 4047 -
5984 - 4048 -
5985 4049 -
5986 - 4050 -
5987 4051 -
5988 - 4052 -
5989 4053 -
5990 - 4054 -
5991 4055 -
5992 - y\ :sub:`7` 4056 -
5993 4057 - y\ :sub:`9`
5994 - y\ :sub:`6` 4058 - y\ :sub:`8`
5995 4059 - y\ :sub:`7`
5996 - y\ :sub:`5` 4060 - y\ :sub:`6`
5997 4061 - y\ :sub:`5`
5998 - y\ :sub:`4` 4062 - y\ :sub:`4`
5999 4063 - y\ :sub:`3`
6000 - y\ :sub:`3` 4064 - y\ :sub:`2`
6001 4065 - y\ :sub:`1`
6002 - y\ :sub:`2` 4066 - y\ :sub:`0`
6003 4067 * -
6004 - y\ :sub:`1` 4068 -
6005 4069 -
6006 - y\ :sub:`0` 4070 -
6007 4071 -
6008 - .. row 26 4072 -
6009 4073 -
6010 - 4074 -
6011 - 4075 -
6012 - 4076 -
6013 - 4077 -
6014 4078 -
6015 - 4079 -
6016 4080 -
6017 - 4081 -
6018 4082 -
6019 - 4083 -
6020 4084 -
6021 - 4085 -
6022 4086 -
6023 - 4087 -
6024 4088 -
6025 - 4089 -
6026 4090 -
6027 - 4091 -
6028 4092 - v\ :sub:`9`
6029 - 4093 - v\ :sub:`8`
6030 4094 - v\ :sub:`7`
6031 - 4095 - v\ :sub:`6`
6032 4096 - v\ :sub:`5`
6033 - 4097 - v\ :sub:`4`
6034 4098 - v\ :sub:`3`
6035 - 4099 - v\ :sub:`2`
6036 4100 - v\ :sub:`1`
6037 - 4101 - v\ :sub:`0`
6038 4102 * -
6039 - 4103 -
6040 4104 -
6041 - 4105 -
6042 4106 -
6043 - 4107 -
6044 4108 -
6045 - 4109 -
6046 4110 -
6047 - 4111 -
6048 4112 -
6049 - 4113 -
6050 4114 -
6051 - 4115 -
6052 4116 -
6053 - 4117 -
6054 4118 -
6055 - 4119 -
6056 4120 -
6057 - 4121 -
6058 4122 -
6059 - 4123 -
6060 4124 -
6061 - v\ :sub:`7` 4125 -
6062 4126 -
6063 - v\ :sub:`6` 4127 - y\ :sub:`9`
6064 4128 - y\ :sub:`8`
6065 - v\ :sub:`5` 4129 - y\ :sub:`7`
6066 4130 - y\ :sub:`6`
6067 - v\ :sub:`4` 4131 - y\ :sub:`5`
6068 4132 - y\ :sub:`4`
6069 - v\ :sub:`3` 4133 - y\ :sub:`3`
6070 4134 - y\ :sub:`2`
6071 - v\ :sub:`2` 4135 - y\ :sub:`1`
6072 4136 - y\ :sub:`0`
6073 - v\ :sub:`1` 4137 * .. _MEDIA-BUS-FMT-VYUY10-2X10:
6074 4138
6075 - v\ :sub:`0` 4139 - MEDIA_BUS_FMT_VYUY10_2X10
6076 4140 - 0x2019
6077 - .. row 27 4141 -
6078 4142 -
6079 - 4143 -
6080 - 4144 -
6081 - 4145 -
6082 - 4146 -
6083 4147 -
6084 - 4148 -
6085 4149 -
6086 - 4150 -
6087 4151 -
6088 - 4152 -
6089 4153 -
6090 - 4154 -
6091 4155 -
6092 - 4156 -
6093 4157 -
6094 - 4158 -
6095 4159 -
6096 - 4160 -
6097 4161 -
6098 - 4162 -
6099 4163 -
6100 - 4164 - v\ :sub:`9`
6101 4165 - v\ :sub:`8`
6102 - 4166 - v\ :sub:`7`
6103 4167 - v\ :sub:`6`
6104 - 4168 - v\ :sub:`5`
6105 4169 - v\ :sub:`4`
6106 - 4170 - v\ :sub:`3`
6107 4171 - v\ :sub:`2`
6108 - 4172 - v\ :sub:`1`
6109 4173 - v\ :sub:`0`
6110 - 4174 * -
6111 4175 -
6112 - 4176 -
6113 4177 -
6114 - 4178 -
6115 4179 -
6116 - 4180 -
6117 4181 -
6118 - 4182 -
6119 4183 -
6120 - 4184 -
6121 4185 -
6122 - 4186 -
6123 4187 -
6124 - 4188 -
6125 4189 -
6126 - 4190 -
6127 4191 -
6128 - 4192 -
6129 4193 -
6130 - y\ :sub:`7` 4194 -
6131 4195 -
6132 - y\ :sub:`6` 4196 -
6133 4197 -
6134 - y\ :sub:`5` 4198 -
6135 4199 - y\ :sub:`9`
6136 - y\ :sub:`4` 4200 - y\ :sub:`8`
6137 4201 - y\ :sub:`7`
6138 - y\ :sub:`3` 4202 - y\ :sub:`6`
6139 4203 - y\ :sub:`5`
6140 - y\ :sub:`2` 4204 - y\ :sub:`4`
6141 4205 - y\ :sub:`3`
6142 - y\ :sub:`1` 4206 - y\ :sub:`2`
6143 4207 - y\ :sub:`1`
6144 - y\ :sub:`0` 4208 - y\ :sub:`0`
6145 4209 * -
6146 - .. row 28 4210 -
6147 4211 -
6148 - 4212 -
6149 - 4213 -
6150 - 4214 -
6151 - 4215 -
6152 4216 -
6153 - 4217 -
6154 4218 -
6155 - 4219 -
6156 4220 -
6157 - 4221 -
6158 4222 -
6159 - 4223 -
6160 4224 -
6161 - 4225 -
6162 4226 -
6163 - 4227 -
6164 4228 -
6165 - 4229 -
6166 4230 -
6167 - 4231 -
6168 4232 -
6169 - 4233 -
6170 4234 - u\ :sub:`9`
6171 - 4235 - u\ :sub:`8`
6172 4236 - u\ :sub:`7`
6173 - 4237 - u\ :sub:`6`
6174 4238 - u\ :sub:`5`
6175 - 4239 - u\ :sub:`4`
6176 4240 - u\ :sub:`3`
6177 - 4241 - u\ :sub:`2`
6178 4242 - u\ :sub:`1`
6179 - 4243 - u\ :sub:`0`
6180 4244 * -
6181 - 4245 -
6182 4246 -
6183 - 4247 -
6184 4248 -
6185 - 4249 -
6186 4250 -
6187 - 4251 -
6188 4252 -
6189 - 4253 -
6190 4254 -
6191 - 4255 -
6192 4256 -
6193 - 4257 -
6194 4258 -
6195 - 4259 -
6196 4260 -
6197 - 4261 -
6198 4262 -
6199 - y\ :sub:`7` 4263 -
6200 4264 -
6201 - y\ :sub:`6` 4265 -
6202 4266 -
6203 - y\ :sub:`5` 4267 -
6204 4268 -
6205 - y\ :sub:`4` 4269 - y\ :sub:`9`
6206 4270 - y\ :sub:`8`
6207 - y\ :sub:`3` 4271 - y\ :sub:`7`
6208 4272 - y\ :sub:`6`
6209 - y\ :sub:`2` 4273 - y\ :sub:`5`
6210 4274 - y\ :sub:`4`
6211 - y\ :sub:`1` 4275 - y\ :sub:`3`
6212 4276 - y\ :sub:`2`
6213 - y\ :sub:`0` 4277 - y\ :sub:`1`
6214 4278 - y\ :sub:`0`
6215 - .. row 29 4279 * .. _MEDIA-BUS-FMT-YUYV10-2X10:
6216 4280
6217 - 4281 - MEDIA_BUS_FMT_YUYV10_2X10
6218 - 4282 - 0x200b
6219 - 4283 -
6220 - 4284 -
6221 4285 -
6222 - 4286 -
6223 4287 -
6224 - 4288 -
6225 4289 -
6226 - 4290 -
6227 4291 -
6228 - 4292 -
6229 4293 -
6230 - 4294 -
6231 4295 -
6232 - 4296 -
6233 4297 -
6234 - 4298 -
6235 4299 -
6236 - 4300 -
6237 4301 -
6238 - 4302 -
6239 4303 -
6240 - 4304 -
6241 4305 -
6242 - 4306 - y\ :sub:`9`
6243 4307 - y\ :sub:`8`
6244 - 4308 - y\ :sub:`7`
6245 4309 - y\ :sub:`6`
6246 - 4310 - y\ :sub:`5`
6247 4311 - y\ :sub:`4`
6248 - 4312 - y\ :sub:`3`
6249 4313 - y\ :sub:`2`
6250 - 4314 - y\ :sub:`1`
6251 4315 - y\ :sub:`0`
6252 - 4316 * -
6253 4317 -
6254 - 4318 -
6255 4319 -
6256 - 4320 -
6257 4321 -
6258 - 4322 -
6259 4323 -
6260 - 4324 -
6261 4325 -
6262 - 4326 -
6263 4327 -
6264 - 4328 -
6265 4329 -
6266 - 4330 -
6267 4331 -
6268 - u\ :sub:`7` 4332 -
6269 4333 -
6270 - u\ :sub:`6` 4334 -
6271 4335 -
6272 - u\ :sub:`5` 4336 -
6273 4337 -
6274 - u\ :sub:`4` 4338 -
6275 4339 -
6276 - u\ :sub:`3` 4340 -
6277 4341 - u\ :sub:`9`
6278 - u\ :sub:`2` 4342 - u\ :sub:`8`
6279 4343 - u\ :sub:`7`
6280 - u\ :sub:`1` 4344 - u\ :sub:`6`
6281 4345 - u\ :sub:`5`
6282 - u\ :sub:`0` 4346 - u\ :sub:`4`
6283 4347 - u\ :sub:`3`
6284 - .. _MEDIA-BUS-FMT-UYVY8-2X8: 4348 - u\ :sub:`2`
6285 4349 - u\ :sub:`1`
6286 - MEDIA_BUS_FMT_UYVY8_2X8 4350 - u\ :sub:`0`
6287 4351 * -
6288 - 0x2006 4352 -
6289 4353 -
6290 - 4354 -
6291 - 4355 -
6292 4356 -
6293 - 4357 -
6294 4358 -
6295 - 4359 -
6296 4360 -
6297 - 4361 -
6298 4362 -
6299 - 4363 -
6300 4364 -
6301 - 4365 -
6302 4366 -
6303 - 4367 -
6304 4368 -
6305 - 4369 -
6306 4370 -
6307 - 4371 -
6308 4372 -
6309 - 4373 -
6310 4374 -
6311 - 4375 -
6312 4376 - y\ :sub:`9`
6313 - 4377 - y\ :sub:`8`
6314 4378 - y\ :sub:`7`
6315 - 4379 - y\ :sub:`6`
6316 4380 - y\ :sub:`5`
6317 - 4381 - y\ :sub:`4`
6318 4382 - y\ :sub:`3`
6319 - 4383 - y\ :sub:`2`
6320 4384 - y\ :sub:`1`
6321 - 4385 - y\ :sub:`0`
6322 4386 * -
6323 - 4387 -
6324 4388 -
6325 - 4389 -
6326 4390 -
6327 - 4391 -
6328 4392 -
6329 - 4393 -
6330 4394 -
6331 - 4395 -
6332 4396 -
6333 - 4397 -
6334 4398 -
6335 - 4399 -
6336 4400 -
6337 - 4401 -
6338 4402 -
6339 - u\ :sub:`7` 4403 -
6340 4404 -
6341 - u\ :sub:`6` 4405 -
6342 4406 -
6343 - u\ :sub:`5` 4407 -
6344 4408 -
6345 - u\ :sub:`4` 4409 -
6346 4410 -
6347 - u\ :sub:`3` 4411 - v\ :sub:`9`
6348 4412 - v\ :sub:`8`
6349 - u\ :sub:`2` 4413 - v\ :sub:`7`
6350 4414 - v\ :sub:`6`
6351 - u\ :sub:`1` 4415 - v\ :sub:`5`
6352 4416 - v\ :sub:`4`
6353 - u\ :sub:`0` 4417 - v\ :sub:`3`
6354 4418 - v\ :sub:`2`
6355 - .. row 31 4419 - v\ :sub:`1`
6356 4420 - v\ :sub:`0`
6357 - 4421 * .. _MEDIA-BUS-FMT-YVYU10-2X10:
6358 - 4422
6359 - 4423 - MEDIA_BUS_FMT_YVYU10_2X10
6360 - 4424 - 0x200c
6361 4425 -
6362 - 4426 -
6363 4427 -
6364 - 4428 -
6365 4429 -
6366 - 4430 -
6367 4431 -
6368 - 4432 -
6369 4433 -
6370 - 4434 -
6371 4435 -
6372 - 4436 -
6373 4437 -
6374 - 4438 -
6375 4439 -
6376 - 4440 -
6377 4441 -
6378 - 4442 -
6379 4443 -
6380 - 4444 -
6381 4445 -
6382 - 4446 -
6383 4447 -
6384 - 4448 - y\ :sub:`9`
6385 4449 - y\ :sub:`8`
6386 - 4450 - y\ :sub:`7`
6387 4451 - y\ :sub:`6`
6388 - 4452 - y\ :sub:`5`
6389 4453 - y\ :sub:`4`
6390 - 4454 - y\ :sub:`3`
6391 4455 - y\ :sub:`2`
6392 - 4456 - y\ :sub:`1`
6393 4457 - y\ :sub:`0`
6394 - 4458 * -
6395 4459 -
6396 - 4460 -
6397 4461 -
6398 - 4462 -
6399 4463 -
6400 - 4464 -
6401 4465 -
6402 - 4466 -
6403 4467 -
6404 - 4468 -
6405 4469 -
6406 - 4470 -
6407 4471 -
6408 - y\ :sub:`7` 4472 -
6409 4473 -
6410 - y\ :sub:`6` 4474 -
6411 4475 -
6412 - y\ :sub:`5` 4476 -
6413 4477 -
6414 - y\ :sub:`4` 4478 -
6415 4479 -
6416 - y\ :sub:`3` 4480 -
6417 4481 -
6418 - y\ :sub:`2` 4482 -
6419 4483 - v\ :sub:`9`
6420 - y\ :sub:`1` 4484 - v\ :sub:`8`
6421 4485 - v\ :sub:`7`
6422 - y\ :sub:`0` 4486 - v\ :sub:`6`
6423 4487 - v\ :sub:`5`
6424 - .. row 32 4488 - v\ :sub:`4`
6425 4489 - v\ :sub:`3`
6426 - 4490 - v\ :sub:`2`
6427 - 4491 - v\ :sub:`1`
6428 - 4492 - v\ :sub:`0`
6429 - 4493 * -
6430 4494 -
6431 - 4495 -
6432 4496 -
6433 - 4497 -
6434 4498 -
6435 - 4499 -
6436 4500 -
6437 - 4501 -
6438 4502 -
6439 - 4503 -
6440 4504 -
6441 - 4505 -
6442 4506 -
6443 - 4507 -
6444 4508 -
6445 - 4509 -
6446 4510 -
6447 - 4511 -
6448 4512 -
6449 - 4513 -
6450 4514 -
6451 - 4515 -
6452 4516 -
6453 - 4517 -
6454 4518 - y\ :sub:`9`
6455 - 4519 - y\ :sub:`8`
6456 4520 - y\ :sub:`7`
6457 - 4521 - y\ :sub:`6`
6458 4522 - y\ :sub:`5`
6459 - 4523 - y\ :sub:`4`
6460 4524 - y\ :sub:`3`
6461 - 4525 - y\ :sub:`2`
6462 4526 - y\ :sub:`1`
6463 - 4527 - y\ :sub:`0`
6464 4528 * -
6465 - 4529 -
6466 4530 -
6467 - 4531 -
6468 4532 -
6469 - 4533 -
6470 4534 -
6471 - 4535 -
6472 4536 -
6473 - 4537 -
6474 4538 -
6475 - 4539 -
6476 4540 -
6477 - v\ :sub:`7` 4541 -
6478 4542 -
6479 - v\ :sub:`6` 4543 -
6480 4544 -
6481 - v\ :sub:`5` 4545 -
6482 4546 -
6483 - v\ :sub:`4` 4547 -
6484 4548 -
6485 - v\ :sub:`3` 4549 -
6486 4550 -
6487 - v\ :sub:`2` 4551 -
6488 4552 -
6489 - v\ :sub:`1` 4553 - u\ :sub:`9`
6490 4554 - u\ :sub:`8`
6491 - v\ :sub:`0` 4555 - u\ :sub:`7`
6492 4556 - u\ :sub:`6`
6493 - .. row 33 4557 - u\ :sub:`5`
6494 4558 - u\ :sub:`4`
6495 - 4559 - u\ :sub:`3`
6496 - 4560 - u\ :sub:`2`
6497 - 4561 - u\ :sub:`1`
6498 - 4562 - u\ :sub:`0`
6499 4563 * .. _MEDIA-BUS-FMT-Y12-1X12:
6500 - 4564
6501 4565 - MEDIA_BUS_FMT_Y12_1X12
6502 - 4566 - 0x2013
6503 4567 -
6504 - 4568 -
6505 4569 -
6506 - 4570 -
6507 4571 -
6508 - 4572 -
6509 4573 -
6510 - 4574 -
6511 4575 -
6512 - 4576 -
6513 4577 -
6514 - 4578 -
6515 4579 -
6516 - 4580 -
6517 4581 -
6518 - 4582 -
6519 4583 -
6520 - 4584 -
6521 4585 -
6522 - 4586 -
6523 4587 -
6524 - 4588 - y\ :sub:`11`
6525 4589 - y\ :sub:`10`
6526 - 4590 - y\ :sub:`9`
6527 4591 - y\ :sub:`8`
6528 - 4592 - y\ :sub:`7`
6529 4593 - y\ :sub:`6`
6530 - 4594 - y\ :sub:`5`
6531 4595 - y\ :sub:`4`
6532 - 4596 - y\ :sub:`3`
6533 4597 - y\ :sub:`2`
6534 - 4598 - y\ :sub:`1`
6535 4599 - y\ :sub:`0`
6536 - 4600 * .. _MEDIA-BUS-FMT-UYVY12-2X12:
6537 4601
6538 - 4602 - MEDIA_BUS_FMT_UYVY12_2X12
6539 4603 - 0x201c
6540 - 4604 -
6541 4605 -
6542 - 4606 -
6543 4607 -
6544 - 4608 -
6545 4609 -
6546 - y\ :sub:`7` 4610 -
6547 4611 -
6548 - y\ :sub:`6` 4612 -
6549 4613 -
6550 - y\ :sub:`5` 4614 -
6551 4615 -
6552 - y\ :sub:`4` 4616 -
6553 4617 -
6554 - y\ :sub:`3` 4618 -
6555 4619 -
6556 - y\ :sub:`2` 4620 -
6557 4621 -
6558 - y\ :sub:`1` 4622 -
6559 4623 -
6560 - y\ :sub:`0` 4624 -
6561 4625 - u\ :sub:`11`
6562 - .. _MEDIA-BUS-FMT-VYUY8-2X8: 4626 - u\ :sub:`10`
6563 4627 - u\ :sub:`9`
6564 - MEDIA_BUS_FMT_VYUY8_2X8 4628 - u\ :sub:`8`
6565 4629 - u\ :sub:`7`
6566 - 0x2007 4630 - u\ :sub:`6`
6567 4631 - u\ :sub:`5`
6568 - 4632 - u\ :sub:`4`
6569 - 4633 - u\ :sub:`3`
6570 4634 - u\ :sub:`2`
6571 - 4635 - u\ :sub:`1`
6572 4636 - u\ :sub:`0`
6573 - 4637 * -
6574 4638 -
6575 - 4639 -
6576 4640 -
6577 - 4641 -
6578 4642 -
6579 - 4643 -
6580 4644 -
6581 - 4645 -
6582 4646 -
6583 - 4647 -
6584 4648 -
6585 - 4649 -
6586 4650 -
6587 - 4651 -
6588 4652 -
6589 - 4653 -
6590 4654 -
6591 - 4655 -
6592 4656 -
6593 - 4657 -
6594 4658 -
6595 - 4659 -
6596 4660 - y\ :sub:`11`
6597 - 4661 - y\ :sub:`10`
6598 4662 - y\ :sub:`9`
6599 - 4663 - y\ :sub:`8`
6600 4664 - y\ :sub:`7`
6601 - 4665 - y\ :sub:`6`
6602 4666 - y\ :sub:`5`
6603 - 4667 - y\ :sub:`4`
6604 4668 - y\ :sub:`3`
6605 - 4669 - y\ :sub:`2`
6606 4670 - y\ :sub:`1`
6607 - 4671 - y\ :sub:`0`
6608 4672 * -
6609 - 4673 -
6610 4674 -
6611 - 4675 -
6612 4676 -
6613 - 4677 -
6614 4678 -
6615 - 4679 -
6616 4680 -
6617 - v\ :sub:`7` 4681 -
6618 4682 -
6619 - v\ :sub:`6` 4683 -
6620 4684 -
6621 - v\ :sub:`5` 4685 -
6622 4686 -
6623 - v\ :sub:`4` 4687 -
6624 4688 -
6625 - v\ :sub:`3` 4689 -
6626 4690 -
6627 - v\ :sub:`2` 4691 -
6628 4692 -
6629 - v\ :sub:`1` 4693 -
6630 4694 -
6631 - v\ :sub:`0` 4695 - v\ :sub:`11`
6632 4696 - v\ :sub:`10`
6633 - .. row 35 4697 - v\ :sub:`9`
6634 4698 - v\ :sub:`8`
6635 - 4699 - v\ :sub:`7`
6636 - 4700 - v\ :sub:`6`
6637 - 4701 - v\ :sub:`5`
6638 - 4702 - v\ :sub:`4`
6639 4703 - v\ :sub:`3`
6640 - 4704 - v\ :sub:`2`
6641 4705 - v\ :sub:`1`
6642 - 4706 - v\ :sub:`0`
6643 4707 * -
6644 - 4708 -
6645 4709 -
6646 - 4710 -
6647 4711 -
6648 - 4712 -
6649 4713 -
6650 - 4714 -
6651 4715 -
6652 - 4716 -
6653 4717 -
6654 - 4718 -
6655 4719 -
6656 - 4720 -
6657 4721 -
6658 - 4722 -
6659 4723 -
6660 - 4724 -
6661 4725 -
6662 - 4726 -
6663 4727 -
6664 - 4728 -
6665 4729 -
6666 - 4730 - y\ :sub:`11`
6667 4731 - y\ :sub:`10`
6668 - 4732 - y\ :sub:`9`
6669 4733 - y\ :sub:`8`
6670 - 4734 - y\ :sub:`7`
6671 4735 - y\ :sub:`6`
6672 - 4736 - y\ :sub:`5`
6673 4737 - y\ :sub:`4`
6674 - 4738 - y\ :sub:`3`
6675 4739 - y\ :sub:`2`
6676 - 4740 - y\ :sub:`1`
6677 4741 - y\ :sub:`0`
6678 - 4742 * .. _MEDIA-BUS-FMT-VYUY12-2X12:
6679 4743
6680 - 4744 - MEDIA_BUS_FMT_VYUY12_2X12
6681 4745 - 0x201d
6682 - 4746 -
6683 4747 -
6684 - 4748 -
6685 4749 -
6686 - y\ :sub:`7` 4750 -
6687 4751 -
6688 - y\ :sub:`6` 4752 -
6689 4753 -
6690 - y\ :sub:`5` 4754 -
6691 4755 -
6692 - y\ :sub:`4` 4756 -
6693 4757 -
6694 - y\ :sub:`3` 4758 -
6695 4759 -
6696 - y\ :sub:`2` 4760 -
6697 4761 -
6698 - y\ :sub:`1` 4762 -
6699 4763 -
6700 - y\ :sub:`0` 4764 -
6701 4765 -
6702 - .. row 36 4766 -
6703 4767 - v\ :sub:`11`
6704 - 4768 - v\ :sub:`10`
6705 - 4769 - v\ :sub:`9`
6706 - 4770 - v\ :sub:`8`
6707 - 4771 - v\ :sub:`7`
6708 4772 - v\ :sub:`6`
6709 - 4773 - v\ :sub:`5`
6710 4774 - v\ :sub:`4`
6711 - 4775 - v\ :sub:`3`
6712 4776 - v\ :sub:`2`
6713 - 4777 - v\ :sub:`1`
6714 4778 - v\ :sub:`0`
6715 - 4779 * -
6716 4780 -
6717 - 4781 -
6718 4782 -
6719 - 4783 -
6720 4784 -
6721 - 4785 -
6722 4786 -
6723 - 4787 -
6724 4788 -
6725 - 4789 -
6726 4790 -
6727 - 4791 -
6728 4792 -
6729 - 4793 -
6730 4794 -
6731 - 4795 -
6732 4796 -
6733 - 4797 -
6734 4798 -
6735 - 4799 -
6736 4800 -
6737 - 4801 -
6738 4802 - y\ :sub:`11`
6739 - 4803 - y\ :sub:`10`
6740 4804 - y\ :sub:`9`
6741 - 4805 - y\ :sub:`8`
6742 4806 - y\ :sub:`7`
6743 - 4807 - y\ :sub:`6`
6744 4808 - y\ :sub:`5`
6745 - 4809 - y\ :sub:`4`
6746 4810 - y\ :sub:`3`
6747 - 4811 - y\ :sub:`2`
6748 4812 - y\ :sub:`1`
6749 - 4813 - y\ :sub:`0`
6750 4814 * -
6751 - 4815 -
6752 4816 -
6753 - 4817 -
6754 4818 -
6755 - u\ :sub:`7` 4819 -
6756 4820 -
6757 - u\ :sub:`6` 4821 -
6758 4822 -
6759 - u\ :sub:`5` 4823 -
6760 4824 -
6761 - u\ :sub:`4` 4825 -
6762 4826 -
6763 - u\ :sub:`3` 4827 -
6764 4828 -
6765 - u\ :sub:`2` 4829 -
6766 4830 -
6767 - u\ :sub:`1` 4831 -
6768 4832 -
6769 - u\ :sub:`0` 4833 -
6770 4834 -
6771 - .. row 37 4835 -
6772 4836 -
6773 - 4837 - u\ :sub:`11`
6774 - 4838 - u\ :sub:`10`
6775 - 4839 - u\ :sub:`9`
6776 - 4840 - u\ :sub:`8`
6777 4841 - u\ :sub:`7`
6778 - 4842 - u\ :sub:`6`
6779 4843 - u\ :sub:`5`
6780 - 4844 - u\ :sub:`4`
6781 4845 - u\ :sub:`3`
6782 - 4846 - u\ :sub:`2`
6783 4847 - u\ :sub:`1`
6784 - 4848 - u\ :sub:`0`
6785 4849 * -
6786 - 4850 -
6787 4851 -
6788 - 4852 -
6789 4853 -
6790 - 4854 -
6791 4855 -
6792 - 4856 -
6793 4857 -
6794 - 4858 -
6795 4859 -
6796 - 4860 -
6797 4861 -
6798 - 4862 -
6799 4863 -
6800 - 4864 -
6801 4865 -
6802 - 4866 -
6803 4867 -
6804 - 4868 -
6805 4869 -
6806 - 4870 -
6807 4871 -
6808 - 4872 - y\ :sub:`11`
6809 4873 - y\ :sub:`10`
6810 - 4874 - y\ :sub:`9`
6811 4875 - y\ :sub:`8`
6812 - 4876 - y\ :sub:`7`
6813 4877 - y\ :sub:`6`
6814 - 4878 - y\ :sub:`5`
6815 4879 - y\ :sub:`4`
6816 - 4880 - y\ :sub:`3`
6817 4881 - y\ :sub:`2`
6818 - 4882 - y\ :sub:`1`
6819 4883 - y\ :sub:`0`
6820 - 4884 * .. _MEDIA-BUS-FMT-YUYV12-2X12:
6821 4885
6822 - 4886 - MEDIA_BUS_FMT_YUYV12_2X12
6823 4887 - 0x201e
6824 - y\ :sub:`7` 4888 -
6825 4889 -
6826 - y\ :sub:`6` 4890 -
6827 4891 -
6828 - y\ :sub:`5` 4892 -
6829 4893 -
6830 - y\ :sub:`4` 4894 -
6831 4895 -
6832 - y\ :sub:`3` 4896 -
6833 4897 -
6834 - y\ :sub:`2` 4898 -
6835 4899 -
6836 - y\ :sub:`1` 4900 -
6837 4901 -
6838 - y\ :sub:`0` 4902 -
6839 4903 -
6840 - .. _MEDIA-BUS-FMT-YUYV8-2X8: 4904 -
6841 4905 -
6842 - MEDIA_BUS_FMT_YUYV8_2X8 4906 -
6843 4907 -
6844 - 0x2008 4908 -
6845 4909 - y\ :sub:`11`
6846 - 4910 - y\ :sub:`10`
6847 - 4911 - y\ :sub:`9`
6848 4912 - y\ :sub:`8`
6849 - 4913 - y\ :sub:`7`
6850 4914 - y\ :sub:`6`
6851 - 4915 - y\ :sub:`5`
6852 4916 - y\ :sub:`4`
6853 - 4917 - y\ :sub:`3`
6854 4918 - y\ :sub:`2`
6855 - 4919 - y\ :sub:`1`
6856 4920 - y\ :sub:`0`
6857 - 4921 * -
6858 4922 -
6859 - 4923 -
6860 4924 -
6861 - 4925 -
6862 4926 -
6863 - 4927 -
6864 4928 -
6865 - 4929 -
6866 4930 -
6867 - 4931 -
6868 4932 -
6869 - 4933 -
6870 4934 -
6871 - 4935 -
6872 4936 -
6873 - 4937 -
6874 4938 -
6875 - 4939 -
6876 4940 -
6877 - 4941 -
6878 4942 -
6879 - 4943 -
6880 4944 - u\ :sub:`11`
6881 - 4945 - u\ :sub:`10`
6882 4946 - u\ :sub:`9`
6883 - 4947 - u\ :sub:`8`
6884 4948 - u\ :sub:`7`
6885 - 4949 - u\ :sub:`6`
6886 4950 - u\ :sub:`5`
6887 - 4951 - u\ :sub:`4`
6888 4952 - u\ :sub:`3`
6889 - 4953 - u\ :sub:`2`
6890 4954 - u\ :sub:`1`
6891 - 4955 - u\ :sub:`0`
6892 4956 * -
6893 - 4957 -
6894 4958 -
6895 - y\ :sub:`7` 4959 -
6896 4960 -
6897 - y\ :sub:`6` 4961 -
6898 4962 -
6899 - y\ :sub:`5` 4963 -
6900 4964 -
6901 - y\ :sub:`4` 4965 -
6902 4966 -
6903 - y\ :sub:`3` 4967 -
6904 4968 -
6905 - y\ :sub:`2` 4969 -
6906 4970 -
6907 - y\ :sub:`1` 4971 -
6908 4972 -
6909 - y\ :sub:`0` 4973 -
6910 4974 -
6911 - .. row 39 4975 -
6912 4976 -
6913 - 4977 -
6914 - 4978 -
6915 - 4979 - y\ :sub:`11`
6916 - 4980 - y\ :sub:`10`
6917 4981 - y\ :sub:`9`
6918 - 4982 - y\ :sub:`8`
6919 4983 - y\ :sub:`7`
6920 - 4984 - y\ :sub:`6`
6921 4985 - y\ :sub:`5`
6922 - 4986 - y\ :sub:`4`
6923 4987 - y\ :sub:`3`
6924 - 4988 - y\ :sub:`2`
6925 4989 - y\ :sub:`1`
6926 - 4990 - y\ :sub:`0`
6927 4991 * -
6928 - 4992 -
6929 4993 -
6930 - 4994 -
6931 4995 -
6932 - 4996 -
6933 4997 -
6934 - 4998 -
6935 4999 -
6936 - 5000 -
6937 5001 -
6938 - 5002 -
6939 5003 -
6940 - 5004 -
6941 5005 -
6942 - 5006 -
6943 5007 -
6944 - 5008 -
6945 5009 -
6946 - 5010 -
6947 5011 -
6948 - 5012 -
6949 5013 -
6950 - 5014 - v\ :sub:`11`
6951 5015 - v\ :sub:`10`
6952 - 5016 - v\ :sub:`9`
6953 5017 - v\ :sub:`8`
6954 - 5018 - v\ :sub:`7`
6955 5019 - v\ :sub:`6`
6956 - 5020 - v\ :sub:`5`
6957 5021 - v\ :sub:`4`
6958 - 5022 - v\ :sub:`3`
6959 5023 - v\ :sub:`2`
6960 - 5024 - v\ :sub:`1`
6961 5025 - v\ :sub:`0`
6962 - 5026 * .. _MEDIA-BUS-FMT-YVYU12-2X12:
6963 5027
6964 - u\ :sub:`7` 5028 - MEDIA_BUS_FMT_YVYU12_2X12
6965 5029 - 0x201f
6966 - u\ :sub:`6` 5030 -
6967 5031 -
6968 - u\ :sub:`5` 5032 -
6969 5033 -
6970 - u\ :sub:`4` 5034 -
6971 5035 -
6972 - u\ :sub:`3` 5036 -
6973 5037 -
6974 - u\ :sub:`2` 5038 -
6975 5039 -
6976 - u\ :sub:`1` 5040 -
6977 5041 -
6978 - u\ :sub:`0` 5042 -
6979 5043 -
6980 - .. row 40 5044 -
6981 5045 -
6982 - 5046 -
6983 - 5047 -
6984 - 5048 -
6985 - 5049 -
6986 5050 -
6987 - 5051 - y\ :sub:`11`
6988 5052 - y\ :sub:`10`
6989 - 5053 - y\ :sub:`9`
6990 5054 - y\ :sub:`8`
6991 - 5055 - y\ :sub:`7`
6992 5056 - y\ :sub:`6`
6993 - 5057 - y\ :sub:`5`
6994 5058 - y\ :sub:`4`
6995 - 5059 - y\ :sub:`3`
6996 5060 - y\ :sub:`2`
6997 - 5061 - y\ :sub:`1`
6998 5062 - y\ :sub:`0`
6999 - 5063 * -
7000 5064 -
7001 - 5065 -
7002 5066 -
7003 - 5067 -
7004 5068 -
7005 - 5069 -
7006 5070 -
7007 - 5071 -
7008 5072 -
7009 - 5073 -
7010 5074 -
7011 - 5075 -
7012 5076 -
7013 - 5077 -
7014 5078 -
7015 - 5079 -
7016 5080 -
7017 - 5081 -
7018 5082 -
7019 - 5083 -
7020 5084 -
7021 - 5085 -
7022 5086 - v\ :sub:`11`
7023 - 5087 - v\ :sub:`10`
7024 5088 - v\ :sub:`9`
7025 - 5089 - v\ :sub:`8`
7026 5090 - v\ :sub:`7`
7027 - 5091 - v\ :sub:`6`
7028 5092 - v\ :sub:`5`
7029 - 5093 - v\ :sub:`4`
7030 5094 - v\ :sub:`3`
7031 - 5095 - v\ :sub:`2`
7032 5096 - v\ :sub:`1`
7033 - y\ :sub:`7` 5097 - v\ :sub:`0`
7034 5098 * -
7035 - y\ :sub:`6` 5099 -
7036 5100 -
7037 - y\ :sub:`5` 5101 -
7038 5102 -
7039 - y\ :sub:`4` 5103 -
7040 5104 -
7041 - y\ :sub:`3` 5105 -
7042 5106 -
7043 - y\ :sub:`2` 5107 -
7044 5108 -
7045 - y\ :sub:`1` 5109 -
7046 5110 -
7047 - y\ :sub:`0` 5111 -
7048 5112 -
7049 - .. row 41 5113 -
7050 5114 -
7051 - 5115 -
7052 - 5116 -
7053 - 5117 -
7054 - 5118 -
7055 5119 -
7056 - 5120 -
7057 5121 - y\ :sub:`11`
7058 - 5122 - y\ :sub:`10`
7059 5123 - y\ :sub:`9`
7060 - 5124 - y\ :sub:`8`
7061 5125 - y\ :sub:`7`
7062 - 5126 - y\ :sub:`6`
7063 5127 - y\ :sub:`5`
7064 - 5128 - y\ :sub:`4`
7065 5129 - y\ :sub:`3`
7066 - 5130 - y\ :sub:`2`
7067 5131 - y\ :sub:`1`
7068 - 5132 - y\ :sub:`0`
7069 5133 * -
7070 - 5134 -
7071 5135 -
7072 - 5136 -
7073 5137 -
7074 - 5138 -
7075 5139 -
7076 - 5140 -
7077 5141 -
7078 - 5142 -
7079 5143 -
7080 - 5144 -
7081 5145 -
7082 - 5146 -
7083 5147 -
7084 - 5148 -
7085 5149 -
7086 - 5150 -
7087 5151 -
7088 - 5152 -
7089 5153 -
7090 - 5154 -
7091 5155 -
7092 - 5156 - u\ :sub:`11`
7093 5157 - u\ :sub:`10`
7094 - 5158 - u\ :sub:`9`
7095 5159 - u\ :sub:`8`
7096 - 5160 - u\ :sub:`7`
7097 5161 - u\ :sub:`6`
7098 - 5162 - u\ :sub:`5`
7099 5163 - u\ :sub:`4`
7100 - 5164 - u\ :sub:`3`
7101 5165 - u\ :sub:`2`
7102 - v\ :sub:`7` 5166 - u\ :sub:`1`
7103 5167 - u\ :sub:`0`
7104 - v\ :sub:`6` 5168 * .. _MEDIA-BUS-FMT-UYVY8-1X16:
7105 5169
7106 - v\ :sub:`5` 5170 - MEDIA_BUS_FMT_UYVY8_1X16
7107 5171 - 0x200f
7108 - v\ :sub:`4` 5172 -
7109 5173 -
7110 - v\ :sub:`3` 5174 -
7111 5175 -
7112 - v\ :sub:`2` 5176 -
7113 5177 -
7114 - v\ :sub:`1` 5178 -
7115 5179 -
7116 - v\ :sub:`0` 5180 -
7117 5181 -
7118 - .. _MEDIA-BUS-FMT-YVYU8-2X8: 5182 -
7119 5183 -
7120 - MEDIA_BUS_FMT_YVYU8_2X8 5184 -
7121 5185 -
7122 - 0x2009 5186 -
7123 5187 -
7124 - 5188 -
7125 - 5189 - u\ :sub:`7`
7126 5190 - u\ :sub:`6`
7127 - 5191 - u\ :sub:`5`
7128 5192 - u\ :sub:`4`
7129 - 5193 - u\ :sub:`3`
7130 5194 - u\ :sub:`2`
7131 - 5195 - u\ :sub:`1`
7132 5196 - u\ :sub:`0`
7133 - 5197 - y\ :sub:`7`
7134 5198 - y\ :sub:`6`
7135 - 5199 - y\ :sub:`5`
7136 5200 - y\ :sub:`4`
7137 - 5201 - y\ :sub:`3`
7138 5202 - y\ :sub:`2`
7139 - 5203 - y\ :sub:`1`
7140 5204 - y\ :sub:`0`
7141 - 5205 * -
7142 5206 -
7143 - 5207 -
7144 5208 -
7145 - 5209 -
7146 5210 -
7147 - 5211 -
7148 5212 -
7149 - 5213 -
7150 5214 -
7151 - 5215 -
7152 5216 -
7153 - 5217 -
7154 5218 -
7155 - 5219 -
7156 5220 -
7157 - 5221 -
7158 5222 -
7159 - 5223 -
7160 5224 - v\ :sub:`7`
7161 - 5225 - v\ :sub:`6`
7162 5226 - v\ :sub:`5`
7163 - 5227 - v\ :sub:`4`
7164 5228 - v\ :sub:`3`
7165 - 5229 - v\ :sub:`2`
7166 5230 - v\ :sub:`1`
7167 - 5231 - v\ :sub:`0`
7168 5232 - y\ :sub:`7`
7169 - 5233 - y\ :sub:`6`
7170 5234 - y\ :sub:`5`
7171 - 5235 - y\ :sub:`4`
7172 5236 - y\ :sub:`3`
7173 - y\ :sub:`7` 5237 - y\ :sub:`2`
7174 5238 - y\ :sub:`1`
7175 - y\ :sub:`6` 5239 - y\ :sub:`0`
7176 5240 * .. _MEDIA-BUS-FMT-VYUY8-1X16:
7177 - y\ :sub:`5` 5241
7178 5242 - MEDIA_BUS_FMT_VYUY8_1X16
7179 - y\ :sub:`4` 5243 - 0x2010
7180 5244 -
7181 - y\ :sub:`3` 5245 -
7182 5246 -
7183 - y\ :sub:`2` 5247 -
7184 5248 -
7185 - y\ :sub:`1` 5249 -
7186 5250 -
7187 - y\ :sub:`0` 5251 -
7188 5252 -
7189 - .. row 43 5253 -
7190 5254 -
7191 - 5255 -
7192 - 5256 -
7193 - 5257 -
7194 - 5258 -
7195 5259 -
7196 - 5260 -
7197 5261 - v\ :sub:`7`
7198 - 5262 - v\ :sub:`6`
7199 5263 - v\ :sub:`5`
7200 - 5264 - v\ :sub:`4`
7201 5265 - v\ :sub:`3`
7202 - 5266 - v\ :sub:`2`
7203 5267 - v\ :sub:`1`
7204 - 5268 - v\ :sub:`0`
7205 5269 - y\ :sub:`7`
7206 - 5270 - y\ :sub:`6`
7207 5271 - y\ :sub:`5`
7208 - 5272 - y\ :sub:`4`
7209 5273 - y\ :sub:`3`
7210 - 5274 - y\ :sub:`2`
7211 5275 - y\ :sub:`1`
7212 - 5276 - y\ :sub:`0`
7213 5277 * -
7214 - 5278 -
7215 5279 -
7216 - 5280 -
7217 5281 -
7218 - 5282 -
7219 5283 -
7220 - 5284 -
7221 5285 -
7222 - 5286 -
7223 5287 -
7224 - 5288 -
7225 5289 -
7226 - 5290 -
7227 5291 -
7228 - 5292 -
7229 5293 -
7230 - 5294 -
7231 5295 -
7232 - 5296 - u\ :sub:`7`
7233 5297 - u\ :sub:`6`
7234 - 5298 - u\ :sub:`5`
7235 5299 - u\ :sub:`4`
7236 - 5300 - u\ :sub:`3`
7237 5301 - u\ :sub:`2`
7238 - 5302 - u\ :sub:`1`
7239 5303 - u\ :sub:`0`
7240 - 5304 - y\ :sub:`7`
7241 5305 - y\ :sub:`6`
7242 - v\ :sub:`7` 5306 - y\ :sub:`5`
7243 5307 - y\ :sub:`4`
7244 - v\ :sub:`6` 5308 - y\ :sub:`3`
7245 5309 - y\ :sub:`2`
7246 - v\ :sub:`5` 5310 - y\ :sub:`1`
7247 5311 - y\ :sub:`0`
7248 - v\ :sub:`4` 5312 * .. _MEDIA-BUS-FMT-YUYV8-1X16:
7249 5313
7250 - v\ :sub:`3` 5314 - MEDIA_BUS_FMT_YUYV8_1X16
7251 5315 - 0x2011
7252 - v\ :sub:`2` 5316 -
7253 5317 -
7254 - v\ :sub:`1` 5318 -
7255 5319 -
7256 - v\ :sub:`0` 5320 -
7257 5321 -
7258 - .. row 44 5322 -
7259 5323 -
7260 - 5324 -
7261 - 5325 -
7262 - 5326 -
7263 - 5327 -
7264 5328 -
7265 - 5329 -
7266 5330 -
7267 - 5331 -
7268 5332 -
7269 - 5333 - y\ :sub:`7`
7270 5334 - y\ :sub:`6`
7271 - 5335 - y\ :sub:`5`
7272 5336 - y\ :sub:`4`
7273 - 5337 - y\ :sub:`3`
7274 5338 - y\ :sub:`2`
7275 - 5339 - y\ :sub:`1`
7276 5340 - y\ :sub:`0`
7277 - 5341 - u\ :sub:`7`
7278 5342 - u\ :sub:`6`
7279 - 5343 - u\ :sub:`5`
7280 5344 - u\ :sub:`4`
7281 - 5345 - u\ :sub:`3`
7282 5346 - u\ :sub:`2`
7283 - 5347 - u\ :sub:`1`
7284 5348 - u\ :sub:`0`
7285 - 5349 * -
7286 5350 -
7287 - 5351 -
7288 5352 -
7289 - 5353 -
7290 5354 -
7291 - 5355 -
7292 5356 -
7293 - 5357 -
7294 5358 -
7295 - 5359 -
7296 5360 -
7297 - 5361 -
7298 5362 -
7299 - 5363 -
7300 5364 -
7301 - 5365 -
7302 5366 -
7303 - 5367 -
7304 5368 - y\ :sub:`7`
7305 - 5369 - y\ :sub:`6`
7306 5370 - y\ :sub:`5`
7307 - 5371 - y\ :sub:`4`
7308 5372 - y\ :sub:`3`
7309 - 5373 - y\ :sub:`2`
7310 5374 - y\ :sub:`1`
7311 - y\ :sub:`7` 5375 - y\ :sub:`0`
7312 5376 - v\ :sub:`7`
7313 - y\ :sub:`6` 5377 - v\ :sub:`6`
7314 5378 - v\ :sub:`5`
7315 - y\ :sub:`5` 5379 - v\ :sub:`4`
7316 5380 - v\ :sub:`3`
7317 - y\ :sub:`4` 5381 - v\ :sub:`2`
7318 5382 - v\ :sub:`1`
7319 - y\ :sub:`3` 5383 - v\ :sub:`0`
7320 5384 * .. _MEDIA-BUS-FMT-YVYU8-1X16:
7321 - y\ :sub:`2` 5385
7322 5386 - MEDIA_BUS_FMT_YVYU8_1X16
7323 - y\ :sub:`1` 5387 - 0x2012
7324 5388 -
7325 - y\ :sub:`0` 5389 -
7326 5390 -
7327 - .. row 45 5391 -
7328 5392 -
7329 - 5393 -
7330 - 5394 -
7331 - 5395 -
7332 - 5396 -
7333 5397 -
7334 - 5398 -
7335 5399 -
7336 - 5400 -
7337 5401 -
7338 - 5402 -
7339 5403 -
7340 - 5404 -
7341 5405 - y\ :sub:`7`
7342 - 5406 - y\ :sub:`6`
7343 5407 - y\ :sub:`5`
7344 - 5408 - y\ :sub:`4`
7345 5409 - y\ :sub:`3`
7346 - 5410 - y\ :sub:`2`
7347 5411 - y\ :sub:`1`
7348 - 5412 - y\ :sub:`0`
7349 5413 - v\ :sub:`7`
7350 - 5414 - v\ :sub:`6`
7351 5415 - v\ :sub:`5`
7352 - 5416 - v\ :sub:`4`
7353 5417 - v\ :sub:`3`
7354 - 5418 - v\ :sub:`2`
7355 5419 - v\ :sub:`1`
7356 - 5420 - v\ :sub:`0`
7357 5421 * -
7358 - 5422 -
7359 5423 -
7360 - 5424 -
7361 5425 -
7362 - 5426 -
7363 5427 -
7364 - 5428 -
7365 5429 -
7366 - 5430 -
7367 5431 -
7368 - 5432 -
7369 5433 -
7370 - 5434 -
7371 5435 -
7372 - 5436 -
7373 5437 -
7374 - 5438 -
7375 5439 -
7376 - 5440 - y\ :sub:`7`
7377 5441 - y\ :sub:`6`
7378 - 5442 - y\ :sub:`5`
7379 5443 - y\ :sub:`4`
7380 - u\ :sub:`7` 5444 - y\ :sub:`3`
7381 5445 - y\ :sub:`2`
7382 - u\ :sub:`6` 5446 - y\ :sub:`1`
7383 5447 - y\ :sub:`0`
7384 - u\ :sub:`5` 5448 - u\ :sub:`7`
7385 5449 - u\ :sub:`6`
7386 - u\ :sub:`4` 5450 - u\ :sub:`5`
7387 5451 - u\ :sub:`4`
7388 - u\ :sub:`3` 5452 - u\ :sub:`3`
7389 5453 - u\ :sub:`2`
7390 - u\ :sub:`2` 5454 - u\ :sub:`1`
7391 5455 - u\ :sub:`0`
7392 - u\ :sub:`1` 5456 * .. _MEDIA-BUS-FMT-YDYUYDYV8-1X16:
7393 5457
7394 - u\ :sub:`0` 5458 - MEDIA_BUS_FMT_YDYUYDYV8_1X16
7395 5459 - 0x2014
7396 - .. _MEDIA-BUS-FMT-Y10-1X10: 5460 -
7397 5461 -
7398 - MEDIA_BUS_FMT_Y10_1X10 5462 -
7399 5463 -
7400 - 0x200a 5464 -
7401 5465 -
7402 - 5466 -
7403 - 5467 -
7404 5468 -
7405 - 5469 -
7406 5470 -
7407 - 5471 -
7408 5472 -
7409 - 5473 -
7410 5474 -
7411 - 5475 -
7412 5476 -
7413 - 5477 - y\ :sub:`7`
7414 5478 - y\ :sub:`6`
7415 - 5479 - y\ :sub:`5`
7416 5480 - y\ :sub:`4`
7417 - 5481 - y\ :sub:`3`
7418 5482 - y\ :sub:`2`
7419 - 5483 - y\ :sub:`1`
7420 5484 - y\ :sub:`0`
7421 - 5485 - d
7422 5486 - d
7423 - 5487 - d
7424 5488 - d
7425 - 5489 - d
7426 5490 - d
7427 - 5491 - d
7428 5492 - d
7429 - 5493 * -
7430 5494 -
7431 - 5495 -
7432 5496 -
7433 - 5497 -
7434 5498 -
7435 - 5499 -
7436 5500 -
7437 - 5501 -
7438 5502 -
7439 - 5503 -
7440 5504 -
7441 - 5505 -
7442 5506 -
7443 - 5507 -
7444 5508 -
7445 - 5509 -
7446 5510 -
7447 - y\ :sub:`9` 5511 -
7448 5512 - y\ :sub:`7`
7449 - y\ :sub:`8` 5513 - y\ :sub:`6`
7450 5514 - y\ :sub:`5`
7451 - y\ :sub:`7` 5515 - y\ :sub:`4`
7452 5516 - y\ :sub:`3`
7453 - y\ :sub:`6` 5517 - y\ :sub:`2`
7454 5518 - y\ :sub:`1`
7455 - y\ :sub:`5` 5519 - y\ :sub:`0`
7456 5520 - u\ :sub:`7`
7457 - y\ :sub:`4` 5521 - u\ :sub:`6`
7458 5522 - u\ :sub:`5`
7459 - y\ :sub:`3` 5523 - u\ :sub:`4`
7460 5524 - u\ :sub:`3`
7461 - y\ :sub:`2` 5525 - u\ :sub:`2`
7462 5526 - u\ :sub:`1`
7463 - y\ :sub:`1` 5527 - u\ :sub:`0`
7464 5528 * -
7465 - y\ :sub:`0` 5529 -
7466 5530 -
7467 - .. _MEDIA-BUS-FMT-UYVY10-2X10: 5531 -
7468 5532 -
7469 - MEDIA_BUS_FMT_UYVY10_2X10 5533 -
7470 5534 -
7471 - 0x2018 5535 -
7472 5536 -
7473 - 5537 -
7474 - 5538 -
7475 5539 -
7476 - 5540 -
7477 5541 -
7478 - 5542 -
7479 5543 -
7480 - 5544 -
7481 5545 -
7482 - 5546 -
7483 5547 - y\ :sub:`7`
7484 - 5548 - y\ :sub:`6`
7485 5549 - y\ :sub:`5`
7486 - 5550 - y\ :sub:`4`
7487 5551 - y\ :sub:`3`
7488 - 5552 - y\ :sub:`2`
7489 5553 - y\ :sub:`1`
7490 - 5554 - y\ :sub:`0`
7491 5555 - d
7492 - 5556 - d
7493 5557 - d
7494 - 5558 - d
7495 5559 - d
7496 - 5560 - d
7497 5561 - d
7498 - 5562 - d
7499 5563 * -
7500 - 5564 -
7501 5565 -
7502 - 5566 -
7503 5567 -
7504 - 5568 -
7505 5569 -
7506 - 5570 -
7507 5571 -
7508 - 5572 -
7509 5573 -
7510 - 5574 -
7511 5575 -
7512 - 5576 -
7513 5577 -
7514 - 5578 -
7515 5579 -
7516 - 5580 -
7517 5581 -
7518 - u\ :sub:`9` 5582 - y\ :sub:`7`
7519 5583 - y\ :sub:`6`
7520 - u\ :sub:`8` 5584 - y\ :sub:`5`
7521 5585 - y\ :sub:`4`
7522 - u\ :sub:`7` 5586 - y\ :sub:`3`
7523 5587 - y\ :sub:`2`
7524 - u\ :sub:`6` 5588 - y\ :sub:`1`
7525 5589 - y\ :sub:`0`
7526 - u\ :sub:`5` 5590 - v\ :sub:`7`
7527 5591 - v\ :sub:`6`
7528 - u\ :sub:`4` 5592 - v\ :sub:`5`
7529 5593 - v\ :sub:`4`
7530 - u\ :sub:`3` 5594 - v\ :sub:`3`
7531 5595 - v\ :sub:`2`
7532 - u\ :sub:`2` 5596 - v\ :sub:`1`
7533 5597 - v\ :sub:`0`
7534 - u\ :sub:`1` 5598 * .. _MEDIA-BUS-FMT-UYVY10-1X20:
7535 5599
7536 - u\ :sub:`0` 5600 - MEDIA_BUS_FMT_UYVY10_1X20
7537 5601 - 0x201a
7538 - .. row 48 5602 -
7539 5603 -
7540 - 5604 -
7541 - 5605 -
7542 - 5606 -
7543 - 5607 -
7544 5608 -
7545 - 5609 -
7546 5610 -
7547 - 5611 -
7548 5612 -
7549 - 5613 -
7550 5614 -
7551 - 5615 - u\ :sub:`9`
7552 5616 - u\ :sub:`8`
7553 - 5617 - u\ :sub:`7`
7554 5618 - u\ :sub:`6`
7555 - 5619 - u\ :sub:`5`
7556 5620 - u\ :sub:`4`
7557 - 5621 - u\ :sub:`3`
7558 5622 - u\ :sub:`2`
7559 - 5623 - u\ :sub:`1`
7560 5624 - u\ :sub:`0`
7561 - 5625 - y\ :sub:`9`
7562 5626 - y\ :sub:`8`
7563 - 5627 - y\ :sub:`7`
7564 5628 - y\ :sub:`6`
7565 - 5629 - y\ :sub:`5`
7566 5630 - y\ :sub:`4`
7567 - 5631 - y\ :sub:`3`
7568 5632 - y\ :sub:`2`
7569 - 5633 - y\ :sub:`1`
7570 5634 - y\ :sub:`0`
7571 - 5635 * -
7572 5636 -
7573 - 5637 -
7574 5638 -
7575 - 5639 -
7576 5640 -
7577 - 5641 -
7578 5642 -
7579 - 5643 -
7580 5644 -
7581 - 5645 -
7582 5646 -
7583 - 5647 -
7584 5648 -
7585 - 5649 -
7586 5650 - v\ :sub:`9`
7587 - y\ :sub:`9` 5651 - v\ :sub:`8`
7588 5652 - v\ :sub:`7`
7589 - y\ :sub:`8` 5653 - v\ :sub:`6`
7590 5654 - v\ :sub:`5`
7591 - y\ :sub:`7` 5655 - v\ :sub:`4`
7592 5656 - v\ :sub:`3`
7593 - y\ :sub:`6` 5657 - v\ :sub:`2`
7594 5658 - v\ :sub:`1`
7595 - y\ :sub:`5` 5659 - v\ :sub:`0`
7596 5660 - y\ :sub:`9`
7597 - y\ :sub:`4` 5661 - y\ :sub:`8`
7598 5662 - y\ :sub:`7`
7599 - y\ :sub:`3` 5663 - y\ :sub:`6`
7600 5664 - y\ :sub:`5`
7601 - y\ :sub:`2` 5665 - y\ :sub:`4`
7602 5666 - y\ :sub:`3`
7603 - y\ :sub:`1` 5667 - y\ :sub:`2`
7604 5668 - y\ :sub:`1`
7605 - y\ :sub:`0` 5669 - y\ :sub:`0`
7606 5670 * .. _MEDIA-BUS-FMT-VYUY10-1X20:
7607 - .. row 49 5671
7608 5672 - MEDIA_BUS_FMT_VYUY10_1X20
7609 - 5673 - 0x201b
7610 - 5674 -
7611 - 5675 -
7612 - 5676 -
7613 5677 -
7614 - 5678 -
7615 5679 -
7616 - 5680 -
7617 5681 -
7618 - 5682 -
7619 5683 -
7620 - 5684 -
7621 5685 -
7622 - 5686 -
7623 5687 - v\ :sub:`9`
7624 - 5688 - v\ :sub:`8`
7625 5689 - v\ :sub:`7`
7626 - 5690 - v\ :sub:`6`
7627 5691 - v\ :sub:`5`
7628 - 5692 - v\ :sub:`4`
7629 5693 - v\ :sub:`3`
7630 - 5694 - v\ :sub:`2`
7631 5695 - v\ :sub:`1`
7632 - 5696 - v\ :sub:`0`
7633 5697 - y\ :sub:`9`
7634 - 5698 - y\ :sub:`8`
7635 5699 - y\ :sub:`7`
7636 - 5700 - y\ :sub:`6`
7637 5701 - y\ :sub:`5`
7638 - 5702 - y\ :sub:`4`
7639 5703 - y\ :sub:`3`
7640 - 5704 - y\ :sub:`2`
7641 5705 - y\ :sub:`1`
7642 - 5706 - y\ :sub:`0`
7643 5707 * -
7644 - 5708 -
7645 5709 -
7646 - 5710 -
7647 5711 -
7648 - 5712 -
7649 5713 -
7650 - 5714 -
7651 5715 -
7652 - 5716 -
7653 5717 -
7654 - 5718 -
7655 5719 -
7656 - v\ :sub:`9` 5720 -
7657 5721 -
7658 - v\ :sub:`8` 5722 - u\ :sub:`9`
7659 5723 - u\ :sub:`8`
7660 - v\ :sub:`7` 5724 - u\ :sub:`7`
7661 5725 - u\ :sub:`6`
7662 - v\ :sub:`6` 5726 - u\ :sub:`5`
7663 5727 - u\ :sub:`4`
7664 - v\ :sub:`5` 5728 - u\ :sub:`3`
7665 5729 - u\ :sub:`2`
7666 - v\ :sub:`4` 5730 - u\ :sub:`1`
7667 5731 - u\ :sub:`0`
7668 - v\ :sub:`3` 5732 - y\ :sub:`9`
7669 5733 - y\ :sub:`8`
7670 - v\ :sub:`2` 5734 - y\ :sub:`7`
7671 5735 - y\ :sub:`6`
7672 - v\ :sub:`1` 5736 - y\ :sub:`5`
7673 5737 - y\ :sub:`4`
7674 - v\ :sub:`0` 5738 - y\ :sub:`3`
7675 5739 - y\ :sub:`2`
7676 - .. row 50 5740 - y\ :sub:`1`
7677 5741 - y\ :sub:`0`
7678 - 5742 * .. _MEDIA-BUS-FMT-YUYV10-1X20:
7679 - 5743
7680 - 5744 - MEDIA_BUS_FMT_YUYV10_1X20
7681 - 5745 - 0x200d
7682 5746 -
7683 - 5747 -
7684 5748 -
7685 - 5749 -
7686 5750 -
7687 - 5751 -
7688 5752 -
7689 - 5753 -
7690 5754 -
7691 - 5755 -
7692 5756 -
7693 - 5757 -
7694 5758 -
7695 - 5759 - y\ :sub:`9`
7696 5760 - y\ :sub:`8`
7697 - 5761 - y\ :sub:`7`
7698 5762 - y\ :sub:`6`
7699 - 5763 - y\ :sub:`5`
7700 5764 - y\ :sub:`4`
7701 - 5765 - y\ :sub:`3`
7702 5766 - y\ :sub:`2`
7703 - 5767 - y\ :sub:`1`
7704 5768 - y\ :sub:`0`
7705 - 5769 - u\ :sub:`9`
7706 5770 - u\ :sub:`8`
7707 - 5771 - u\ :sub:`7`
7708 5772 - u\ :sub:`6`
7709 - 5773 - u\ :sub:`5`
7710 5774 - u\ :sub:`4`
7711 - 5775 - u\ :sub:`3`
7712 5776 - u\ :sub:`2`
7713 - 5777 - u\ :sub:`1`
7714 5778 - u\ :sub:`0`
7715 - 5779 * -
7716 5780 -
7717 - 5781 -
7718 5782 -
7719 - 5783 -
7720 5784 -
7721 - 5785 -
7722 5786 -
7723 - 5787 -
7724 5788 -
7725 - y\ :sub:`9` 5789 -
7726 5790 -
7727 - y\ :sub:`8` 5791 -
7728 5792 -
7729 - y\ :sub:`7` 5793 -
7730 5794 - y\ :sub:`9`
7731 - y\ :sub:`6` 5795 - y\ :sub:`8`
7732 5796 - y\ :sub:`7`
7733 - y\ :sub:`5` 5797 - y\ :sub:`6`
7734 5798 - y\ :sub:`5`
7735 - y\ :sub:`4` 5799 - y\ :sub:`4`
7736 5800 - y\ :sub:`3`
7737 - y\ :sub:`3` 5801 - y\ :sub:`2`
7738 5802 - y\ :sub:`1`
7739 - y\ :sub:`2` 5803 - y\ :sub:`0`
7740 5804 - v\ :sub:`9`
7741 - y\ :sub:`1` 5805 - v\ :sub:`8`
7742 5806 - v\ :sub:`7`
7743 - y\ :sub:`0` 5807 - v\ :sub:`6`
7744 5808 - v\ :sub:`5`
7745 - .. _MEDIA-BUS-FMT-VYUY10-2X10: 5809 - v\ :sub:`4`
7746 5810 - v\ :sub:`3`
7747 - MEDIA_BUS_FMT_VYUY10_2X10 5811 - v\ :sub:`2`
7748 5812 - v\ :sub:`1`
7749 - 0x2019 5813 - v\ :sub:`0`
7750 5814 * .. _MEDIA-BUS-FMT-YVYU10-1X20:
7751 - 5815
7752 - 5816 - MEDIA_BUS_FMT_YVYU10_1X20
7753 5817 - 0x200e
7754 - 5818 -
7755 5819 -
7756 - 5820 -
7757 5821 -
7758 - 5822 -
7759 5823 -
7760 - 5824 -
7761 5825 -
7762 - 5826 -
7763 5827 -
7764 - 5828 -
7765 5829 -
7766 - 5830 -
7767 5831 - y\ :sub:`9`
7768 - 5832 - y\ :sub:`8`
7769 5833 - y\ :sub:`7`
7770 - 5834 - y\ :sub:`6`
7771 5835 - y\ :sub:`5`
7772 - 5836 - y\ :sub:`4`
7773 5837 - y\ :sub:`3`
7774 - 5838 - y\ :sub:`2`
7775 5839 - y\ :sub:`1`
7776 - 5840 - y\ :sub:`0`
7777 5841 - v\ :sub:`9`
7778 - 5842 - v\ :sub:`8`
7779 5843 - v\ :sub:`7`
7780 - 5844 - v\ :sub:`6`
7781 5845 - v\ :sub:`5`
7782 - 5846 - v\ :sub:`4`
7783 5847 - v\ :sub:`3`
7784 - 5848 - v\ :sub:`2`
7785 5849 - v\ :sub:`1`
7786 - 5850 - v\ :sub:`0`
7787 5851 * -
7788 - 5852 -
7789 5853 -
7790 - 5854 -
7791 5855 -
7792 - 5856 -
7793 5857 -
7794 - 5858 -
7795 5859 -
7796 - v\ :sub:`9` 5860 -
7797 5861 -
7798 - v\ :sub:`8` 5862 -
7799 5863 -
7800 - v\ :sub:`7` 5864 -
7801 5865 -
7802 - v\ :sub:`6` 5866 - y\ :sub:`9`
7803 5867 - y\ :sub:`8`
7804 - v\ :sub:`5` 5868 - y\ :sub:`7`
7805 5869 - y\ :sub:`6`
7806 - v\ :sub:`4` 5870 - y\ :sub:`5`
7807 5871 - y\ :sub:`4`
7808 - v\ :sub:`3` 5872 - y\ :sub:`3`
7809 5873 - y\ :sub:`2`
7810 - v\ :sub:`2` 5874 - y\ :sub:`1`
7811 5875 - y\ :sub:`0`
7812 - v\ :sub:`1` 5876 - u\ :sub:`9`
7813 5877 - u\ :sub:`8`
7814 - v\ :sub:`0` 5878 - u\ :sub:`7`
7815 5879 - u\ :sub:`6`
7816 - .. row 52 5880 - u\ :sub:`5`
7817 5881 - u\ :sub:`4`
7818 - 5882 - u\ :sub:`3`
7819 - 5883 - u\ :sub:`2`
7820 - 5884 - u\ :sub:`1`
7821 - 5885 - u\ :sub:`0`
7822 5886 * .. _MEDIA-BUS-FMT-VUY8-1X24:
7823 - 5887
7824 5888 - MEDIA_BUS_FMT_VUY8_1X24
7825 - 5889 - 0x201a
7826 5890 -
7827 - 5891 -
7828 5892 -
7829 - 5893 -
7830 5894 -
7831 - 5895 -
7832 5896 -
7833 - 5897 -
7834 5898 -
7835 - 5899 - v\ :sub:`7`
7836 5900 - v\ :sub:`6`
7837 - 5901 - v\ :sub:`5`
7838 5902 - v\ :sub:`4`
7839 - 5903 - v\ :sub:`3`
7840 5904 - v\ :sub:`2`
7841 - 5905 - v\ :sub:`1`
7842 5906 - v\ :sub:`0`
7843 - 5907 - u\ :sub:`7`
7844 5908 - u\ :sub:`6`
7845 - 5909 - u\ :sub:`5`
7846 5910 - u\ :sub:`4`
7847 - 5911 - u\ :sub:`3`
7848 5912 - u\ :sub:`2`
7849 - 5913 - u\ :sub:`1`
7850 5914 - u\ :sub:`0`
7851 - 5915 - y\ :sub:`7`
7852 5916 - y\ :sub:`6`
7853 - 5917 - y\ :sub:`5`
7854 5918 - y\ :sub:`4`
7855 - 5919 - y\ :sub:`3`
7856 5920 - y\ :sub:`2`
7857 - 5921 - y\ :sub:`1`
7858 5922 - y\ :sub:`0`
7859 - 5923 * .. _MEDIA-BUS-FMT-YUV8-1X24:
7860 5924
7861 - 5925 - MEDIA_BUS_FMT_YUV8_1X24
7862 5926 - 0x2025
7863 - 5927 -
7864 5928 -
7865 - y\ :sub:`9` 5929 -
7866 5930 -
7867 - y\ :sub:`8` 5931 -
7868 5932 -
7869 - y\ :sub:`7` 5933 -
7870 5934 -
7871 - y\ :sub:`6` 5935 -
7872 5936 - y\ :sub:`7`
7873 - y\ :sub:`5` 5937 - y\ :sub:`6`
7874 5938 - y\ :sub:`5`
7875 - y\ :sub:`4` 5939 - y\ :sub:`4`
7876 5940 - y\ :sub:`3`
7877 - y\ :sub:`3` 5941 - y\ :sub:`2`
7878 5942 - y\ :sub:`1`
7879 - y\ :sub:`2` 5943 - y\ :sub:`0`
7880 5944 - u\ :sub:`7`
7881 - y\ :sub:`1` 5945 - u\ :sub:`6`
7882 5946 - u\ :sub:`5`
7883 - y\ :sub:`0` 5947 - u\ :sub:`4`
7884 5948 - u\ :sub:`3`
7885 - .. row 53 5949 - u\ :sub:`2`
7886 5950 - u\ :sub:`1`
7887 - 5951 - u\ :sub:`0`
7888 - 5952 - v\ :sub:`7`
7889 - 5953 - v\ :sub:`6`
7890 - 5954 - v\ :sub:`5`
7891 5955 - v\ :sub:`4`
7892 - 5956 - v\ :sub:`3`
7893 5957 - v\ :sub:`2`
7894 - 5958 - v\ :sub:`1`
7895 5959 - v\ :sub:`0`
7896 - 5960 * .. _MEDIA-BUS-FMT-UYVY12-1X24:
7897 5961
7898 - 5962 - MEDIA_BUS_FMT_UYVY12_1X24
7899 5963 - 0x2020
7900 - 5964 -
7901 5965 -
7902 - 5966 -
7903 5967 -
7904 - 5968 -
7905 5969 -
7906 - 5970 -
7907 5971 -
7908 - 5972 -
7909 5973 - u\ :sub:`11`
7910 - 5974 - u\ :sub:`10`
7911 5975 - u\ :sub:`9`
7912 - 5976 - u\ :sub:`8`
7913 5977 - u\ :sub:`7`
7914 - 5978 - u\ :sub:`6`
7915 5979 - u\ :sub:`5`
7916 - 5980 - u\ :sub:`4`
7917 5981 - u\ :sub:`3`
7918 - 5982 - u\ :sub:`2`
7919 5983 - u\ :sub:`1`
7920 - 5984 - u\ :sub:`0`
7921 5985 - y\ :sub:`11`
7922 - 5986 - y\ :sub:`10`
7923 5987 - y\ :sub:`9`
7924 - 5988 - y\ :sub:`8`
7925 5989 - y\ :sub:`7`
7926 - 5990 - y\ :sub:`6`
7927 5991 - y\ :sub:`5`
7928 - 5992 - y\ :sub:`4`
7929 5993 - y\ :sub:`3`
7930 - 5994 - y\ :sub:`2`
7931 5995 - y\ :sub:`1`
7932 - 5996 - y\ :sub:`0`
7933 5997 * -
7934 - u\ :sub:`9` 5998 -
7935 5999 -
7936 - u\ :sub:`8` 6000 -
7937 6001 -
7938 - u\ :sub:`7` 6002 -
7939 6003 -
7940 - u\ :sub:`6` 6004 -
7941 6005 -
7942 - u\ :sub:`5` 6006 -
7943 6007 -
7944 - u\ :sub:`4` 6008 - v\ :sub:`11`
7945 6009 - v\ :sub:`10`
7946 - u\ :sub:`3` 6010 - v\ :sub:`9`
7947 6011 - v\ :sub:`8`
7948 - u\ :sub:`2` 6012 - v\ :sub:`7`
7949 6013 - v\ :sub:`6`
7950 - u\ :sub:`1` 6014 - v\ :sub:`5`
7951 6015 - v\ :sub:`4`
7952 - u\ :sub:`0` 6016 - v\ :sub:`3`
7953 6017 - v\ :sub:`2`
7954 - .. row 54 6018 - v\ :sub:`1`
7955 6019 - v\ :sub:`0`
7956 - 6020 - y\ :sub:`11`
7957 - 6021 - y\ :sub:`10`
7958 - 6022 - y\ :sub:`9`
7959 - 6023 - y\ :sub:`8`
7960 6024 - y\ :sub:`7`
7961 - 6025 - y\ :sub:`6`
7962 6026 - y\ :sub:`5`
7963 - 6027 - y\ :sub:`4`
7964 6028 - y\ :sub:`3`
7965 - 6029 - y\ :sub:`2`
7966 6030 - y\ :sub:`1`
7967 - 6031 - y\ :sub:`0`
7968 6032 * .. _MEDIA-BUS-FMT-VYUY12-1X24:
7969 - 6033
7970 6034 - MEDIA_BUS_FMT_VYUY12_1X24
7971 - 6035 - 0x2021
7972 6036 -
7973 - 6037 -
7974 6038 -
7975 - 6039 -
7976 6040 -
7977 - 6041 -
7978 6042 -
7979 - 6043 -
7980 6044 -
7981 - 6045 - v\ :sub:`11`
7982 6046 - v\ :sub:`10`
7983 - 6047 - v\ :sub:`9`
7984 6048 - v\ :sub:`8`
7985 - 6049 - v\ :sub:`7`
7986 6050 - v\ :sub:`6`
7987 - 6051 - v\ :sub:`5`
7988 6052 - v\ :sub:`4`
7989 - 6053 - v\ :sub:`3`
7990 6054 - v\ :sub:`2`
7991 - 6055 - v\ :sub:`1`
7992 6056 - v\ :sub:`0`
7993 - 6057 - y\ :sub:`11`
7994 6058 - y\ :sub:`10`
7995 - 6059 - y\ :sub:`9`
7996 6060 - y\ :sub:`8`
7997 - 6061 - y\ :sub:`7`
7998 6062 - y\ :sub:`6`
7999 - 6063 - y\ :sub:`5`
8000 6064 - y\ :sub:`4`
8001 - 6065 - y\ :sub:`3`
8002 6066 - y\ :sub:`2`
8003 - y\ :sub:`9` 6067 - y\ :sub:`1`
8004 6068 - y\ :sub:`0`
8005 - y\ :sub:`8` 6069 * -
8006 6070 -
8007 - y\ :sub:`7` 6071 -
8008 6072 -
8009 - y\ :sub:`6` 6073 -
8010 6074 -
8011 - y\ :sub:`5` 6075 -
8012 6076 -
8013 - y\ :sub:`4` 6077 -
8014 6078 -
8015 - y\ :sub:`3` 6079 -
8016 6080 - u\ :sub:`11`
8017 - y\ :sub:`2` 6081 - u\ :sub:`10`
8018 6082 - u\ :sub:`9`
8019 - y\ :sub:`1` 6083 - u\ :sub:`8`
8020 6084 - u\ :sub:`7`
8021 - y\ :sub:`0` 6085 - u\ :sub:`6`
8022 6086 - u\ :sub:`5`
8023 - .. _MEDIA-BUS-FMT-YUYV10-2X10: 6087 - u\ :sub:`4`
8024 6088 - u\ :sub:`3`
8025 - MEDIA_BUS_FMT_YUYV10_2X10 6089 - u\ :sub:`2`
8026 6090 - u\ :sub:`1`
8027 - 0x200b 6091 - u\ :sub:`0`
8028 6092 - y\ :sub:`11`
8029 - 6093 - y\ :sub:`10`
8030 - 6094 - y\ :sub:`9`
8031 6095 - y\ :sub:`8`
8032 - 6096 - y\ :sub:`7`
8033 6097 - y\ :sub:`6`
8034 - 6098 - y\ :sub:`5`
8035 6099 - y\ :sub:`4`
8036 - 6100 - y\ :sub:`3`
8037 6101 - y\ :sub:`2`
8038 - 6102 - y\ :sub:`1`
8039 6103 - y\ :sub:`0`
8040 - 6104 * .. _MEDIA-BUS-FMT-YUYV12-1X24:
8041 6105
8042 - 6106 - MEDIA_BUS_FMT_YUYV12_1X24
8043 6107 - 0x2022
8044 - 6108 -
8045 6109 -
8046 - 6110 -
8047 6111 -
8048 - 6112 -
8049 6113 -
8050 - 6114 -
8051 6115 -
8052 - 6116 -
8053 6117 - y\ :sub:`11`
8054 - 6118 - y\ :sub:`10`
8055 6119 - y\ :sub:`9`
8056 - 6120 - y\ :sub:`8`
8057 6121 - y\ :sub:`7`
8058 - 6122 - y\ :sub:`6`
8059 6123 - y\ :sub:`5`
8060 - 6124 - y\ :sub:`4`
8061 6125 - y\ :sub:`3`
8062 - 6126 - y\ :sub:`2`
8063 6127 - y\ :sub:`1`
8064 - 6128 - y\ :sub:`0`
8065 6129 - u\ :sub:`11`
8066 - 6130 - u\ :sub:`10`
8067 6131 - u\ :sub:`9`
8068 - 6132 - u\ :sub:`8`
8069 6133 - u\ :sub:`7`
8070 - 6134 - u\ :sub:`6`
8071 6135 - u\ :sub:`5`
8072 - 6136 - u\ :sub:`4`
8073 6137 - u\ :sub:`3`
8074 - y\ :sub:`9` 6138 - u\ :sub:`2`
8075 6139 - u\ :sub:`1`
8076 - y\ :sub:`8` 6140 - u\ :sub:`0`
8077 6141 * -
8078 - y\ :sub:`7` 6142 -
8079 6143 -
8080 - y\ :sub:`6` 6144 -
8081 6145 -
8082 - y\ :sub:`5` 6146 -
8083 6147 -
8084 - y\ :sub:`4` 6148 -
8085 6149 -
8086 - y\ :sub:`3` 6150 -
8087 6151 -
8088 - y\ :sub:`2` 6152 - y\ :sub:`11`
8089 6153 - y\ :sub:`10`
8090 - y\ :sub:`1` 6154 - y\ :sub:`9`
8091 6155 - y\ :sub:`8`
8092 - y\ :sub:`0` 6156 - y\ :sub:`7`
8093 6157 - y\ :sub:`6`
8094 - .. row 56 6158 - y\ :sub:`5`
8095 6159 - y\ :sub:`4`
8096 - 6160 - y\ :sub:`3`
8097 - 6161 - y\ :sub:`2`
8098 - 6162 - y\ :sub:`1`
8099 - 6163 - y\ :sub:`0`
8100 6164 - v\ :sub:`11`
8101 - 6165 - v\ :sub:`10`
8102 6166 - v\ :sub:`9`
8103 - 6167 - v\ :sub:`8`
8104 6168 - v\ :sub:`7`
8105 - 6169 - v\ :sub:`6`
8106 6170 - v\ :sub:`5`
8107 - 6171 - v\ :sub:`4`
8108 6172 - v\ :sub:`3`
8109 - 6173 - v\ :sub:`2`
8110 6174 - v\ :sub:`1`
8111 - 6175 - v\ :sub:`0`
8112 6176 * .. _MEDIA-BUS-FMT-YVYU12-1X24:
8113 - 6177
8114 6178 - MEDIA_BUS_FMT_YVYU12_1X24
8115 - 6179 - 0x2023
8116 6180 -
8117 - 6181 -
8118 6182 -
8119 - 6183 -
8120 6184 -
8121 - 6185 -
8122 6186 -
8123 - 6187 -
8124 6188 -
8125 - 6189 - y\ :sub:`11`
8126 6190 - y\ :sub:`10`
8127 - 6191 - y\ :sub:`9`
8128 6192 - y\ :sub:`8`
8129 - 6193 - y\ :sub:`7`
8130 6194 - y\ :sub:`6`
8131 - 6195 - y\ :sub:`5`
8132 6196 - y\ :sub:`4`
8133 - 6197 - y\ :sub:`3`
8134 6198 - y\ :sub:`2`
8135 - 6199 - y\ :sub:`1`
8136 6200 - y\ :sub:`0`
8137 - 6201 - v\ :sub:`11`
8138 6202 - v\ :sub:`10`
8139 - 6203 - v\ :sub:`9`
8140 6204 - v\ :sub:`8`
8141 - 6205 - v\ :sub:`7`
8142 6206 - v\ :sub:`6`
8143 - u\ :sub:`9` 6207 - v\ :sub:`5`
8144 6208 - v\ :sub:`4`
8145 - u\ :sub:`8` 6209 - v\ :sub:`3`
8146 6210 - v\ :sub:`2`
8147 - u\ :sub:`7` 6211 - v\ :sub:`1`
8148 6212 - v\ :sub:`0`
8149 - u\ :sub:`6` 6213 * -
8150 6214 -
8151 - u\ :sub:`5` 6215 -
8152 6216 -
8153 - u\ :sub:`4` 6217 -
8154 6218 -
8155 - u\ :sub:`3` 6219 -
8156 6220 -
8157 - u\ :sub:`2` 6221 -
8158 6222 -
8159 - u\ :sub:`1` 6223 -
8160 6224 - y\ :sub:`11`
8161 - u\ :sub:`0` 6225 - y\ :sub:`10`
8162 6226 - y\ :sub:`9`
8163 - .. row 57 6227 - y\ :sub:`8`
8164 6228 - y\ :sub:`7`
8165 - 6229 - y\ :sub:`6`
8166 - 6230 - y\ :sub:`5`
8167 - 6231 - y\ :sub:`4`
8168 - 6232 - y\ :sub:`3`
8169 6233 - y\ :sub:`2`
8170 - 6234 - y\ :sub:`1`
8171 6235 - y\ :sub:`0`
8172 - 6236 - u\ :sub:`11`
8173 6237 - u\ :sub:`10`
8174 - 6238 - u\ :sub:`9`
8175 6239 - u\ :sub:`8`
8176 - 6240 - u\ :sub:`7`
8177 6241 - u\ :sub:`6`
8178 - 6242 - u\ :sub:`5`
8179 6243 - u\ :sub:`4`
8180 - 6244 - u\ :sub:`3`
8181 6245 - u\ :sub:`2`
8182 - 6246 - u\ :sub:`1`
8183 6247 - u\ :sub:`0`
8184 - 6248 * .. _MEDIA-BUS-FMT-YUV10-1X30:
8185 6249
8186 - 6250 - MEDIA_BUS_FMT_YUV10_1X30
8187 6251 - 0x2016
8188 - 6252 -
8189 6253 -
8190 - 6254 -
8191 6255 - y\ :sub:`9`
8192 - 6256 - y\ :sub:`8`
8193 6257 - y\ :sub:`7`
8194 - 6258 - y\ :sub:`6`
8195 6259 - y\ :sub:`5`
8196 - 6260 - y\ :sub:`4`
8197 6261 - y\ :sub:`3`
8198 - 6262 - y\ :sub:`2`
8199 6263 - y\ :sub:`1`
8200 - 6264 - y\ :sub:`0`
8201 6265 - u\ :sub:`9`
8202 - 6266 - u\ :sub:`8`
8203 6267 - u\ :sub:`7`
8204 - 6268 - u\ :sub:`6`
8205 6269 - u\ :sub:`5`
8206 - 6270 - u\ :sub:`4`
8207 6271 - u\ :sub:`3`
8208 - 6272 - u\ :sub:`2`
8209 6273 - u\ :sub:`1`
8210 - 6274 - u\ :sub:`0`
8211 6275 - v\ :sub:`9`
8212 - y\ :sub:`9` 6276 - v\ :sub:`8`
8213 6277 - v\ :sub:`7`
8214 - y\ :sub:`8` 6278 - v\ :sub:`6`
8215 6279 - v\ :sub:`5`
8216 - y\ :sub:`7` 6280 - v\ :sub:`4`
8217 6281 - v\ :sub:`3`
8218 - y\ :sub:`6` 6282 - v\ :sub:`2`
8219 6283 - v\ :sub:`1`
8220 - y\ :sub:`5` 6284 - v\ :sub:`0`
8221 6285 * .. _MEDIA-BUS-FMT-AYUV8-1X32:
8222 - y\ :sub:`4` 6286
8223 6287 - MEDIA_BUS_FMT_AYUV8_1X32
8224 - y\ :sub:`3` 6288 - 0x2017
8225 6289 -
8226 - y\ :sub:`2` 6290 - a\ :sub:`7`
8227 6291 - a\ :sub:`6`
8228 - y\ :sub:`1` 6292 - a\ :sub:`5`
8229 6293 - a\ :sub:`4`
8230 - y\ :sub:`0` 6294 - a\ :sub:`3`
8231 6295 - a\ :sub:`2`
8232 - .. row 58 6296 - a\ :sub:`1`
8233 6297 - a\ :sub:`0`
8234 - 6298 - y\ :sub:`7`
8235 - 6299 - y\ :sub:`6`
8236 - 6300 - y\ :sub:`5`
8237 - 6301 - y\ :sub:`4`
8238 6302 - y\ :sub:`3`
8239 - 6303 - y\ :sub:`2`
8240 6304 - y\ :sub:`1`
8241 - 6305 - y\ :sub:`0`
8242 6306 - u\ :sub:`7`
8243 - 6307 - u\ :sub:`6`
8244 6308 - u\ :sub:`5`
8245 - 6309 - u\ :sub:`4`
8246 6310 - u\ :sub:`3`
8247 - 6311 - u\ :sub:`2`
8248 6312 - u\ :sub:`1`
8249 - 6313 - u\ :sub:`0`
8250 6314 - v\ :sub:`7`
8251 - 6315 - v\ :sub:`6`
8252 6316 - v\ :sub:`5`
8253 - 6317 - v\ :sub:`4`
8254 6318 - v\ :sub:`3`
8255 - 6319 - v\ :sub:`2`
8256 6320 - v\ :sub:`1`
8257 - 6321 - v\ :sub:`0`
8258
8259 -
8260
8261 -
8262
8263 -
8264
8265 -
8266
8267 -
8268
8269 -
8270
8271 -
8272
8273 -
8274
8275 -
8276
8277 -
8278
8279 -
8280
8281 - v\ :sub:`9`
8282
8283 - v\ :sub:`8`
8284
8285 - v\ :sub:`7`
8286
8287 - v\ :sub:`6`
8288
8289 - v\ :sub:`5`
8290
8291 - v\ :sub:`4`
8292
8293 - v\ :sub:`3`
8294
8295 - v\ :sub:`2`
8296
8297 - v\ :sub:`1`
8298
8299 - v\ :sub:`0`
8300
8301 - .. _MEDIA-BUS-FMT-YVYU10-2X10:
8302
8303 - MEDIA_BUS_FMT_YVYU10_2X10
8304
8305 - 0x200c
8306
8307 -
8308 -
8309
8310 -
8311
8312 -
8313
8314 -
8315
8316 -
8317
8318 -
8319
8320 -
8321
8322 -
8323
8324 -
8325
8326 -
8327
8328 -
8329
8330 -
8331
8332 -
8333
8334 -
8335
8336 -
8337
8338 -
8339
8340 -
8341
8342 -
8343
8344 -
8345
8346 -
8347
8348 -
8349
8350 -
8351
8352 - y\ :sub:`9`
8353
8354 - y\ :sub:`8`
8355
8356 - y\ :sub:`7`
8357
8358 - y\ :sub:`6`
8359
8360 - y\ :sub:`5`
8361
8362 - y\ :sub:`4`
8363
8364 - y\ :sub:`3`
8365
8366 - y\ :sub:`2`
8367
8368 - y\ :sub:`1`
8369
8370 - y\ :sub:`0`
8371
8372 - .. row 60
8373
8374 -
8375 -
8376 -
8377 -
8378
8379 -
8380
8381 -
8382
8383 -
8384
8385 -
8386
8387 -
8388
8389 -
8390
8391 -
8392
8393 -
8394
8395 -
8396
8397 -
8398
8399 -
8400
8401 -
8402
8403 -
8404
8405 -
8406
8407 -
8408
8409 -
8410
8411 -
8412
8413 -
8414
8415 -
8416
8417 -
8418
8419 -
8420
8421 - v\ :sub:`9`
8422
8423 - v\ :sub:`8`
8424
8425 - v\ :sub:`7`
8426
8427 - v\ :sub:`6`
8428
8429 - v\ :sub:`5`
8430
8431 - v\ :sub:`4`
8432
8433 - v\ :sub:`3`
8434
8435 - v\ :sub:`2`
8436
8437 - v\ :sub:`1`
8438
8439 - v\ :sub:`0`
8440
8441 - .. row 61
8442
8443 -
8444 -
8445 -
8446 -
8447
8448 -
8449
8450 -
8451
8452 -
8453
8454 -
8455
8456 -
8457
8458 -
8459
8460 -
8461
8462 -
8463
8464 -
8465
8466 -
8467
8468 -
8469
8470 -
8471
8472 -
8473
8474 -
8475
8476 -
8477
8478 -
8479
8480 -
8481
8482 -
8483
8484 -
8485
8486 -
8487
8488 -
8489
8490 - y\ :sub:`9`
8491
8492 - y\ :sub:`8`
8493
8494 - y\ :sub:`7`
8495
8496 - y\ :sub:`6`
8497
8498 - y\ :sub:`5`
8499
8500 - y\ :sub:`4`
8501
8502 - y\ :sub:`3`
8503
8504 - y\ :sub:`2`
8505
8506 - y\ :sub:`1`
8507
8508 - y\ :sub:`0`
8509
8510 - .. row 62
8511
8512 -
8513 -
8514 -
8515 -
8516
8517 -
8518
8519 -
8520
8521 -
8522
8523 -
8524
8525 -
8526
8527 -
8528
8529 -
8530
8531 -
8532
8533 -
8534
8535 -
8536
8537 -
8538
8539 -
8540
8541 -
8542
8543 -
8544
8545 -
8546
8547 -
8548
8549 -
8550
8551 -
8552
8553 -
8554
8555 -
8556
8557 -
8558
8559 - u\ :sub:`9`
8560
8561 - u\ :sub:`8`
8562
8563 - u\ :sub:`7`
8564
8565 - u\ :sub:`6`
8566
8567 - u\ :sub:`5`
8568
8569 - u\ :sub:`4`
8570
8571 - u\ :sub:`3`
8572
8573 - u\ :sub:`2`
8574
8575 - u\ :sub:`1`
8576
8577 - u\ :sub:`0`
8578
8579 - .. _MEDIA-BUS-FMT-Y12-1X12:
8580
8581 - MEDIA_BUS_FMT_Y12_1X12
8582
8583 - 0x2013
8584
8585 -
8586 -
8587
8588 -
8589
8590 -
8591
8592 -
8593
8594 -
8595
8596 -
8597
8598 -
8599
8600 -
8601
8602 -
8603
8604 -
8605
8606 -
8607
8608 -
8609
8610 -
8611
8612 -
8613
8614 -
8615
8616 -
8617
8618 -
8619
8620 -
8621
8622 -
8623
8624 -
8625
8626 - y\ :sub:`11`
8627
8628 - y\ :sub:`10`
8629
8630 - y\ :sub:`9`
8631
8632 - y\ :sub:`8`
8633
8634 - y\ :sub:`7`
8635
8636 - y\ :sub:`6`
8637
8638 - y\ :sub:`5`
8639
8640 - y\ :sub:`4`
8641
8642 - y\ :sub:`3`
8643
8644 - y\ :sub:`2`
8645
8646 - y\ :sub:`1`
8647
8648 - y\ :sub:`0`
8649
8650 - .. _MEDIA-BUS-FMT-UYVY12-2X12:
8651
8652 - MEDIA_BUS_FMT_UYVY12_2X12
8653
8654 - 0x201c
8655
8656 -
8657 -
8658
8659 -
8660
8661 -
8662
8663 -
8664
8665 -
8666
8667 -
8668
8669 -
8670
8671 -
8672
8673 -
8674
8675 -
8676
8677 -
8678
8679 -
8680
8681 -
8682
8683 -
8684
8685 -
8686
8687 -
8688
8689 -
8690
8691 -
8692
8693 -
8694
8695 -
8696
8697 - u\ :sub:`11`
8698
8699 - u\ :sub:`10`
8700
8701 - u\ :sub:`9`
8702
8703 - u\ :sub:`8`
8704
8705 - u\ :sub:`7`
8706
8707 - u\ :sub:`6`
8708
8709 - u\ :sub:`5`
8710
8711 - u\ :sub:`4`
8712
8713 - u\ :sub:`3`
8714
8715 - u\ :sub:`2`
8716
8717 - u\ :sub:`1`
8718
8719 - u\ :sub:`0`
8720
8721 - .. row 65
8722
8723 -
8724 -
8725 -
8726 -
8727
8728 -
8729
8730 -
8731
8732 -
8733
8734 -
8735
8736 -
8737
8738 -
8739
8740 -
8741
8742 -
8743
8744 -
8745
8746 -
8747
8748 -
8749
8750 -
8751
8752 -
8753
8754 -
8755
8756 -
8757
8758 -
8759
8760 -
8761
8762 -
8763
8764 -
8765
8766 - y\ :sub:`11`
8767
8768 - y\ :sub:`10`
8769
8770 - y\ :sub:`9`
8771
8772 - y\ :sub:`8`
8773
8774 - y\ :sub:`7`
8775
8776 - y\ :sub:`6`
8777
8778 - y\ :sub:`5`
8779
8780 - y\ :sub:`4`
8781
8782 - y\ :sub:`3`
8783
8784 - y\ :sub:`2`
8785
8786 - y\ :sub:`1`
8787
8788 - y\ :sub:`0`
8789
8790 - .. row 66
8791
8792 -
8793 -
8794 -
8795 -
8796
8797 -
8798
8799 -
8800
8801 -
8802
8803 -
8804
8805 -
8806
8807 -
8808
8809 -
8810
8811 -
8812
8813 -
8814
8815 -
8816
8817 -
8818
8819 -
8820
8821 -
8822
8823 -
8824
8825 -
8826
8827 -
8828
8829 -
8830
8831 -
8832
8833 -
8834
8835 - v\ :sub:`11`
8836
8837 - v\ :sub:`10`
8838
8839 - v\ :sub:`9`
8840
8841 - v\ :sub:`8`
8842
8843 - v\ :sub:`7`
8844
8845 - v\ :sub:`6`
8846
8847 - v\ :sub:`5`
8848
8849 - v\ :sub:`4`
8850
8851 - v\ :sub:`3`
8852
8853 - v\ :sub:`2`
8854
8855 - v\ :sub:`1`
8856
8857 - v\ :sub:`0`
8858
8859 - .. row 67
8860
8861 -
8862 -
8863 -
8864 -
8865
8866 -
8867
8868 -
8869
8870 -
8871
8872 -
8873
8874 -
8875
8876 -
8877
8878 -
8879
8880 -
8881
8882 -
8883
8884 -
8885
8886 -
8887
8888 -
8889
8890 -
8891
8892 -
8893
8894 -
8895
8896 -
8897
8898 -
8899
8900 -
8901
8902 -
8903
8904 - y\ :sub:`11`
8905
8906 - y\ :sub:`10`
8907
8908 - y\ :sub:`9`
8909
8910 - y\ :sub:`8`
8911
8912 - y\ :sub:`7`
8913
8914 - y\ :sub:`6`
8915
8916 - y\ :sub:`5`
8917
8918 - y\ :sub:`4`
8919
8920 - y\ :sub:`3`
8921
8922 - y\ :sub:`2`
8923
8924 - y\ :sub:`1`
8925
8926 - y\ :sub:`0`
8927
8928 - .. _MEDIA-BUS-FMT-VYUY12-2X12:
8929
8930 - MEDIA_BUS_FMT_VYUY12_2X12
8931
8932 - 0x201d
8933
8934 -
8935 -
8936
8937 -
8938
8939 -
8940
8941 -
8942
8943 -
8944
8945 -
8946
8947 -
8948
8949 -
8950
8951 -
8952
8953 -
8954
8955 -
8956
8957 -
8958
8959 -
8960
8961 -
8962
8963 -
8964
8965 -
8966
8967 -
8968
8969 -
8970
8971 -
8972
8973 -
8974
8975 - v\ :sub:`11`
8976
8977 - v\ :sub:`10`
8978
8979 - v\ :sub:`9`
8980
8981 - v\ :sub:`8`
8982
8983 - v\ :sub:`7`
8984
8985 - v\ :sub:`6`
8986
8987 - v\ :sub:`5`
8988
8989 - v\ :sub:`4`
8990
8991 - v\ :sub:`3`
8992
8993 - v\ :sub:`2`
8994
8995 - v\ :sub:`1`
8996
8997 - v\ :sub:`0`
8998
8999 - .. row 69
9000
9001 -
9002 -
9003 -
9004 -
9005
9006 -
9007
9008 -
9009
9010 -
9011
9012 -
9013
9014 -
9015
9016 -
9017
9018 -
9019
9020 -
9021
9022 -
9023
9024 -
9025
9026 -
9027
9028 -
9029
9030 -
9031
9032 -
9033
9034 -
9035
9036 -
9037
9038 -
9039
9040 -
9041
9042 -
9043
9044 - y\ :sub:`11`
9045
9046 - y\ :sub:`10`
9047
9048 - y\ :sub:`9`
9049
9050 - y\ :sub:`8`
9051
9052 - y\ :sub:`7`
9053
9054 - y\ :sub:`6`
9055
9056 - y\ :sub:`5`
9057
9058 - y\ :sub:`4`
9059
9060 - y\ :sub:`3`
9061
9062 - y\ :sub:`2`
9063
9064 - y\ :sub:`1`
9065
9066 - y\ :sub:`0`
9067
9068 - .. row 70
9069
9070 -
9071 -
9072 -
9073 -
9074
9075 -
9076
9077 -
9078
9079 -
9080
9081 -
9082
9083 -
9084
9085 -
9086
9087 -
9088
9089 -
9090
9091 -
9092
9093 -
9094
9095 -
9096
9097 -
9098
9099 -
9100
9101 -
9102
9103 -
9104
9105 -
9106
9107 -
9108
9109 -
9110
9111 -
9112
9113 - u\ :sub:`11`
9114
9115 - u\ :sub:`10`
9116
9117 - u\ :sub:`9`
9118
9119 - u\ :sub:`8`
9120
9121 - u\ :sub:`7`
9122
9123 - u\ :sub:`6`
9124
9125 - u\ :sub:`5`
9126
9127 - u\ :sub:`4`
9128
9129 - u\ :sub:`3`
9130
9131 - u\ :sub:`2`
9132
9133 - u\ :sub:`1`
9134
9135 - u\ :sub:`0`
9136
9137 - .. row 71
9138
9139 -
9140 -
9141 -
9142 -
9143
9144 -
9145
9146 -
9147
9148 -
9149
9150 -
9151
9152 -
9153
9154 -
9155
9156 -
9157
9158 -
9159
9160 -
9161
9162 -
9163
9164 -
9165
9166 -
9167
9168 -
9169
9170 -
9171
9172 -
9173
9174 -
9175
9176 -
9177
9178 -
9179
9180 -
9181
9182 - y\ :sub:`11`
9183
9184 - y\ :sub:`10`
9185
9186 - y\ :sub:`9`
9187
9188 - y\ :sub:`8`
9189
9190 - y\ :sub:`7`
9191
9192 - y\ :sub:`6`
9193
9194 - y\ :sub:`5`
9195
9196 - y\ :sub:`4`
9197
9198 - y\ :sub:`3`
9199
9200 - y\ :sub:`2`
9201
9202 - y\ :sub:`1`
9203
9204 - y\ :sub:`0`
9205
9206 - .. _MEDIA-BUS-FMT-YUYV12-2X12:
9207
9208 - MEDIA_BUS_FMT_YUYV12_2X12
9209
9210 - 0x201e
9211
9212 -
9213 -
9214
9215 -
9216
9217 -
9218
9219 -
9220
9221 -
9222
9223 -
9224
9225 -
9226
9227 -
9228
9229 -
9230
9231 -
9232
9233 -
9234
9235 -
9236
9237 -
9238
9239 -
9240
9241 -
9242
9243 -
9244
9245 -
9246
9247 -
9248
9249 -
9250
9251 -
9252
9253 - y\ :sub:`11`
9254
9255 - y\ :sub:`10`
9256
9257 - y\ :sub:`9`
9258
9259 - y\ :sub:`8`
9260
9261 - y\ :sub:`7`
9262
9263 - y\ :sub:`6`
9264
9265 - y\ :sub:`5`
9266
9267 - y\ :sub:`4`
9268
9269 - y\ :sub:`3`
9270
9271 - y\ :sub:`2`
9272
9273 - y\ :sub:`1`
9274
9275 - y\ :sub:`0`
9276
9277 - .. row 73
9278
9279 -
9280 -
9281 -
9282 -
9283
9284 -
9285
9286 -
9287
9288 -
9289
9290 -
9291
9292 -
9293
9294 -
9295
9296 -
9297
9298 -
9299
9300 -
9301
9302 -
9303
9304 -
9305
9306 -
9307
9308 -
9309
9310 -
9311
9312 -
9313
9314 -
9315
9316 -
9317
9318 -
9319
9320 -
9321
9322 - u\ :sub:`11`
9323
9324 - u\ :sub:`10`
9325
9326 - u\ :sub:`9`
9327
9328 - u\ :sub:`8`
9329
9330 - u\ :sub:`7`
9331
9332 - u\ :sub:`6`
9333
9334 - u\ :sub:`5`
9335
9336 - u\ :sub:`4`
9337
9338 - u\ :sub:`3`
9339
9340 - u\ :sub:`2`
9341
9342 - u\ :sub:`1`
9343
9344 - u\ :sub:`0`
9345
9346 - .. row 74
9347
9348 -
9349 -
9350 -
9351 -
9352
9353 -
9354
9355 -
9356
9357 -
9358
9359 -
9360
9361 -
9362
9363 -
9364
9365 -
9366
9367 -
9368
9369 -
9370
9371 -
9372
9373 -
9374
9375 -
9376
9377 -
9378
9379 -
9380
9381 -
9382
9383 -
9384
9385 -
9386
9387 -
9388
9389 -
9390
9391 - y\ :sub:`11`
9392
9393 - y\ :sub:`10`
9394
9395 - y\ :sub:`9`
9396
9397 - y\ :sub:`8`
9398
9399 - y\ :sub:`7`
9400
9401 - y\ :sub:`6`
9402
9403 - y\ :sub:`5`
9404
9405 - y\ :sub:`4`
9406
9407 - y\ :sub:`3`
9408
9409 - y\ :sub:`2`
9410
9411 - y\ :sub:`1`
9412
9413 - y\ :sub:`0`
9414
9415 - .. row 75
9416
9417 -
9418 -
9419 -
9420 -
9421
9422 -
9423
9424 -
9425
9426 -
9427
9428 -
9429
9430 -
9431
9432 -
9433
9434 -
9435
9436 -
9437
9438 -
9439
9440 -
9441
9442 -
9443
9444 -
9445
9446 -
9447
9448 -
9449
9450 -
9451
9452 -
9453
9454 -
9455
9456 -
9457
9458 -
9459
9460 - v\ :sub:`11`
9461
9462 - v\ :sub:`10`
9463
9464 - v\ :sub:`9`
9465
9466 - v\ :sub:`8`
9467
9468 - v\ :sub:`7`
9469
9470 - v\ :sub:`6`
9471
9472 - v\ :sub:`5`
9473
9474 - v\ :sub:`4`
9475
9476 - v\ :sub:`3`
9477
9478 - v\ :sub:`2`
9479
9480 - v\ :sub:`1`
9481
9482 - v\ :sub:`0`
9483
9484 - .. _MEDIA-BUS-FMT-YVYU12-2X12:
9485
9486 - MEDIA_BUS_FMT_YVYU12_2X12
9487
9488 - 0x201f
9489
9490 -
9491 -
9492
9493 -
9494
9495 -
9496
9497 -
9498
9499 -
9500
9501 -
9502
9503 -
9504
9505 -
9506
9507 -
9508
9509 -
9510
9511 -
9512
9513 -
9514
9515 -
9516
9517 -
9518
9519 -
9520
9521 -
9522
9523 -
9524
9525 -
9526
9527 -
9528
9529 -
9530
9531 - y\ :sub:`11`
9532
9533 - y\ :sub:`10`
9534
9535 - y\ :sub:`9`
9536
9537 - y\ :sub:`8`
9538
9539 - y\ :sub:`7`
9540
9541 - y\ :sub:`6`
9542
9543 - y\ :sub:`5`
9544
9545 - y\ :sub:`4`
9546
9547 - y\ :sub:`3`
9548
9549 - y\ :sub:`2`
9550
9551 - y\ :sub:`1`
9552
9553 - y\ :sub:`0`
9554
9555 - .. row 77
9556
9557 -
9558 -
9559 -
9560 -
9561
9562 -
9563
9564 -
9565
9566 -
9567
9568 -
9569
9570 -
9571
9572 -
9573
9574 -
9575
9576 -
9577
9578 -
9579
9580 -
9581
9582 -
9583
9584 -
9585
9586 -
9587
9588 -
9589
9590 -
9591
9592 -
9593
9594 -
9595
9596 -
9597
9598 -
9599
9600 - v\ :sub:`11`
9601
9602 - v\ :sub:`10`
9603
9604 - v\ :sub:`9`
9605
9606 - v\ :sub:`8`
9607
9608 - v\ :sub:`7`
9609
9610 - v\ :sub:`6`
9611
9612 - v\ :sub:`5`
9613
9614 - v\ :sub:`4`
9615
9616 - v\ :sub:`3`
9617
9618 - v\ :sub:`2`
9619
9620 - v\ :sub:`1`
9621
9622 - v\ :sub:`0`
9623
9624 - .. row 78
9625
9626 -
9627 -
9628 -
9629 -
9630
9631 -
9632
9633 -
9634
9635 -
9636
9637 -
9638
9639 -
9640
9641 -
9642
9643 -
9644
9645 -
9646
9647 -
9648
9649 -
9650
9651 -
9652
9653 -
9654
9655 -
9656
9657 -
9658
9659 -
9660
9661 -
9662
9663 -
9664
9665 -
9666
9667 -
9668
9669 - y\ :sub:`11`
9670
9671 - y\ :sub:`10`
9672
9673 - y\ :sub:`9`
9674
9675 - y\ :sub:`8`
9676
9677 - y\ :sub:`7`
9678
9679 - y\ :sub:`6`
9680
9681 - y\ :sub:`5`
9682
9683 - y\ :sub:`4`
9684
9685 - y\ :sub:`3`
9686
9687 - y\ :sub:`2`
9688
9689 - y\ :sub:`1`
9690
9691 - y\ :sub:`0`
9692
9693 - .. row 79
9694
9695 -
9696 -
9697 -
9698 -
9699
9700 -
9701
9702 -
9703
9704 -
9705
9706 -
9707
9708 -
9709
9710 -
9711
9712 -
9713
9714 -
9715
9716 -
9717
9718 -
9719
9720 -
9721
9722 -
9723
9724 -
9725
9726 -
9727
9728 -
9729
9730 -
9731
9732 -
9733
9734 -
9735
9736 -
9737
9738 - u\ :sub:`11`
9739
9740 - u\ :sub:`10`
9741
9742 - u\ :sub:`9`
9743
9744 - u\ :sub:`8`
9745
9746 - u\ :sub:`7`
9747
9748 - u\ :sub:`6`
9749
9750 - u\ :sub:`5`
9751
9752 - u\ :sub:`4`
9753
9754 - u\ :sub:`3`
9755
9756 - u\ :sub:`2`
9757
9758 - u\ :sub:`1`
9759
9760 - u\ :sub:`0`
9761
9762 - .. _MEDIA-BUS-FMT-UYVY8-1X16:
9763
9764 - MEDIA_BUS_FMT_UYVY8_1X16
9765
9766 - 0x200f
9767
9768 -
9769 -
9770
9771 -
9772
9773 -
9774
9775 -
9776
9777 -
9778
9779 -
9780
9781 -
9782
9783 -
9784
9785 -
9786
9787 -
9788
9789 -
9790
9791 -
9792
9793 -
9794
9795 -
9796
9797 -
9798
9799 -
9800
9801 - u\ :sub:`7`
9802
9803 - u\ :sub:`6`
9804
9805 - u\ :sub:`5`
9806
9807 - u\ :sub:`4`
9808
9809 - u\ :sub:`3`
9810
9811 - u\ :sub:`2`
9812
9813 - u\ :sub:`1`
9814
9815 - u\ :sub:`0`
9816
9817 - y\ :sub:`7`
9818
9819 - y\ :sub:`6`
9820
9821 - y\ :sub:`5`
9822
9823 - y\ :sub:`4`
9824
9825 - y\ :sub:`3`
9826
9827 - y\ :sub:`2`
9828
9829 - y\ :sub:`1`
9830
9831 - y\ :sub:`0`
9832
9833 - .. row 81
9834
9835 -
9836 -
9837 -
9838 -
9839
9840 -
9841
9842 -
9843
9844 -
9845
9846 -
9847
9848 -
9849
9850 -
9851
9852 -
9853
9854 -
9855
9856 -
9857
9858 -
9859
9860 -
9861
9862 -
9863
9864 -
9865
9866 -
9867
9868 -
9869
9870 - v\ :sub:`7`
9871
9872 - v\ :sub:`6`
9873
9874 - v\ :sub:`5`
9875
9876 - v\ :sub:`4`
9877
9878 - v\ :sub:`3`
9879
9880 - v\ :sub:`2`
9881
9882 - v\ :sub:`1`
9883
9884 - v\ :sub:`0`
9885
9886 - y\ :sub:`7`
9887
9888 - y\ :sub:`6`
9889
9890 - y\ :sub:`5`
9891
9892 - y\ :sub:`4`
9893
9894 - y\ :sub:`3`
9895
9896 - y\ :sub:`2`
9897
9898 - y\ :sub:`1`
9899
9900 - y\ :sub:`0`
9901
9902 - .. _MEDIA-BUS-FMT-VYUY8-1X16:
9903
9904 - MEDIA_BUS_FMT_VYUY8_1X16
9905
9906 - 0x2010
9907
9908 -
9909 -
9910
9911 -
9912
9913 -
9914
9915 -
9916
9917 -
9918
9919 -
9920
9921 -
9922
9923 -
9924
9925 -
9926
9927 -
9928
9929 -
9930
9931 -
9932
9933 -
9934
9935 -
9936
9937 -
9938
9939 -
9940
9941 - v\ :sub:`7`
9942
9943 - v\ :sub:`6`
9944
9945 - v\ :sub:`5`
9946
9947 - v\ :sub:`4`
9948
9949 - v\ :sub:`3`
9950
9951 - v\ :sub:`2`
9952
9953 - v\ :sub:`1`
9954
9955 - v\ :sub:`0`
9956
9957 - y\ :sub:`7`
9958
9959 - y\ :sub:`6`
9960
9961 - y\ :sub:`5`
9962
9963 - y\ :sub:`4`
9964
9965 - y\ :sub:`3`
9966
9967 - y\ :sub:`2`
9968
9969 - y\ :sub:`1`
9970
9971 - y\ :sub:`0`
9972
9973 - .. row 83
9974
9975 -
9976 -
9977 -
9978 -
9979
9980 -
9981
9982 -
9983
9984 -
9985
9986 -
9987
9988 -
9989
9990 -
9991
9992 -
9993
9994 -
9995
9996 -
9997
9998 -
9999
10000 -
10001
10002 -
10003
10004 -
10005
10006 -
10007
10008 -
10009
10010 - u\ :sub:`7`
10011
10012 - u\ :sub:`6`
10013
10014 - u\ :sub:`5`
10015
10016 - u\ :sub:`4`
10017
10018 - u\ :sub:`3`
10019
10020 - u\ :sub:`2`
10021
10022 - u\ :sub:`1`
10023
10024 - u\ :sub:`0`
10025
10026 - y\ :sub:`7`
10027
10028 - y\ :sub:`6`
10029
10030 - y\ :sub:`5`
10031
10032 - y\ :sub:`4`
10033
10034 - y\ :sub:`3`
10035
10036 - y\ :sub:`2`
10037
10038 - y\ :sub:`1`
10039
10040 - y\ :sub:`0`
10041
10042 - .. _MEDIA-BUS-FMT-YUYV8-1X16:
10043
10044 - MEDIA_BUS_FMT_YUYV8_1X16
10045
10046 - 0x2011
10047
10048 -
10049 -
10050
10051 -
10052
10053 -
10054
10055 -
10056
10057 -
10058
10059 -
10060
10061 -
10062
10063 -
10064
10065 -
10066
10067 -
10068
10069 -
10070
10071 -
10072
10073 -
10074
10075 -
10076
10077 -
10078
10079 -
10080
10081 - y\ :sub:`7`
10082
10083 - y\ :sub:`6`
10084
10085 - y\ :sub:`5`
10086
10087 - y\ :sub:`4`
10088
10089 - y\ :sub:`3`
10090
10091 - y\ :sub:`2`
10092
10093 - y\ :sub:`1`
10094
10095 - y\ :sub:`0`
10096
10097 - u\ :sub:`7`
10098
10099 - u\ :sub:`6`
10100
10101 - u\ :sub:`5`
10102
10103 - u\ :sub:`4`
10104
10105 - u\ :sub:`3`
10106
10107 - u\ :sub:`2`
10108
10109 - u\ :sub:`1`
10110
10111 - u\ :sub:`0`
10112
10113 - .. row 85
10114
10115 -
10116 -
10117 -
10118 -
10119
10120 -
10121
10122 -
10123
10124 -
10125
10126 -
10127
10128 -
10129
10130 -
10131
10132 -
10133
10134 -
10135
10136 -
10137
10138 -
10139
10140 -
10141
10142 -
10143
10144 -
10145
10146 -
10147
10148 -
10149
10150 - y\ :sub:`7`
10151
10152 - y\ :sub:`6`
10153
10154 - y\ :sub:`5`
10155
10156 - y\ :sub:`4`
10157
10158 - y\ :sub:`3`
10159
10160 - y\ :sub:`2`
10161
10162 - y\ :sub:`1`
10163
10164 - y\ :sub:`0`
10165
10166 - v\ :sub:`7`
10167
10168 - v\ :sub:`6`
10169
10170 - v\ :sub:`5`
10171
10172 - v\ :sub:`4`
10173
10174 - v\ :sub:`3`
10175
10176 - v\ :sub:`2`
10177
10178 - v\ :sub:`1`
10179
10180 - v\ :sub:`0`
10181
10182 - .. _MEDIA-BUS-FMT-YVYU8-1X16:
10183
10184 - MEDIA_BUS_FMT_YVYU8_1X16
10185
10186 - 0x2012
10187
10188 -
10189 -
10190
10191 -
10192
10193 -
10194
10195 -
10196
10197 -
10198
10199 -
10200
10201 -
10202
10203 -
10204
10205 -
10206
10207 -
10208
10209 -
10210
10211 -
10212
10213 -
10214
10215 -
10216
10217 -
10218
10219 -
10220
10221 - y\ :sub:`7`
10222
10223 - y\ :sub:`6`
10224
10225 - y\ :sub:`5`
10226
10227 - y\ :sub:`4`
10228
10229 - y\ :sub:`3`
10230
10231 - y\ :sub:`2`
10232
10233 - y\ :sub:`1`
10234
10235 - y\ :sub:`0`
10236
10237 - v\ :sub:`7`
10238
10239 - v\ :sub:`6`
10240
10241 - v\ :sub:`5`
10242
10243 - v\ :sub:`4`
10244
10245 - v\ :sub:`3`
10246
10247 - v\ :sub:`2`
10248
10249 - v\ :sub:`1`
10250
10251 - v\ :sub:`0`
10252
10253 - .. row 87
10254
10255 -
10256 -
10257 -
10258 -
10259
10260 -
10261
10262 -
10263
10264 -
10265
10266 -
10267
10268 -
10269
10270 -
10271
10272 -
10273
10274 -
10275
10276 -
10277
10278 -
10279
10280 -
10281
10282 -
10283
10284 -
10285
10286 -
10287
10288 -
10289
10290 - y\ :sub:`7`
10291
10292 - y\ :sub:`6`
10293
10294 - y\ :sub:`5`
10295
10296 - y\ :sub:`4`
10297
10298 - y\ :sub:`3`
10299
10300 - y\ :sub:`2`
10301
10302 - y\ :sub:`1`
10303
10304 - y\ :sub:`0`
10305
10306 - u\ :sub:`7`
10307
10308 - u\ :sub:`6`
10309
10310 - u\ :sub:`5`
10311
10312 - u\ :sub:`4`
10313
10314 - u\ :sub:`3`
10315
10316 - u\ :sub:`2`
10317
10318 - u\ :sub:`1`
10319
10320 - u\ :sub:`0`
10321
10322 - .. _MEDIA-BUS-FMT-YDYUYDYV8-1X16:
10323
10324 - MEDIA_BUS_FMT_YDYUYDYV8_1X16
10325
10326 - 0x2014
10327
10328 -
10329 -
10330
10331 -
10332
10333 -
10334
10335 -
10336
10337 -
10338
10339 -
10340
10341 -
10342
10343 -
10344
10345 -
10346
10347 -
10348
10349 -
10350
10351 -
10352
10353 -
10354
10355 -
10356
10357 -
10358
10359 -
10360
10361 - y\ :sub:`7`
10362
10363 - y\ :sub:`6`
10364
10365 - y\ :sub:`5`
10366
10367 - y\ :sub:`4`
10368
10369 - y\ :sub:`3`
10370
10371 - y\ :sub:`2`
10372
10373 - y\ :sub:`1`
10374
10375 - y\ :sub:`0`
10376
10377 - d
10378
10379 - d
10380
10381 - d
10382
10383 - d
10384
10385 - d
10386
10387 - d
10388
10389 - d
10390
10391 - d
10392
10393 - .. row 89
10394
10395 -
10396 -
10397 -
10398 -
10399
10400 -
10401
10402 -
10403
10404 -
10405
10406 -
10407
10408 -
10409
10410 -
10411
10412 -
10413
10414 -
10415
10416 -
10417
10418 -
10419
10420 -
10421
10422 -
10423
10424 -
10425
10426 -
10427
10428 -
10429
10430 - y\ :sub:`7`
10431
10432 - y\ :sub:`6`
10433
10434 - y\ :sub:`5`
10435
10436 - y\ :sub:`4`
10437
10438 - y\ :sub:`3`
10439
10440 - y\ :sub:`2`
10441
10442 - y\ :sub:`1`
10443
10444 - y\ :sub:`0`
10445
10446 - u\ :sub:`7`
10447
10448 - u\ :sub:`6`
10449
10450 - u\ :sub:`5`
10451
10452 - u\ :sub:`4`
10453
10454 - u\ :sub:`3`
10455
10456 - u\ :sub:`2`
10457
10458 - u\ :sub:`1`
10459
10460 - u\ :sub:`0`
10461
10462 - .. row 90
10463
10464 -
10465 -
10466 -
10467 -
10468
10469 -
10470
10471 -
10472
10473 -
10474
10475 -
10476
10477 -
10478
10479 -
10480
10481 -
10482
10483 -
10484
10485 -
10486
10487 -
10488
10489 -
10490
10491 -
10492
10493 -
10494
10495 -
10496
10497 -
10498
10499 - y\ :sub:`7`
10500
10501 - y\ :sub:`6`
10502
10503 - y\ :sub:`5`
10504
10505 - y\ :sub:`4`
10506
10507 - y\ :sub:`3`
10508
10509 - y\ :sub:`2`
10510
10511 - y\ :sub:`1`
10512
10513 - y\ :sub:`0`
10514
10515 - d
10516
10517 - d
10518
10519 - d
10520
10521 - d
10522
10523 - d
10524
10525 - d
10526
10527 - d
10528
10529 - d
10530
10531 - .. row 91
10532
10533 -
10534 -
10535 -
10536 -
10537
10538 -
10539
10540 -
10541
10542 -
10543
10544 -
10545
10546 -
10547
10548 -
10549
10550 -
10551
10552 -
10553
10554 -
10555
10556 -
10557
10558 -
10559
10560 -
10561
10562 -
10563
10564 -
10565
10566 -
10567
10568 - y\ :sub:`7`
10569
10570 - y\ :sub:`6`
10571
10572 - y\ :sub:`5`
10573
10574 - y\ :sub:`4`
10575
10576 - y\ :sub:`3`
10577
10578 - y\ :sub:`2`
10579
10580 - y\ :sub:`1`
10581
10582 - y\ :sub:`0`
10583
10584 - v\ :sub:`7`
10585
10586 - v\ :sub:`6`
10587
10588 - v\ :sub:`5`
10589
10590 - v\ :sub:`4`
10591
10592 - v\ :sub:`3`
10593
10594 - v\ :sub:`2`
10595
10596 - v\ :sub:`1`
10597
10598 - v\ :sub:`0`
10599
10600 - .. _MEDIA-BUS-FMT-UYVY10-1X20:
10601
10602 - MEDIA_BUS_FMT_UYVY10_1X20
10603
10604 - 0x201a
10605
10606 -
10607 -
10608
10609 -
10610
10611 -
10612
10613 -
10614
10615 -
10616
10617 -
10618
10619 -
10620
10621 -
10622
10623 -
10624
10625 -
10626
10627 -
10628
10629 -
10630
10631 - u\ :sub:`9`
10632
10633 - u\ :sub:`8`
10634
10635 - u\ :sub:`7`
10636
10637 - u\ :sub:`6`
10638
10639 - u\ :sub:`5`
10640
10641 - u\ :sub:`4`
10642
10643 - u\ :sub:`3`
10644
10645 - u\ :sub:`2`
10646
10647 - u\ :sub:`1`
10648
10649 - u\ :sub:`0`
10650
10651 - y\ :sub:`9`
10652
10653 - y\ :sub:`8`
10654
10655 - y\ :sub:`7`
10656
10657 - y\ :sub:`6`
10658
10659 - y\ :sub:`5`
10660
10661 - y\ :sub:`4`
10662
10663 - y\ :sub:`3`
10664
10665 - y\ :sub:`2`
10666
10667 - y\ :sub:`1`
10668
10669 - y\ :sub:`0`
10670
10671 - .. row 93
10672
10673 -
10674 -
10675 -
10676 -
10677
10678 -
10679
10680 -
10681
10682 -
10683
10684 -
10685
10686 -
10687
10688 -
10689
10690 -
10691
10692 -
10693
10694 -
10695
10696 -
10697
10698 -
10699
10700 - v\ :sub:`9`
10701
10702 - v\ :sub:`8`
10703
10704 - v\ :sub:`7`
10705
10706 - v\ :sub:`6`
10707
10708 - v\ :sub:`5`
10709
10710 - v\ :sub:`4`
10711
10712 - v\ :sub:`3`
10713
10714 - v\ :sub:`2`
10715
10716 - v\ :sub:`1`
10717
10718 - v\ :sub:`0`
10719
10720 - y\ :sub:`9`
10721
10722 - y\ :sub:`8`
10723
10724 - y\ :sub:`7`
10725
10726 - y\ :sub:`6`
10727
10728 - y\ :sub:`5`
10729
10730 - y\ :sub:`4`
10731
10732 - y\ :sub:`3`
10733
10734 - y\ :sub:`2`
10735
10736 - y\ :sub:`1`
10737
10738 - y\ :sub:`0`
10739
10740 - .. _MEDIA-BUS-FMT-VYUY10-1X20:
10741
10742 - MEDIA_BUS_FMT_VYUY10_1X20
10743
10744 - 0x201b
10745
10746 -
10747 -
10748
10749 -
10750
10751 -
10752
10753 -
10754
10755 -
10756
10757 -
10758
10759 -
10760
10761 -
10762
10763 -
10764
10765 -
10766
10767 -
10768
10769 -
10770
10771 - v\ :sub:`9`
10772
10773 - v\ :sub:`8`
10774
10775 - v\ :sub:`7`
10776
10777 - v\ :sub:`6`
10778
10779 - v\ :sub:`5`
10780
10781 - v\ :sub:`4`
10782
10783 - v\ :sub:`3`
10784
10785 - v\ :sub:`2`
10786
10787 - v\ :sub:`1`
10788
10789 - v\ :sub:`0`
10790
10791 - y\ :sub:`9`
10792
10793 - y\ :sub:`8`
10794
10795 - y\ :sub:`7`
10796
10797 - y\ :sub:`6`
10798
10799 - y\ :sub:`5`
10800
10801 - y\ :sub:`4`
10802
10803 - y\ :sub:`3`
10804
10805 - y\ :sub:`2`
10806
10807 - y\ :sub:`1`
10808
10809 - y\ :sub:`0`
10810
10811 - .. row 95
10812
10813 -
10814 -
10815 -
10816 -
10817
10818 -
10819
10820 -
10821
10822 -
10823
10824 -
10825
10826 -
10827
10828 -
10829
10830 -
10831
10832 -
10833
10834 -
10835
10836 -
10837
10838 -
10839
10840 - u\ :sub:`9`
10841
10842 - u\ :sub:`8`
10843
10844 - u\ :sub:`7`
10845
10846 - u\ :sub:`6`
10847
10848 - u\ :sub:`5`
10849
10850 - u\ :sub:`4`
10851
10852 - u\ :sub:`3`
10853
10854 - u\ :sub:`2`
10855
10856 - u\ :sub:`1`
10857
10858 - u\ :sub:`0`
10859
10860 - y\ :sub:`9`
10861
10862 - y\ :sub:`8`
10863
10864 - y\ :sub:`7`
10865
10866 - y\ :sub:`6`
10867
10868 - y\ :sub:`5`
10869
10870 - y\ :sub:`4`
10871
10872 - y\ :sub:`3`
10873
10874 - y\ :sub:`2`
10875
10876 - y\ :sub:`1`
10877
10878 - y\ :sub:`0`
10879
10880 - .. _MEDIA-BUS-FMT-YUYV10-1X20:
10881
10882 - MEDIA_BUS_FMT_YUYV10_1X20
10883
10884 - 0x200d
10885
10886 -
10887 -
10888
10889 -
10890
10891 -
10892
10893 -
10894
10895 -
10896
10897 -
10898
10899 -
10900
10901 -
10902
10903 -
10904
10905 -
10906
10907 -
10908
10909 -
10910
10911 - y\ :sub:`9`
10912
10913 - y\ :sub:`8`
10914
10915 - y\ :sub:`7`
10916
10917 - y\ :sub:`6`
10918
10919 - y\ :sub:`5`
10920
10921 - y\ :sub:`4`
10922
10923 - y\ :sub:`3`
10924
10925 - y\ :sub:`2`
10926
10927 - y\ :sub:`1`
10928
10929 - y\ :sub:`0`
10930
10931 - u\ :sub:`9`
10932
10933 - u\ :sub:`8`
10934
10935 - u\ :sub:`7`
10936
10937 - u\ :sub:`6`
10938
10939 - u\ :sub:`5`
10940
10941 - u\ :sub:`4`
10942
10943 - u\ :sub:`3`
10944
10945 - u\ :sub:`2`
10946
10947 - u\ :sub:`1`
10948
10949 - u\ :sub:`0`
10950
10951 - .. row 97
10952
10953 -
10954 -
10955 -
10956 -
10957
10958 -
10959
10960 -
10961
10962 -
10963
10964 -
10965
10966 -
10967
10968 -
10969
10970 -
10971
10972 -
10973
10974 -
10975
10976 -
10977
10978 -
10979
10980 - y\ :sub:`9`
10981
10982 - y\ :sub:`8`
10983
10984 - y\ :sub:`7`
10985
10986 - y\ :sub:`6`
10987
10988 - y\ :sub:`5`
10989
10990 - y\ :sub:`4`
10991
10992 - y\ :sub:`3`
10993
10994 - y\ :sub:`2`
10995
10996 - y\ :sub:`1`
10997
10998 - y\ :sub:`0`
10999
11000 - v\ :sub:`9`
11001
11002 - v\ :sub:`8`
11003
11004 - v\ :sub:`7`
11005
11006 - v\ :sub:`6`
11007
11008 - v\ :sub:`5`
11009
11010 - v\ :sub:`4`
11011
11012 - v\ :sub:`3`
11013
11014 - v\ :sub:`2`
11015
11016 - v\ :sub:`1`
11017
11018 - v\ :sub:`0`
11019
11020 - .. _MEDIA-BUS-FMT-YVYU10-1X20:
11021
11022 - MEDIA_BUS_FMT_YVYU10_1X20
11023
11024 - 0x200e
11025
11026 -
11027 -
11028
11029 -
11030
11031 -
11032
11033 -
11034
11035 -
11036
11037 -
11038
11039 -
11040
11041 -
11042
11043 -
11044
11045 -
11046
11047 -
11048
11049 -
11050
11051 - y\ :sub:`9`
11052
11053 - y\ :sub:`8`
11054
11055 - y\ :sub:`7`
11056
11057 - y\ :sub:`6`
11058
11059 - y\ :sub:`5`
11060
11061 - y\ :sub:`4`
11062
11063 - y\ :sub:`3`
11064
11065 - y\ :sub:`2`
11066
11067 - y\ :sub:`1`
11068
11069 - y\ :sub:`0`
11070
11071 - v\ :sub:`9`
11072
11073 - v\ :sub:`8`
11074
11075 - v\ :sub:`7`
11076
11077 - v\ :sub:`6`
11078
11079 - v\ :sub:`5`
11080
11081 - v\ :sub:`4`
11082
11083 - v\ :sub:`3`
11084
11085 - v\ :sub:`2`
11086
11087 - v\ :sub:`1`
11088
11089 - v\ :sub:`0`
11090
11091 - .. row 99
11092
11093 -
11094 -
11095 -
11096 -
11097
11098 -
11099
11100 -
11101
11102 -
11103
11104 -
11105
11106 -
11107
11108 -
11109
11110 -
11111
11112 -
11113
11114 -
11115
11116 -
11117
11118 -
11119
11120 - y\ :sub:`9`
11121
11122 - y\ :sub:`8`
11123
11124 - y\ :sub:`7`
11125
11126 - y\ :sub:`6`
11127
11128 - y\ :sub:`5`
11129
11130 - y\ :sub:`4`
11131
11132 - y\ :sub:`3`
11133
11134 - y\ :sub:`2`
11135
11136 - y\ :sub:`1`
11137
11138 - y\ :sub:`0`
11139
11140 - u\ :sub:`9`
11141
11142 - u\ :sub:`8`
11143
11144 - u\ :sub:`7`
11145
11146 - u\ :sub:`6`
11147
11148 - u\ :sub:`5`
11149
11150 - u\ :sub:`4`
11151
11152 - u\ :sub:`3`
11153
11154 - u\ :sub:`2`
11155
11156 - u\ :sub:`1`
11157
11158 - u\ :sub:`0`
11159
11160 - .. _MEDIA-BUS-FMT-VUY8-1X24:
11161
11162 - MEDIA_BUS_FMT_VUY8_1X24
11163
11164 - 0x201a
11165
11166 -
11167 -
11168
11169 -
11170
11171 -
11172
11173 -
11174
11175 -
11176
11177 -
11178
11179 -
11180
11181 -
11182
11183 - v\ :sub:`7`
11184
11185 - v\ :sub:`6`
11186
11187 - v\ :sub:`5`
11188
11189 - v\ :sub:`4`
11190
11191 - v\ :sub:`3`
11192
11193 - v\ :sub:`2`
11194
11195 - v\ :sub:`1`
11196
11197 - v\ :sub:`0`
11198
11199 - u\ :sub:`7`
11200
11201 - u\ :sub:`6`
11202
11203 - u\ :sub:`5`
11204
11205 - u\ :sub:`4`
11206
11207 - u\ :sub:`3`
11208
11209 - u\ :sub:`2`
11210
11211 - u\ :sub:`1`
11212
11213 - u\ :sub:`0`
11214
11215 - y\ :sub:`7`
11216
11217 - y\ :sub:`6`
11218
11219 - y\ :sub:`5`
11220
11221 - y\ :sub:`4`
11222
11223 - y\ :sub:`3`
11224
11225 - y\ :sub:`2`
11226
11227 - y\ :sub:`1`
11228
11229 - y\ :sub:`0`
11230
11231 - .. _MEDIA-BUS-FMT-YUV8-1X24:
11232
11233 - MEDIA_BUS_FMT_YUV8_1X24
11234
11235 - 0x2025
11236
11237 -
11238 -
11239
11240 -
11241
11242 -
11243
11244 -
11245
11246 -
11247
11248 -
11249
11250 -
11251
11252 -
11253
11254 - y\ :sub:`7`
11255
11256 - y\ :sub:`6`
11257
11258 - y\ :sub:`5`
11259
11260 - y\ :sub:`4`
11261
11262 - y\ :sub:`3`
11263
11264 - y\ :sub:`2`
11265
11266 - y\ :sub:`1`
11267
11268 - y\ :sub:`0`
11269
11270 - u\ :sub:`7`
11271
11272 - u\ :sub:`6`
11273
11274 - u\ :sub:`5`
11275
11276 - u\ :sub:`4`
11277
11278 - u\ :sub:`3`
11279
11280 - u\ :sub:`2`
11281
11282 - u\ :sub:`1`
11283
11284 - u\ :sub:`0`
11285
11286 - v\ :sub:`7`
11287
11288 - v\ :sub:`6`
11289
11290 - v\ :sub:`5`
11291
11292 - v\ :sub:`4`
11293
11294 - v\ :sub:`3`
11295
11296 - v\ :sub:`2`
11297
11298 - v\ :sub:`1`
11299
11300 - v\ :sub:`0`
11301
11302 - .. _MEDIA-BUS-FMT-UYVY12-1X24:
11303
11304 - MEDIA_BUS_FMT_UYVY12_1X24
11305
11306 - 0x2020
11307
11308 -
11309 -
11310
11311 -
11312
11313 -
11314
11315 -
11316
11317 -
11318
11319 -
11320
11321 -
11322
11323 -
11324
11325 - u\ :sub:`11`
11326
11327 - u\ :sub:`10`
11328
11329 - u\ :sub:`9`
11330
11331 - u\ :sub:`8`
11332
11333 - u\ :sub:`7`
11334
11335 - u\ :sub:`6`
11336
11337 - u\ :sub:`5`
11338
11339 - u\ :sub:`4`
11340
11341 - u\ :sub:`3`
11342
11343 - u\ :sub:`2`
11344
11345 - u\ :sub:`1`
11346
11347 - u\ :sub:`0`
11348
11349 - y\ :sub:`11`
11350
11351 - y\ :sub:`10`
11352
11353 - y\ :sub:`9`
11354
11355 - y\ :sub:`8`
11356
11357 - y\ :sub:`7`
11358
11359 - y\ :sub:`6`
11360
11361 - y\ :sub:`5`
11362
11363 - y\ :sub:`4`
11364
11365 - y\ :sub:`3`
11366
11367 - y\ :sub:`2`
11368
11369 - y\ :sub:`1`
11370
11371 - y\ :sub:`0`
11372
11373 - .. row 103
11374
11375 -
11376 -
11377 -
11378 -
11379
11380 -
11381
11382 -
11383
11384 -
11385
11386 -
11387
11388 -
11389
11390 -
11391
11392 -
11393
11394 - v\ :sub:`11`
11395
11396 - v\ :sub:`10`
11397
11398 - v\ :sub:`9`
11399
11400 - v\ :sub:`8`
11401
11402 - v\ :sub:`7`
11403
11404 - v\ :sub:`6`
11405
11406 - v\ :sub:`5`
11407
11408 - v\ :sub:`4`
11409
11410 - v\ :sub:`3`
11411
11412 - v\ :sub:`2`
11413
11414 - v\ :sub:`1`
11415
11416 - v\ :sub:`0`
11417
11418 - y\ :sub:`11`
11419
11420 - y\ :sub:`10`
11421
11422 - y\ :sub:`9`
11423
11424 - y\ :sub:`8`
11425
11426 - y\ :sub:`7`
11427
11428 - y\ :sub:`6`
11429
11430 - y\ :sub:`5`
11431
11432 - y\ :sub:`4`
11433
11434 - y\ :sub:`3`
11435
11436 - y\ :sub:`2`
11437
11438 - y\ :sub:`1`
11439
11440 - y\ :sub:`0`
11441
11442 - .. _MEDIA-BUS-FMT-VYUY12-1X24:
11443
11444 - MEDIA_BUS_FMT_VYUY12_1X24
11445
11446 - 0x2021
11447
11448 -
11449 -
11450
11451 -
11452
11453 -
11454
11455 -
11456
11457 -
11458
11459 -
11460
11461 -
11462
11463 -
11464
11465 - v\ :sub:`11`
11466
11467 - v\ :sub:`10`
11468
11469 - v\ :sub:`9`
11470
11471 - v\ :sub:`8`
11472
11473 - v\ :sub:`7`
11474
11475 - v\ :sub:`6`
11476
11477 - v\ :sub:`5`
11478
11479 - v\ :sub:`4`
11480
11481 - v\ :sub:`3`
11482
11483 - v\ :sub:`2`
11484
11485 - v\ :sub:`1`
11486
11487 - v\ :sub:`0`
11488
11489 - y\ :sub:`11`
11490
11491 - y\ :sub:`10`
11492
11493 - y\ :sub:`9`
11494
11495 - y\ :sub:`8`
11496
11497 - y\ :sub:`7`
11498
11499 - y\ :sub:`6`
11500
11501 - y\ :sub:`5`
11502
11503 - y\ :sub:`4`
11504
11505 - y\ :sub:`3`
11506
11507 - y\ :sub:`2`
11508
11509 - y\ :sub:`1`
11510
11511 - y\ :sub:`0`
11512
11513 - .. row 105
11514
11515 -
11516 -
11517 -
11518 -
11519
11520 -
11521
11522 -
11523
11524 -
11525
11526 -
11527
11528 -
11529
11530 -
11531
11532 -
11533
11534 - u\ :sub:`11`
11535
11536 - u\ :sub:`10`
11537
11538 - u\ :sub:`9`
11539
11540 - u\ :sub:`8`
11541
11542 - u\ :sub:`7`
11543
11544 - u\ :sub:`6`
11545
11546 - u\ :sub:`5`
11547
11548 - u\ :sub:`4`
11549
11550 - u\ :sub:`3`
11551
11552 - u\ :sub:`2`
11553
11554 - u\ :sub:`1`
11555
11556 - u\ :sub:`0`
11557
11558 - y\ :sub:`11`
11559
11560 - y\ :sub:`10`
11561
11562 - y\ :sub:`9`
11563
11564 - y\ :sub:`8`
11565
11566 - y\ :sub:`7`
11567
11568 - y\ :sub:`6`
11569
11570 - y\ :sub:`5`
11571
11572 - y\ :sub:`4`
11573
11574 - y\ :sub:`3`
11575
11576 - y\ :sub:`2`
11577
11578 - y\ :sub:`1`
11579
11580 - y\ :sub:`0`
11581
11582 - .. _MEDIA-BUS-FMT-YUYV12-1X24:
11583
11584 - MEDIA_BUS_FMT_YUYV12_1X24
11585
11586 - 0x2022
11587
11588 -
11589 -
11590
11591 -
11592
11593 -
11594
11595 -
11596
11597 -
11598
11599 -
11600
11601 -
11602
11603 -
11604
11605 - y\ :sub:`11`
11606
11607 - y\ :sub:`10`
11608
11609 - y\ :sub:`9`
11610
11611 - y\ :sub:`8`
11612
11613 - y\ :sub:`7`
11614
11615 - y\ :sub:`6`
11616
11617 - y\ :sub:`5`
11618
11619 - y\ :sub:`4`
11620
11621 - y\ :sub:`3`
11622
11623 - y\ :sub:`2`
11624
11625 - y\ :sub:`1`
11626
11627 - y\ :sub:`0`
11628
11629 - u\ :sub:`11`
11630
11631 - u\ :sub:`10`
11632
11633 - u\ :sub:`9`
11634
11635 - u\ :sub:`8`
11636
11637 - u\ :sub:`7`
11638
11639 - u\ :sub:`6`
11640
11641 - u\ :sub:`5`
11642
11643 - u\ :sub:`4`
11644
11645 - u\ :sub:`3`
11646
11647 - u\ :sub:`2`
11648
11649 - u\ :sub:`1`
11650
11651 - u\ :sub:`0`
11652
11653 - .. row 107
11654
11655 -
11656 -
11657 -
11658 -
11659
11660 -
11661
11662 -
11663
11664 -
11665
11666 -
11667
11668 -
11669
11670 -
11671
11672 -
11673
11674 - y\ :sub:`11`
11675
11676 - y\ :sub:`10`
11677
11678 - y\ :sub:`9`
11679
11680 - y\ :sub:`8`
11681
11682 - y\ :sub:`7`
11683
11684 - y\ :sub:`6`
11685
11686 - y\ :sub:`5`
11687
11688 - y\ :sub:`4`
11689
11690 - y\ :sub:`3`
11691
11692 - y\ :sub:`2`
11693
11694 - y\ :sub:`1`
11695
11696 - y\ :sub:`0`
11697
11698 - v\ :sub:`11`
11699
11700 - v\ :sub:`10`
11701
11702 - v\ :sub:`9`
11703
11704 - v\ :sub:`8`
11705
11706 - v\ :sub:`7`
11707
11708 - v\ :sub:`6`
11709
11710 - v\ :sub:`5`
11711
11712 - v\ :sub:`4`
11713
11714 - v\ :sub:`3`
11715
11716 - v\ :sub:`2`
11717
11718 - v\ :sub:`1`
11719
11720 - v\ :sub:`0`
11721
11722 - .. _MEDIA-BUS-FMT-YVYU12-1X24:
11723
11724 - MEDIA_BUS_FMT_YVYU12_1X24
11725
11726 - 0x2023
11727
11728 -
11729 -
11730
11731 -
11732
11733 -
11734
11735 -
11736
11737 -
11738
11739 -
11740
11741 -
11742
11743 -
11744
11745 - y\ :sub:`11`
11746
11747 - y\ :sub:`10`
11748
11749 - y\ :sub:`9`
11750
11751 - y\ :sub:`8`
11752
11753 - y\ :sub:`7`
11754
11755 - y\ :sub:`6`
11756
11757 - y\ :sub:`5`
11758
11759 - y\ :sub:`4`
11760
11761 - y\ :sub:`3`
11762
11763 - y\ :sub:`2`
11764
11765 - y\ :sub:`1`
11766
11767 - y\ :sub:`0`
11768
11769 - v\ :sub:`11`
11770
11771 - v\ :sub:`10`
11772
11773 - v\ :sub:`9`
11774
11775 - v\ :sub:`8`
11776
11777 - v\ :sub:`7`
11778
11779 - v\ :sub:`6`
11780
11781 - v\ :sub:`5`
11782
11783 - v\ :sub:`4`
11784
11785 - v\ :sub:`3`
11786
11787 - v\ :sub:`2`
11788
11789 - v\ :sub:`1`
11790
11791 - v\ :sub:`0`
11792
11793 - .. row 109
11794
11795 -
11796 -
11797 -
11798 -
11799
11800 -
11801
11802 -
11803
11804 -
11805
11806 -
11807
11808 -
11809
11810 -
11811
11812 -
11813
11814 - y\ :sub:`11`
11815
11816 - y\ :sub:`10`
11817
11818 - y\ :sub:`9`
11819
11820 - y\ :sub:`8`
11821
11822 - y\ :sub:`7`
11823
11824 - y\ :sub:`6`
11825
11826 - y\ :sub:`5`
11827
11828 - y\ :sub:`4`
11829
11830 - y\ :sub:`3`
11831
11832 - y\ :sub:`2`
11833
11834 - y\ :sub:`1`
11835
11836 - y\ :sub:`0`
11837
11838 - u\ :sub:`11`
11839
11840 - u\ :sub:`10`
11841
11842 - u\ :sub:`9`
11843
11844 - u\ :sub:`8`
11845
11846 - u\ :sub:`7`
11847
11848 - u\ :sub:`6`
11849
11850 - u\ :sub:`5`
11851
11852 - u\ :sub:`4`
11853
11854 - u\ :sub:`3`
11855
11856 - u\ :sub:`2`
11857
11858 - u\ :sub:`1`
11859
11860 - u\ :sub:`0`
11861
11862 - .. _MEDIA-BUS-FMT-YUV10-1X30:
11863
11864 - MEDIA_BUS_FMT_YUV10_1X30
11865
11866 - 0x2016
11867
11868 -
11869 -
11870
11871 -
11872
11873 - y\ :sub:`9`
11874
11875 - y\ :sub:`8`
11876
11877 - y\ :sub:`7`
11878
11879 - y\ :sub:`6`
11880
11881 - y\ :sub:`5`
11882
11883 - y\ :sub:`4`
11884
11885 - y\ :sub:`3`
11886
11887 - y\ :sub:`2`
11888
11889 - y\ :sub:`1`
11890
11891 - y\ :sub:`0`
11892
11893 - u\ :sub:`9`
11894
11895 - u\ :sub:`8`
11896
11897 - u\ :sub:`7`
11898
11899 - u\ :sub:`6`
11900
11901 - u\ :sub:`5`
11902
11903 - u\ :sub:`4`
11904
11905 - u\ :sub:`3`
11906
11907 - u\ :sub:`2`
11908
11909 - u\ :sub:`1`
11910
11911 - u\ :sub:`0`
11912
11913 - v\ :sub:`9`
11914
11915 - v\ :sub:`8`
11916
11917 - v\ :sub:`7`
11918
11919 - v\ :sub:`6`
11920
11921 - v\ :sub:`5`
11922
11923 - v\ :sub:`4`
11924
11925 - v\ :sub:`3`
11926
11927 - v\ :sub:`2`
11928
11929 - v\ :sub:`1`
11930
11931 - v\ :sub:`0`
11932
11933 - .. _MEDIA-BUS-FMT-AYUV8-1X32:
11934
11935 - MEDIA_BUS_FMT_AYUV8_1X32
11936
11937 - 0x2017
11938
11939 -
11940 - a\ :sub:`7`
11941
11942 - a\ :sub:`6`
11943
11944 - a\ :sub:`5`
11945
11946 - a\ :sub:`4`
11947
11948 - a\ :sub:`3`
11949
11950 - a\ :sub:`2`
11951
11952 - a\ :sub:`1`
11953
11954 - a\ :sub:`0`
11955
11956 - y\ :sub:`7`
11957
11958 - y\ :sub:`6`
11959
11960 - y\ :sub:`5`
11961
11962 - y\ :sub:`4`
11963
11964 - y\ :sub:`3`
11965
11966 - y\ :sub:`2`
11967
11968 - y\ :sub:`1`
11969
11970 - y\ :sub:`0`
11971
11972 - u\ :sub:`7`
11973
11974 - u\ :sub:`6`
11975
11976 - u\ :sub:`5`
11977
11978 - u\ :sub:`4`
11979
11980 - u\ :sub:`3`
11981
11982 - u\ :sub:`2`
11983
11984 - u\ :sub:`1`
11985
11986 - u\ :sub:`0`
11987
11988 - v\ :sub:`7`
11989
11990 - v\ :sub:`6`
11991
11992 - v\ :sub:`5`
11993
11994 - v\ :sub:`4`
11995
11996 - v\ :sub:`3`
11997
11998 - v\ :sub:`2`
11999
12000 - v\ :sub:`1`
12001
12002 - v\ :sub:`0`
12003 6322
12004 6323
12005.. raw:: latex 6324.. raw:: latex
@@ -12052,155 +6371,82 @@ The following table lists existing HSV/HSL formats.
12052 :stub-columns: 0 6371 :stub-columns: 0
12053 :widths: 28 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 6372 :widths: 28 7 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
12054 6373
12055 - .. row 1 6374 * - Identifier
12056 6375 - Code
12057 - Identifier 6376 -
12058 6377 - :cspan:`31` Data organization
12059 - Code 6378 * -
12060 6379 -
12061 - 6380 - Bit
12062 - :cspan:`31` Data organization 6381 - 31
12063 6382 - 30
12064 - .. row 2 6383 - 29
12065 6384 - 28
12066 - 6385 - 27
12067 - 6386 - 26
12068 - Bit 6387 - 25
12069 6388 - 24
12070 - 31 6389 - 23
12071 6390 - 22
12072 - 30 6391 - 21
12073 6392 - 20
12074 - 29 6393 - 19
12075 6394 - 18
12076 - 28 6395 - 17
12077 6396 - 16
12078 - 27 6397 - 15
12079 6398 - 14
12080 - 26 6399 - 13
12081 6400 - 12
12082 - 25 6401 - 11
12083 6402 - 10
12084 - 24 6403 - 9
12085 6404 - 8
12086 - 23 6405 - 7
12087 6406 - 6
12088 - 22 6407 - 5
12089 6408 - 4
12090 - 21 6409 - 3
12091 6410 - 2
12092 - 20 6411 - 1
12093 6412 - 0
12094 - 19 6413 * .. _MEDIA-BUS-FMT-AHSV8888-1X32:
12095 6414
12096 - 18 6415 - MEDIA_BUS_FMT_AHSV8888_1X32
12097 6416 - 0x6001
12098 - 17 6417 -
12099 6418 - a\ :sub:`7`
12100 - 16 6419 - a\ :sub:`6`
12101 6420 - a\ :sub:`5`
12102 - 15 6421 - a\ :sub:`4`
12103 6422 - a\ :sub:`3`
12104 - 14 6423 - a\ :sub:`2`
12105 6424 - a\ :sub:`1`
12106 - 13 6425 - a\ :sub:`0`
12107 6426 - h\ :sub:`7`
12108 - 12 6427 - h\ :sub:`6`
12109 6428 - h\ :sub:`5`
12110 - 11 6429 - h\ :sub:`4`
12111 6430 - h\ :sub:`3`
12112 - 10 6431 - h\ :sub:`2`
12113 6432 - h\ :sub:`1`
12114 - 9 6433 - h\ :sub:`0`
12115 6434 - s\ :sub:`7`
12116 - 8 6435 - s\ :sub:`6`
12117 6436 - s\ :sub:`5`
12118 - 7 6437 - s\ :sub:`4`
12119 6438 - s\ :sub:`3`
12120 - 6 6439 - s\ :sub:`2`
12121 6440 - s\ :sub:`1`
12122 - 5 6441 - s\ :sub:`0`
12123 6442 - v\ :sub:`7`
12124 - 4 6443 - v\ :sub:`6`
12125 6444 - v\ :sub:`5`
12126 - 3 6445 - v\ :sub:`4`
12127 6446 - v\ :sub:`3`
12128 - 2 6447 - v\ :sub:`2`
12129 6448 - v\ :sub:`1`
12130 - 1 6449 - v\ :sub:`0`
12131
12132 - 0
12133
12134 - .. _MEDIA-BUS-FMT-AHSV8888-1X32:
12135
12136 - MEDIA_BUS_FMT_AHSV8888_1X32
12137
12138 - 0x6001
12139
12140 -
12141 - a\ :sub:`7`
12142
12143 - a\ :sub:`6`
12144
12145 - a\ :sub:`5`
12146
12147 - a\ :sub:`4`
12148
12149 - a\ :sub:`3`
12150
12151 - a\ :sub:`2`
12152
12153 - a\ :sub:`1`
12154
12155 - a\ :sub:`0`
12156
12157 - h\ :sub:`7`
12158
12159 - h\ :sub:`6`
12160
12161 - h\ :sub:`5`
12162
12163 - h\ :sub:`4`
12164
12165 - h\ :sub:`3`
12166
12167 - h\ :sub:`2`
12168
12169 - h\ :sub:`1`
12170
12171 - h\ :sub:`0`
12172
12173 - s\ :sub:`7`
12174
12175 - s\ :sub:`6`
12176
12177 - s\ :sub:`5`
12178
12179 - s\ :sub:`4`
12180
12181 - s\ :sub:`3`
12182
12183 - s\ :sub:`2`
12184
12185 - s\ :sub:`1`
12186
12187 - s\ :sub:`0`
12188
12189 - v\ :sub:`7`
12190
12191 - v\ :sub:`6`
12192
12193 - v\ :sub:`5`
12194
12195 - v\ :sub:`4`
12196
12197 - v\ :sub:`3`
12198
12199 - v\ :sub:`2`
12200
12201 - v\ :sub:`1`
12202
12203 - v\ :sub:`0`
12204 6450
12205.. raw:: latex 6451.. raw:: latex
12206 6452
@@ -12232,24 +6478,16 @@ The following table lists existing JPEG compressed formats.
12232 :header-rows: 1 6478 :header-rows: 1
12233 :stub-columns: 0 6479 :stub-columns: 0
12234 6480
6481 * - Identifier
6482 - Code
6483 - Remarks
6484 * .. _MEDIA-BUS-FMT-JPEG-1X8:
12235 6485
12236 - .. row 1 6486 - MEDIA_BUS_FMT_JPEG_1X8
12237 6487 - 0x4001
12238 - Identifier 6488 - Besides of its usage for the parallel bus this format is
12239 6489 recommended for transmission of JPEG data over MIPI CSI bus using
12240 - Code 6490 the User Defined 8-bit Data types.
12241
12242 - Remarks
12243
12244 - .. _MEDIA-BUS-FMT-JPEG-1X8:
12245
12246 - MEDIA_BUS_FMT_JPEG_1X8
12247
12248 - 0x4001
12249
12250 - Besides of its usage for the parallel bus this format is
12251 recommended for transmission of JPEG data over MIPI CSI bus using
12252 the User Defined 8-bit Data types.
12253 6491
12254 6492
12255 6493
@@ -12273,20 +6511,12 @@ formats.
12273 :header-rows: 1 6511 :header-rows: 1
12274 :stub-columns: 0 6512 :stub-columns: 0
12275 6513
6514 * - Identifier
6515 - Code
6516 - Comments
6517 * .. _MEDIA-BUS-FMT-S5C-UYVY-JPEG-1X8:
12276 6518
12277 - .. row 1 6519 - MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8
12278 6520 - 0x5001
12279 - Identifier 6521 - Interleaved raw UYVY and JPEG image format with embedded meta-data
12280 6522 used by Samsung S3C73MX camera sensors.
12281 - Code
12282
12283 - Comments
12284
12285 - .. _MEDIA-BUS-FMT-S5C-UYVY-JPEG-1X8:
12286
12287 - MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8
12288
12289 - 0x5001
12290
12291 - Interleaved raw UYVY and JPEG image format with embedded meta-data
12292 used by Samsung S3C73MX camera sensors.
diff --git a/Documentation/media/uapi/v4l/v4l2-selection-flags.rst b/Documentation/media/uapi/v4l/v4l2-selection-flags.rst
index 9ef139f8e21d..1f9a03851d0f 100644
--- a/Documentation/media/uapi/v4l/v4l2-selection-flags.rst
+++ b/Documentation/media/uapi/v4l/v4l2-selection-flags.rst
@@ -14,59 +14,31 @@ Selection flags
14 :header-rows: 1 14 :header-rows: 1
15 :stub-columns: 0 15 :stub-columns: 0
16 16
17 17 * - Flag name
18 - .. row 1 18 - id
19 19 - Definition
20 - Flag name 20 - Valid for V4L2
21 21 - Valid for V4L2 subdev
22 - id 22 * - ``V4L2_SEL_FLAG_GE``
23 23 - (1 << 0)
24 - Definition 24 - Suggest the driver it should choose greater or equal rectangle (in
25 25 size) than was requested. Albeit the driver may choose a lesser
26 - Valid for V4L2 26 size, it will only do so due to hardware limitations. Without this
27 27 flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the
28 - Valid for V4L2 subdev 28 closest possible rectangle.
29 29 - Yes
30 - .. row 2 30 - Yes
31 31 * - ``V4L2_SEL_FLAG_LE``
32 - ``V4L2_SEL_FLAG_GE`` 32 - (1 << 1)
33 33 - Suggest the driver it should choose lesser or equal rectangle (in
34 - (1 << 0) 34 size) than was requested. Albeit the driver may choose a greater
35 35 size, it will only do so due to hardware limitations.
36 - Suggest the driver it should choose greater or equal rectangle (in 36 - Yes
37 size) than was requested. Albeit the driver may choose a lesser 37 - Yes
38 size, it will only do so due to hardware limitations. Without this 38 * - ``V4L2_SEL_FLAG_KEEP_CONFIG``
39 flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the 39 - (1 << 2)
40 closest possible rectangle. 40 - The configuration must not be propagated to any further processing
41 41 steps. If this flag is not given, the configuration is propagated
42 - Yes 42 inside the subdevice to all further processing steps.
43 43 - No
44 - Yes 44 - Yes
45
46 - .. row 3
47
48 - ``V4L2_SEL_FLAG_LE``
49
50 - (1 << 1)
51
52 - Suggest the driver it should choose lesser or equal rectangle (in
53 size) than was requested. Albeit the driver may choose a greater
54 size, it will only do so due to hardware limitations.
55
56 - Yes
57
58 - Yes
59
60 - .. row 4
61
62 - ``V4L2_SEL_FLAG_KEEP_CONFIG``
63
64 - (1 << 2)
65
66 - The configuration must not be propagated to any further processing
67 steps. If this flag is not given, the configuration is propagated
68 inside the subdevice to all further processing steps.
69
70 - No
71
72 - Yes
diff --git a/Documentation/media/uapi/v4l/v4l2-selection-targets.rst b/Documentation/media/uapi/v4l/v4l2-selection-targets.rst
index a82b58f5ebcf..cab07de6f4da 100644
--- a/Documentation/media/uapi/v4l/v4l2-selection-targets.rst
+++ b/Documentation/media/uapi/v4l/v4l2-selection-targets.rst
@@ -18,120 +18,57 @@ of the two interfaces they are used.
18 :header-rows: 1 18 :header-rows: 1
19 :stub-columns: 0 19 :stub-columns: 0
20 20
21 21 * - Target name
22 - .. row 1 22 - id
23 23 - Definition
24 - Target name 24 - Valid for V4L2
25 25 - Valid for V4L2 subdev
26 - id 26 * - ``V4L2_SEL_TGT_CROP``
27 27 - 0x0000
28 - Definition 28 - Crop rectangle. Defines the cropped area.
29 29 - Yes
30 - Valid for V4L2 30 - Yes
31 31 * - ``V4L2_SEL_TGT_CROP_DEFAULT``
32 - Valid for V4L2 subdev 32 - 0x0001
33 33 - Suggested cropping rectangle that covers the "whole picture".
34 - .. row 2 34 - Yes
35 35 - No
36 - ``V4L2_SEL_TGT_CROP`` 36 * - ``V4L2_SEL_TGT_CROP_BOUNDS``
37 37 - 0x0002
38 - 0x0000 38 - Bounds of the crop rectangle. All valid crop rectangles fit inside
39 39 the crop bounds rectangle.
40 - Crop rectangle. Defines the cropped area. 40 - Yes
41 41 - Yes
42 - Yes 42 * - ``V4L2_SEL_TGT_NATIVE_SIZE``
43 43 - 0x0003
44 - Yes 44 - The native size of the device, e.g. a sensor's pixel array.
45 45 ``left`` and ``top`` fields are zero for this target. Setting the
46 - .. row 3 46 native size will generally only make sense for memory to memory
47 47 devices where the software can create a canvas of a given size in
48 - ``V4L2_SEL_TGT_CROP_DEFAULT`` 48 which for example a video frame can be composed. In that case
49 49 V4L2_SEL_TGT_NATIVE_SIZE can be used to configure the size of
50 - 0x0001 50 that canvas.
51 51 - Yes
52 - Suggested cropping rectangle that covers the "whole picture". 52 - Yes
53 53 * - ``V4L2_SEL_TGT_COMPOSE``
54 - Yes 54 - 0x0100
55 55 - Compose rectangle. Used to configure scaling and composition.
56 - No 56 - Yes
57 57 - Yes
58 - .. row 4 58 * - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
59 59 - 0x0101
60 - ``V4L2_SEL_TGT_CROP_BOUNDS`` 60 - Suggested composition rectangle that covers the "whole picture".
61 61 - Yes
62 - 0x0002 62 - No
63 63 * - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
64 - Bounds of the crop rectangle. All valid crop rectangles fit inside 64 - 0x0102
65 the crop bounds rectangle. 65 - Bounds of the compose rectangle. All valid compose rectangles fit
66 66 inside the compose bounds rectangle.
67 - Yes 67 - Yes
68 68 - Yes
69 - Yes 69 * - ``V4L2_SEL_TGT_COMPOSE_PADDED``
70 70 - 0x0103
71 - .. row 5 71 - The active area and all padding pixels that are inserted or
72 72 modified by hardware.
73 - ``V4L2_SEL_TGT_NATIVE_SIZE`` 73 - Yes
74 74 - No
75 - 0x0003
76
77 - The native size of the device, e.g. a sensor's pixel array.
78 ``left`` and ``top`` fields are zero for this target. Setting the
79 native size will generally only make sense for memory to memory
80 devices where the software can create a canvas of a given size in
81 which for example a video frame can be composed. In that case
82 V4L2_SEL_TGT_NATIVE_SIZE can be used to configure the size of
83 that canvas.
84
85 - Yes
86
87 - Yes
88
89 - .. row 6
90
91 - ``V4L2_SEL_TGT_COMPOSE``
92
93 - 0x0100
94
95 - Compose rectangle. Used to configure scaling and composition.
96
97 - Yes
98
99 - Yes
100
101 - .. row 7
102
103 - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
104
105 - 0x0101
106
107 - Suggested composition rectangle that covers the "whole picture".
108
109 - Yes
110
111 - No
112
113 - .. row 8
114
115 - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
116
117 - 0x0102
118
119 - Bounds of the compose rectangle. All valid compose rectangles fit
120 inside the compose bounds rectangle.
121
122 - Yes
123
124 - Yes
125
126 - .. row 9
127
128 - ``V4L2_SEL_TGT_COMPOSE_PADDED``
129
130 - 0x0103
131
132 - The active area and all padding pixels that are inserted or
133 modified by hardware.
134
135 - Yes
136
137 - No
diff --git a/Documentation/media/uapi/v4l/vidioc-create-bufs.rst b/Documentation/media/uapi/v4l/vidioc-create-bufs.rst
index 810634e47d54..aaca12fca06e 100644
--- a/Documentation/media/uapi/v4l/vidioc-create-bufs.rst
+++ b/Documentation/media/uapi/v4l/vidioc-create-bufs.rst
@@ -80,55 +80,30 @@ than the number requested.
80 :stub-columns: 0 80 :stub-columns: 0
81 :widths: 1 1 2 81 :widths: 1 1 2
82 82
83 83 * - __u32
84 - .. row 1 84 - ``index``
85 85 - The starting buffer index, returned by the driver.
86 - __u32 86 * - __u32
87 87 - ``count``
88 - ``index`` 88 - The number of buffers requested or granted. If count == 0, then
89 89 :ref:`VIDIOC_CREATE_BUFS` will set ``index`` to the current number of
90 - The starting buffer index, returned by the driver. 90 created buffers, and it will check the validity of ``memory`` and
91 91 ``format.type``. If those are invalid -1 is returned and errno is
92 - .. row 2 92 set to ``EINVAL`` error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns
93 93 0. It will never set errno to ``EBUSY`` error code in this particular
94 - __u32 94 case.
95 95 * - __u32
96 - ``count`` 96 - ``memory``
97 97 - Applications set this field to ``V4L2_MEMORY_MMAP``,
98 - The number of buffers requested or granted. If count == 0, then 98 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See
99 :ref:`VIDIOC_CREATE_BUFS` will set ``index`` to the current number of 99 :c:type:`v4l2_memory`
100 created buffers, and it will check the validity of ``memory`` and 100 * - struct :c:type:`v4l2_format`
101 ``format.type``. If those are invalid -1 is returned and errno is 101 - ``format``
102 set to ``EINVAL`` error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns 102 - Filled in by the application, preserved by the driver.
103 0. It will never set errno to ``EBUSY`` error code in this particular 103 * - __u32
104 case. 104 - ``reserved``\ [8]
105 105 - A place holder for future extensions. Drivers and applications
106 - .. row 3 106 must set the array to zero.
107
108 - __u32
109
110 - ``memory``
111
112 - Applications set this field to ``V4L2_MEMORY_MMAP``,
113 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See
114 :c:type:`v4l2_memory`
115
116 - .. row 4
117
118 - struct :c:type:`v4l2_format`
119
120 - ``format``
121
122 - Filled in by the application, preserved by the driver.
123
124 - .. row 5
125
126 - __u32
127
128 - ``reserved``\ [8]
129
130 - A place holder for future extensions. Drivers and applications
131 must set the array to zero.
132 107
133 108
134Return Value 109Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-cropcap.rst b/Documentation/media/uapi/v4l/vidioc-cropcap.rst
index f7d448cad4eb..f21a69b554e1 100644
--- a/Documentation/media/uapi/v4l/vidioc-cropcap.rst
+++ b/Documentation/media/uapi/v4l/vidioc-cropcap.rst
@@ -59,56 +59,36 @@ overlay devices.
59 :stub-columns: 0 59 :stub-columns: 0
60 :widths: 1 1 2 60 :widths: 1 1 2
61 61
62 62 * - __u32
63 - .. row 1 63 - ``type``
64 64 - Type of the data stream, set by the application. Only these types
65 - __u32 65 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``,
66 66 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and
67 - ``type`` 67 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
68 68 * - struct :ref:`v4l2_rect <v4l2-rect-crop>`
69 - Type of the data stream, set by the application. Only these types 69 - ``bounds``
70 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``, 70 - Defines the window within capturing or output is possible, this
71 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and 71 may exclude for example the horizontal and vertical blanking
72 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`. 72 areas. The cropping rectangle cannot exceed these limits. Width
73 73 and height are defined in pixels, the driver writer is free to
74 - .. row 2 74 choose origin and units of the coordinate system in the analog
75 75 domain.
76 - struct :ref:`v4l2_rect <v4l2-rect-crop>` 76 * - struct :ref:`v4l2_rect <v4l2-rect-crop>`
77 77 - ``defrect``
78 - ``bounds`` 78 - Default cropping rectangle, it shall cover the "whole picture".
79 79 Assuming pixel aspect 1/1 this could be for example a 640 × 480
80 - Defines the window within capturing or output is possible, this 80 rectangle for NTSC, a 768 × 576 rectangle for PAL and SECAM
81 may exclude for example the horizontal and vertical blanking 81 centered over the active picture area. The same co-ordinate system
82 areas. The cropping rectangle cannot exceed these limits. Width 82 as for ``bounds`` is used.
83 and height are defined in pixels, the driver writer is free to 83 * - struct :c:type:`v4l2_fract`
84 choose origin and units of the coordinate system in the analog 84 - ``pixelaspect``
85 domain. 85 - This is the pixel aspect (y / x) when no scaling is applied, the
86 86 ratio of the actual sampling frequency and the frequency required
87 - .. row 3 87 to get square pixels.
88 88
89 - struct :ref:`v4l2_rect <v4l2-rect-crop>` 89 When cropping coordinates refer to square pixels, the driver sets
90 90 ``pixelaspect`` to 1/1. Other common values are 54/59 for PAL and
91 - ``defrect`` 91 SECAM, 11/10 for NTSC sampled according to [:ref:`itu601`].
92
93 - Default cropping rectangle, it shall cover the "whole picture".
94 Assuming pixel aspect 1/1 this could be for example a 640 × 480
95 rectangle for NTSC, a 768 × 576 rectangle for PAL and SECAM
96 centered over the active picture area. The same co-ordinate system
97 as for ``bounds`` is used.
98
99 - .. row 4
100
101 - struct :c:type:`v4l2_fract`
102
103 - ``pixelaspect``
104
105 - This is the pixel aspect (y / x) when no scaling is applied, the
106 ratio of the actual sampling frequency and the frequency required
107 to get square pixels.
108
109 When cropping coordinates refer to square pixels, the driver sets
110 ``pixelaspect`` to 1/1. Other common values are 54/59 for PAL and
111 SECAM, 11/10 for NTSC sampled according to [:ref:`itu601`].
112 92
113 93
114 94
@@ -121,40 +101,20 @@ overlay devices.
121 :stub-columns: 0 101 :stub-columns: 0
122 :widths: 1 1 2 102 :widths: 1 1 2
123 103
124 104 * - __s32
125 - .. row 1 105 - ``left``
126 106 - Horizontal offset of the top, left corner of the rectangle, in
127 - __s32 107 pixels.
128 108 * - __s32
129 - ``left`` 109 - ``top``
130 110 - Vertical offset of the top, left corner of the rectangle, in
131 - Horizontal offset of the top, left corner of the rectangle, in 111 pixels.
132 pixels. 112 * - __u32
133 113 - ``width``
134 - .. row 2 114 - Width of the rectangle, in pixels.
135 115 * - __u32
136 - __s32 116 - ``height``
137 117 - Height of the rectangle, in pixels.
138 - ``top``
139
140 - Vertical offset of the top, left corner of the rectangle, in
141 pixels.
142
143 - .. row 3
144
145 - __u32
146
147 - ``width``
148
149 - Width of the rectangle, in pixels.
150
151 - .. row 4
152
153 - __u32
154
155 - ``height``
156
157 - Height of the rectangle, in pixels.
158 118
159 119
160Return Value 120Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-dbg-g-chip-info.rst b/Documentation/media/uapi/v4l/vidioc-dbg-g-chip-info.rst
index f9d76f3d519d..e1e5507e79ff 100644
--- a/Documentation/media/uapi/v4l/vidioc-dbg-g-chip-info.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dbg-g-chip-info.rst
@@ -85,40 +85,21 @@ instructions.
85 :stub-columns: 0 85 :stub-columns: 0
86 :widths: 1 1 1 2 86 :widths: 1 1 1 2
87 87
88 88 * - __u32
89 - .. row 1 89 - ``type``
90 90 - See :ref:`name-chip-match-types` for a list of possible types.
91 - __u32 91 * - union
92 92 - (anonymous)
93 - ``type`` 93 * -
94 94 - __u32
95 - See :ref:`name-chip-match-types` for a list of possible types. 95 - ``addr``
96 96 - Match a chip by this number, interpreted according to the ``type``
97 - .. row 2 97 field.
98 98 * -
99 - union 99 - char
100 100 - ``name[32]``
101 - (anonymous) 101 - Match a chip by this name, interpreted according to the ``type``
102 102 field. Currently unused.
103 - .. row 3
104
105 -
106 - __u32
107
108 - ``addr``
109
110 - Match a chip by this number, interpreted according to the ``type``
111 field.
112
113 - .. row 4
114
115 -
116 - char
117
118 - ``name[32]``
119
120 - Match a chip by this name, interpreted according to the ``type``
121 field. Currently unused.
122 103
123 104
124 105
@@ -131,41 +112,21 @@ instructions.
131 :stub-columns: 0 112 :stub-columns: 0
132 :widths: 1 1 2 113 :widths: 1 1 2
133 114
134 115 * - struct v4l2_dbg_match
135 - .. row 1 116 - ``match``
136 117 - How to match the chip, see :ref:`name-v4l2-dbg-match`.
137 - struct v4l2_dbg_match 118 * - char
138 119 - ``name[32]``
139 - ``match`` 120 - The name of the chip.
140 121 * - __u32
141 - How to match the chip, see :ref:`name-v4l2-dbg-match`. 122 - ``flags``
142 123 - Set by the driver. If ``V4L2_CHIP_FL_READABLE`` is set, then the
143 - .. row 2 124 driver supports reading registers from the device. If
144 125 ``V4L2_CHIP_FL_WRITABLE`` is set, then it supports writing
145 - char 126 registers.
146 127 * - __u32
147 - ``name[32]`` 128 - ``reserved[8]``
148 129 - Reserved fields, both application and driver must set these to 0.
149 - The name of the chip.
150
151 - .. row 3
152
153 - __u32
154
155 - ``flags``
156
157 - Set by the driver. If ``V4L2_CHIP_FL_READABLE`` is set, then the
158 driver supports reading registers from the device. If
159 ``V4L2_CHIP_FL_WRITABLE`` is set, then it supports writing
160 registers.
161
162 - .. row 4
163
164 - __u32
165
166 - ``reserved[8]``
167
168 - Reserved fields, both application and driver must set these to 0.
169 130
170 131
171 132
@@ -178,23 +139,13 @@ instructions.
178 :stub-columns: 0 139 :stub-columns: 0
179 :widths: 3 1 4 140 :widths: 3 1 4
180 141
181 142 * - ``V4L2_CHIP_MATCH_BRIDGE``
182 - .. row 1 143 - 0
183 144 - Match the nth chip on the card, zero for the bridge chip. Does not
184 - ``V4L2_CHIP_MATCH_BRIDGE`` 145 match sub-devices.
185 146 * - ``V4L2_CHIP_MATCH_SUBDEV``
186 - 0 147 - 4
187 148 - Match the nth sub-device.
188 - Match the nth chip on the card, zero for the bridge chip. Does not
189 match sub-devices.
190
191 - .. row 2
192
193 - ``V4L2_CHIP_MATCH_SUBDEV``
194
195 - 4
196
197 - Match the nth sub-device.
198 149
199 150
200Return Value 151Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst b/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
index b875ee2aece7..5960a6547f41 100644
--- a/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
@@ -94,40 +94,21 @@ instructions.
94 :stub-columns: 0 94 :stub-columns: 0
95 :widths: 1 1 1 2 95 :widths: 1 1 1 2
96 96
97 97 * - __u32
98 - .. row 1 98 - ``type``
99 99 - See :ref:`chip-match-types` for a list of possible types.
100 - __u32 100 * - union
101 101 - (anonymous)
102 - ``type`` 102 * -
103 103 - __u32
104 - See :ref:`chip-match-types` for a list of possible types. 104 - ``addr``
105 105 - Match a chip by this number, interpreted according to the ``type``
106 - .. row 2 106 field.
107 107 * -
108 - union 108 - char
109 109 - ``name[32]``
110 - (anonymous) 110 - Match a chip by this name, interpreted according to the ``type``
111 111 field. Currently unused.
112 - .. row 3
113
114 -
115 - __u32
116
117 - ``addr``
118
119 - Match a chip by this number, interpreted according to the ``type``
120 field.
121
122 - .. row 4
123
124 -
125 - char
126
127 - ``name[32]``
128
129 - Match a chip by this name, interpreted according to the ``type``
130 field. Currently unused.
131 112
132 113
133 114
@@ -137,38 +118,18 @@ instructions.
137 :header-rows: 0 118 :header-rows: 0
138 :stub-columns: 0 119 :stub-columns: 0
139 120
140 121 * - struct v4l2_dbg_match
141 - .. row 1 122 - ``match``
142 123 - How to match the chip, see :c:type:`v4l2_dbg_match`.
143 - struct v4l2_dbg_match 124 * - __u32
144 125 - ``size``
145 - ``match`` 126 - The register size in bytes.
146 127 * - __u64
147 - How to match the chip, see :c:type:`v4l2_dbg_match`. 128 - ``reg``
148 129 - A register number.
149 - .. row 2 130 * - __u64
150 131 - ``val``
151 - __u32 132 - The value read from, or to be written into the register.
152
153 - ``size``
154
155 - The register size in bytes.
156
157 - .. row 3
158
159 - __u64
160
161 - ``reg``
162
163 - A register number.
164
165 - .. row 4
166
167 - __u64
168
169 - ``val``
170
171 - The value read from, or to be written into the register.
172 133
173 134
174 135
@@ -181,23 +142,13 @@ instructions.
181 :stub-columns: 0 142 :stub-columns: 0
182 :widths: 3 1 4 143 :widths: 3 1 4
183 144
184 145 * - ``V4L2_CHIP_MATCH_BRIDGE``
185 - .. row 1 146 - 0
186 147 - Match the nth chip on the card, zero for the bridge chip. Does not
187 - ``V4L2_CHIP_MATCH_BRIDGE`` 148 match sub-devices.
188 149 * - ``V4L2_CHIP_MATCH_SUBDEV``
189 - 0 150 - 4
190 151 - Match the nth sub-device.
191 - Match the nth chip on the card, zero for the bridge chip. Does not
192 match sub-devices.
193
194 - .. row 2
195
196 - ``V4L2_CHIP_MATCH_SUBDEV``
197
198 - 4
199
200 - Match the nth sub-device.
201 152
202 153
203Return Value 154Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-decoder-cmd.rst b/Documentation/media/uapi/v4l/vidioc-decoder-cmd.rst
index cade4603e138..85c916b0ce07 100644
--- a/Documentation/media/uapi/v4l/vidioc-decoder-cmd.rst
+++ b/Documentation/media/uapi/v4l/vidioc-decoder-cmd.rst
@@ -70,125 +70,75 @@ introduced in Linux 3.3.
70 :stub-columns: 0 70 :stub-columns: 0
71 :widths: 11 24 12 16 106 71 :widths: 11 24 12 16 106
72 72
73 73 * - __u32
74 - .. row 1 74 - ``cmd``
75 75 -
76 - __u32 76 -
77 77 - The decoder command, see :ref:`decoder-cmds`.
78 - ``cmd`` 78 * - __u32
79 79 - ``flags``
80 - 80 -
81 - 81 -
82 - The decoder command, see :ref:`decoder-cmds`. 82 - Flags to go with the command. If no flags are defined for this
83 83 command, drivers and applications must set this field to zero.
84 - .. row 2 84 * - union
85 85 - (anonymous)
86 - __u32 86 -
87 87 -
88 - ``flags`` 88 -
89 89 * -
90 - 90 - struct
91 - 91 - ``start``
92 - Flags to go with the command. If no flags are defined for this 92 -
93 command, drivers and applications must set this field to zero. 93 - Structure containing additional data for the
94 94 ``V4L2_DEC_CMD_START`` command.
95 - .. row 3 95 * -
96 96 -
97 - union 97 - __s32
98 98 - ``speed``
99 - (anonymous) 99 - Playback speed and direction. The playback speed is defined as
100 100 ``speed``/1000 of the normal speed. So 1000 is normal playback.
101 - 101 Negative numbers denote reverse playback, so -1000 does reverse
102 - 102 playback at normal speed. Speeds -1, 0 and 1 have special
103 - 103 meanings: speed 0 is shorthand for 1000 (normal playback). A speed
104 104 of 1 steps just one frame forward, a speed of -1 steps just one
105 - .. row 4 105 frame back.
106 106 * -
107 - 107 -
108 - struct 108 - __u32
109 109 - ``format``
110 - ``start`` 110 - Format restrictions. This field is set by the driver, not the
111 111 application. Possible values are ``V4L2_DEC_START_FMT_NONE`` if
112 - 112 there are no format restrictions or ``V4L2_DEC_START_FMT_GOP`` if
113 - Structure containing additional data for the 113 the decoder operates on full GOPs (*Group Of Pictures*). This is
114 ``V4L2_DEC_CMD_START`` command. 114 usually the case for reverse playback: the decoder needs full
115 115 GOPs, which it can then play in reverse order. So to implement
116 - .. row 5 116 reverse playback the application must feed the decoder the last
117 117 GOP in the video file, then the GOP before that, etc. etc.
118 - 118 * -
119 - 119 - struct
120 - __s32 120 - ``stop``
121 121 -
122 - ``speed`` 122 - Structure containing additional data for the ``V4L2_DEC_CMD_STOP``
123 123 command.
124 - Playback speed and direction. The playback speed is defined as 124 * -
125 ``speed``/1000 of the normal speed. So 1000 is normal playback. 125 -
126 Negative numbers denote reverse playback, so -1000 does reverse 126 - __u64
127 playback at normal speed. Speeds -1, 0 and 1 have special 127 - ``pts``
128 meanings: speed 0 is shorthand for 1000 (normal playback). A speed 128 - Stop playback at this ``pts`` or immediately if the playback is
129 of 1 steps just one frame forward, a speed of -1 steps just one 129 already past that timestamp. Leave to 0 if you want to stop after
130 frame back. 130 the last frame was decoded.
131 131 * -
132 - .. row 6 132 - struct
133 133 - ``raw``
134 - 134 -
135 - 135 -
136 - __u32 136 * -
137 137 -
138 - ``format`` 138 - __u32
139 139 - ``data``\ [16]
140 - Format restrictions. This field is set by the driver, not the 140 - Reserved for future extensions. Drivers and applications must set
141 application. Possible values are ``V4L2_DEC_START_FMT_NONE`` if 141 the array to zero.
142 there are no format restrictions or ``V4L2_DEC_START_FMT_GOP`` if
143 the decoder operates on full GOPs (*Group Of Pictures*). This is
144 usually the case for reverse playback: the decoder needs full
145 GOPs, which it can then play in reverse order. So to implement
146 reverse playback the application must feed the decoder the last
147 GOP in the video file, then the GOP before that, etc. etc.
148
149 - .. row 7
150
151 -
152 - struct
153
154 - ``stop``
155
156 -
157 - Structure containing additional data for the ``V4L2_DEC_CMD_STOP``
158 command.
159
160 - .. row 8
161
162 -
163 -
164 - __u64
165
166 - ``pts``
167
168 - Stop playback at this ``pts`` or immediately if the playback is
169 already past that timestamp. Leave to 0 if you want to stop after
170 the last frame was decoded.
171
172 - .. row 9
173
174 -
175 - struct
176
177 - ``raw``
178
179 -
180 -
181
182 - .. row 10
183
184 -
185 -
186 - __u32
187
188 - ``data``\ [16]
189
190 - Reserved for future extensions. Drivers and applications must set
191 the array to zero.
192 142
193 143
194 144
@@ -201,68 +151,48 @@ introduced in Linux 3.3.
201 :stub-columns: 0 151 :stub-columns: 0
202 :widths: 56 6 113 152 :widths: 56 6 113
203 153
204 154 * - ``V4L2_DEC_CMD_START``
205 - .. row 1 155 - 0
206 156 - Start the decoder. When the decoder is already running or paused,
207 - ``V4L2_DEC_CMD_START`` 157 this command will just change the playback speed. That means that
208 158 calling ``V4L2_DEC_CMD_START`` when the decoder was paused will
209 - 0 159 *not* resume the decoder. You have to explicitly call
210 160 ``V4L2_DEC_CMD_RESUME`` for that. This command has one flag:
211 - Start the decoder. When the decoder is already running or paused, 161 ``V4L2_DEC_CMD_START_MUTE_AUDIO``. If set, then audio will be
212 this command will just change the playback speed. That means that 162 muted when playing back at a non-standard speed.
213 calling ``V4L2_DEC_CMD_START`` when the decoder was paused will 163 * - ``V4L2_DEC_CMD_STOP``
214 *not* resume the decoder. You have to explicitly call 164 - 1
215 ``V4L2_DEC_CMD_RESUME`` for that. This command has one flag: 165 - Stop the decoder. When the decoder is already stopped, this
216 ``V4L2_DEC_CMD_START_MUTE_AUDIO``. If set, then audio will be 166 command does nothing. This command has two flags: if
217 muted when playing back at a non-standard speed. 167 ``V4L2_DEC_CMD_STOP_TO_BLACK`` is set, then the decoder will set
218 168 the picture to black after it stopped decoding. Otherwise the last
219 - .. row 2 169 image will repeat. mem2mem decoders will stop producing new frames
220 170 altogether. They will send a ``V4L2_EVENT_EOS`` event when the
221 - ``V4L2_DEC_CMD_STOP`` 171 last frame has been decoded and all frames are ready to be
222 172 dequeued and will set the ``V4L2_BUF_FLAG_LAST`` buffer flag on
223 - 1 173 the last buffer of the capture queue to indicate there will be no
224 174 new buffers produced to dequeue. This buffer may be empty,
225 - Stop the decoder. When the decoder is already stopped, this 175 indicated by the driver setting the ``bytesused`` field to 0. Once
226 command does nothing. This command has two flags: if 176 the ``V4L2_BUF_FLAG_LAST`` flag was set, the
227 ``V4L2_DEC_CMD_STOP_TO_BLACK`` is set, then the decoder will set 177 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
228 the picture to black after it stopped decoding. Otherwise the last 178 but return an ``EPIPE`` error code. If
229 image will repeat. mem2mem decoders will stop producing new frames 179 ``V4L2_DEC_CMD_STOP_IMMEDIATELY`` is set, then the decoder stops
230 altogether. They will send a ``V4L2_EVENT_EOS`` event when the 180 immediately (ignoring the ``pts`` value), otherwise it will keep
231 last frame has been decoded and all frames are ready to be 181 decoding until timestamp >= pts or until the last of the pending
232 dequeued and will set the ``V4L2_BUF_FLAG_LAST`` buffer flag on 182 data from its internal buffers was decoded.
233 the last buffer of the capture queue to indicate there will be no 183 * - ``V4L2_DEC_CMD_PAUSE``
234 new buffers produced to dequeue. This buffer may be empty, 184 - 2
235 indicated by the driver setting the ``bytesused`` field to 0. Once 185 - Pause the decoder. When the decoder has not been started yet, the
236 the ``V4L2_BUF_FLAG_LAST`` flag was set, the 186 driver will return an ``EPERM`` error code. When the decoder is
237 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore, 187 already paused, this command does nothing. This command has one
238 but return an ``EPIPE`` error code. If 188 flag: if ``V4L2_DEC_CMD_PAUSE_TO_BLACK`` is set, then set the
239 ``V4L2_DEC_CMD_STOP_IMMEDIATELY`` is set, then the decoder stops 189 decoder output to black when paused.
240 immediately (ignoring the ``pts`` value), otherwise it will keep 190 * - ``V4L2_DEC_CMD_RESUME``
241 decoding until timestamp >= pts or until the last of the pending 191 - 3
242 data from its internal buffers was decoded. 192 - Resume decoding after a PAUSE command. When the decoder has not
243 193 been started yet, the driver will return an ``EPERM`` error code. When
244 - .. row 3 194 the decoder is already running, this command does nothing. No
245 195 flags are defined for this command.
246 - ``V4L2_DEC_CMD_PAUSE``
247
248 - 2
249
250 - Pause the decoder. When the decoder has not been started yet, the
251 driver will return an ``EPERM`` error code. When the decoder is
252 already paused, this command does nothing. This command has one
253 flag: if ``V4L2_DEC_CMD_PAUSE_TO_BLACK`` is set, then set the
254 decoder output to black when paused.
255
256 - .. row 4
257
258 - ``V4L2_DEC_CMD_RESUME``
259
260 - 3
261
262 - Resume decoding after a PAUSE command. When the decoder has not
263 been started yet, the driver will return an ``EPERM`` error code. When
264 the decoder is already running, this command does nothing. No
265 flags are defined for this command.
266 196
267 197
268Return Value 198Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-dqevent.rst b/Documentation/media/uapi/v4l/vidioc-dqevent.rst
index 6347d2f83a44..8d663a73818e 100644
--- a/Documentation/media/uapi/v4l/vidioc-dqevent.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dqevent.rst
@@ -49,131 +49,66 @@ call.
49 :stub-columns: 0 49 :stub-columns: 0
50 :widths: 1 1 2 1 50 :widths: 1 1 2 1
51 51
52 52 * - __u32
53 - .. row 1 53 - ``type``
54 54 -
55 - __u32 55 - Type of the event, see :ref:`event-type`.
56 56 * - union
57 - ``type`` 57 - ``u``
58 58 -
59 - 59 -
60 - Type of the event, see :ref:`event-type`. 60 * -
61 61 - struct :c:type:`v4l2_event_vsync`
62 - .. row 2 62 - ``vsync``
63 63 - Event data for event ``V4L2_EVENT_VSYNC``.
64 - union 64 * -
65 65 - struct :c:type:`v4l2_event_ctrl`
66 - ``u`` 66 - ``ctrl``
67 67 - Event data for event ``V4L2_EVENT_CTRL``.
68 - 68 * -
69 - 69 - struct :c:type:`v4l2_event_frame_sync`
70 70 - ``frame_sync``
71 - .. row 3 71 - Event data for event ``V4L2_EVENT_FRAME_SYNC``.
72 72 * -
73 - 73 - struct :c:type:`v4l2_event_motion_det`
74 - struct :c:type:`v4l2_event_vsync` 74 - ``motion_det``
75 75 - Event data for event V4L2_EVENT_MOTION_DET.
76 - ``vsync`` 76 * -
77 77 - struct :c:type:`v4l2_event_src_change`
78 - Event data for event ``V4L2_EVENT_VSYNC``. 78 - ``src_change``
79 79 - Event data for event V4L2_EVENT_SOURCE_CHANGE.
80 - .. row 4 80 * -
81 81 - __u8
82 - 82 - ``data``\ [64]
83 - struct :c:type:`v4l2_event_ctrl` 83 - Event data. Defined by the event type. The union should be used to
84 84 define easily accessible type for events.
85 - ``ctrl`` 85 * - __u32
86 86 - ``pending``
87 - Event data for event ``V4L2_EVENT_CTRL``. 87 -
88 88 - Number of pending events excluding this one.
89 - .. row 5 89 * - __u32
90 90 - ``sequence``
91 - 91 -
92 - struct :c:type:`v4l2_event_frame_sync` 92 - Event sequence number. The sequence number is incremented for
93 93 every subscribed event that takes place. If sequence numbers are
94 - ``frame_sync`` 94 not contiguous it means that events have been lost.
95 95 * - struct timespec
96 - Event data for event ``V4L2_EVENT_FRAME_SYNC``. 96 - ``timestamp``
97 97 -
98 - .. row 6 98 - Event timestamp. The timestamp has been taken from the
99 99 ``CLOCK_MONOTONIC`` clock. To access the same clock outside V4L2,
100 - 100 use :c:func:`clock_gettime`.
101 - struct :c:type:`v4l2_event_motion_det` 101 * - u32
102 102 - ``id``
103 - ``motion_det`` 103 -
104 104 - The ID associated with the event source. If the event does not
105 - Event data for event V4L2_EVENT_MOTION_DET. 105 have an associated ID (this depends on the event type), then this
106 106 is 0.
107 - .. row 7 107 * - __u32
108 108 - ``reserved``\ [8]
109 - 109 -
110 - struct :c:type:`v4l2_event_src_change` 110 - Reserved for future extensions. Drivers must set the array to
111 111 zero.
112 - ``src_change``
113
114 - Event data for event V4L2_EVENT_SOURCE_CHANGE.
115
116 - .. row 8
117
118 -
119 - __u8
120
121 - ``data``\ [64]
122
123 - Event data. Defined by the event type. The union should be used to
124 define easily accessible type for events.
125
126 - .. row 9
127
128 - __u32
129
130 - ``pending``
131
132 -
133 - Number of pending events excluding this one.
134
135 - .. row 10
136
137 - __u32
138
139 - ``sequence``
140
141 -
142 - Event sequence number. The sequence number is incremented for
143 every subscribed event that takes place. If sequence numbers are
144 not contiguous it means that events have been lost.
145
146 - .. row 11
147
148 - struct timespec
149
150 - ``timestamp``
151
152 -
153 - Event timestamp. The timestamp has been taken from the
154 ``CLOCK_MONOTONIC`` clock. To access the same clock outside V4L2,
155 use :c:func:`clock_gettime`.
156
157 - .. row 12
158
159 - u32
160
161 - ``id``
162
163 -
164 - The ID associated with the event source. If the event does not
165 have an associated ID (this depends on the event type), then this
166 is 0.
167
168 - .. row 13
169
170 - __u32
171
172 - ``reserved``\ [8]
173
174 -
175 - Reserved for future extensions. Drivers must set the array to
176 zero.
177 112
178 113
179 114
@@ -188,123 +123,83 @@ call.
188 :stub-columns: 0 123 :stub-columns: 0
189 :widths: 3 1 4 124 :widths: 3 1 4
190 125
191 126 * - ``V4L2_EVENT_ALL``
192 - .. row 1 127 - 0
193 128 - All events. V4L2_EVENT_ALL is valid only for
194 - ``V4L2_EVENT_ALL`` 129 VIDIOC_UNSUBSCRIBE_EVENT for unsubscribing all events at once.
195 130 * - ``V4L2_EVENT_VSYNC``
196 - 0 131 - 1
197 132 - This event is triggered on the vertical sync. This event has a
198 - All events. V4L2_EVENT_ALL is valid only for 133 struct :c:type:`v4l2_event_vsync` associated
199 VIDIOC_UNSUBSCRIBE_EVENT for unsubscribing all events at once. 134 with it.
200 135 * - ``V4L2_EVENT_EOS``
201 - .. row 2 136 - 2
202 137 - This event is triggered when the end of a stream is reached. This
203 - ``V4L2_EVENT_VSYNC`` 138 is typically used with MPEG decoders to report to the application
204 139 when the last of the MPEG stream has been decoded.
205 - 1 140 * - ``V4L2_EVENT_CTRL``
206 141 - 3
207 - This event is triggered on the vertical sync. This event has a 142 - This event requires that the ``id`` matches the control ID from
208 struct :c:type:`v4l2_event_vsync` associated 143 which you want to receive events. This event is triggered if the
209 with it. 144 control's value changes, if a button control is pressed or if the
210 145 control's flags change. This event has a struct
211 - .. row 3 146 :c:type:`v4l2_event_ctrl` associated with it.
212 147 This struct contains much of the same information as struct
213 - ``V4L2_EVENT_EOS`` 148 :ref:`v4l2_queryctrl <v4l2-queryctrl>` and struct
214 149 :c:type:`v4l2_control`.
215 - 2 150
216 151 If the event is generated due to a call to
217 - This event is triggered when the end of a stream is reached. This 152 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` or
218 is typically used with MPEG decoders to report to the application 153 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`, then the
219 when the last of the MPEG stream has been decoded. 154 event will *not* be sent to the file handle that called the ioctl
220 155 function. This prevents nasty feedback loops. If you *do* want to
221 - .. row 4 156 get the event, then set the ``V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK``
222 157 flag.
223 - ``V4L2_EVENT_CTRL`` 158
224 159 This event type will ensure that no information is lost when more
225 - 3 160 events are raised than there is room internally. In that case the
226 161 struct :c:type:`v4l2_event_ctrl` of the
227 - This event requires that the ``id`` matches the control ID from 162 second-oldest event is kept, but the ``changes`` field of the
228 which you want to receive events. This event is triggered if the 163 second-oldest event is ORed with the ``changes`` field of the
229 control's value changes, if a button control is pressed or if the 164 oldest event.
230 control's flags change. This event has a struct 165 * - ``V4L2_EVENT_FRAME_SYNC``
231 :c:type:`v4l2_event_ctrl` associated with it. 166 - 4
232 This struct contains much of the same information as struct 167 - Triggered immediately when the reception of a frame has begun.
233 :ref:`v4l2_queryctrl <v4l2-queryctrl>` and struct 168 This event has a struct
234 :c:type:`v4l2_control`. 169 :c:type:`v4l2_event_frame_sync`
235 170 associated with it.
236 If the event is generated due to a call to 171
237 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` or 172 If the hardware needs to be stopped in the case of a buffer
238 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`, then the 173 underrun it might not be able to generate this event. In such
239 event will *not* be sent to the file handle that called the ioctl 174 cases the ``frame_sequence`` field in struct
240 function. This prevents nasty feedback loops. If you *do* want to 175 :c:type:`v4l2_event_frame_sync` will not
241 get the event, then set the ``V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK`` 176 be incremented. This causes two consecutive frame sequence numbers
242 flag. 177 to have n times frame interval in between them.
243 178 * - ``V4L2_EVENT_SOURCE_CHANGE``
244 This event type will ensure that no information is lost when more 179 - 5
245 events are raised than there is room internally. In that case the 180 - This event is triggered when a source parameter change is detected
246 struct :c:type:`v4l2_event_ctrl` of the 181 during runtime by the video device. It can be a runtime resolution
247 second-oldest event is kept, but the ``changes`` field of the 182 change triggered by a video decoder or the format change happening
248 second-oldest event is ORed with the ``changes`` field of the 183 on an input connector. This event requires that the ``id`` matches
249 oldest event. 184 the input index (when used with a video device node) or the pad
250 185 index (when used with a subdevice node) from which you want to
251 - .. row 5 186 receive events.
252 187
253 - ``V4L2_EVENT_FRAME_SYNC`` 188 This event has a struct
254 189 :c:type:`v4l2_event_src_change`
255 - 4 190 associated with it. The ``changes`` bitfield denotes what has
256 191 changed for the subscribed pad. If multiple events occurred before
257 - Triggered immediately when the reception of a frame has begun. 192 application could dequeue them, then the changes will have the
258 This event has a struct 193 ORed value of all the events generated.
259 :c:type:`v4l2_event_frame_sync` 194 * - ``V4L2_EVENT_MOTION_DET``
260 associated with it. 195 - 6
261 196 - Triggered whenever the motion detection state for one or more of
262 If the hardware needs to be stopped in the case of a buffer 197 the regions changes. This event has a struct
263 underrun it might not be able to generate this event. In such 198 :c:type:`v4l2_event_motion_det`
264 cases the ``frame_sequence`` field in struct 199 associated with it.
265 :c:type:`v4l2_event_frame_sync` will not 200 * - ``V4L2_EVENT_PRIVATE_START``
266 be incremented. This causes two consecutive frame sequence numbers 201 - 0x08000000
267 to have n times frame interval in between them. 202 - Base event number for driver-private events.
268
269 - .. row 6
270
271 - ``V4L2_EVENT_SOURCE_CHANGE``
272
273 - 5
274
275 - This event is triggered when a source parameter change is detected
276 during runtime by the video device. It can be a runtime resolution
277 change triggered by a video decoder or the format change happening
278 on an input connector. This event requires that the ``id`` matches
279 the input index (when used with a video device node) or the pad
280 index (when used with a subdevice node) from which you want to
281 receive events.
282
283 This event has a struct
284 :c:type:`v4l2_event_src_change`
285 associated with it. The ``changes`` bitfield denotes what has
286 changed for the subscribed pad. If multiple events occurred before
287 application could dequeue them, then the changes will have the
288 ORed value of all the events generated.
289
290 - .. row 7
291
292 - ``V4L2_EVENT_MOTION_DET``
293
294 - 6
295
296 - Triggered whenever the motion detection state for one or more of
297 the regions changes. This event has a struct
298 :c:type:`v4l2_event_motion_det`
299 associated with it.
300
301 - .. row 8
302
303 - ``V4L2_EVENT_PRIVATE_START``
304
305 - 0x08000000
306
307 - Base event number for driver-private events.
308 203
309 204
310 205
@@ -317,14 +212,9 @@ call.
317 :stub-columns: 0 212 :stub-columns: 0
318 :widths: 1 1 2 213 :widths: 1 1 2
319 214
320 215 * - __u8
321 - .. row 1 216 - ``field``
322 217 - The upcoming field. See enum :c:type:`v4l2_field`.
323 - __u8
324
325 - ``field``
326
327 - The upcoming field. See enum :c:type:`v4l2_field`.
328 218
329 219
330 220
@@ -337,103 +227,54 @@ call.
337 :stub-columns: 0 227 :stub-columns: 0
338 :widths: 1 1 2 1 228 :widths: 1 1 2 1
339 229
340 230 * - __u32
341 - .. row 1 231 - ``changes``
342 232 -
343 - __u32 233 - A bitmask that tells what has changed. See
344 234 :ref:`ctrl-changes-flags`.
345 - ``changes`` 235 * - __u32
346 236 - ``type``
347 - 237 -
348 - A bitmask that tells what has changed. See 238 - The type of the control. See enum
349 :ref:`ctrl-changes-flags`. 239 :c:type:`v4l2_ctrl_type`.
350 240 * - union (anonymous)
351 - .. row 2 241 -
352 242 -
353 - __u32 243 -
354 244 * -
355 - ``type`` 245 - __s32
356 246 - ``value``
357 - 247 - The 32-bit value of the control for 32-bit control types. This is
358 - The type of the control. See enum 248 0 for string controls since the value of a string cannot be passed
359 :c:type:`v4l2_ctrl_type`. 249 using :ref:`VIDIOC_DQEVENT`.
360 250 * -
361 - .. row 3 251 - __s64
362 252 - ``value64``
363 - union (anonymous) 253 - The 64-bit value of the control for 64-bit control types.
364 254 * - __u32
365 - 255 - ``flags``
366 - 256 -
367 - 257 - The control flags. See :ref:`control-flags`.
368 258 * - __s32
369 - .. row 4 259 - ``minimum``
370 260 -
371 - 261 - The minimum value of the control. See struct
372 - __s32 262 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
373 263 * - __s32
374 - ``value`` 264 - ``maximum``
375 265 -
376 - The 32-bit value of the control for 32-bit control types. This is 266 - The maximum value of the control. See struct
377 0 for string controls since the value of a string cannot be passed 267 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
378 using :ref:`VIDIOC_DQEVENT`. 268 * - __s32
379 269 - ``step``
380 - .. row 5 270 -
381 271 - The step value of the control. See struct
382 - 272 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
383 - __s64 273 * - __s32
384 274 - ``default_value``
385 - ``value64`` 275 -
386 276 - The default value value of the control. See struct
387 - The 64-bit value of the control for 64-bit control types. 277 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
388
389 - .. row 6
390
391 - __u32
392
393 - ``flags``
394
395 -
396 - The control flags. See :ref:`control-flags`.
397
398 - .. row 7
399
400 - __s32
401
402 - ``minimum``
403
404 -
405 - The minimum value of the control. See struct
406 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
407
408 - .. row 8
409
410 - __s32
411
412 - ``maximum``
413
414 -
415 - The maximum value of the control. See struct
416 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
417
418 - .. row 9
419
420 - __s32
421
422 - ``step``
423
424 -
425 - The step value of the control. See struct
426 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
427
428 - .. row 10
429
430 - __s32
431
432 - ``default_value``
433
434 -
435 - The default value value of the control. See struct
436 :ref:`v4l2_queryctrl <v4l2-queryctrl>`.
437 278
438 279
439 280
@@ -446,14 +287,9 @@ call.
446 :stub-columns: 0 287 :stub-columns: 0
447 :widths: 1 1 2 288 :widths: 1 1 2
448 289
449 290 * - __u32
450 - .. row 1 291 - ``frame_sequence``
451 292 - The sequence number of the frame being received.
452 - __u32
453
454 - ``frame_sequence``
455
456 - The sequence number of the frame being received.
457 293
458 294
459 295
@@ -466,15 +302,10 @@ call.
466 :stub-columns: 0 302 :stub-columns: 0
467 :widths: 1 1 2 303 :widths: 1 1 2
468 304
469 305 * - __u32
470 - .. row 1 306 - ``changes``
471 307 - A bitmask that tells what has changed. See
472 - __u32 308 :ref:`src-changes-flags`.
473
474 - ``changes``
475
476 - A bitmask that tells what has changed. See
477 :ref:`src-changes-flags`.
478 309
479 310
480 311
@@ -487,39 +318,24 @@ call.
487 :stub-columns: 0 318 :stub-columns: 0
488 :widths: 1 1 2 319 :widths: 1 1 2
489 320
490 321 * - __u32
491 - .. row 1 322 - ``flags``
492 323 - Currently only one flag is available: if
493 - __u32 324 ``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` is set, then the
494 325 ``frame_sequence`` field is valid, otherwise that field should be
495 - ``flags`` 326 ignored.
496 327 * - __u32
497 - Currently only one flag is available: if 328 - ``frame_sequence``
498 ``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` is set, then the 329 - The sequence number of the frame being received. Only valid if the
499 ``frame_sequence`` field is valid, otherwise that field should be 330 ``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` flag was set.
500 ignored. 331 * - __u32
501 332 - ``region_mask``
502 - .. row 2 333 - The bitmask of the regions that reported motion. There is at least
503 334 one region. If this field is 0, then no motion was detected at
504 - __u32 335 all. If there is no ``V4L2_CID_DETECT_MD_REGION_GRID`` control
505 336 (see :ref:`detect-controls`) to assign a different region to
506 - ``frame_sequence`` 337 each cell in the motion detection grid, then that all cells are
507 338 automatically assigned to the default region 0.
508 - The sequence number of the frame being received. Only valid if the
509 ``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` flag was set.
510
511 - .. row 3
512
513 - __u32
514
515 - ``region_mask``
516
517 - The bitmask of the regions that reported motion. There is at least
518 one region. If this field is 0, then no motion was detected at
519 all. If there is no ``V4L2_CID_DETECT_MD_REGION_GRID`` control
520 (see :ref:`detect-controls`) to assign a different region to
521 each cell in the motion detection grid, then that all cells are
522 automatically assigned to the default region 0.
523 339
524 340
525 341
@@ -532,35 +348,20 @@ call.
532 :stub-columns: 0 348 :stub-columns: 0
533 :widths: 3 1 4 349 :widths: 3 1 4
534 350
535 351 * - ``V4L2_EVENT_CTRL_CH_VALUE``
536 - .. row 1 352 - 0x0001
537 353 - This control event was triggered because the value of the control
538 - ``V4L2_EVENT_CTRL_CH_VALUE`` 354 changed. Special cases: Volatile controls do no generate this
539 355 event; If a control has the ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE``
540 - 0x0001 356 flag set, then this event is sent as well, regardless its value.
541 357 * - ``V4L2_EVENT_CTRL_CH_FLAGS``
542 - This control event was triggered because the value of the control 358 - 0x0002
543 changed. Special cases: Volatile controls do no generate this 359 - This control event was triggered because the control flags
544 event; If a control has the ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE`` 360 changed.
545 flag set, then this event is sent as well, regardless its value. 361 * - ``V4L2_EVENT_CTRL_CH_RANGE``
546 362 - 0x0004
547 - .. row 2 363 - This control event was triggered because the minimum, maximum,
548 364 step or the default value of the control changed.
549 - ``V4L2_EVENT_CTRL_CH_FLAGS``
550
551 - 0x0002
552
553 - This control event was triggered because the control flags
554 changed.
555
556 - .. row 3
557
558 - ``V4L2_EVENT_CTRL_CH_RANGE``
559
560 - 0x0004
561
562 - This control event was triggered because the minimum, maximum,
563 step or the default value of the control changed.
564 365
565 366
566 367
@@ -573,16 +374,11 @@ call.
573 :stub-columns: 0 374 :stub-columns: 0
574 :widths: 3 1 4 375 :widths: 3 1 4
575 376
576 377 * - ``V4L2_EVENT_SRC_CH_RESOLUTION``
577 - .. row 1 378 - 0x0001
578 379 - This event gets triggered when a resolution change is detected at
579 - ``V4L2_EVENT_SRC_CH_RESOLUTION`` 380 an input. This can come from an input connector or from a video
580 381 decoder.
581 - 0x0001
582
583 - This event gets triggered when a resolution change is detected at
584 an input. This can come from an input connector or from a video
585 decoder.
586 382
587 383
588Return Value 384Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-dv-timings-cap.rst b/Documentation/media/uapi/v4l/vidioc-dv-timings-cap.rst
index 7cb78a0067ac..424f3a1c7f56 100644
--- a/Documentation/media/uapi/v4l/vidioc-dv-timings-cap.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dv-timings-cap.rst
@@ -64,81 +64,36 @@ that doesn't support them will return an ``EINVAL`` error code.
64 :stub-columns: 0 64 :stub-columns: 0
65 :widths: 1 1 2 65 :widths: 1 1 2
66 66
67 67 * - __u32
68 - .. row 1 68 - ``min_width``
69 69 - Minimum width of the active video in pixels.
70 - __u32 70 * - __u32
71 71 - ``max_width``
72 - ``min_width`` 72 - Maximum width of the active video in pixels.
73 73 * - __u32
74 - Minimum width of the active video in pixels. 74 - ``min_height``
75 75 - Minimum height of the active video in lines.
76 - .. row 2 76 * - __u32
77 77 - ``max_height``
78 - __u32 78 - Maximum height of the active video in lines.
79 79 * - __u64
80 - ``max_width`` 80 - ``min_pixelclock``
81 81 - Minimum pixelclock frequency in Hz.
82 - Maximum width of the active video in pixels. 82 * - __u64
83 83 - ``max_pixelclock``
84 - .. row 3 84 - Maximum pixelclock frequency in Hz.
85 85 * - __u32
86 - __u32 86 - ``standards``
87 87 - The video standard(s) supported by the hardware. See
88 - ``min_height`` 88 :ref:`dv-bt-standards` for a list of standards.
89 89 * - __u32
90 - Minimum height of the active video in lines. 90 - ``capabilities``
91 91 - Several flags giving more information about the capabilities. See
92 - .. row 4 92 :ref:`dv-bt-cap-capabilities` for a description of the flags.
93 93 * - __u32
94 - __u32 94 - ``reserved``\ [16]
95 95 - Reserved for future extensions.
96 - ``max_height`` 96 Drivers must set the array to zero.
97
98 - Maximum height of the active video in lines.
99
100 - .. row 5
101
102 - __u64
103
104 - ``min_pixelclock``
105
106 - Minimum pixelclock frequency in Hz.
107
108 - .. row 6
109
110 - __u64
111
112 - ``max_pixelclock``
113
114 - Maximum pixelclock frequency in Hz.
115
116 - .. row 7
117
118 - __u32
119
120 - ``standards``
121
122 - The video standard(s) supported by the hardware. See
123 :ref:`dv-bt-standards` for a list of standards.
124
125 - .. row 8
126
127 - __u32
128
129 - ``capabilities``
130
131 - Several flags giving more information about the capabilities. See
132 :ref:`dv-bt-cap-capabilities` for a description of the flags.
133
134 - .. row 9
135
136 - __u32
137
138 - ``reserved``\ [16]
139
140 - Reserved for future extensions.
141 Drivers must set the array to zero.
142 97
143 98
144 99
@@ -151,59 +106,30 @@ that doesn't support them will return an ``EINVAL`` error code.
151 :stub-columns: 0 106 :stub-columns: 0
152 :widths: 1 1 2 1 107 :widths: 1 1 2 1
153 108
154 109 * - __u32
155 - .. row 1 110 - ``type``
156 111 - Type of DV timings as listed in :ref:`dv-timing-types`.
157 - __u32 112 * - __u32
158 113 - ``pad``
159 - ``type`` 114 - Pad number as reported by the media controller API. This field is
160 115 only used when operating on a subdevice node. When operating on a
161 - Type of DV timings as listed in :ref:`dv-timing-types`. 116 video node applications must set this field to zero.
162 117 * - __u32
163 - .. row 2 118 - ``reserved``\ [2]
164 119 - Reserved for future extensions.
165 - __u32 120
166 121 Drivers and applications must set the array to zero.
167 - ``pad`` 122 * - union
168 123 -
169 - Pad number as reported by the media controller API. This field is 124 -
170 only used when operating on a subdevice node. When operating on a 125 * -
171 video node applications must set this field to zero. 126 - struct :c:type:`v4l2_bt_timings_cap`
172 127 - ``bt``
173 - .. row 3 128 - BT.656/1120 timings capabilities of the hardware.
174 129 * -
175 - __u32 130 - __u32
176 131 - ``raw_data``\ [32]
177 - ``reserved``\ [2] 132 -
178
179 - Reserved for future extensions.
180
181 Drivers and applications must set the array to zero.
182
183 - .. row 4
184
185 - union
186
187 -
188 -
189
190 - .. row 5
191
192 -
193 - struct :c:type:`v4l2_bt_timings_cap`
194
195 - ``bt``
196
197 - BT.656/1120 timings capabilities of the hardware.
198
199 - .. row 6
200
201 -
202 - __u32
203
204 - ``raw_data``\ [32]
205
206 -
207 133
208.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| 134.. tabularcolumns:: |p{7.0cm}|p{10.5cm}|
209 135
@@ -213,43 +139,20 @@ that doesn't support them will return an ``EINVAL`` error code.
213 :header-rows: 0 139 :header-rows: 0
214 :stub-columns: 0 140 :stub-columns: 0
215 141
216 142 * - Flag
217 - .. row 1 143 - Description
218 144 * -
219 - Flag 145 -
220 146 * - ``V4L2_DV_BT_CAP_INTERLACED``
221 - Description 147 - Interlaced formats are supported.
222 148 * - ``V4L2_DV_BT_CAP_PROGRESSIVE``
223 - .. row 2 149 - Progressive formats are supported.
224 150 * - ``V4L2_DV_BT_CAP_REDUCED_BLANKING``
225 - 151 - CVT/GTF specific: the timings can make use of reduced blanking
226 - 152 (CVT) or the 'Secondary GTF' curve (GTF).
227 153 * - ``V4L2_DV_BT_CAP_CUSTOM``
228 - .. row 3 154 - Can support non-standard timings, i.e. timings not belonging to
229 155 the standards set in the ``standards`` field.
230 - ``V4L2_DV_BT_CAP_INTERLACED``
231
232 - Interlaced formats are supported.
233
234 - .. row 4
235
236 - ``V4L2_DV_BT_CAP_PROGRESSIVE``
237
238 - Progressive formats are supported.
239
240 - .. row 5
241
242 - ``V4L2_DV_BT_CAP_REDUCED_BLANKING``
243
244 - CVT/GTF specific: the timings can make use of reduced blanking
245 (CVT) or the 'Secondary GTF' curve (GTF).
246
247 - .. row 6
248
249 - ``V4L2_DV_BT_CAP_CUSTOM``
250
251 - Can support non-standard timings, i.e. timings not belonging to
252 the standards set in the ``standards`` field.
253 156
254 157
255Return Value 158Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst b/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
index b724ec36a25c..ae20ee573757 100644
--- a/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
+++ b/Documentation/media/uapi/v4l/vidioc-encoder-cmd.rst
@@ -74,33 +74,18 @@ introduced in Linux 2.6.21.
74 :stub-columns: 0 74 :stub-columns: 0
75 :widths: 1 1 2 75 :widths: 1 1 2
76 76
77 77 * - __u32
78 - .. row 1 78 - ``cmd``
79 79 - The encoder command, see :ref:`encoder-cmds`.
80 - __u32 80 * - __u32
81 81 - ``flags``
82 - ``cmd`` 82 - Flags to go with the command, see :ref:`encoder-flags`. If no
83 83 flags are defined for this command, drivers and applications must
84 - The encoder command, see :ref:`encoder-cmds`. 84 set this field to zero.
85 85 * - __u32
86 - .. row 2 86 - ``data``\ [8]
87 87 - Reserved for future extensions. Drivers and applications must set
88 - __u32 88 the array to zero.
89
90 - ``flags``
91
92 - Flags to go with the command, see :ref:`encoder-flags`. If no
93 flags are defined for this command, drivers and applications must
94 set this field to zero.
95
96 - .. row 3
97
98 - __u32
99
100 - ``data``\ [8]
101
102 - Reserved for future extensions. Drivers and applications must set
103 the array to zero.
104 89
105 90
106 91
@@ -113,57 +98,37 @@ introduced in Linux 2.6.21.
113 :stub-columns: 0 98 :stub-columns: 0
114 :widths: 3 1 4 99 :widths: 3 1 4
115 100
116 101 * - ``V4L2_ENC_CMD_START``
117 - .. row 1 102 - 0
118 103 - Start the encoder. When the encoder is already running or paused,
119 - ``V4L2_ENC_CMD_START`` 104 this command does nothing. No flags are defined for this command.
120 105 * - ``V4L2_ENC_CMD_STOP``
121 - 0 106 - 1
122 107 - Stop the encoder. When the ``V4L2_ENC_CMD_STOP_AT_GOP_END`` flag
123 - Start the encoder. When the encoder is already running or paused, 108 is set, encoding will continue until the end of the current *Group
124 this command does nothing. No flags are defined for this command. 109 Of Pictures*, otherwise encoding will stop immediately. When the
125 110 encoder is already stopped, this command does nothing. mem2mem
126 - .. row 2 111 encoders will send a ``V4L2_EVENT_EOS`` event when the last frame
127 112 has been encoded and all frames are ready to be dequeued and will
128 - ``V4L2_ENC_CMD_STOP`` 113 set the ``V4L2_BUF_FLAG_LAST`` buffer flag on the last buffer of
129 114 the capture queue to indicate there will be no new buffers
130 - 1 115 produced to dequeue. This buffer may be empty, indicated by the
131 116 driver setting the ``bytesused`` field to 0. Once the
132 - Stop the encoder. When the ``V4L2_ENC_CMD_STOP_AT_GOP_END`` flag 117 ``V4L2_BUF_FLAG_LAST`` flag was set, the
133 is set, encoding will continue until the end of the current *Group 118 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
134 Of Pictures*, otherwise encoding will stop immediately. When the 119 but return an ``EPIPE`` error code.
135 encoder is already stopped, this command does nothing. mem2mem 120 * - ``V4L2_ENC_CMD_PAUSE``
136 encoders will send a ``V4L2_EVENT_EOS`` event when the last frame 121 - 2
137 has been encoded and all frames are ready to be dequeued and will 122 - Pause the encoder. When the encoder has not been started yet, the
138 set the ``V4L2_BUF_FLAG_LAST`` buffer flag on the last buffer of 123 driver will return an ``EPERM`` error code. When the encoder is
139 the capture queue to indicate there will be no new buffers 124 already paused, this command does nothing. No flags are defined
140 produced to dequeue. This buffer may be empty, indicated by the 125 for this command.
141 driver setting the ``bytesused`` field to 0. Once the 126 * - ``V4L2_ENC_CMD_RESUME``
142 ``V4L2_BUF_FLAG_LAST`` flag was set, the 127 - 3
143 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore, 128 - Resume encoding after a PAUSE command. When the encoder has not
144 but return an ``EPIPE`` error code. 129 been started yet, the driver will return an ``EPERM`` error code. When
145 130 the encoder is already running, this command does nothing. No
146 - .. row 3 131 flags are defined for this command.
147
148 - ``V4L2_ENC_CMD_PAUSE``
149
150 - 2
151
152 - Pause the encoder. When the encoder has not been started yet, the
153 driver will return an ``EPERM`` error code. When the encoder is
154 already paused, this command does nothing. No flags are defined
155 for this command.
156
157 - .. row 4
158
159 - ``V4L2_ENC_CMD_RESUME``
160
161 - 3
162
163 - Resume encoding after a PAUSE command. When the encoder has not
164 been started yet, the driver will return an ``EPERM`` error code. When
165 the encoder is already running, this command does nothing. No
166 flags are defined for this command.
167 132
168 133
169.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 134.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -175,15 +140,10 @@ introduced in Linux 2.6.21.
175 :stub-columns: 0 140 :stub-columns: 0
176 :widths: 3 1 4 141 :widths: 3 1 4
177 142
178 143 * - ``V4L2_ENC_CMD_STOP_AT_GOP_END``
179 - .. row 1 144 - 0x0001
180 145 - Stop encoding at the end of the current *Group Of Pictures*,
181 - ``V4L2_ENC_CMD_STOP_AT_GOP_END`` 146 rather than immediately.
182
183 - 0x0001
184
185 - Stop encoding at the end of the current *Group Of Pictures*,
186 rather than immediately.
187 147
188 148
189Return Value 149Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-dv-timings.rst b/Documentation/media/uapi/v4l/vidioc-enum-dv-timings.rst
index dfe4d737b0aa..3e9d0f69cc73 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-dv-timings.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-dv-timings.rst
@@ -74,41 +74,21 @@ return an ``EINVAL`` error code.
74 :stub-columns: 0 74 :stub-columns: 0
75 :widths: 1 1 2 75 :widths: 1 1 2
76 76
77 77 * - __u32
78 - .. row 1 78 - ``index``
79 79 - Number of the DV timings, set by the application.
80 - __u32 80 * - __u32
81 81 - ``pad``
82 - ``index`` 82 - Pad number as reported by the media controller API. This field is
83 83 only used when operating on a subdevice node. When operating on a
84 - Number of the DV timings, set by the application. 84 video node applications must set this field to zero.
85 85 * - __u32
86 - .. row 2 86 - ``reserved``\ [2]
87 87 - Reserved for future extensions. Drivers and applications must set
88 - __u32 88 the array to zero.
89 89 * - struct :c:type:`v4l2_dv_timings`
90 - ``pad`` 90 - ``timings``
91 91 - The timings.
92 - Pad number as reported by the media controller API. This field is
93 only used when operating on a subdevice node. When operating on a
94 video node applications must set this field to zero.
95
96 - .. row 3
97
98 - __u32
99
100 - ``reserved``\ [2]
101
102 - Reserved for future extensions. Drivers and applications must set
103 the array to zero.
104
105 - .. row 4
106
107 - struct :c:type:`v4l2_dv_timings`
108
109 - ``timings``
110
111 - The timings.
112 92
113 93
114Return Value 94Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst b/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
index 91fbc4ba209c..a2adaa4bd4dd 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
@@ -53,80 +53,48 @@ one until ``EINVAL`` is returned.
53 :stub-columns: 0 53 :stub-columns: 0
54 :widths: 1 1 2 54 :widths: 1 1 2
55 55
56 - .. row 1 56 * - __u32
57 57 - ``index``
58 - __u32 58 - Number of the format in the enumeration, set by the application.
59 59 This is in no way related to the ``pixelformat`` field.
60 - ``index`` 60 * - __u32
61 61 - ``type``
62 - Number of the format in the enumeration, set by the application. 62 - Type of the data stream, set by the application. Only these types
63 This is in no way related to the ``pixelformat`` field. 63 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``,
64 64 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``,
65 - .. row 2 65 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``,
66 66 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` and
67 - __u32 67 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
68 68 * - __u32
69 - ``type`` 69 - ``flags``
70 70 - See :ref:`fmtdesc-flags`
71 - Type of the data stream, set by the application. Only these types 71 * - __u8
72 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``, 72 - ``description``\ [32]
73 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``, 73 - Description of the format, a NUL-terminated ASCII string. This
74 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``, 74 information is intended for the user, for example: "YUV 4:2:2".
75 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` and 75 * - __u32
76 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`. 76 - ``pixelformat``
77 77 - The image format identifier. This is a four character code as
78 - .. row 3 78 computed by the v4l2_fourcc() macro:
79 79 * - :cspan:`2`
80 - __u32 80
81 81 .. _v4l2-fourcc:
82 - ``flags`` 82
83 83 ``#define v4l2_fourcc(a,b,c,d)``
84 - See :ref:`fmtdesc-flags` 84
85 85 ``(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))``
86 - .. row 4 86
87 87 Several image formats are already defined by this specification in
88 - __u8 88 :ref:`pixfmt`.
89 89
90 - ``description``\ [32] 90 .. attention::
91 91
92 - Description of the format, a NUL-terminated ASCII string. This 92 These codes are not the same as those used
93 information is intended for the user, for example: "YUV 4:2:2". 93 in the Windows world.
94 94 * - __u32
95 - .. row 5 95 - ``reserved``\ [4]
96 96 - Reserved for future extensions. Drivers must set the array to
97 - __u32 97 zero.
98
99 - ``pixelformat``
100
101 - The image format identifier. This is a four character code as
102 computed by the v4l2_fourcc() macro:
103
104 - .. row 6
105
106 - :cspan:`2`
107
108 .. _v4l2-fourcc:
109
110 ``#define v4l2_fourcc(a,b,c,d)``
111
112 ``(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))``
113
114 Several image formats are already defined by this specification in
115 :ref:`pixfmt`.
116
117 .. attention::
118
119 These codes are not the same as those used
120 in the Windows world.
121
122 - .. row 7
123
124 - __u32
125
126 - ``reserved``\ [4]
127
128 - Reserved for future extensions. Drivers must set the array to
129 zero.
130 98
131 99
132 100
@@ -139,24 +107,14 @@ one until ``EINVAL`` is returned.
139 :stub-columns: 0 107 :stub-columns: 0
140 :widths: 3 1 4 108 :widths: 3 1 4
141 109
142 110 * - ``V4L2_FMT_FLAG_COMPRESSED``
143 - .. row 1 111 - 0x0001
144 112 - This is a compressed format.
145 - ``V4L2_FMT_FLAG_COMPRESSED`` 113 * - ``V4L2_FMT_FLAG_EMULATED``
146 114 - 0x0002
147 - 0x0001 115 - This format is not native to the device but emulated through
148 116 software (usually libv4l2), where possible try to use a native
149 - This is a compressed format. 117 format instead for better performance.
150
151 - .. row 2
152
153 - ``V4L2_FMT_FLAG_EMULATED``
154
155 - 0x0002
156
157 - This format is not native to the device but emulated through
158 software (usually libv4l2), where possible try to use a native
159 format instead for better performance.
160 118
161 119
162Return Value 120Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst b/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
index 83f641f9f231..39492453f02d 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
@@ -110,30 +110,15 @@ application should zero out all members except for the *IN* fields.
110 :stub-columns: 0 110 :stub-columns: 0
111 :widths: 1 1 2 111 :widths: 1 1 2
112 112
113 113 * - struct :c:type:`v4l2_fract`
114 - .. row 1 114 - ``min``
115 115 - Minimum frame interval [s].
116 - struct :c:type:`v4l2_fract` 116 * - struct :c:type:`v4l2_fract`
117 117 - ``max``
118 - ``min`` 118 - Maximum frame interval [s].
119 119 * - struct :c:type:`v4l2_fract`
120 - Minimum frame interval [s]. 120 - ``step``
121 121 - Frame interval step size [s].
122 - .. row 2
123
124 - struct :c:type:`v4l2_fract`
125
126 - ``max``
127
128 - Maximum frame interval [s].
129
130 - .. row 3
131
132 - struct :c:type:`v4l2_fract`
133
134 - ``step``
135
136 - Frame interval step size [s].
137 122
138 123
139 124
@@ -143,87 +128,43 @@ application should zero out all members except for the *IN* fields.
143 :header-rows: 0 128 :header-rows: 0
144 :stub-columns: 0 129 :stub-columns: 0
145 130
146 131 * - __u32
147 - .. row 1 132 - ``index``
148 133 -
149 - __u32 134 - IN: Index of the given frame interval in the enumeration.
150 135 * - __u32
151 - ``index`` 136 - ``pixel_format``
152 137 -
153 - 138 - IN: Pixel format for which the frame intervals are enumerated.
154 - IN: Index of the given frame interval in the enumeration. 139 * - __u32
155 140 - ``width``
156 - .. row 2 141 -
157 142 - IN: Frame width for which the frame intervals are enumerated.
158 - __u32 143 * - __u32
159 144 - ``height``
160 - ``pixel_format`` 145 -
161 146 - IN: Frame height for which the frame intervals are enumerated.
162 - 147 * - __u32
163 - IN: Pixel format for which the frame intervals are enumerated. 148 - ``type``
164 149 -
165 - .. row 3 150 - OUT: Frame interval type the device supports.
166 151 * - union
167 - __u32 152 -
168 153 -
169 - ``width`` 154 - OUT: Frame interval with the given index.
170 155 * -
171 - 156 - struct :c:type:`v4l2_fract`
172 - IN: Frame width for which the frame intervals are enumerated. 157 - ``discrete``
173 158 - Frame interval [s].
174 - .. row 4 159 * -
175 160 - struct :c:type:`v4l2_frmival_stepwise`
176 - __u32 161 - ``stepwise``
177 162 -
178 - ``height`` 163 * - __u32
179 164 - ``reserved[2]``
180 - 165 -
181 - IN: Frame height for which the frame intervals are enumerated. 166 - Reserved space for future use. Must be zeroed by drivers and
182 167 applications.
183 - .. row 5
184
185 - __u32
186
187 - ``type``
188
189 -
190 - OUT: Frame interval type the device supports.
191
192 - .. row 6
193
194 - union
195
196 -
197 -
198 - OUT: Frame interval with the given index.
199
200 - .. row 7
201
202 -
203 - struct :c:type:`v4l2_fract`
204
205 - ``discrete``
206
207 - Frame interval [s].
208
209 - .. row 8
210
211 -
212 - struct :c:type:`v4l2_frmival_stepwise`
213
214 - ``stepwise``
215
216 -
217
218 - .. row 9
219
220 - __u32
221
222 - ``reserved[2]``
223
224 -
225 - Reserved space for future use. Must be zeroed by drivers and
226 applications.
227 168
228 169
229 170
@@ -240,30 +181,15 @@ Enums
240 :stub-columns: 0 181 :stub-columns: 0
241 :widths: 3 1 4 182 :widths: 3 1 4
242 183
243 184 * - ``V4L2_FRMIVAL_TYPE_DISCRETE``
244 - .. row 1 185 - 1
245 186 - Discrete frame interval.
246 - ``V4L2_FRMIVAL_TYPE_DISCRETE`` 187 * - ``V4L2_FRMIVAL_TYPE_CONTINUOUS``
247 188 - 2
248 - 1 189 - Continuous frame interval.
249 190 * - ``V4L2_FRMIVAL_TYPE_STEPWISE``
250 - Discrete frame interval. 191 - 3
251 192 - Step-wise defined frame interval.
252 - .. row 2
253
254 - ``V4L2_FRMIVAL_TYPE_CONTINUOUS``
255
256 - 2
257
258 - Continuous frame interval.
259
260 - .. row 3
261
262 - ``V4L2_FRMIVAL_TYPE_STEPWISE``
263
264 - 3
265
266 - Step-wise defined frame interval.
267 193
268 194
269Return Value 195Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst b/Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst
index 9a9571d11f7d..628f1aa66338 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst
@@ -99,22 +99,12 @@ application should zero out all members except for the *IN* fields.
99 :stub-columns: 0 99 :stub-columns: 0
100 :widths: 1 1 2 100 :widths: 1 1 2
101 101
102 102 * - __u32
103 - .. row 1 103 - ``width``
104 104 - Width of the frame [pixel].
105 - __u32 105 * - __u32
106 106 - ``height``
107 - ``width`` 107 - Height of the frame [pixel].
108
109 - Width of the frame [pixel].
110
111 - .. row 2
112
113 - __u32
114
115 - ``height``
116
117 - Height of the frame [pixel].
118 108
119 109
120 110
@@ -127,54 +117,24 @@ application should zero out all members except for the *IN* fields.
127 :stub-columns: 0 117 :stub-columns: 0
128 :widths: 1 1 2 118 :widths: 1 1 2
129 119
130 120 * - __u32
131 - .. row 1 121 - ``min_width``
132 122 - Minimum frame width [pixel].
133 - __u32 123 * - __u32
134 124 - ``max_width``
135 - ``min_width`` 125 - Maximum frame width [pixel].
136 126 * - __u32
137 - Minimum frame width [pixel]. 127 - ``step_width``
138 128 - Frame width step size [pixel].
139 - .. row 2 129 * - __u32
140 130 - ``min_height``
141 - __u32 131 - Minimum frame height [pixel].
142 132 * - __u32
143 - ``max_width`` 133 - ``max_height``
144 134 - Maximum frame height [pixel].
145 - Maximum frame width [pixel]. 135 * - __u32
146 136 - ``step_height``
147 - .. row 3 137 - Frame height step size [pixel].
148
149 - __u32
150
151 - ``step_width``
152
153 - Frame width step size [pixel].
154
155 - .. row 4
156
157 - __u32
158
159 - ``min_height``
160
161 - Minimum frame height [pixel].
162
163 - .. row 5
164
165 - __u32
166
167 - ``max_height``
168
169 - Maximum frame height [pixel].
170
171 - .. row 6
172
173 - __u32
174
175 - ``step_height``
176
177 - Frame height step size [pixel].
178 138
179 139
180 140
@@ -184,69 +144,35 @@ application should zero out all members except for the *IN* fields.
184 :header-rows: 0 144 :header-rows: 0
185 :stub-columns: 0 145 :stub-columns: 0
186 146
187 147 * - __u32
188 - .. row 1 148 - ``index``
189 149 -
190 - __u32 150 - IN: Index of the given frame size in the enumeration.
191 151 * - __u32
192 - ``index`` 152 - ``pixel_format``
193 153 -
194 - 154 - IN: Pixel format for which the frame sizes are enumerated.
195 - IN: Index of the given frame size in the enumeration. 155 * - __u32
196 156 - ``type``
197 - .. row 2 157 -
198 158 - OUT: Frame size type the device supports.
199 - __u32 159 * - union
200 160 -
201 - ``pixel_format`` 161 -
202 162 - OUT: Frame size with the given index.
203 - 163 * -
204 - IN: Pixel format for which the frame sizes are enumerated. 164 - struct :c:type:`v4l2_frmsize_discrete`
205 165 - ``discrete``
206 - .. row 3 166 -
207 167 * -
208 - __u32 168 - struct :c:type:`v4l2_frmsize_stepwise`
209 169 - ``stepwise``
210 - ``type`` 170 -
211 171 * - __u32
212 - 172 - ``reserved[2]``
213 - OUT: Frame size type the device supports. 173 -
214 174 - Reserved space for future use. Must be zeroed by drivers and
215 - .. row 4 175 applications.
216
217 - union
218
219 -
220 -
221 - OUT: Frame size with the given index.
222
223 - .. row 5
224
225 -
226 - struct :c:type:`v4l2_frmsize_discrete`
227
228 - ``discrete``
229
230 -
231
232 - .. row 6
233
234 -
235 - struct :c:type:`v4l2_frmsize_stepwise`
236
237 - ``stepwise``
238
239 -
240
241 - .. row 7
242
243 - __u32
244
245 - ``reserved[2]``
246
247 -
248 - Reserved space for future use. Must be zeroed by drivers and
249 applications.
250 176
251 177
252 178
@@ -263,30 +189,15 @@ Enums
263 :stub-columns: 0 189 :stub-columns: 0
264 :widths: 3 1 4 190 :widths: 3 1 4
265 191
266 192 * - ``V4L2_FRMSIZE_TYPE_DISCRETE``
267 - .. row 1 193 - 1
268 194 - Discrete frame size.
269 - ``V4L2_FRMSIZE_TYPE_DISCRETE`` 195 * - ``V4L2_FRMSIZE_TYPE_CONTINUOUS``
270 196 - 2
271 - 1 197 - Continuous frame size.
272 198 * - ``V4L2_FRMSIZE_TYPE_STEPWISE``
273 - Discrete frame size. 199 - 3
274 200 - Step-wise defined frame size.
275 - .. row 2
276
277 - ``V4L2_FRMSIZE_TYPE_CONTINUOUS``
278
279 - 2
280
281 - Continuous frame size.
282
283 - .. row 3
284
285 - ``V4L2_FRMSIZE_TYPE_STEPWISE``
286
287 - 3
288
289 - Step-wise defined frame size.
290 201
291 202
292Return Value 203Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst b/Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst
index cc27ad4e2fa7..4e5f5e5bf632 100644
--- a/Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst
@@ -50,103 +50,63 @@ of the corresponding tuner/modulator is set.
50 :stub-columns: 0 50 :stub-columns: 0
51 :widths: 1 1 2 1 1 51 :widths: 1 1 2 1 1
52 52
53 53 * - __u32
54 - .. row 1 54 - ``tuner``
55 55 - The tuner or modulator index number. This is the same value as in
56 - __u32 56 the struct :c:type:`v4l2_input` ``tuner`` field and
57 57 the struct :c:type:`v4l2_tuner` ``index`` field, or
58 - ``tuner`` 58 the struct :c:type:`v4l2_output` ``modulator`` field
59 59 and the struct :c:type:`v4l2_modulator` ``index``
60 - The tuner or modulator index number. This is the same value as in 60 field.
61 the struct :c:type:`v4l2_input` ``tuner`` field and 61 * - __u32
62 the struct :c:type:`v4l2_tuner` ``index`` field, or 62 - ``type``
63 the struct :c:type:`v4l2_output` ``modulator`` field 63 - The tuner type. This is the same value as in the struct
64 and the struct :c:type:`v4l2_modulator` ``index`` 64 :c:type:`v4l2_tuner` ``type`` field. The type must be
65 field. 65 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and
66 66 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to
67 - .. row 2 67 ``V4L2_TUNER_RADIO`` for modulators (currently only radio
68 68 modulators are supported). See :c:type:`v4l2_tuner_type`
69 - __u32 69 * - __u32
70 70 - ``index``
71 - ``type`` 71 - Identifies the frequency band, set by the application.
72 72 * - __u32
73 - The tuner type. This is the same value as in the struct 73 - ``capability``
74 :c:type:`v4l2_tuner` ``type`` field. The type must be 74 - :cspan:`2` The tuner/modulator capability flags for this
75 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and 75 frequency band, see :ref:`tuner-capability`. The
76 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to 76 ``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must
77 ``V4L2_TUNER_RADIO`` for modulators (currently only radio 77 be the same for all frequency bands of the selected
78 modulators are supported). See :c:type:`v4l2_tuner_type` 78 tuner/modulator. So either all bands have that capability set, or
79 79 none of them have that capability.
80 - .. row 3 80 * - __u32
81 81 - ``rangelow``
82 - __u32 82 - :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or
83 83 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
84 - ``index`` 84 of 62.5 Hz, for this frequency band. A 1 Hz unit is used when the
85 85 ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
86 - Identifies the frequency band, set by the application. 86 * - __u32
87 87 - ``rangehigh``
88 - .. row 4 88 - :cspan:`2` The highest tunable frequency in units of 62.5 kHz,
89 89 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
90 - __u32 90 units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
91 91 when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
92 - ``capability`` 92 * - __u32
93 93 - ``modulation``
94 - :cspan:`2` The tuner/modulator capability flags for this 94 - :cspan:`2` The supported modulation systems of this frequency
95 frequency band, see :ref:`tuner-capability`. The 95 band. See :ref:`band-modulation`.
96 ``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must 96
97 be the same for all frequency bands of the selected 97 .. note::
98 tuner/modulator. So either all bands have that capability set, or 98
99 none of them have that capability. 99 Currently only one modulation system per frequency band
100 100 is supported. More work will need to be done if multiple
101 - .. row 5 101 modulation systems are possible. Contact the linux-media
102 102 mailing list
103 - __u32 103 (`https://linuxtv.org/lists.php <https://linuxtv.org/lists.php>`__)
104 104 if you need such functionality.
105 - ``rangelow`` 105 * - __u32
106 106 - ``reserved``\ [9]
107 - :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or 107 - Reserved for future extensions.
108 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units 108
109 of 62.5 Hz, for this frequency band. A 1 Hz unit is used when the 109 Applications and drivers must set the array to zero.
110 ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
111
112 - .. row 6
113
114 - __u32
115
116 - ``rangehigh``
117
118 - :cspan:`2` The highest tunable frequency in units of 62.5 kHz,
119 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
120 units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
121 when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
122
123 - .. row 7
124
125 - __u32
126
127 - ``modulation``
128
129 - :cspan:`2` The supported modulation systems of this frequency
130 band. See :ref:`band-modulation`.
131
132 .. note::
133
134 Currently only one modulation system per frequency band
135 is supported. More work will need to be done if multiple
136 modulation systems are possible. Contact the linux-media
137 mailing list
138 (`https://linuxtv.org/lists.php <https://linuxtv.org/lists.php>`__)
139 if you need such functionality.
140
141 - .. row 8
142
143 - __u32
144
145 - ``reserved``\ [9]
146
147 - Reserved for future extensions.
148
149 Applications and drivers must set the array to zero.
150 110
151 111
152 112
@@ -159,30 +119,15 @@ of the corresponding tuner/modulator is set.
159 :stub-columns: 0 119 :stub-columns: 0
160 :widths: 3 1 4 120 :widths: 3 1 4
161 121
162 122 * - ``V4L2_BAND_MODULATION_VSB``
163 - .. row 1 123 - 0x02
164 124 - Vestigial Sideband modulation, used for analog TV.
165 - ``V4L2_BAND_MODULATION_VSB`` 125 * - ``V4L2_BAND_MODULATION_FM``
166 126 - 0x04
167 - 0x02 127 - Frequency Modulation, commonly used for analog radio.
168 128 * - ``V4L2_BAND_MODULATION_AM``
169 - Vestigial Sideband modulation, used for analog TV. 129 - 0x08
170 130 - Amplitude Modulation, commonly used for analog radio.
171 - .. row 2
172
173 - ``V4L2_BAND_MODULATION_FM``
174
175 - 0x04
176
177 - Frequency Modulation, commonly used for analog radio.
178
179 - .. row 3
180
181 - ``V4L2_BAND_MODULATION_AM``
182
183 - 0x08
184
185 - Amplitude Modulation, commonly used for analog radio.
186 131
187 132
188Return Value 133Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enuminput.rst b/Documentation/media/uapi/v4l/vidioc-enuminput.rst
index c38bde400dc1..17aaaf939757 100644
--- a/Documentation/media/uapi/v4l/vidioc-enuminput.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enuminput.rst
@@ -48,103 +48,58 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
48 :stub-columns: 0 48 :stub-columns: 0
49 :widths: 1 1 2 49 :widths: 1 1 2
50 50
51 51 * - __u32
52 - .. row 1 52 - ``index``
53 53 - Identifies the input, set by the application.
54 - __u32 54 * - __u8
55 55 - ``name``\ [32]
56 - ``index`` 56 - Name of the video input, a NUL-terminated ASCII string, for
57 57 example: "Vin (Composite 2)". This information is intended for the
58 - Identifies the input, set by the application. 58 user, preferably the connector label on the device itself.
59 59 * - __u32
60 - .. row 2 60 - ``type``
61 61 - Type of the input, see :ref:`input-type`.
62 - __u8 62 * - __u32
63 63 - ``audioset``
64 - ``name``\ [32] 64 - Drivers can enumerate up to 32 video and audio inputs. This field
65 65 shows which audio inputs were selectable as audio source if this
66 - Name of the video input, a NUL-terminated ASCII string, for 66 was the currently selected video input. It is a bit mask. The LSB
67 example: "Vin (Composite 2)". This information is intended for the 67 corresponds to audio input 0, the MSB to input 31. Any number of
68 user, preferably the connector label on the device itself. 68 bits can be set, or none.
69 69
70 - .. row 3 70 When the driver does not enumerate audio inputs no bits must be
71 71 set. Applications shall not interpret this as lack of audio
72 - __u32 72 support. Some drivers automatically select audio sources and do
73 73 not enumerate them since there is no choice anyway.
74 - ``type`` 74
75 75 For details on audio inputs and how to select the current input
76 - Type of the input, see :ref:`input-type`. 76 see :ref:`audio`.
77 77 * - __u32
78 - .. row 4 78 - ``tuner``
79 79 - Capture devices can have zero or more tuners (RF demodulators).
80 - __u32 80 When the ``type`` is set to ``V4L2_INPUT_TYPE_TUNER`` this is an
81 81 RF connector and this field identifies the tuner. It corresponds
82 - ``audioset`` 82 to struct :c:type:`v4l2_tuner` field ``index``. For
83 83 details on tuners see :ref:`tuner`.
84 - Drivers can enumerate up to 32 video and audio inputs. This field 84 * - :ref:`v4l2_std_id <v4l2-std-id>`
85 shows which audio inputs were selectable as audio source if this 85 - ``std``
86 was the currently selected video input. It is a bit mask. The LSB 86 - Every video input supports one or more different video standards.
87 corresponds to audio input 0, the MSB to input 31. Any number of 87 This field is a set of all supported standards. For details on
88 bits can be set, or none. 88 video standards and how to switch see :ref:`standard`.
89 89 * - __u32
90 When the driver does not enumerate audio inputs no bits must be 90 - ``status``
91 set. Applications shall not interpret this as lack of audio 91 - This field provides status information about the input. See
92 support. Some drivers automatically select audio sources and do 92 :ref:`input-status` for flags. With the exception of the sensor
93 not enumerate them since there is no choice anyway. 93 orientation bits ``status`` is only valid when this is the current
94 94 input.
95 For details on audio inputs and how to select the current input 95 * - __u32
96 see :ref:`audio`. 96 - ``capabilities``
97 97 - This field provides capabilities for the input. See
98 - .. row 5 98 :ref:`input-capabilities` for flags.
99 99 * - __u32
100 - __u32 100 - ``reserved``\ [3]
101 101 - Reserved for future extensions. Drivers must set the array to
102 - ``tuner`` 102 zero.
103
104 - Capture devices can have zero or more tuners (RF demodulators).
105 When the ``type`` is set to ``V4L2_INPUT_TYPE_TUNER`` this is an
106 RF connector and this field identifies the tuner. It corresponds
107 to struct :c:type:`v4l2_tuner` field ``index``. For
108 details on tuners see :ref:`tuner`.
109
110 - .. row 6
111
112 - :ref:`v4l2_std_id <v4l2-std-id>`
113
114 - ``std``
115
116 - Every video input supports one or more different video standards.
117 This field is a set of all supported standards. For details on
118 video standards and how to switch see :ref:`standard`.
119
120 - .. row 7
121
122 - __u32
123
124 - ``status``
125
126 - This field provides status information about the input. See
127 :ref:`input-status` for flags. With the exception of the sensor
128 orientation bits ``status`` is only valid when this is the current
129 input.
130
131 - .. row 8
132
133 - __u32
134
135 - ``capabilities``
136
137 - This field provides capabilities for the input. See
138 :ref:`input-capabilities` for flags.
139
140 - .. row 9
141
142 - __u32
143
144 - ``reserved``\ [3]
145
146 - Reserved for future extensions. Drivers must set the array to
147 zero.
148 103
149 104
150 105
@@ -157,31 +112,16 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
157 :stub-columns: 0 112 :stub-columns: 0
158 :widths: 3 1 4 113 :widths: 3 1 4
159 114
160 115 * - ``V4L2_INPUT_TYPE_TUNER``
161 - .. row 1 116 - 1
162 117 - This input uses a tuner (RF demodulator).
163 - ``V4L2_INPUT_TYPE_TUNER`` 118 * - ``V4L2_INPUT_TYPE_CAMERA``
164 119 - 2
165 - 1 120 - Analog baseband input, for example CVBS / Composite Video,
166 121 S-Video, RGB.
167 - This input uses a tuner (RF demodulator). 122 * - ``V4L2_INPUT_TYPE_TOUCH``
168 123 - 3
169 - .. row 2 124 - This input is a touch device for capturing raw touch data.
170
171 - ``V4L2_INPUT_TYPE_CAMERA``
172
173 - 2
174
175 - Analog baseband input, for example CVBS / Composite Video,
176 S-Video, RGB.
177
178 - .. row 3
179
180 - ``V4L2_INPUT_TYPE_TOUCH``
181
182 - 3
183
184 - This input is a touch device for capturing raw touch data.
185 125
186 126
187 127
@@ -193,157 +133,67 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
193 :header-rows: 0 133 :header-rows: 0
194 :stub-columns: 0 134 :stub-columns: 0
195 135
196 136 * - :cspan:`2` General
197 - .. row 1 137 * - ``V4L2_IN_ST_NO_POWER``
198 138 - 0x00000001
199 - :cspan:`2` General 139 - Attached device is off.
200 140 * - ``V4L2_IN_ST_NO_SIGNAL``
201 - .. row 2 141 - 0x00000002
202 142 -
203 - ``V4L2_IN_ST_NO_POWER`` 143 * - ``V4L2_IN_ST_NO_COLOR``
204 144 - 0x00000004
205 - 0x00000001 145 - The hardware supports color decoding, but does not detect color
206 146 modulation in the signal.
207 - Attached device is off. 147 * - :cspan:`2` Sensor Orientation
208 148 * - ``V4L2_IN_ST_HFLIP``
209 - .. row 3 149 - 0x00000010
210 150 - The input is connected to a device that produces a signal that is
211 - ``V4L2_IN_ST_NO_SIGNAL`` 151 flipped horizontally and does not correct this before passing the
212 152 signal to userspace.
213 - 0x00000002 153 * - ``V4L2_IN_ST_VFLIP``
214 154 - 0x00000020
215 - 155 - The input is connected to a device that produces a signal that is
216 156 flipped vertically and does not correct this before passing the
217 - .. row 4 157 signal to userspace.
218 158 .. note:: A 180 degree rotation is the same as HFLIP | VFLIP
219 - ``V4L2_IN_ST_NO_COLOR`` 159 * - :cspan:`2` Analog Video
220 160 * - ``V4L2_IN_ST_NO_H_LOCK``
221 - 0x00000004 161 - 0x00000100
222 162 - No horizontal sync lock.
223 - The hardware supports color decoding, but does not detect color 163 * - ``V4L2_IN_ST_COLOR_KILL``
224 modulation in the signal. 164 - 0x00000200
225 165 - A color killer circuit automatically disables color decoding when
226 - .. row 5 166 it detects no color modulation. When this flag is set the color
227 167 killer is enabled *and* has shut off color decoding.
228 - :cspan:`2` Sensor Orientation 168 * - ``V4L2_IN_ST_NO_V_LOCK``
229 169 - 0x00000400
230 - .. row 6 170 - No vertical sync lock.
231 171 * - ``V4L2_IN_ST_NO_STD_LOCK``
232 - ``V4L2_IN_ST_HFLIP`` 172 - 0x00000800
233 173 - No standard format lock in case of auto-detection format
234 - 0x00000010 174 by the component.
235 175 * - :cspan:`2` Digital Video
236 - The input is connected to a device that produces a signal that is 176 * - ``V4L2_IN_ST_NO_SYNC``
237 flipped horizontally and does not correct this before passing the 177 - 0x00010000
238 signal to userspace. 178 - No synchronization lock.
239 179 * - ``V4L2_IN_ST_NO_EQU``
240 - .. row 7 180 - 0x00020000
241 181 - No equalizer lock.
242 - ``V4L2_IN_ST_VFLIP`` 182 * - ``V4L2_IN_ST_NO_CARRIER``
243 183 - 0x00040000
244 - 0x00000020 184 - Carrier recovery failed.
245 185 * - :cspan:`2` VCR and Set-Top Box
246 - The input is connected to a device that produces a signal that is 186 * - ``V4L2_IN_ST_MACROVISION``
247 flipped vertically and does not correct this before passing the 187 - 0x01000000
248 signal to userspace. 188 - Macrovision is an analog copy prevention system mangling the video
249 .. note:: A 180 degree rotation is the same as HFLIP | VFLIP 189 signal to confuse video recorders. When this flag is set
250 190 Macrovision has been detected.
251 - .. row 8 191 * - ``V4L2_IN_ST_NO_ACCESS``
252 192 - 0x02000000
253 - :cspan:`2` Analog Video 193 - Conditional access denied.
254 194 * - ``V4L2_IN_ST_VTR``
255 - .. row 9 195 - 0x04000000
256 196 - VTR time constant. [?]
257 - ``V4L2_IN_ST_NO_H_LOCK``
258
259 - 0x00000100
260
261 - No horizontal sync lock.
262
263 - .. row 10
264
265 - ``V4L2_IN_ST_COLOR_KILL``
266
267 - 0x00000200
268
269 - A color killer circuit automatically disables color decoding when
270 it detects no color modulation. When this flag is set the color
271 killer is enabled *and* has shut off color decoding.
272
273 - .. row 11
274
275 - ``V4L2_IN_ST_NO_V_LOCK``
276
277 - 0x00000400
278
279 - No vertical sync lock.
280
281 - .. row 12
282
283 - ``V4L2_IN_ST_NO_STD_LOCK``
284
285 - 0x00000800
286
287 - No standard format lock in case of auto-detection format
288 by the component.
289
290 - .. row 13
291
292 - :cspan:`2` Digital Video
293
294 - .. row 14
295
296 - ``V4L2_IN_ST_NO_SYNC``
297
298 - 0x00010000
299
300 - No synchronization lock.
301
302 - .. row 15
303
304 - ``V4L2_IN_ST_NO_EQU``
305
306 - 0x00020000
307
308 - No equalizer lock.
309
310 - .. row 16
311
312 - ``V4L2_IN_ST_NO_CARRIER``
313
314 - 0x00040000
315
316 - Carrier recovery failed.
317
318 - .. row 17
319
320 - :cspan:`2` VCR and Set-Top Box
321
322 - .. row 18
323
324 - ``V4L2_IN_ST_MACROVISION``
325
326 - 0x01000000
327
328 - Macrovision is an analog copy prevention system mangling the video
329 signal to confuse video recorders. When this flag is set
330 Macrovision has been detected.
331
332 - .. row 19
333
334 - ``V4L2_IN_ST_NO_ACCESS``
335
336 - 0x02000000
337
338 - Conditional access denied.
339
340 - .. row 20
341
342 - ``V4L2_IN_ST_VTR``
343
344 - 0x04000000
345
346 - VTR time constant. [?]
347 197
348 198
349 199
@@ -356,34 +206,19 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
356 :stub-columns: 0 206 :stub-columns: 0
357 :widths: 3 1 4 207 :widths: 3 1 4
358 208
359 209 * - ``V4L2_IN_CAP_DV_TIMINGS``
360 - .. row 1 210 - 0x00000002
361 211 - This input supports setting video timings by using
362 - ``V4L2_IN_CAP_DV_TIMINGS`` 212 VIDIOC_S_DV_TIMINGS.
363 213 * - ``V4L2_IN_CAP_STD``
364 - 0x00000002 214 - 0x00000004
365 215 - This input supports setting the TV standard by using
366 - This input supports setting video timings by using 216 VIDIOC_S_STD.
367 VIDIOC_S_DV_TIMINGS. 217 * - ``V4L2_IN_CAP_NATIVE_SIZE``
368 218 - 0x00000008
369 - .. row 2 219 - This input supports setting the native size using the
370 220 ``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
371 - ``V4L2_IN_CAP_STD`` 221 :ref:`v4l2-selections-common`.
372
373 - 0x00000004
374
375 - This input supports setting the TV standard by using
376 VIDIOC_S_STD.
377
378 - .. row 3
379
380 - ``V4L2_IN_CAP_NATIVE_SIZE``
381
382 - 0x00000008
383
384 - This input supports setting the native size using the
385 ``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
386 :ref:`v4l2-selections-common`.
387 222
388 223
389Return Value 224Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enumoutput.rst b/Documentation/media/uapi/v4l/vidioc-enumoutput.rst
index 763066ab99b6..d7dd2742475a 100644
--- a/Documentation/media/uapi/v4l/vidioc-enumoutput.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enumoutput.rst
@@ -49,92 +49,52 @@ EINVAL.
49 :stub-columns: 0 49 :stub-columns: 0
50 :widths: 1 1 2 50 :widths: 1 1 2
51 51
52 52 * - __u32
53 - .. row 1 53 - ``index``
54 54 - Identifies the output, set by the application.
55 - __u32 55 * - __u8
56 56 - ``name``\ [32]
57 - ``index`` 57 - Name of the video output, a NUL-terminated ASCII string, for
58 58 example: "Vout". This information is intended for the user,
59 - Identifies the output, set by the application. 59 preferably the connector label on the device itself.
60 60 * - __u32
61 - .. row 2 61 - ``type``
62 62 - Type of the output, see :ref:`output-type`.
63 - __u8 63 * - __u32
64 64 - ``audioset``
65 - ``name``\ [32] 65 - Drivers can enumerate up to 32 video and audio outputs. This field
66 66 shows which audio outputs were selectable as the current output if
67 - Name of the video output, a NUL-terminated ASCII string, for 67 this was the currently selected video output. It is a bit mask.
68 example: "Vout". This information is intended for the user, 68 The LSB corresponds to audio output 0, the MSB to output 31. Any
69 preferably the connector label on the device itself. 69 number of bits can be set, or none.
70 70
71 - .. row 3 71 When the driver does not enumerate audio outputs no bits must be
72 72 set. Applications shall not interpret this as lack of audio
73 - __u32 73 support. Drivers may automatically select audio outputs without
74 74 enumerating them.
75 - ``type`` 75
76 76 For details on audio outputs and how to select the current output
77 - Type of the output, see :ref:`output-type`. 77 see :ref:`audio`.
78 78 * - __u32
79 - .. row 4 79 - ``modulator``
80 80 - Output devices can have zero or more RF modulators. When the
81 - __u32 81 ``type`` is ``V4L2_OUTPUT_TYPE_MODULATOR`` this is an RF connector
82 82 and this field identifies the modulator. It corresponds to struct
83 - ``audioset`` 83 :c:type:`v4l2_modulator` field ``index``. For
84 84 details on modulators see :ref:`tuner`.
85 - Drivers can enumerate up to 32 video and audio outputs. This field 85 * - :ref:`v4l2_std_id <v4l2-std-id>`
86 shows which audio outputs were selectable as the current output if 86 - ``std``
87 this was the currently selected video output. It is a bit mask. 87 - Every video output supports one or more different video standards.
88 The LSB corresponds to audio output 0, the MSB to output 31. Any 88 This field is a set of all supported standards. For details on
89 number of bits can be set, or none. 89 video standards and how to switch see :ref:`standard`.
90 90 * - __u32
91 When the driver does not enumerate audio outputs no bits must be 91 - ``capabilities``
92 set. Applications shall not interpret this as lack of audio 92 - This field provides capabilities for the output. See
93 support. Drivers may automatically select audio outputs without 93 :ref:`output-capabilities` for flags.
94 enumerating them. 94 * - __u32
95 95 - ``reserved``\ [3]
96 For details on audio outputs and how to select the current output 96 - Reserved for future extensions. Drivers must set the array to
97 see :ref:`audio`. 97 zero.
98
99 - .. row 5
100
101 - __u32
102
103 - ``modulator``
104
105 - Output devices can have zero or more RF modulators. When the
106 ``type`` is ``V4L2_OUTPUT_TYPE_MODULATOR`` this is an RF connector
107 and this field identifies the modulator. It corresponds to struct
108 :c:type:`v4l2_modulator` field ``index``. For
109 details on modulators see :ref:`tuner`.
110
111 - .. row 6
112
113 - :ref:`v4l2_std_id <v4l2-std-id>`
114
115 - ``std``
116
117 - Every video output supports one or more different video standards.
118 This field is a set of all supported standards. For details on
119 video standards and how to switch see :ref:`standard`.
120
121 - .. row 7
122
123 - __u32
124
125 - ``capabilities``
126
127 - This field provides capabilities for the output. See
128 :ref:`output-capabilities` for flags.
129
130 - .. row 8
131
132 - __u32
133
134 - ``reserved``\ [3]
135
136 - Reserved for future extensions. Drivers must set the array to
137 zero.
138 98
139 99
140 100
@@ -147,31 +107,16 @@ EINVAL.
147 :stub-columns: 0 107 :stub-columns: 0
148 :widths: 3 1 4 108 :widths: 3 1 4
149 109
150 110 * - ``V4L2_OUTPUT_TYPE_MODULATOR``
151 - .. row 1 111 - 1
152 112 - This output is an analog TV modulator.
153 - ``V4L2_OUTPUT_TYPE_MODULATOR`` 113 * - ``V4L2_OUTPUT_TYPE_ANALOG``
154 114 - 2
155 - 1 115 - Analog baseband output, for example Composite / CVBS, S-Video,
156 116 RGB.
157 - This output is an analog TV modulator. 117 * - ``V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY``
158 118 - 3
159 - .. row 2 119 - [?]
160
161 - ``V4L2_OUTPUT_TYPE_ANALOG``
162
163 - 2
164
165 - Analog baseband output, for example Composite / CVBS, S-Video,
166 RGB.
167
168 - .. row 3
169
170 - ``V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY``
171
172 - 3
173
174 - [?]
175 120
176 121
177 122
@@ -184,34 +129,19 @@ EINVAL.
184 :stub-columns: 0 129 :stub-columns: 0
185 :widths: 3 1 4 130 :widths: 3 1 4
186 131
187 132 * - ``V4L2_OUT_CAP_DV_TIMINGS``
188 - .. row 1 133 - 0x00000002
189 134 - This output supports setting video timings by using
190 - ``V4L2_OUT_CAP_DV_TIMINGS`` 135 VIDIOC_S_DV_TIMINGS.
191 136 * - ``V4L2_OUT_CAP_STD``
192 - 0x00000002 137 - 0x00000004
193 138 - This output supports setting the TV standard by using
194 - This output supports setting video timings by using 139 VIDIOC_S_STD.
195 VIDIOC_S_DV_TIMINGS. 140 * - ``V4L2_OUT_CAP_NATIVE_SIZE``
196 141 - 0x00000008
197 - .. row 2 142 - This output supports setting the native size using the
198 143 ``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
199 - ``V4L2_OUT_CAP_STD`` 144 :ref:`v4l2-selections-common`.
200
201 - 0x00000004
202
203 - This output supports setting the TV standard by using
204 VIDIOC_S_STD.
205
206 - .. row 3
207
208 - ``V4L2_OUT_CAP_NATIVE_SIZE``
209
210 - 0x00000008
211
212 - This output supports setting the native size using the
213 ``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
214 :ref:`v4l2-selections-common`.
215 145
216 146
217Return Value 147Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst b/Documentation/media/uapi/v4l/vidioc-enumstd.rst
index 7a882cd8f944..f2bdd45cfa0d 100644
--- a/Documentation/media/uapi/v4l/vidioc-enumstd.rst
+++ b/Documentation/media/uapi/v4l/vidioc-enumstd.rst
@@ -51,64 +51,34 @@ or output. [#f1]_
51 :stub-columns: 0 51 :stub-columns: 0
52 :widths: 1 1 2 52 :widths: 1 1 2
53 53
54 54 * - __u32
55 - .. row 1 55 - ``index``
56 56 - Number of the video standard, set by the application.
57 - __u32 57 * - :ref:`v4l2_std_id <v4l2-std-id>`
58 58 - ``id``
59 - ``index`` 59 - The bits in this field identify the standard as one of the common
60 60 standards listed in :ref:`v4l2-std-id`, or if bits 32 to 63 are
61 - Number of the video standard, set by the application. 61 set as custom standards. Multiple bits can be set if the hardware
62 62 does not distinguish between these standards, however separate
63 - .. row 2 63 indices do not indicate the opposite. The ``id`` must be unique.
64 64 No other enumerated struct :c:type:`v4l2_standard` structure,
65 - :ref:`v4l2_std_id <v4l2-std-id>` 65 for this input or output anyway, can contain the same set of bits.
66 66 * - __u8
67 - ``id`` 67 - ``name``\ [24]
68 68 - Name of the standard, a NUL-terminated ASCII string, for example:
69 - The bits in this field identify the standard as one of the common 69 "PAL-B/G", "NTSC Japan". This information is intended for the
70 standards listed in :ref:`v4l2-std-id`, or if bits 32 to 63 are 70 user.
71 set as custom standards. Multiple bits can be set if the hardware 71 * - struct :c:type:`v4l2_fract`
72 does not distinguish between these standards, however separate 72 - ``frameperiod``
73 indices do not indicate the opposite. The ``id`` must be unique. 73 - The frame period (not field period) is numerator / denominator.
74 No other enumerated struct :c:type:`v4l2_standard` structure, 74 For example M/NTSC has a frame period of 1001 / 30000 seconds.
75 for this input or output anyway, can contain the same set of bits. 75 * - __u32
76 76 - ``framelines``
77 - .. row 3 77 - Total lines per frame including blanking, e. g. 625 for B/PAL.
78 78 * - __u32
79 - __u8 79 - ``reserved``\ [4]
80 80 - Reserved for future extensions. Drivers must set the array to
81 - ``name``\ [24] 81 zero.
82
83 - Name of the standard, a NUL-terminated ASCII string, for example:
84 "PAL-B/G", "NTSC Japan". This information is intended for the
85 user.
86
87 - .. row 4
88
89 - struct :c:type:`v4l2_fract`
90
91 - ``frameperiod``
92
93 - The frame period (not field period) is numerator / denominator.
94 For example M/NTSC has a frame period of 1001 / 30000 seconds.
95
96 - .. row 5
97
98 - __u32
99
100 - ``framelines``
101
102 - Total lines per frame including blanking, e. g. 625 for B/PAL.
103
104 - .. row 6
105
106 - __u32
107
108 - ``reserved``\ [4]
109
110 - Reserved for future extensions. Drivers must set the array to
111 zero.
112 82
113 83
114 84
@@ -121,22 +91,12 @@ or output. [#f1]_
121 :stub-columns: 0 91 :stub-columns: 0
122 :widths: 1 1 2 92 :widths: 1 1 2
123 93
124 94 * - __u32
125 - .. row 1 95 - ``numerator``
126 96 -
127 - __u32 97 * - __u32
128 98 - ``denominator``
129 - ``numerator`` 99 -
130
131 -
132
133 - .. row 2
134
135 - __u32
136
137 - ``denominator``
138
139 -
140 100
141 101
142.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 102.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
@@ -148,17 +108,12 @@ or output. [#f1]_
148 :stub-columns: 0 108 :stub-columns: 0
149 :widths: 1 1 2 109 :widths: 1 1 2
150 110
151 111 * - __u64
152 - .. row 1 112 - ``v4l2_std_id``
153 113 - This type is a set, each bit representing another video standard
154 - __u64 114 as listed below and in :ref:`video-standards`. The 32 most
155 115 significant bits are reserved for custom (driver defined) video
156 - ``v4l2_std_id`` 116 standards.
157
158 - This type is a set, each bit representing another video standard
159 as listed below and in :ref:`video-standards`. The 32 most
160 significant bits are reserved for custom (driver defined) video
161 standards.
162 117
163 118
164 119
@@ -282,120 +237,59 @@ support digital TV. See also the Linux DVB API at
282 :header-rows: 1 237 :header-rows: 1
283 :stub-columns: 0 238 :stub-columns: 0
284 239
285 240 * - Characteristics
286 - .. row 1 241 - M/NTSC [#f2]_
287 242 - M/PAL
288 - Characteristics 243 - N/PAL [#f3]_
289 244 - B, B1, G/PAL
290 - M/NTSC [#f2]_ 245 - D, D1, K/PAL
291 246 - H/PAL
292 - M/PAL 247 - I/PAL
293 248 - B, G/SECAM
294 - N/PAL [#f3]_ 249 - D, K/SECAM
295 250 - K1/SECAM
296 - B, B1, G/PAL 251 - L/SECAM
297 252 * - Frame lines
298 - D, D1, K/PAL 253 - :cspan:`1` 525
299 254 - :cspan:`8` 625
300 - H/PAL 255 * - Frame period (s)
301 256 - :cspan:`1` 1001/30000
302 - I/PAL 257 - :cspan:`8` 1/25
303 258 * - Chrominance sub-carrier frequency (Hz)
304 - B, G/SECAM 259 - 3579545 ± 10
305 260 - 3579611.49 ± 10
306 - D, K/SECAM 261 - 4433618.75 ± 5
307 262
308 - K1/SECAM 263 (3582056.25 ± 5)
309 264 - :cspan:`3` 4433618.75 ± 5
310 - L/SECAM 265 - 4433618.75 ± 1
311 266 - :cspan:`2` f\ :sub:`OR` = 4406250 ± 2000,
312 - .. row 2 267
313 268 f\ :sub:`OB` = 4250000 ± 2000
314 - Frame lines 269 * - Nominal radio-frequency channel bandwidth (MHz)
315 270 - 6
316 - :cspan:`1` 525 271 - 6
317 272 - 6
318 - :cspan:`8` 625 273 - B: 7; B1, G: 8
319 274 - 8
320 - .. row 3 275 - 8
321 276 - 8
322 - Frame period (s) 277 - 8
323 278 - 8
324 - :cspan:`1` 1001/30000 279 - 8
325 280 - 8
326 - :cspan:`8` 1/25 281 * - Sound carrier relative to vision carrier (MHz)
327 282 - 4.5
328 - .. row 4 283 - 4.5
329 284 - 4.5
330 - Chrominance sub-carrier frequency (Hz) 285 - 5.5 ± 0.001 [#f4]_ [#f5]_ [#f6]_ [#f7]_
331 286 - 6.5 ± 0.001
332 - 3579545 ± 10 287 - 5.5
333 288 - 5.9996 ± 0.0005
334 - 3579611.49 ± 10 289 - 5.5 ± 0.001
335 290 - 6.5 ± 0.001
336 - 4433618.75 ± 5 291 - 6.5
337 292 - 6.5 [#f8]_
338 (3582056.25 ± 5)
339
340 - :cspan:`3` 4433618.75 ± 5
341
342 - 4433618.75 ± 1
343
344 - :cspan:`2` f\ :sub:`OR` = 4406250 ± 2000,
345
346 f\ :sub:`OB` = 4250000 ± 2000
347
348 - .. row 5
349
350 - Nominal radio-frequency channel bandwidth (MHz)
351
352 - 6
353
354 - 6
355
356 - 6
357
358 - B: 7; B1, G: 8
359
360 - 8
361
362 - 8
363
364 - 8
365
366 - 8
367
368 - 8
369
370 - 8
371
372 - 8
373
374 - .. row 6
375
376 - Sound carrier relative to vision carrier (MHz)
377
378 - 4.5
379
380 - 4.5
381
382 - 4.5
383
384 - 5.5 ± 0.001 [#f4]_ [#f5]_ [#f6]_ [#f7]_
385
386 - 6.5 ± 0.001
387
388 - 5.5
389
390 - 5.9996 ± 0.0005
391
392 - 5.5 ± 0.001
393
394 - 6.5 ± 0.001
395
396 - 6.5
397
398 - 6.5 [#f8]_
399 293
400.. raw:: latex 294.. raw:: latex
401 295
diff --git a/Documentation/media/uapi/v4l/vidioc-expbuf.rst b/Documentation/media/uapi/v4l/vidioc-expbuf.rst
index 2ae2f5483351..246e48028d40 100644
--- a/Documentation/media/uapi/v4l/vidioc-expbuf.rst
+++ b/Documentation/media/uapi/v4l/vidioc-expbuf.rst
@@ -123,66 +123,36 @@ Examples
123 :stub-columns: 0 123 :stub-columns: 0
124 :widths: 1 1 2 124 :widths: 1 1 2
125 125
126 126 * - __u32
127 - .. row 1 127 - ``type``
128 128 - Type of the buffer, same as struct
129 - __u32 129 :c:type:`v4l2_format` ``type`` or struct
130 130 :c:type:`v4l2_requestbuffers` ``type``, set
131 - ``type`` 131 by the application. See :c:type:`v4l2_buf_type`
132 132 * - __u32
133 - Type of the buffer, same as struct 133 - ``index``
134 :c:type:`v4l2_format` ``type`` or struct 134 - Number of the buffer, set by the application. This field is only
135 :c:type:`v4l2_requestbuffers` ``type``, set 135 used for :ref:`memory mapping <mmap>` I/O and can range from
136 by the application. See :c:type:`v4l2_buf_type` 136 zero to the number of buffers allocated with the
137 137 :ref:`VIDIOC_REQBUFS` and/or
138 - .. row 2 138 :ref:`VIDIOC_CREATE_BUFS` ioctls.
139 139 * - __u32
140 - __u32 140 - ``plane``
141 141 - Index of the plane to be exported when using the multi-planar API.
142 - ``index`` 142 Otherwise this value must be set to zero.
143 143 * - __u32
144 - Number of the buffer, set by the application. This field is only 144 - ``flags``
145 used for :ref:`memory mapping <mmap>` I/O and can range from 145 - Flags for the newly created file, currently only ``O_CLOEXEC``,
146 zero to the number of buffers allocated with the 146 ``O_RDONLY``, ``O_WRONLY``, and ``O_RDWR`` are supported, refer to
147 :ref:`VIDIOC_REQBUFS` and/or 147 the manual of open() for more details.
148 :ref:`VIDIOC_CREATE_BUFS` ioctls. 148 * - __s32
149 149 - ``fd``
150 - .. row 3 150 - The DMABUF file descriptor associated with a buffer. Set by the
151 151 driver.
152 - __u32 152 * - __u32
153 153 - ``reserved[11]``
154 - ``plane`` 154 - Reserved field for future use. Drivers and applications must set
155 155 the array to zero.
156 - Index of the plane to be exported when using the multi-planar API.
157 Otherwise this value must be set to zero.
158
159 - .. row 4
160
161 - __u32
162
163 - ``flags``
164
165 - Flags for the newly created file, currently only ``O_CLOEXEC``,
166 ``O_RDONLY``, ``O_WRONLY``, and ``O_RDWR`` are supported, refer to
167 the manual of open() for more details.
168
169 - .. row 5
170
171 - __s32
172
173 - ``fd``
174
175 - The DMABUF file descriptor associated with a buffer. Set by the
176 driver.
177
178 - .. row 6
179
180 - __u32
181
182 - ``reserved[11]``
183
184 - Reserved field for future use. Drivers and applications must set
185 the array to zero.
186 156
187 157
188Return Value 158Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-audio.rst b/Documentation/media/uapi/v4l/vidioc-g-audio.rst
index 60520318cb4a..5b67e81a0db6 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-audio.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-audio.rst
@@ -58,50 +58,25 @@ return the actual new audio mode.
58 :stub-columns: 0 58 :stub-columns: 0
59 :widths: 1 1 2 59 :widths: 1 1 2
60 60
61 61 * - __u32
62 - .. row 1 62 - ``index``
63 63 - Identifies the audio input, set by the driver or application.
64 - __u32 64 * - __u8
65 65 - ``name``\ [32]
66 - ``index`` 66 - Name of the audio input, a NUL-terminated ASCII string, for
67 67 example: "Line In". This information is intended for the user,
68 - Identifies the audio input, set by the driver or application. 68 preferably the connector label on the device itself.
69 69 * - __u32
70 - .. row 2 70 - ``capability``
71 71 - Audio capability flags, see :ref:`audio-capability`.
72 - __u8 72 * - __u32
73 73 - ``mode``
74 - ``name``\ [32] 74 - Audio mode flags set by drivers and applications (on
75 75 :ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>` ioctl), see :ref:`audio-mode`.
76 - Name of the audio input, a NUL-terminated ASCII string, for 76 * - __u32
77 example: "Line In". This information is intended for the user, 77 - ``reserved``\ [2]
78 preferably the connector label on the device itself. 78 - Reserved for future extensions. Drivers and applications must set
79 79 the array to zero.
80 - .. row 3
81
82 - __u32
83
84 - ``capability``
85
86 - Audio capability flags, see :ref:`audio-capability`.
87
88 - .. row 4
89
90 - __u32
91
92 - ``mode``
93
94 - Audio mode flags set by drivers and applications (on
95 :ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>` ioctl), see :ref:`audio-mode`.
96
97 - .. row 5
98
99 - __u32
100
101 - ``reserved``\ [2]
102
103 - Reserved for future extensions. Drivers and applications must set
104 the array to zero.
105 80
106 81
107 82
@@ -114,25 +89,15 @@ return the actual new audio mode.
114 :stub-columns: 0 89 :stub-columns: 0
115 :widths: 3 1 4 90 :widths: 3 1 4
116 91
117 92 * - ``V4L2_AUDCAP_STEREO``
118 - .. row 1 93 - 0x00001
119 94 - This is a stereo input. The flag is intended to automatically
120 - ``V4L2_AUDCAP_STEREO`` 95 disable stereo recording etc. when the signal is always monaural.
121 96 The API provides no means to detect if stereo is *received*,
122 - 0x00001 97 unless the audio input belongs to a tuner.
123 98 * - ``V4L2_AUDCAP_AVL``
124 - This is a stereo input. The flag is intended to automatically 99 - 0x00002
125 disable stereo recording etc. when the signal is always monaural. 100 - Automatic Volume Level mode is supported.
126 The API provides no means to detect if stereo is *received*,
127 unless the audio input belongs to a tuner.
128
129 - .. row 2
130
131 - ``V4L2_AUDCAP_AVL``
132
133 - 0x00002
134
135 - Automatic Volume Level mode is supported.
136 101
137 102
138 103
@@ -145,14 +110,9 @@ return the actual new audio mode.
145 :stub-columns: 0 110 :stub-columns: 0
146 :widths: 3 1 4 111 :widths: 3 1 4
147 112
148 113 * - ``V4L2_AUDMODE_AVL``
149 - .. row 1 114 - 0x00001
150 115 - AVL mode is on.
151 - ``V4L2_AUDMODE_AVL``
152
153 - 0x00001
154
155 - AVL mode is on.
156 116
157 117
158Return Value 118Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-audioout.rst b/Documentation/media/uapi/v4l/vidioc-g-audioout.rst
index e9d264590788..d16ecbaddc59 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-audioout.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-audioout.rst
@@ -65,51 +65,26 @@ as ``VIDIOC_G_AUDOUT`` does.
65 :stub-columns: 0 65 :stub-columns: 0
66 :widths: 1 1 2 66 :widths: 1 1 2
67 67
68 68 * - __u32
69 - .. row 1 69 - ``index``
70 70 - Identifies the audio output, set by the driver or application.
71 - __u32 71 * - __u8
72 72 - ``name``\ [32]
73 - ``index`` 73 - Name of the audio output, a NUL-terminated ASCII string, for
74 74 example: "Line Out". This information is intended for the user,
75 - Identifies the audio output, set by the driver or application. 75 preferably the connector label on the device itself.
76 76 * - __u32
77 - .. row 2 77 - ``capability``
78 78 - Audio capability flags, none defined yet. Drivers must set this
79 - __u8 79 field to zero.
80 80 * - __u32
81 - ``name``\ [32] 81 - ``mode``
82 82 - Audio mode, none defined yet. Drivers and applications (on
83 - Name of the audio output, a NUL-terminated ASCII string, for 83 ``VIDIOC_S_AUDOUT``) must set this field to zero.
84 example: "Line Out". This information is intended for the user, 84 * - __u32
85 preferably the connector label on the device itself. 85 - ``reserved``\ [2]
86 86 - Reserved for future extensions. Drivers and applications must set
87 - .. row 3 87 the array to zero.
88
89 - __u32
90
91 - ``capability``
92
93 - Audio capability flags, none defined yet. Drivers must set this
94 field to zero.
95
96 - .. row 4
97
98 - __u32
99
100 - ``mode``
101
102 - Audio mode, none defined yet. Drivers and applications (on
103 ``VIDIOC_S_AUDOUT``) must set this field to zero.
104
105 - .. row 5
106
107 - __u32
108
109 - ``reserved``\ [2]
110
111 - Reserved for future extensions. Drivers and applications must set
112 the array to zero.
113 88
114 89
115Return Value 90Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-crop.rst b/Documentation/media/uapi/v4l/vidioc-g-crop.rst
index 9b24ca591ea4..56a36340f565 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-crop.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-crop.rst
@@ -84,26 +84,16 @@ When cropping is not supported then no parameters are changed and
84 :stub-columns: 0 84 :stub-columns: 0
85 :widths: 1 1 2 85 :widths: 1 1 2
86 86
87 87 * - __u32
88 - .. row 1 88 - ``type``
89 89 - Type of the data stream, set by the application. Only these types
90 - __u32 90 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``,
91 91 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and
92 - ``type`` 92 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
93 93 * - struct :c:type:`v4l2_rect`
94 - Type of the data stream, set by the application. Only these types 94 - ``c``
95 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``, 95 - Cropping rectangle. The same co-ordinate system as for struct
96 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and 96 :c:type:`v4l2_cropcap` ``bounds`` is used.
97 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
98
99 - .. row 2
100
101 - struct :c:type:`v4l2_rect`
102
103 - ``c``
104
105 - Cropping rectangle. The same co-ordinate system as for struct
106 :c:type:`v4l2_cropcap` ``bounds`` is used.
107 97
108 98
109Return Value 99Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst b/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst
index 78c191a89360..d8a379182a34 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst
@@ -64,22 +64,12 @@ These ioctls work only with user controls. For other control classes the
64 :stub-columns: 0 64 :stub-columns: 0
65 :widths: 1 1 2 65 :widths: 1 1 2
66 66
67 67 * - __u32
68 - .. row 1 68 - ``id``
69 69 - Identifies the control, set by the application.
70 - __u32 70 * - __s32
71 71 - ``value``
72 - ``id`` 72 - New value or current value.
73
74 - Identifies the control, set by the application.
75
76 - .. row 2
77
78 - __s32
79
80 - ``value``
81
82 - New value or current value.
83 73
84 74
85Return Value 75Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst b/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst
index f1afed7a5958..7dd943ff14cd 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst
@@ -83,158 +83,73 @@ EBUSY
83 :stub-columns: 0 83 :stub-columns: 0
84 :widths: 1 1 2 84 :widths: 1 1 2
85 85
86 86 * - __u32
87 - .. row 1 87 - ``width``
88 88 - Width of the active video in pixels.
89 - __u32 89 * - __u32
90 90 - ``height``
91 - ``width`` 91 - Height of the active video frame in lines. So for interlaced
92 92 formats the height of the active video in each field is
93 - Width of the active video in pixels. 93 ``height``/2.
94 94 * - __u32
95 - .. row 2 95 - ``interlaced``
96 96 - Progressive (``V4L2_DV_PROGRESSIVE``) or interlaced (``V4L2_DV_INTERLACED``).
97 - __u32 97 * - __u32
98 98 - ``polarities``
99 - ``height`` 99 - This is a bit mask that defines polarities of sync signals. bit 0
100 100 (``V4L2_DV_VSYNC_POS_POL``) is for vertical sync polarity and bit
101 - Height of the active video frame in lines. So for interlaced 101 1 (``V4L2_DV_HSYNC_POS_POL``) is for horizontal sync polarity. If
102 formats the height of the active video in each field is 102 the bit is set (1) it is positive polarity and if is cleared (0),
103 ``height``/2. 103 it is negative polarity.
104 104 * - __u64
105 - .. row 3 105 - ``pixelclock``
106 106 - Pixel clock in Hz. Ex. 74.25MHz->74250000
107 - __u32 107 * - __u32
108 108 - ``hfrontporch``
109 - ``interlaced`` 109 - Horizontal front porch in pixels
110 110 * - __u32
111 - Progressive (``V4L2_DV_PROGRESSIVE``) or interlaced (``V4L2_DV_INTERLACED``). 111 - ``hsync``
112 112 - Horizontal sync length in pixels
113 - .. row 4 113 * - __u32
114 114 - ``hbackporch``
115 - __u32 115 - Horizontal back porch in pixels
116 116 * - __u32
117 - ``polarities`` 117 - ``vfrontporch``
118 118 - Vertical front porch in lines. For interlaced formats this refers
119 - This is a bit mask that defines polarities of sync signals. bit 0 119 to the odd field (aka field 1).
120 (``V4L2_DV_VSYNC_POS_POL``) is for vertical sync polarity and bit 120 * - __u32
121 1 (``V4L2_DV_HSYNC_POS_POL``) is for horizontal sync polarity. If 121 - ``vsync``
122 the bit is set (1) it is positive polarity and if is cleared (0), 122 - Vertical sync length in lines. For interlaced formats this refers
123 it is negative polarity. 123 to the odd field (aka field 1).
124 124 * - __u32
125 - .. row 5 125 - ``vbackporch``
126 126 - Vertical back porch in lines. For interlaced formats this refers
127 - __u64 127 to the odd field (aka field 1).
128 128 * - __u32
129 - ``pixelclock`` 129 - ``il_vfrontporch``
130 130 - Vertical front porch in lines for the even field (aka field 2) of
131 - Pixel clock in Hz. Ex. 74.25MHz->74250000 131 interlaced field formats. Must be 0 for progressive formats.
132 132 * - __u32
133 - .. row 6 133 - ``il_vsync``
134 134 - Vertical sync length in lines for the even field (aka field 2) of
135 - __u32 135 interlaced field formats. Must be 0 for progressive formats.
136 136 * - __u32
137 - ``hfrontporch`` 137 - ``il_vbackporch``
138 138 - Vertical back porch in lines for the even field (aka field 2) of
139 - Horizontal front porch in pixels 139 interlaced field formats. Must be 0 for progressive formats.
140 140 * - __u32
141 - .. row 7 141 - ``standards``
142 142 - The video standard(s) this format belongs to. This will be filled
143 - __u32 143 in by the driver. Applications must set this to 0. See
144 144 :ref:`dv-bt-standards` for a list of standards.
145 - ``hsync`` 145 * - __u32
146 146 - ``flags``
147 - Horizontal sync length in pixels 147 - Several flags giving more information about the format. See
148 148 :ref:`dv-bt-flags` for a description of the flags.
149 - .. row 8 149 * - __u32
150 150 - ``reserved[14]``
151 - __u32 151 - Reserved for future extensions. Drivers and applications must set
152 152 the array to zero.
153 - ``hbackporch``
154
155 - Horizontal back porch in pixels
156
157 - .. row 9
158
159 - __u32
160
161 - ``vfrontporch``
162
163 - Vertical front porch in lines. For interlaced formats this refers
164 to the odd field (aka field 1).
165
166 - .. row 10
167
168 - __u32
169
170 - ``vsync``
171
172 - Vertical sync length in lines. For interlaced formats this refers
173 to the odd field (aka field 1).
174
175 - .. row 11
176
177 - __u32
178
179 - ``vbackporch``
180
181 - Vertical back porch in lines. For interlaced formats this refers
182 to the odd field (aka field 1).
183
184 - .. row 12
185
186 - __u32
187
188 - ``il_vfrontporch``
189
190 - Vertical front porch in lines for the even field (aka field 2) of
191 interlaced field formats. Must be 0 for progressive formats.
192
193 - .. row 13
194
195 - __u32
196
197 - ``il_vsync``
198
199 - Vertical sync length in lines for the even field (aka field 2) of
200 interlaced field formats. Must be 0 for progressive formats.
201
202 - .. row 14
203
204 - __u32
205
206 - ``il_vbackporch``
207
208 - Vertical back porch in lines for the even field (aka field 2) of
209 interlaced field formats. Must be 0 for progressive formats.
210
211 - .. row 15
212
213 - __u32
214
215 - ``standards``
216
217 - The video standard(s) this format belongs to. This will be filled
218 in by the driver. Applications must set this to 0. See
219 :ref:`dv-bt-standards` for a list of standards.
220
221 - .. row 16
222
223 - __u32
224
225 - ``flags``
226
227 - Several flags giving more information about the format. See
228 :ref:`dv-bt-flags` for a description of the flags.
229
230 - .. row 17
231
232 - __u32
233
234 - ``reserved[14]``
235
236 - Reserved for future extensions. Drivers and applications must set
237 the array to zero.
238 153
239 154
240.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}| 155.. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{7.0cm}|p{3.5cm}|
@@ -246,40 +161,21 @@ EBUSY
246 :stub-columns: 0 161 :stub-columns: 0
247 :widths: 1 1 2 1 162 :widths: 1 1 2 1
248 163
249 164 * - __u32
250 - .. row 1 165 - ``type``
251 166 -
252 - __u32 167 - Type of DV timings as listed in :ref:`dv-timing-types`.
253 168 * - union
254 - ``type`` 169 -
255 170 -
256 - 171 * -
257 - Type of DV timings as listed in :ref:`dv-timing-types`. 172 - struct :c:type:`v4l2_bt_timings`
258 173 - ``bt``
259 - .. row 2 174 - Timings defined by BT.656/1120 specifications
260 175 * -
261 - union 176 - __u32
262 177 - ``reserved``\ [32]
263 - 178 -
264 -
265
266 - .. row 3
267
268 -
269 - struct :c:type:`v4l2_bt_timings`
270
271 - ``bt``
272
273 - Timings defined by BT.656/1120 specifications
274
275 - .. row 4
276
277 -
278 - __u32
279
280 - ``reserved``\ [32]
281
282 -
283 179
284.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 180.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
285 181
@@ -290,28 +186,15 @@ EBUSY
290 :stub-columns: 0 186 :stub-columns: 0
291 :widths: 1 1 2 187 :widths: 1 1 2
292 188
293 189 * - Timing type
294 - .. row 1 190 - value
295 191 - Description
296 - Timing type 192 * -
297 193 -
298 - value 194 -
299 195 * - ``V4L2_DV_BT_656_1120``
300 - Description 196 - 0
301 197 - BT.656/1120 timings
302 - .. row 2
303
304 -
305 -
306 -
307
308 - .. row 3
309
310 - ``V4L2_DV_BT_656_1120``
311
312 - 0
313
314 - BT.656/1120 timings
315 198
316 199
317 200
@@ -321,44 +204,20 @@ EBUSY
321 :header-rows: 0 204 :header-rows: 0
322 :stub-columns: 0 205 :stub-columns: 0
323 206
324 207 * - Timing standard
325 - .. row 1 208 - Description
326 209 * - ``V4L2_DV_BT_STD_CEA861``
327 - Timing standard 210 - The timings follow the CEA-861 Digital TV Profile standard
328 211 * - ``V4L2_DV_BT_STD_DMT``
329 - Description 212 - The timings follow the VESA Discrete Monitor Timings standard
330 213 * - ``V4L2_DV_BT_STD_CVT``
331 - .. row 3 214 - The timings follow the VESA Coordinated Video Timings standard
332 215 * - ``V4L2_DV_BT_STD_GTF``
333 - ``V4L2_DV_BT_STD_CEA861`` 216 - The timings follow the VESA Generalized Timings Formula standard
334 217 * - ``V4L2_DV_BT_STD_SDI``
335 - The timings follow the CEA-861 Digital TV Profile standard 218 - The timings follow the SDI Timings standard.
336 219 There are no horizontal syncs/porches at all in this format.
337 - .. row 4 220 Total blanking timings must be set in hsync or vsync fields only.
338
339 - ``V4L2_DV_BT_STD_DMT``
340
341 - The timings follow the VESA Discrete Monitor Timings standard
342
343 - .. row 5
344
345 - ``V4L2_DV_BT_STD_CVT``
346
347 - The timings follow the VESA Coordinated Video Timings standard
348
349 - .. row 6
350
351 - ``V4L2_DV_BT_STD_GTF``
352
353 - The timings follow the VESA Generalized Timings Formula standard
354
355 - .. row 7
356
357 - ``V4L2_DV_BT_STD_SDI``
358
359 - The timings follow the SDI Timings standard.
360 There are no horizontal syncs/porches at all in this format.
361 Total blanking timings must be set in hsync or vsync fields only.
362 221
363.. tabularcolumns:: |p{6.0cm}|p{11.5cm}| 222.. tabularcolumns:: |p{6.0cm}|p{11.5cm}|
364 223
@@ -368,74 +227,46 @@ EBUSY
368 :header-rows: 0 227 :header-rows: 0
369 :stub-columns: 0 228 :stub-columns: 0
370 229
371 230 * - Flag
372 - .. row 1 231 - Description
373 232 * - ``V4L2_DV_FL_REDUCED_BLANKING``
374 - Flag 233 - CVT/GTF specific: the timings use reduced blanking (CVT) or the
375 234 'Secondary GTF' curve (GTF). In both cases the horizontal and/or
376 - Description 235 vertical blanking intervals are reduced, allowing a higher
377 236 resolution over the same bandwidth. This is a read-only flag,
378 - .. row 3 237 applications must not set this.
379 238 * - ``V4L2_DV_FL_CAN_REDUCE_FPS``
380 - ``V4L2_DV_FL_REDUCED_BLANKING`` 239 - CEA-861 specific: set for CEA-861 formats with a framerate that is
381 240 a multiple of six. These formats can be optionally played at 1 /
382 - CVT/GTF specific: the timings use reduced blanking (CVT) or the 241 1.001 speed to be compatible with 60 Hz based standards such as
383 'Secondary GTF' curve (GTF). In both cases the horizontal and/or 242 NTSC and PAL-M that use a framerate of 29.97 frames per second. If
384 vertical blanking intervals are reduced, allowing a higher 243 the transmitter can't generate such frequencies, then the flag
385 resolution over the same bandwidth. This is a read-only flag, 244 will also be cleared. This is a read-only flag, applications must
386 applications must not set this. 245 not set this.
387 246 * - ``V4L2_DV_FL_REDUCED_FPS``
388 - .. row 4 247 - CEA-861 specific: only valid for video transmitters, the flag is
389 248 cleared by receivers. It is also only valid for formats with the
390 - ``V4L2_DV_FL_CAN_REDUCE_FPS`` 249 ``V4L2_DV_FL_CAN_REDUCE_FPS`` flag set, for other formats the
391 250 flag will be cleared by the driver. If the application sets this
392 - CEA-861 specific: set for CEA-861 formats with a framerate that is 251 flag, then the pixelclock used to set up the transmitter is
393 a multiple of six. These formats can be optionally played at 1 / 252 divided by 1.001 to make it compatible with NTSC framerates. If
394 1.001 speed to be compatible with 60 Hz based standards such as 253 the transmitter can't generate such frequencies, then the flag
395 NTSC and PAL-M that use a framerate of 29.97 frames per second. If 254 will also be cleared.
396 the transmitter can't generate such frequencies, then the flag 255 * - ``V4L2_DV_FL_HALF_LINE``
397 will also be cleared. This is a read-only flag, applications must 256 - Specific to interlaced formats: if set, then the vertical
398 not set this. 257 frontporch of field 1 (aka the odd field) is really one half-line
399 258 longer and the vertical backporch of field 2 (aka the even field)
400 - .. row 5 259 is really one half-line shorter, so each field has exactly the
401 260 same number of half-lines. Whether half-lines can be detected or
402 - ``V4L2_DV_FL_REDUCED_FPS`` 261 used depends on the hardware.
403 262 * - ``V4L2_DV_FL_IS_CE_VIDEO``
404 - CEA-861 specific: only valid for video transmitters, the flag is 263 - If set, then this is a Consumer Electronics (CE) video format.
405 cleared by receivers. It is also only valid for formats with the 264 Such formats differ from other formats (commonly called IT
406 ``V4L2_DV_FL_CAN_REDUCE_FPS`` flag set, for other formats the 265 formats) in that if R'G'B' encoding is used then by default the
407 flag will be cleared by the driver. If the application sets this 266 R'G'B' values use limited range (i.e. 16-235) as opposed to full
408 flag, then the pixelclock used to set up the transmitter is 267 range (i.e. 0-255). All formats defined in CEA-861 except for the
409 divided by 1.001 to make it compatible with NTSC framerates. If 268 640x480p59.94 format are CE formats.
410 the transmitter can't generate such frequencies, then the flag 269 * - ``V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE``
411 will also be cleared. 270 - Some formats like SMPTE-125M have an interlaced signal with a odd
412 271 total height. For these formats, if this flag is set, the first
413 - .. row 6 272 field has the extra line. Else, it is the second field.
414
415 - ``V4L2_DV_FL_HALF_LINE``
416
417 - Specific to interlaced formats: if set, then the vertical
418 frontporch of field 1 (aka the odd field) is really one half-line
419 longer and the vertical backporch of field 2 (aka the even field)
420 is really one half-line shorter, so each field has exactly the
421 same number of half-lines. Whether half-lines can be detected or
422 used depends on the hardware.
423
424 - .. row 7
425
426 - ``V4L2_DV_FL_IS_CE_VIDEO``
427
428 - If set, then this is a Consumer Electronics (CE) video format.
429 Such formats differ from other formats (commonly called IT
430 formats) in that if R'G'B' encoding is used then by default the
431 R'G'B' values use limited range (i.e. 16-235) as opposed to full
432 range (i.e. 0-255). All formats defined in CEA-861 except for the
433 640x480p59.94 format are CE formats.
434
435 - .. row 8
436
437 - ``V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE``
438
439 - Some formats like SMPTE-125M have an interlaced signal with a odd
440 total height. For these formats, if this flag is set, the first
441 field has the extra line. Else, it is the second field.
diff --git a/Documentation/media/uapi/v4l/vidioc-g-edid.rst b/Documentation/media/uapi/v4l/vidioc-g-edid.rst
index 1fffca7cc38f..a16a193a1cbf 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-edid.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-edid.rst
@@ -106,55 +106,30 @@ EDID is no longer available.
106 :stub-columns: 0 106 :stub-columns: 0
107 :widths: 1 1 2 107 :widths: 1 1 2
108 108
109 109 * - __u32
110 - .. row 1 110 - ``pad``
111 111 - Pad for which to get/set the EDID blocks. When used with a video
112 - __u32 112 device node the pad represents the input or output index as
113 113 returned by :ref:`VIDIOC_ENUMINPUT` and
114 - ``pad`` 114 :ref:`VIDIOC_ENUMOUTPUT` respectively.
115 115 * - __u32
116 - Pad for which to get/set the EDID blocks. When used with a video 116 - ``start_block``
117 device node the pad represents the input or output index as 117 - Read the EDID from starting with this block. Must be 0 when
118 returned by :ref:`VIDIOC_ENUMINPUT` and 118 setting the EDID.
119 :ref:`VIDIOC_ENUMOUTPUT` respectively. 119 * - __u32
120 120 - ``blocks``
121 - .. row 2 121 - The number of blocks to get or set. Must be less or equal to 256
122 122 (the maximum number of blocks as defined by the standard). When
123 - __u32 123 you set the EDID and ``blocks`` is 0, then the EDID is disabled or
124 124 erased.
125 - ``start_block`` 125 * - __u32
126 126 - ``reserved``\ [5]
127 - Read the EDID from starting with this block. Must be 0 when 127 - Reserved for future extensions. Applications and drivers must set
128 setting the EDID. 128 the array to zero.
129 129 * - __u8 *
130 - .. row 3 130 - ``edid``
131 131 - Pointer to memory that contains the EDID. The minimum size is
132 - __u32 132 ``blocks`` * 128.
133
134 - ``blocks``
135
136 - The number of blocks to get or set. Must be less or equal to 256
137 (the maximum number of blocks as defined by the standard). When
138 you set the EDID and ``blocks`` is 0, then the EDID is disabled or
139 erased.
140
141 - .. row 4
142
143 - __u32
144
145 - ``reserved``\ [5]
146
147 - Reserved for future extensions. Applications and drivers must set
148 the array to zero.
149
150 - .. row 5
151
152 - __u8 *
153
154 - ``edid``
155
156 - Pointer to memory that contains the EDID. The minimum size is
157 ``blocks`` * 128.
158 133
159 134
160Return Value 135Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-enc-index.rst b/Documentation/media/uapi/v4l/vidioc-g-enc-index.rst
index 6b5727439db2..418e886fd44b 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-enc-index.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-enc-index.rst
@@ -64,42 +64,22 @@ video elementary streams.
64 :stub-columns: 0 64 :stub-columns: 0
65 :widths: 1 3 8 65 :widths: 1 3 8
66 66
67 67 * - __u32
68 - .. row 1 68 - ``entries``
69 69 - The number of entries the driver stored in the ``entry`` array.
70 - __u32 70 * - __u32
71 71 - ``entries_cap``
72 - ``entries`` 72 - The number of entries the driver can buffer. Must be greater than
73 73 zero.
74 - The number of entries the driver stored in the ``entry`` array. 74 * - __u32
75 75 - ``reserved``\ [4]
76 - .. row 2 76 - Reserved for future extensions. Drivers must set the
77 77 array to zero.
78 - __u32 78 * - struct :c:type:`v4l2_enc_idx_entry`
79 79 - ``entry``\ [``V4L2_ENC_IDX_ENTRIES``]
80 - ``entries_cap`` 80 - Meta data about a compressed video stream. Each element of the
81 81 array corresponds to one picture, sorted in ascending order by
82 - The number of entries the driver can buffer. Must be greater than 82 their ``offset``.
83 zero.
84
85 - .. row 3
86
87 - __u32
88
89 - ``reserved``\ [4]
90
91 - Reserved for future extensions. Drivers must set the
92 array to zero.
93
94 - .. row 4
95
96 - struct :c:type:`v4l2_enc_idx_entry`
97
98 - ``entry``\ [``V4L2_ENC_IDX_ENTRIES``]
99
100 - Meta data about a compressed video stream. Each element of the
101 array corresponds to one picture, sorted in ascending order by
102 their ``offset``.
103 83
104 84
105 85
@@ -112,53 +92,28 @@ video elementary streams.
112 :stub-columns: 0 92 :stub-columns: 0
113 :widths: 1 1 2 93 :widths: 1 1 2
114 94
115 95 * - __u64
116 - .. row 1 96 - ``offset``
117 97 - The offset in bytes from the beginning of the compressed video
118 - __u64 98 stream to the beginning of this picture, that is a *PES packet
119 99 header* as defined in :ref:`mpeg2part1` or a *picture header* as
120 - ``offset`` 100 defined in :ref:`mpeg2part2`. When the encoder is stopped, the
121 101 driver resets the offset to zero.
122 - The offset in bytes from the beginning of the compressed video 102 * - __u64
123 stream to the beginning of this picture, that is a *PES packet 103 - ``pts``
124 header* as defined in :ref:`mpeg2part1` or a *picture header* as 104 - The 33 bit *Presentation Time Stamp* of this picture as defined in
125 defined in :ref:`mpeg2part2`. When the encoder is stopped, the 105 :ref:`mpeg2part1`.
126 driver resets the offset to zero. 106 * - __u32
127 107 - ``length``
128 - .. row 2 108 - The length of this picture in bytes.
129 109 * - __u32
130 - __u64 110 - ``flags``
131 111 - Flags containing the coding type of this picture, see
132 - ``pts`` 112 :ref:`enc-idx-flags`.
133 113 * - __u32
134 - The 33 bit *Presentation Time Stamp* of this picture as defined in 114 - ``reserved``\ [2]
135 :ref:`mpeg2part1`. 115 - Reserved for future extensions. Drivers must set the array to
136 116 zero.
137 - .. row 3
138
139 - __u32
140
141 - ``length``
142
143 - The length of this picture in bytes.
144
145 - .. row 4
146
147 - __u32
148
149 - ``flags``
150
151 - Flags containing the coding type of this picture, see
152 :ref:`enc-idx-flags`.
153
154 - .. row 5
155
156 - __u32
157
158 - ``reserved``\ [2]
159
160 - Reserved for future extensions. Drivers must set the array to
161 zero.
162 117
163 118
164.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 119.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -170,39 +125,19 @@ video elementary streams.
170 :stub-columns: 0 125 :stub-columns: 0
171 :widths: 3 1 4 126 :widths: 3 1 4
172 127
173 128 * - ``V4L2_ENC_IDX_FRAME_I``
174 - .. row 1 129 - 0x00
175 130 - This is an Intra-coded picture.
176 - ``V4L2_ENC_IDX_FRAME_I`` 131 * - ``V4L2_ENC_IDX_FRAME_P``
177 132 - 0x01
178 - 0x00 133 - This is a Predictive-coded picture.
179 134 * - ``V4L2_ENC_IDX_FRAME_B``
180 - This is an Intra-coded picture. 135 - 0x02
181 136 - This is a Bidirectionally predictive-coded picture.
182 - .. row 2 137 * - ``V4L2_ENC_IDX_FRAME_MASK``
183 138 - 0x0F
184 - ``V4L2_ENC_IDX_FRAME_P`` 139 - *AND* the flags field with this mask to obtain the picture coding
185 140 type.
186 - 0x01
187
188 - This is a Predictive-coded picture.
189
190 - .. row 3
191
192 - ``V4L2_ENC_IDX_FRAME_B``
193
194 - 0x02
195
196 - This is a Bidirectionally predictive-coded picture.
197
198 - .. row 4
199
200 - ``V4L2_ENC_IDX_FRAME_MASK``
201
202 - 0x0F
203
204 - *AND* the flags field with this mask to obtain the picture coding
205 type.
206 141
207 142
208Return Value 143Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst b/Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst
index 01561ddfe73b..5ab8d2ac27b9 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst
@@ -111,127 +111,73 @@ still cause this situation.
111 :stub-columns: 0 111 :stub-columns: 0
112 :widths: 1 1 1 2 112 :widths: 1 1 1 2
113 113
114 114 * - __u32
115 - .. row 1 115 - ``id``
116 116 -
117 - __u32 117 - Identifies the control, set by the application.
118 118 * - __u32
119 - ``id`` 119 - ``size``
120 120 -
121 - 121 - The total size in bytes of the payload of this control. This is
122 - Identifies the control, set by the application. 122 normally 0, but for pointer controls this should be set to the
123 123 size of the memory containing the payload, or that will receive
124 - .. row 2 124 the payload. If :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` finds that this value is
125 125 less than is required to store the payload result, then it is set
126 - __u32 126 to a value large enough to store the payload result and ``ENOSPC`` is
127 127 returned.
128 - ``size`` 128
129 129 .. note::
130 - 130
131 - The total size in bytes of the payload of this control. This is 131 For string controls, this ``size`` field should
132 normally 0, but for pointer controls this should be set to the 132 not be confused with the length of the string. This field refers
133 size of the memory containing the payload, or that will receive 133 to the size of the memory that contains the string. The actual
134 the payload. If :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` finds that this value is 134 *length* of the string may well be much smaller.
135 less than is required to store the payload result, then it is set 135 * - __u32
136 to a value large enough to store the payload result and ``ENOSPC`` is 136 - ``reserved2``\ [1]
137 returned. 137 -
138 138 - Reserved for future extensions. Drivers and applications must set
139 .. note:: 139 the array to zero.
140 140 * - union
141 For string controls, this ``size`` field should 141 - (anonymous)
142 not be confused with the length of the string. This field refers 142 * -
143 to the size of the memory that contains the string. The actual 143 - __s32
144 *length* of the string may well be much smaller. 144 - ``value``
145 145 - New value or current value. Valid if this control is not of type
146 - .. row 3 146 ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is
147 147 not set.
148 - __u32 148 * -
149 149 - __s64
150 - ``reserved2``\ [1] 150 - ``value64``
151 151 - New value or current value. Valid if this control is of type
152 - 152 ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is
153 - Reserved for future extensions. Drivers and applications must set 153 not set.
154 the array to zero. 154 * -
155 155 - char *
156 - .. row 4 156 - ``string``
157 157 - A pointer to a string. Valid if this control is of type
158 - union 158 ``V4L2_CTRL_TYPE_STRING``.
159 159 * -
160 - (anonymous) 160 - __u8 *
161 161 - ``p_u8``
162 - .. row 5 162 - A pointer to a matrix control of unsigned 8-bit values. Valid if
163 163 this control is of type ``V4L2_CTRL_TYPE_U8``.
164 - 164 * -
165 - __s32 165 - __u16 *
166 166 - ``p_u16``
167 - ``value`` 167 - A pointer to a matrix control of unsigned 16-bit values. Valid if
168 168 this control is of type ``V4L2_CTRL_TYPE_U16``.
169 - New value or current value. Valid if this control is not of type 169 * -
170 ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is 170 - __u32 *
171 not set. 171 - ``p_u32``
172 172 - A pointer to a matrix control of unsigned 32-bit values. Valid if
173 - .. row 6 173 this control is of type ``V4L2_CTRL_TYPE_U32``.
174 174 * -
175 - 175 - void *
176 - __s64 176 - ``ptr``
177 177 - A pointer to a compound type which can be an N-dimensional array
178 - ``value64`` 178 and/or a compound type (the control's type is >=
179 179 ``V4L2_CTRL_COMPOUND_TYPES``). Valid if
180 - New value or current value. Valid if this control is of type 180 ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control.
181 ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is
182 not set.
183
184 - .. row 7
185
186 -
187 - char *
188
189 - ``string``
190
191 - A pointer to a string. Valid if this control is of type
192 ``V4L2_CTRL_TYPE_STRING``.
193
194 - .. row 8
195
196 -
197 - __u8 *
198
199 - ``p_u8``
200
201 - A pointer to a matrix control of unsigned 8-bit values. Valid if
202 this control is of type ``V4L2_CTRL_TYPE_U8``.
203
204 - .. row 9
205
206 -
207 - __u16 *
208
209 - ``p_u16``
210
211 - A pointer to a matrix control of unsigned 16-bit values. Valid if
212 this control is of type ``V4L2_CTRL_TYPE_U16``.
213
214 - .. row 10
215
216 -
217 - __u32 *
218
219 - ``p_u32``
220
221 - A pointer to a matrix control of unsigned 32-bit values. Valid if
222 this control is of type ``V4L2_CTRL_TYPE_U32``.
223
224 - .. row 11
225
226 -
227 - void *
228
229 - ``ptr``
230
231 - A pointer to a compound type which can be an N-dimensional array
232 and/or a compound type (the control's type is >=
233 ``V4L2_CTRL_COMPOUND_TYPES``). Valid if
234 ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control.
235 181
236 182
237.. tabularcolumns:: |p{4.0cm}|p{2.0cm}|p{2.0cm}|p{8.5cm}| 183.. tabularcolumns:: |p{4.0cm}|p{2.0cm}|p{2.0cm}|p{8.5cm}|
@@ -245,130 +191,96 @@ still cause this situation.
245 :stub-columns: 0 191 :stub-columns: 0
246 :widths: 1 1 2 1 192 :widths: 1 1 2 1
247 193
248 194 * - union
249 - .. row 1 195 - (anonymous)
250 196 * -
251 - union 197 - __u32
252 198 - ``ctrl_class``
253 - (anonymous) 199 - The control class to which all controls belong, see
254 200 :ref:`ctrl-class`. Drivers that use a kernel framework for
255 - .. row 2 201 handling controls will also accept a value of 0 here, meaning that
256 202 the controls can belong to any control class. Whether drivers
257 - 203 support this can be tested by setting ``ctrl_class`` to 0 and
258 - __u32 204 calling :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` with a ``count`` of 0. If that
259 205 succeeds, then the driver supports this feature.
260 - ``ctrl_class`` 206 * -
261 207 - __u32
262 - The control class to which all controls belong, see 208 - ``which``
263 :ref:`ctrl-class`. Drivers that use a kernel framework for 209 - Which value of the control to get/set/try.
264 handling controls will also accept a value of 0 here, meaning that 210 ``V4L2_CTRL_WHICH_CUR_VAL`` will return the current value of the
265 the controls can belong to any control class. Whether drivers 211 control and ``V4L2_CTRL_WHICH_DEF_VAL`` will return the default
266 support this can be tested by setting ``ctrl_class`` to 0 and 212 value of the control.
267 calling :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` with a ``count`` of 0. If that 213
268 succeeds, then the driver supports this feature. 214 .. note::
269 215
270 - .. row 3 216 You can only get the default value of the control,
271 217 you cannot set or try it.
272 - 218
273 - __u32 219 For backwards compatibility you can also use a control class here
274 220 (see :ref:`ctrl-class`). In that case all controls have to
275 - ``which`` 221 belong to that control class. This usage is deprecated, instead
276 222 just use ``V4L2_CTRL_WHICH_CUR_VAL``. There are some very old
277 - Which value of the control to get/set/try. 223 drivers that do not yet support ``V4L2_CTRL_WHICH_CUR_VAL`` and
278 ``V4L2_CTRL_WHICH_CUR_VAL`` will return the current value of the 224 that require a control class here. You can test for such drivers
279 control and ``V4L2_CTRL_WHICH_DEF_VAL`` will return the default 225 by setting ctrl_class to ``V4L2_CTRL_WHICH_CUR_VAL`` and calling
280 value of the control. 226 VIDIOC_TRY_EXT_CTRLS with a count of 0. If that fails, then the
281 227 driver does not support ``V4L2_CTRL_WHICH_CUR_VAL``.
282 .. note:: 228 * - __u32
283 229 - ``count``
284 You can only get the default value of the control, 230 - The number of controls in the controls array. May also be zero.
285 you cannot set or try it. 231 * - __u32
286 232 - ``error_idx``
287 For backwards compatibility you can also use a control class here 233 - Set by the driver in case of an error. If the error is associated
288 (see :ref:`ctrl-class`). In that case all controls have to 234 with a particular control, then ``error_idx`` is set to the index
289 belong to that control class. This usage is deprecated, instead 235 of that control. If the error is not related to a specific
290 just use ``V4L2_CTRL_WHICH_CUR_VAL``. There are some very old 236 control, or the validation step failed (see below), then
291 drivers that do not yet support ``V4L2_CTRL_WHICH_CUR_VAL`` and 237 ``error_idx`` is set to ``count``. The value is undefined if the
292 that require a control class here. You can test for such drivers 238 ioctl returned 0 (success).
293 by setting ctrl_class to ``V4L2_CTRL_WHICH_CUR_VAL`` and calling 239
294 VIDIOC_TRY_EXT_CTRLS with a count of 0. If that fails, then the 240 Before controls are read from/written to hardware a validation
295 driver does not support ``V4L2_CTRL_WHICH_CUR_VAL``. 241 step takes place: this checks if all controls in the list are
296 242 valid controls, if no attempt is made to write to a read-only
297 - .. row 4 243 control or read from a write-only control, and any other up-front
298 244 checks that can be done without accessing the hardware. The exact
299 - __u32 245 validations done during this step are driver dependent since some
300 246 checks might require hardware access for some devices, thus making
301 - ``count`` 247 it impossible to do those checks up-front. However, drivers should
302 248 make a best-effort to do as many up-front checks as possible.
303 - The number of controls in the controls array. May also be zero. 249
304 250 This check is done to avoid leaving the hardware in an
305 - .. row 5 251 inconsistent state due to easy-to-avoid problems. But it leads to
306 252 another problem: the application needs to know whether an error
307 - __u32 253 came from the validation step (meaning that the hardware was not
308 254 touched) or from an error during the actual reading from/writing
309 - ``error_idx`` 255 to hardware.
310 256
311 - Set by the driver in case of an error. If the error is associated 257 The, in hindsight quite poor, solution for that is to set
312 with a particular control, then ``error_idx`` is set to the index 258 ``error_idx`` to ``count`` if the validation failed. This has the
313 of that control. If the error is not related to a specific 259 unfortunate side-effect that it is not possible to see which
314 control, or the validation step failed (see below), then 260 control failed the validation. If the validation was successful
315 ``error_idx`` is set to ``count``. The value is undefined if the 261 and the error happened while accessing the hardware, then
316 ioctl returned 0 (success). 262 ``error_idx`` is less than ``count`` and only the controls up to
317 263 ``error_idx-1`` were read or written correctly, and the state of
318 Before controls are read from/written to hardware a validation 264 the remaining controls is undefined.
319 step takes place: this checks if all controls in the list are 265
320 valid controls, if no attempt is made to write to a read-only 266 Since :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` does not access hardware there is
321 control or read from a write-only control, and any other up-front 267 also no need to handle the validation step in this special way, so
322 checks that can be done without accessing the hardware. The exact 268 ``error_idx`` will just be set to the control that failed the
323 validations done during this step are driver dependent since some 269 validation step instead of to ``count``. This means that if
324 checks might require hardware access for some devices, thus making 270 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
325 it impossible to do those checks up-front. However, drivers should 271 then you can call :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` to try to discover the
326 make a best-effort to do as many up-front checks as possible. 272 actual control that failed the validation step. Unfortunately,
327 273 there is no ``TRY`` equivalent for :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`.
328 This check is done to avoid leaving the hardware in an 274 * - __u32
329 inconsistent state due to easy-to-avoid problems. But it leads to 275 - ``reserved``\ [2]
330 another problem: the application needs to know whether an error 276 - Reserved for future extensions.
331 came from the validation step (meaning that the hardware was not 277
332 touched) or from an error during the actual reading from/writing 278 Drivers and applications must set the array to zero.
333 to hardware. 279 * - struct :c:type:`v4l2_ext_control` *
334 280 - ``controls``
335 The, in hindsight quite poor, solution for that is to set 281 - Pointer to an array of ``count`` v4l2_ext_control structures.
336 ``error_idx`` to ``count`` if the validation failed. This has the 282
337 unfortunate side-effect that it is not possible to see which 283 Ignored if ``count`` equals zero.
338 control failed the validation. If the validation was successful
339 and the error happened while accessing the hardware, then
340 ``error_idx`` is less than ``count`` and only the controls up to
341 ``error_idx-1`` were read or written correctly, and the state of
342 the remaining controls is undefined.
343
344 Since :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` does not access hardware there is
345 also no need to handle the validation step in this special way, so
346 ``error_idx`` will just be set to the control that failed the
347 validation step instead of to ``count``. This means that if
348 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
349 then you can call :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` to try to discover the
350 actual control that failed the validation step. Unfortunately,
351 there is no ``TRY`` equivalent for :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`.
352
353 - .. row 6
354
355 - __u32
356
357 - ``reserved``\ [2]
358
359 - Reserved for future extensions.
360
361 Drivers and applications must set the array to zero.
362
363 - .. row 7
364
365 - struct :c:type:`v4l2_ext_control` *
366
367 - ``controls``
368
369 - Pointer to an array of ``count`` v4l2_ext_control structures.
370
371 Ignored if ``count`` equals zero.
372 284
373 285
374.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 286.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -380,99 +292,49 @@ still cause this situation.
380 :stub-columns: 0 292 :stub-columns: 0
381 :widths: 3 1 4 293 :widths: 3 1 4
382 294
383 295 * - ``V4L2_CTRL_CLASS_USER``
384 - .. row 1 296 - 0x980000
385 297 - The class containing user controls. These controls are described
386 - ``V4L2_CTRL_CLASS_USER`` 298 in :ref:`control`. All controls that can be set using the
387 299 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` and
388 - 0x980000 300 :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl belong to this
389 301 class.
390 - The class containing user controls. These controls are described 302 * - ``V4L2_CTRL_CLASS_MPEG``
391 in :ref:`control`. All controls that can be set using the 303 - 0x990000
392 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` and 304 - The class containing MPEG compression controls. These controls are
393 :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl belong to this 305 described in :ref:`mpeg-controls`.
394 class. 306 * - ``V4L2_CTRL_CLASS_CAMERA``
395 307 - 0x9a0000
396 - .. row 2 308 - The class containing camera controls. These controls are described
397 309 in :ref:`camera-controls`.
398 - ``V4L2_CTRL_CLASS_MPEG`` 310 * - ``V4L2_CTRL_CLASS_FM_TX``
399 311 - 0x9b0000
400 - 0x990000 312 - The class containing FM Transmitter (FM TX) controls. These
401 313 controls are described in :ref:`fm-tx-controls`.
402 - The class containing MPEG compression controls. These controls are 314 * - ``V4L2_CTRL_CLASS_FLASH``
403 described in :ref:`mpeg-controls`. 315 - 0x9c0000
404 316 - The class containing flash device controls. These controls are
405 - .. row 3 317 described in :ref:`flash-controls`.
406 318 * - ``V4L2_CTRL_CLASS_JPEG``
407 - ``V4L2_CTRL_CLASS_CAMERA`` 319 - 0x9d0000
408 320 - The class containing JPEG compression controls. These controls are
409 - 0x9a0000 321 described in :ref:`jpeg-controls`.
410 322 * - ``V4L2_CTRL_CLASS_IMAGE_SOURCE``
411 - The class containing camera controls. These controls are described 323 - 0x9e0000
412 in :ref:`camera-controls`. 324 - The class containing image source controls. These controls are
413 325 described in :ref:`image-source-controls`.
414 - .. row 4 326 * - ``V4L2_CTRL_CLASS_IMAGE_PROC``
415 327 - 0x9f0000
416 - ``V4L2_CTRL_CLASS_FM_TX`` 328 - The class containing image processing controls. These controls are
417 329 described in :ref:`image-process-controls`.
418 - 0x9b0000 330 * - ``V4L2_CTRL_CLASS_FM_RX``
419 331 - 0xa10000
420 - The class containing FM Transmitter (FM TX) controls. These 332 - The class containing FM Receiver (FM RX) controls. These controls
421 controls are described in :ref:`fm-tx-controls`. 333 are described in :ref:`fm-rx-controls`.
422 334 * - ``V4L2_CTRL_CLASS_RF_TUNER``
423 - .. row 5 335 - 0xa20000
424 336 - The class containing RF tuner controls. These controls are
425 - ``V4L2_CTRL_CLASS_FLASH`` 337 described in :ref:`rf-tuner-controls`.
426
427 - 0x9c0000
428
429 - The class containing flash device controls. These controls are
430 described in :ref:`flash-controls`.
431
432 - .. row 6
433
434 - ``V4L2_CTRL_CLASS_JPEG``
435
436 - 0x9d0000
437
438 - The class containing JPEG compression controls. These controls are
439 described in :ref:`jpeg-controls`.
440
441 - .. row 7
442
443 - ``V4L2_CTRL_CLASS_IMAGE_SOURCE``
444
445 - 0x9e0000
446
447 - The class containing image source controls. These controls are
448 described in :ref:`image-source-controls`.
449
450 - .. row 8
451
452 - ``V4L2_CTRL_CLASS_IMAGE_PROC``
453
454 - 0x9f0000
455
456 - The class containing image processing controls. These controls are
457 described in :ref:`image-process-controls`.
458
459 - .. row 9
460
461 - ``V4L2_CTRL_CLASS_FM_RX``
462
463 - 0xa10000
464
465 - The class containing FM Receiver (FM RX) controls. These controls
466 are described in :ref:`fm-rx-controls`.
467
468 - .. row 10
469
470 - ``V4L2_CTRL_CLASS_RF_TUNER``
471
472 - 0xa20000
473
474 - The class containing RF tuner controls. These controls are
475 described in :ref:`rf-tuner-controls`.
476 338
477 339
478Return Value 340Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst b/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst
index 1ad40a9dd743..4a6a03d158ca 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst
@@ -86,201 +86,126 @@ destructive video overlay.
86 :stub-columns: 0 86 :stub-columns: 0
87 :widths: 1 1 1 2 87 :widths: 1 1 1 2
88 88
89 89 * - __u32
90 - .. row 1 90 - ``capability``
91 91 -
92 - __u32 92 - Overlay capability flags set by the driver, see
93 93 :ref:`framebuffer-cap`.
94 - ``capability`` 94 * - __u32
95 95 - ``flags``
96 - 96 -
97 - Overlay capability flags set by the driver, see 97 - Overlay control flags set by application and driver, see
98 :ref:`framebuffer-cap`. 98 :ref:`framebuffer-flags`
99 99 * - void *
100 - .. row 2 100 - ``base``
101 101 -
102 - __u32 102 - Physical base address of the framebuffer, that is the address of
103 103 the pixel in the top left corner of the framebuffer. [#f1]_
104 - ``flags`` 104 * -
105 105 -
106 - 106 -
107 - Overlay control flags set by application and driver, see 107 - This field is irrelevant to *non-destructive Video Overlays*. For
108 :ref:`framebuffer-flags` 108 *destructive Video Overlays* applications must provide a base
109 109 address. The driver may accept only base addresses which are a
110 - .. row 3 110 multiple of two, four or eight bytes. For *Video Output Overlays*
111 111 the driver must return a valid base address, so applications can
112 - void * 112 find the corresponding Linux framebuffer device (see
113 113 :ref:`osd`).
114 - ``base`` 114 * - struct
115 115 - ``fmt``
116 - 116 -
117 - Physical base address of the framebuffer, that is the address of 117 - Layout of the frame buffer.
118 the pixel in the top left corner of the framebuffer. [#f1]_ 118 * -
119 119 - __u32
120 - .. row 4 120 - ``width``
121 121 - Width of the frame buffer in pixels.
122 - 122 * -
123 - 123 - __u32
124 - 124 - ``height``
125 - This field is irrelevant to *non-destructive Video Overlays*. For 125 - Height of the frame buffer in pixels.
126 *destructive Video Overlays* applications must provide a base 126 * -
127 address. The driver may accept only base addresses which are a 127 - __u32
128 multiple of two, four or eight bytes. For *Video Output Overlays* 128 - ``pixelformat``
129 the driver must return a valid base address, so applications can 129 - The pixel format of the framebuffer.
130 find the corresponding Linux framebuffer device (see 130 * -
131 :ref:`osd`). 131 -
132 132 -
133 - .. row 5 133 - For *non-destructive Video Overlays* this field only defines a
134 134 format for the struct :c:type:`v4l2_window`
135 - struct 135 ``chromakey`` field.
136 136 * -
137 - ``fmt`` 137 -
138 138 -
139 - 139 - For *destructive Video Overlays* applications must initialize this
140 - Layout of the frame buffer. 140 field. For *Video Output Overlays* the driver must return a valid
141 141 format.
142 - .. row 6 142 * -
143 143 -
144 - 144 -
145 - __u32 145 - Usually this is an RGB format (for example
146 146 :ref:`V4L2_PIX_FMT_RGB565 <V4L2-PIX-FMT-RGB565>`) but YUV
147 - ``width`` 147 formats (only packed YUV formats when chroma keying is used, not
148 148 including ``V4L2_PIX_FMT_YUYV`` and ``V4L2_PIX_FMT_UYVY``) and the
149 - Width of the frame buffer in pixels. 149 ``V4L2_PIX_FMT_PAL8`` format are also permitted. The behavior of
150 150 the driver when an application requests a compressed format is
151 - .. row 7 151 undefined. See :ref:`pixfmt` for information on pixel formats.
152 152 * -
153 - 153 - enum :c:type:`v4l2_field`
154 - __u32 154 - ``field``
155 155 - Drivers and applications shall ignore this field. If applicable,
156 - ``height`` 156 the field order is selected with the
157 157 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, using the ``field``
158 - Height of the frame buffer in pixels. 158 field of struct :c:type:`v4l2_window`.
159 159 * -
160 - .. row 8 160 - __u32
161 161 - ``bytesperline``
162 - 162 - Distance in bytes between the leftmost pixels in two adjacent
163 - __u32 163 lines.
164 164 * - :cspan:`3`
165 - ``pixelformat`` 165
166 166 This field is irrelevant to *non-destructive Video Overlays*.
167 - The pixel format of the framebuffer. 167
168 168 For *destructive Video Overlays* both applications and drivers can
169 - .. row 9 169 set this field to request padding bytes at the end of each line.
170 170 Drivers however may ignore the requested value, returning
171 - 171 ``width`` times bytes-per-pixel or a larger value required by the
172 - 172 hardware. That implies applications can just set this field to
173 - 173 zero to get a reasonable default.
174 - For *non-destructive Video Overlays* this field only defines a 174
175 format for the struct :c:type:`v4l2_window` 175 For *Video Output Overlays* the driver must return a valid value.
176 ``chromakey`` field. 176
177 177 Video hardware may access padding bytes, therefore they must
178 - .. row 10 178 reside in accessible memory. Consider for example the case where
179 179 padding bytes after the last line of an image cross a system page
180 - 180 boundary. Capture devices may write padding bytes, the value is
181 - 181 undefined. Output devices ignore the contents of padding bytes.
182 - 182
183 - For *destructive Video Overlays* applications must initialize this 183 When the image format is planar the ``bytesperline`` value applies
184 field. For *Video Output Overlays* the driver must return a valid 184 to the first plane and is divided by the same factor as the
185 format. 185 ``width`` field for the other planes. For example the Cb and Cr
186 186 planes of a YUV 4:2:0 image have half as many padding bytes
187 - .. row 11 187 following each line as the Y plane. To avoid ambiguities drivers
188 188 must return a ``bytesperline`` value rounded up to a multiple of
189 - 189 the scale factor.
190 - 190 * -
191 - 191 - __u32
192 - Usually this is an RGB format (for example 192 - ``sizeimage``
193 :ref:`V4L2_PIX_FMT_RGB565 <V4L2-PIX-FMT-RGB565>`) but YUV 193 - This field is irrelevant to *non-destructive Video Overlays*. For
194 formats (only packed YUV formats when chroma keying is used, not 194 *destructive Video Overlays* applications must initialize this
195 including ``V4L2_PIX_FMT_YUYV`` and ``V4L2_PIX_FMT_UYVY``) and the 195 field. For *Video Output Overlays* the driver must return a valid
196 ``V4L2_PIX_FMT_PAL8`` format are also permitted. The behavior of 196 format.
197 the driver when an application requests a compressed format is 197
198 undefined. See :ref:`pixfmt` for information on pixel formats. 198 Together with ``base`` it defines the framebuffer memory
199 199 accessible by the driver.
200 - .. row 12 200 * -
201 201 - enum :c:type:`v4l2_colorspace`
202 - 202 - ``colorspace``
203 - enum :c:type:`v4l2_field` 203 - This information supplements the ``pixelformat`` and must be set
204 204 by the driver, see :ref:`colorspaces`.
205 - ``field`` 205 * -
206 206 - __u32
207 - Drivers and applications shall ignore this field. If applicable, 207 - ``priv``
208 the field order is selected with the 208 - Reserved. Drivers and applications must set this field to zero.
209 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, using the ``field``
210 field of struct :c:type:`v4l2_window`.
211
212 - .. row 13
213
214 -
215 - __u32
216
217 - ``bytesperline``
218
219 - Distance in bytes between the leftmost pixels in two adjacent
220 lines.
221
222 - .. row 14
223
224 - :cspan:`3`
225
226 This field is irrelevant to *non-destructive Video Overlays*.
227
228 For *destructive Video Overlays* both applications and drivers can
229 set this field to request padding bytes at the end of each line.
230 Drivers however may ignore the requested value, returning
231 ``width`` times bytes-per-pixel or a larger value required by the
232 hardware. That implies applications can just set this field to
233 zero to get a reasonable default.
234
235 For *Video Output Overlays* the driver must return a valid value.
236
237 Video hardware may access padding bytes, therefore they must
238 reside in accessible memory. Consider for example the case where
239 padding bytes after the last line of an image cross a system page
240 boundary. Capture devices may write padding bytes, the value is
241 undefined. Output devices ignore the contents of padding bytes.
242
243 When the image format is planar the ``bytesperline`` value applies
244 to the first plane and is divided by the same factor as the
245 ``width`` field for the other planes. For example the Cb and Cr
246 planes of a YUV 4:2:0 image have half as many padding bytes
247 following each line as the Y plane. To avoid ambiguities drivers
248 must return a ``bytesperline`` value rounded up to a multiple of
249 the scale factor.
250
251 - .. row 15
252
253 -
254 - __u32
255
256 - ``sizeimage``
257
258 - This field is irrelevant to *non-destructive Video Overlays*. For
259 *destructive Video Overlays* applications must initialize this
260 field. For *Video Output Overlays* the driver must return a valid
261 format.
262
263 Together with ``base`` it defines the framebuffer memory
264 accessible by the driver.
265
266 - .. row 16
267
268 -
269 - enum :c:type:`v4l2_colorspace`
270
271 - ``colorspace``
272
273 - This information supplements the ``pixelformat`` and must be set
274 by the driver, see :ref:`colorspaces`.
275
276 - .. row 17
277
278 -
279 - __u32
280
281 - ``priv``
282
283 - Reserved. Drivers and applications must set this field to zero.
284 209
285 210
286.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 211.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -292,84 +217,44 @@ destructive video overlay.
292 :stub-columns: 0 217 :stub-columns: 0
293 :widths: 3 1 4 218 :widths: 3 1 4
294 219
295 220 * - ``V4L2_FBUF_CAP_EXTERNOVERLAY``
296 - .. row 1 221 - 0x0001
297 222 - The device is capable of non-destructive overlays. When the driver
298 - ``V4L2_FBUF_CAP_EXTERNOVERLAY`` 223 clears this flag, only destructive overlays are supported. There
299 224 are no drivers yet which support both destructive and
300 - 0x0001 225 non-destructive overlays. Video Output Overlays are in practice
301 226 always non-destructive.
302 - The device is capable of non-destructive overlays. When the driver 227 * - ``V4L2_FBUF_CAP_CHROMAKEY``
303 clears this flag, only destructive overlays are supported. There 228 - 0x0002
304 are no drivers yet which support both destructive and 229 - The device supports clipping by chroma-keying the images. That is,
305 non-destructive overlays. Video Output Overlays are in practice 230 image pixels replace pixels in the VGA or video signal only where
306 always non-destructive. 231 the latter assume a certain color. Chroma-keying makes no sense
307 232 for destructive overlays.
308 - .. row 2 233 * - ``V4L2_FBUF_CAP_LIST_CLIPPING``
309 234 - 0x0004
310 - ``V4L2_FBUF_CAP_CHROMAKEY`` 235 - The device supports clipping using a list of clip rectangles.
311 236 * - ``V4L2_FBUF_CAP_BITMAP_CLIPPING``
312 - 0x0002 237 - 0x0008
313 238 - The device supports clipping using a bit mask.
314 - The device supports clipping by chroma-keying the images. That is, 239 * - ``V4L2_FBUF_CAP_LOCAL_ALPHA``
315 image pixels replace pixels in the VGA or video signal only where 240 - 0x0010
316 the latter assume a certain color. Chroma-keying makes no sense 241 - The device supports clipping/blending using the alpha channel of
317 for destructive overlays. 242 the framebuffer or VGA signal. Alpha blending makes no sense for
318 243 destructive overlays.
319 - .. row 3 244 * - ``V4L2_FBUF_CAP_GLOBAL_ALPHA``
320 245 - 0x0020
321 - ``V4L2_FBUF_CAP_LIST_CLIPPING`` 246 - The device supports alpha blending using a global alpha value.
322 247 Alpha blending makes no sense for destructive overlays.
323 - 0x0004 248 * - ``V4L2_FBUF_CAP_LOCAL_INV_ALPHA``
324 249 - 0x0040
325 - The device supports clipping using a list of clip rectangles. 250 - The device supports clipping/blending using the inverted alpha
326 251 channel of the framebuffer or VGA signal. Alpha blending makes no
327 - .. row 4 252 sense for destructive overlays.
328 253 * - ``V4L2_FBUF_CAP_SRC_CHROMAKEY``
329 - ``V4L2_FBUF_CAP_BITMAP_CLIPPING`` 254 - 0x0080
330 255 - The device supports Source Chroma-keying. Video pixels with the
331 - 0x0008 256 chroma-key colors are replaced by framebuffer pixels, which is
332 257 exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY``
333 - The device supports clipping using a bit mask.
334
335 - .. row 5
336
337 - ``V4L2_FBUF_CAP_LOCAL_ALPHA``
338
339 - 0x0010
340
341 - The device supports clipping/blending using the alpha channel of
342 the framebuffer or VGA signal. Alpha blending makes no sense for
343 destructive overlays.
344
345 - .. row 6
346
347 - ``V4L2_FBUF_CAP_GLOBAL_ALPHA``
348
349 - 0x0020
350
351 - The device supports alpha blending using a global alpha value.
352 Alpha blending makes no sense for destructive overlays.
353
354 - .. row 7
355
356 - ``V4L2_FBUF_CAP_LOCAL_INV_ALPHA``
357
358 - 0x0040
359
360 - The device supports clipping/blending using the inverted alpha
361 channel of the framebuffer or VGA signal. Alpha blending makes no
362 sense for destructive overlays.
363
364 - .. row 8
365
366 - ``V4L2_FBUF_CAP_SRC_CHROMAKEY``
367
368 - 0x0080
369
370 - The device supports Source Chroma-keying. Video pixels with the
371 chroma-key colors are replaced by framebuffer pixels, which is
372 exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY``
373 258
374 259
375.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 260.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -383,106 +268,68 @@ destructive video overlay.
383 :stub-columns: 0 268 :stub-columns: 0
384 :widths: 3 1 4 269 :widths: 3 1 4
385 270
386 271 * - ``V4L2_FBUF_FLAG_PRIMARY``
387 - .. row 1 272 - 0x0001
388 273 - The framebuffer is the primary graphics surface. In other words,
389 - ``V4L2_FBUF_FLAG_PRIMARY`` 274 the overlay is destructive. This flag is typically set by any
390 275 driver that doesn't have the ``V4L2_FBUF_CAP_EXTERNOVERLAY``
391 - 0x0001 276 capability and it is cleared otherwise.
392 277 * - ``V4L2_FBUF_FLAG_OVERLAY``
393 - The framebuffer is the primary graphics surface. In other words, 278 - 0x0002
394 the overlay is destructive. This flag is typically set by any 279 - If this flag is set for a video capture device, then the driver
395 driver that doesn't have the ``V4L2_FBUF_CAP_EXTERNOVERLAY`` 280 will set the initial overlay size to cover the full framebuffer
396 capability and it is cleared otherwise. 281 size, otherwise the existing overlay size (as set by
397 282 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`) will be used. Only one
398 - .. row 2 283 video capture driver (bttv) supports this flag. The use of this
399 284 flag for capture devices is deprecated. There is no way to detect
400 - ``V4L2_FBUF_FLAG_OVERLAY`` 285 which drivers support this flag, so the only reliable method of
401 286 setting the overlay size is through
402 - 0x0002 287 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. If this flag is set for a
403 288 video output device, then the video output overlay window is
404 - If this flag is set for a video capture device, then the driver 289 relative to the top-left corner of the framebuffer and restricted
405 will set the initial overlay size to cover the full framebuffer 290 to the size of the framebuffer. If it is cleared, then the video
406 size, otherwise the existing overlay size (as set by 291 output overlay window is relative to the video output display.
407 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`) will be used. Only one 292 * - ``V4L2_FBUF_FLAG_CHROMAKEY``
408 video capture driver (bttv) supports this flag. The use of this 293 - 0x0004
409 flag for capture devices is deprecated. There is no way to detect 294 - Use chroma-keying. The chroma-key color is determined by the
410 which drivers support this flag, so the only reliable method of 295 ``chromakey`` field of struct :c:type:`v4l2_window`
411 setting the overlay size is through 296 and negotiated with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
412 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. If this flag is set for a 297 ioctl, see :ref:`overlay` and :ref:`osd`.
413 video output device, then the video output overlay window is 298 * - :cspan:`2` There are no flags to enable clipping using a list of
414 relative to the top-left corner of the framebuffer and restricted 299 clip rectangles or a bitmap. These methods are negotiated with the
415 to the size of the framebuffer. If it is cleared, then the video 300 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
416 output overlay window is relative to the video output display. 301 and :ref:`osd`.
417 302 * - ``V4L2_FBUF_FLAG_LOCAL_ALPHA``
418 - .. row 3 303 - 0x0008
419 304 - Use the alpha channel of the framebuffer to clip or blend
420 - ``V4L2_FBUF_FLAG_CHROMAKEY`` 305 framebuffer pixels with video images. The blend function is:
421 306 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
422 - 0x0004 307 The actual alpha depth depends on the framebuffer pixel format.
423 308 * - ``V4L2_FBUF_FLAG_GLOBAL_ALPHA``
424 - Use chroma-keying. The chroma-key color is determined by the 309 - 0x0010
425 ``chromakey`` field of struct :c:type:`v4l2_window` 310 - Use a global alpha value to blend the framebuffer with video
426 and negotiated with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` 311 images. The blend function is: output = (framebuffer pixel * alpha
427 ioctl, see :ref:`overlay` and :ref:`osd`. 312 + video pixel * (255 - alpha)) / 255. The alpha value is
428 313 determined by the ``global_alpha`` field of struct
429 - .. row 4 314 :c:type:`v4l2_window` and negotiated with the
430 315 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
431 - :cspan:`2` There are no flags to enable clipping using a list of 316 and :ref:`osd`.
432 clip rectangles or a bitmap. These methods are negotiated with the 317 * - ``V4L2_FBUF_FLAG_LOCAL_INV_ALPHA``
433 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay` 318 - 0x0020
434 and :ref:`osd`. 319 - Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
435 320 framebuffer to clip or blend framebuffer pixels with video images,
436 - .. row 5 321 but with an inverted alpha value. The blend function is: output =
437 322 framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual
438 - ``V4L2_FBUF_FLAG_LOCAL_ALPHA`` 323 alpha depth depends on the framebuffer pixel format.
439 324 * - ``V4L2_FBUF_FLAG_SRC_CHROMAKEY``
440 - 0x0008 325 - 0x0040
441 326 - Use source chroma-keying. The source chroma-key color is
442 - Use the alpha channel of the framebuffer to clip or blend 327 determined by the ``chromakey`` field of struct
443 framebuffer pixels with video images. The blend function is: 328 :c:type:`v4l2_window` and negotiated with the
444 output = framebuffer pixel * alpha + video pixel * (1 - alpha). 329 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
445 The actual alpha depth depends on the framebuffer pixel format. 330 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
446 331 other, so same ``chromakey`` field of struct
447 - .. row 6 332 :c:type:`v4l2_window` is being used.
448
449 - ``V4L2_FBUF_FLAG_GLOBAL_ALPHA``
450
451 - 0x0010
452
453 - Use a global alpha value to blend the framebuffer with video
454 images. The blend function is: output = (framebuffer pixel * alpha
455 + video pixel * (255 - alpha)) / 255. The alpha value is
456 determined by the ``global_alpha`` field of struct
457 :c:type:`v4l2_window` and negotiated with the
458 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
459 and :ref:`osd`.
460
461 - .. row 7
462
463 - ``V4L2_FBUF_FLAG_LOCAL_INV_ALPHA``
464
465 - 0x0020
466
467 - Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
468 framebuffer to clip or blend framebuffer pixels with video images,
469 but with an inverted alpha value. The blend function is: output =
470 framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual
471 alpha depth depends on the framebuffer pixel format.
472
473 - .. row 8
474
475 - ``V4L2_FBUF_FLAG_SRC_CHROMAKEY``
476
477 - 0x0040
478
479 - Use source chroma-keying. The source chroma-key color is
480 determined by the ``chromakey`` field of struct
481 :c:type:`v4l2_window` and negotiated with the
482 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
483 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
484 other, so same ``chromakey`` field of struct
485 :c:type:`v4l2_window` is being used.
486 333
487 334
488Return Value 335Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-fmt.rst b/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
index f11dce6dc543..b853e48312e2 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
@@ -93,92 +93,48 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical
93 :header-rows: 0 93 :header-rows: 0
94 :stub-columns: 0 94 :stub-columns: 0
95 95
96 96 * - __u32
97 - .. row 1 97 - ``type``
98 98 -
99 - __u32 99 - Type of the data stream, see :c:type:`v4l2_buf_type`.
100 100 * - union
101 - ``type`` 101 - ``fmt``
102 102 * -
103 - 103 - struct :c:type:`v4l2_pix_format`
104 - Type of the data stream, see :c:type:`v4l2_buf_type`. 104 - ``pix``
105 105 - Definition of an image format, see :ref:`pixfmt`, used by video
106 - .. row 2 106 capture and output devices.
107 107 * -
108 - union 108 - struct :c:type:`v4l2_pix_format_mplane`
109 109 - ``pix_mp``
110 - ``fmt`` 110 - Definition of an image format, see :ref:`pixfmt`, used by video
111 111 capture and output devices that support the
112 - .. row 3 112 :ref:`multi-planar version of the API <planar-apis>`.
113 113 * -
114 - 114 - struct :c:type:`v4l2_window`
115 - struct :c:type:`v4l2_pix_format` 115 - ``win``
116 116 - Definition of an overlaid image, see :ref:`overlay`, used by
117 - ``pix`` 117 video overlay devices.
118 118 * -
119 - Definition of an image format, see :ref:`pixfmt`, used by video 119 - struct :c:type:`v4l2_vbi_format`
120 capture and output devices. 120 - ``vbi``
121 121 - Raw VBI capture or output parameters. This is discussed in more
122 - .. row 4 122 detail in :ref:`raw-vbi`. Used by raw VBI capture and output
123 123 devices.
124 - 124 * -
125 - struct :c:type:`v4l2_pix_format_mplane` 125 - struct :c:type:`v4l2_sliced_vbi_format`
126 126 - ``sliced``
127 - ``pix_mp`` 127 - Sliced VBI capture or output parameters. See :ref:`sliced` for
128 128 details. Used by sliced VBI capture and output devices.
129 - Definition of an image format, see :ref:`pixfmt`, used by video 129 * -
130 capture and output devices that support the 130 - struct :c:type:`v4l2_sdr_format`
131 :ref:`multi-planar version of the API <planar-apis>`. 131 - ``sdr``
132 132 - Definition of a data format, see :ref:`pixfmt`, used by SDR
133 - .. row 5 133 capture and output devices.
134 134 * -
135 - 135 - __u8
136 - struct :c:type:`v4l2_window` 136 - ``raw_data``\ [200]
137 137 - Place holder for future extensions.
138 - ``win``
139
140 - Definition of an overlaid image, see :ref:`overlay`, used by
141 video overlay devices.
142
143 - .. row 6
144
145 -
146 - struct :c:type:`v4l2_vbi_format`
147
148 - ``vbi``
149
150 - Raw VBI capture or output parameters. This is discussed in more
151 detail in :ref:`raw-vbi`. Used by raw VBI capture and output
152 devices.
153
154 - .. row 7
155
156 -
157 - struct :c:type:`v4l2_sliced_vbi_format`
158
159 - ``sliced``
160
161 - Sliced VBI capture or output parameters. See :ref:`sliced` for
162 details. Used by sliced VBI capture and output devices.
163
164 - .. row 8
165
166 -
167 - struct :c:type:`v4l2_sdr_format`
168
169 - ``sdr``
170
171 - Definition of a data format, see :ref:`pixfmt`, used by SDR
172 capture and output devices.
173
174 - .. row 9
175
176 -
177 - __u8
178
179 - ``raw_data``\ [200]
180
181 - Place holder for future extensions.
182 138
183 139
184Return Value 140Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-frequency.rst b/Documentation/media/uapi/v4l/vidioc-g-frequency.rst
index 37ac69acf113..46ab276f412b 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-frequency.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-frequency.rst
@@ -60,53 +60,33 @@ write-only ioctl, it does not return the actual new frequency.
60 :stub-columns: 0 60 :stub-columns: 0
61 :widths: 1 1 2 61 :widths: 1 1 2
62 62
63 63 * - __u32
64 - .. row 1 64 - ``tuner``
65 65 - The tuner or modulator index number. This is the same value as in
66 - __u32 66 the struct :c:type:`v4l2_input` ``tuner`` field and
67 67 the struct :c:type:`v4l2_tuner` ``index`` field, or
68 - ``tuner`` 68 the struct :c:type:`v4l2_output` ``modulator`` field
69 69 and the struct :c:type:`v4l2_modulator` ``index``
70 - The tuner or modulator index number. This is the same value as in 70 field.
71 the struct :c:type:`v4l2_input` ``tuner`` field and 71 * - __u32
72 the struct :c:type:`v4l2_tuner` ``index`` field, or 72 - ``type``
73 the struct :c:type:`v4l2_output` ``modulator`` field 73 - The tuner type. This is the same value as in the struct
74 and the struct :c:type:`v4l2_modulator` ``index`` 74 :c:type:`v4l2_tuner` ``type`` field. The type must be
75 field. 75 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and
76 76 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to
77 - .. row 2 77 ``V4L2_TUNER_RADIO`` for modulators (currently only radio
78 78 modulators are supported). See :c:type:`v4l2_tuner_type`
79 - __u32 79 * - __u32
80 80 - ``frequency``
81 - ``type`` 81 - Tuning frequency in units of 62.5 kHz, or if the struct
82 82 :c:type:`v4l2_tuner` or struct
83 - The tuner type. This is the same value as in the struct 83 :c:type:`v4l2_modulator` ``capability`` flag
84 :c:type:`v4l2_tuner` ``type`` field. The type must be 84 ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz. A 1 Hz unit is
85 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and 85 used when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
86 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to 86 * - __u32
87 ``V4L2_TUNER_RADIO`` for modulators (currently only radio 87 - ``reserved``\ [8]
88 modulators are supported). See :c:type:`v4l2_tuner_type` 88 - Reserved for future extensions. Drivers and applications must set
89 89 the array to zero.
90 - .. row 3
91
92 - __u32
93
94 - ``frequency``
95
96 - Tuning frequency in units of 62.5 kHz, or if the struct
97 :c:type:`v4l2_tuner` or struct
98 :c:type:`v4l2_modulator` ``capability`` flag
99 ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz. A 1 Hz unit is
100 used when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
101
102 - .. row 4
103
104 - __u32
105
106 - ``reserved``\ [8]
107
108 - Reserved for future extensions. Drivers and applications must set
109 the array to zero.
110 90
111 91
112Return Value 92Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-jpegcomp.rst b/Documentation/media/uapi/v4l/vidioc-g-jpegcomp.rst
index c56c5bc7beb5..8ba353067b33 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-jpegcomp.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-jpegcomp.rst
@@ -63,68 +63,33 @@ encoding. You usually do want to add them.
63 :stub-columns: 0 63 :stub-columns: 0
64 :widths: 1 1 2 64 :widths: 1 1 2
65 65
66 66 * - int
67 - .. row 1 67 - ``quality``
68 68 - Deprecated. If
69 - int 69 :ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>`
70 70 control is exposed by a driver applications should use it instead
71 - ``quality`` 71 and ignore this field.
72 72 * - int
73 - Deprecated. If 73 - ``APPn``
74 :ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>` 74 -
75 control is exposed by a driver applications should use it instead 75 * - int
76 and ignore this field. 76 - ``APP_len``
77 77 -
78 - .. row 2 78 * - char
79 79 - ``APP_data``\ [60]
80 - int 80 -
81 81 * - int
82 - ``APPn`` 82 - ``COM_len``
83 83 -
84 - 84 * - char
85 85 - ``COM_data``\ [60]
86 - .. row 3 86 -
87 87 * - __u32
88 - int 88 - ``jpeg_markers``
89 89 - See :ref:`jpeg-markers`. Deprecated. If
90 - ``APP_len`` 90 :ref:`V4L2_CID_JPEG_ACTIVE_MARKER <jpeg-active-marker-control>`
91 91 control is exposed by a driver applications should use it instead
92 - 92 and ignore this field.
93
94 - .. row 4
95
96 - char
97
98 - ``APP_data``\ [60]
99
100 -
101
102 - .. row 5
103
104 - int
105
106 - ``COM_len``
107
108 -
109
110 - .. row 6
111
112 - char
113
114 - ``COM_data``\ [60]
115
116 -
117
118 - .. row 7
119
120 - __u32
121
122 - ``jpeg_markers``
123
124 - See :ref:`jpeg-markers`. Deprecated. If
125 :ref:`V4L2_CID_JPEG_ACTIVE_MARKER <jpeg-active-marker-control>`
126 control is exposed by a driver applications should use it instead
127 and ignore this field.
128 93
129 94
130.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 95.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -136,46 +101,21 @@ encoding. You usually do want to add them.
136 :stub-columns: 0 101 :stub-columns: 0
137 :widths: 3 1 4 102 :widths: 3 1 4
138 103
139 104 * - ``V4L2_JPEG_MARKER_DHT``
140 - .. row 1 105 - (1<<3)
141 106 - Define Huffman Tables
142 - ``V4L2_JPEG_MARKER_DHT`` 107 * - ``V4L2_JPEG_MARKER_DQT``
143 108 - (1<<4)
144 - (1<<3) 109 - Define Quantization Tables
145 110 * - ``V4L2_JPEG_MARKER_DRI``
146 - Define Huffman Tables 111 - (1<<5)
147 112 - Define Restart Interval
148 - .. row 2 113 * - ``V4L2_JPEG_MARKER_COM``
149 114 - (1<<6)
150 - ``V4L2_JPEG_MARKER_DQT`` 115 - Comment segment
151 116 * - ``V4L2_JPEG_MARKER_APP``
152 - (1<<4) 117 - (1<<7)
153 118 - App segment, driver will always use APP0
154 - Define Quantization Tables
155
156 - .. row 3
157
158 - ``V4L2_JPEG_MARKER_DRI``
159
160 - (1<<5)
161
162 - Define Restart Interval
163
164 - .. row 4
165
166 - ``V4L2_JPEG_MARKER_COM``
167
168 - (1<<6)
169
170 - Comment segment
171
172 - .. row 5
173
174 - ``V4L2_JPEG_MARKER_APP``
175
176 - (1<<7)
177
178 - App segment, driver will always use APP0
179 119
180 120
181Return Value 121Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-modulator.rst b/Documentation/media/uapi/v4l/vidioc-g-modulator.rst
index a8a542dc8a40..77d017eb3fcc 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-modulator.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-modulator.rst
@@ -69,95 +69,55 @@ To change the radio frequency the
69 :stub-columns: 0 69 :stub-columns: 0
70 :widths: 1 1 2 1 1 70 :widths: 1 1 2 1 1
71 71
72 72 * - __u32
73 - .. row 1 73 - ``index``
74 74 - Identifies the modulator, set by the application.
75 - __u32 75 * - __u8
76 76 - ``name``\ [32]
77 - ``index`` 77 - Name of the modulator, a NUL-terminated ASCII string.
78 78
79 - Identifies the modulator, set by the application. 79 This information is intended for the user.
80 80 * - __u32
81 - .. row 2 81 - ``capability``
82 82 - Modulator capability flags. No flags are defined for this field,
83 - __u8 83 the tuner flags in struct :c:type:`v4l2_tuner` are
84 84 used accordingly. The audio flags indicate the ability to encode
85 - ``name``\ [32] 85 audio subprograms. They will *not* change for example with the
86 86 current video standard.
87 - Name of the modulator, a NUL-terminated ASCII string. 87 * - __u32
88 88 - ``rangelow``
89 This information is intended for the user. 89 - The lowest tunable frequency in units of 62.5 KHz, or if the
90 90 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
91 - .. row 3 91 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is
92 92 set, in units of 1 Hz.
93 - __u32 93 * - __u32
94 94 - ``rangehigh``
95 - ``capability`` 95 - The highest tunable frequency in units of 62.5 KHz, or if the
96 96 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
97 - Modulator capability flags. No flags are defined for this field, 97 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is
98 the tuner flags in struct :c:type:`v4l2_tuner` are 98 set, in units of 1 Hz.
99 used accordingly. The audio flags indicate the ability to encode 99 * - __u32
100 audio subprograms. They will *not* change for example with the 100 - ``txsubchans``
101 current video standard. 101 - With this field applications can determine how audio sub-carriers
102 102 shall be modulated. It contains a set of flags as defined in
103 - .. row 4 103 :ref:`modulator-txsubchans`.
104 104
105 - __u32 105 .. note::
106 106
107 - ``rangelow`` 107 The tuner ``rxsubchans`` flags are reused, but the
108 108 semantics are different. Video output devices
109 - The lowest tunable frequency in units of 62.5 KHz, or if the 109 are assumed to have an analog or PCM audio input with 1-3
110 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 110 channels. The ``txsubchans`` flags select one or more channels
111 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is 111 for modulation, together with some audio subprogram indicator,
112 set, in units of 1 Hz. 112 for example, a stereo pilot tone.
113 113 * - __u32
114 - .. row 5 114 - ``type``
115 115 - :cspan:`2` Type of the modulator, see :c:type:`v4l2_tuner_type`.
116 - __u32 116 * - __u32
117 117 - ``reserved``\ [3]
118 - ``rangehigh`` 118 - Reserved for future extensions.
119 119
120 - The highest tunable frequency in units of 62.5 KHz, or if the 120 Drivers and applications must set the array to zero.
121 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
122 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is
123 set, in units of 1 Hz.
124
125 - .. row 6
126
127 - __u32
128
129 - ``txsubchans``
130
131 - With this field applications can determine how audio sub-carriers
132 shall be modulated. It contains a set of flags as defined in
133 :ref:`modulator-txsubchans`.
134
135 .. note::
136
137 The tuner ``rxsubchans`` flags are reused, but the
138 semantics are different. Video output devices
139 are assumed to have an analog or PCM audio input with 1-3
140 channels. The ``txsubchans`` flags select one or more channels
141 for modulation, together with some audio subprogram indicator,
142 for example, a stereo pilot tone.
143
144 - .. row 7
145
146 - __u32
147
148 - ``type``
149
150 - :cspan:`2` Type of the modulator, see :c:type:`v4l2_tuner_type`.
151
152 - .. row 8
153
154 - __u32
155
156 - ``reserved``\ [3]
157
158 - Reserved for future extensions.
159
160 Drivers and applications must set the array to zero.
161 121
162 122
163 123
@@ -170,86 +130,56 @@ To change the radio frequency the
170 :stub-columns: 0 130 :stub-columns: 0
171 :widths: 3 1 4 131 :widths: 3 1 4
172 132
173 133 * - ``V4L2_TUNER_SUB_MONO``
174 - .. row 1 134 - 0x0001
175 135 - Modulate channel 1 as mono audio, when the input has more
176 - ``V4L2_TUNER_SUB_MONO`` 136 channels, a down-mix of channel 1 and 2. This flag does not
177 137 combine with ``V4L2_TUNER_SUB_STEREO`` or
178 - 0x0001 138 ``V4L2_TUNER_SUB_LANG1``.
179 139 * - ``V4L2_TUNER_SUB_STEREO``
180 - Modulate channel 1 as mono audio, when the input has more 140 - 0x0002
181 channels, a down-mix of channel 1 and 2. This flag does not 141 - Modulate channel 1 and 2 as left and right channel of a stereo
182 combine with ``V4L2_TUNER_SUB_STEREO`` or 142 audio signal. When the input has only one channel or two channels
183 ``V4L2_TUNER_SUB_LANG1``. 143 and ``V4L2_TUNER_SUB_SAP`` is also set, channel 1 is encoded as
184 144 left and right channel. This flag does not combine with
185 - .. row 2 145 ``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_LANG1``. When the
186 146 driver does not support stereo audio it shall fall back to mono.
187 - ``V4L2_TUNER_SUB_STEREO`` 147 * - ``V4L2_TUNER_SUB_LANG1``
188 148 - 0x0008
189 - 0x0002 149 - Modulate channel 1 and 2 as primary and secondary language of a
190 150 bilingual audio signal. When the input has only one channel it is
191 - Modulate channel 1 and 2 as left and right channel of a stereo 151 used for both languages. It is not possible to encode the primary
192 audio signal. When the input has only one channel or two channels 152 or secondary language only. This flag does not combine with
193 and ``V4L2_TUNER_SUB_SAP`` is also set, channel 1 is encoded as 153 ``V4L2_TUNER_SUB_MONO``, ``V4L2_TUNER_SUB_STEREO`` or
194 left and right channel. This flag does not combine with 154 ``V4L2_TUNER_SUB_SAP``. If the hardware does not support the
195 ``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_LANG1``. When the 155 respective audio matrix, or the current video standard does not
196 driver does not support stereo audio it shall fall back to mono. 156 permit bilingual audio the :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall
197 157 return an ``EINVAL`` error code and the driver shall fall back to mono
198 - .. row 3 158 or stereo mode.
199 159 * - ``V4L2_TUNER_SUB_LANG2``
200 - ``V4L2_TUNER_SUB_LANG1`` 160 - 0x0004
201 161 - Same effect as ``V4L2_TUNER_SUB_SAP``.
202 - 0x0008 162 * - ``V4L2_TUNER_SUB_SAP``
203 163 - 0x0004
204 - Modulate channel 1 and 2 as primary and secondary language of a 164 - When combined with ``V4L2_TUNER_SUB_MONO`` the first channel is
205 bilingual audio signal. When the input has only one channel it is 165 encoded as mono audio, the last channel as Second Audio Program.
206 used for both languages. It is not possible to encode the primary 166 When the input has only one channel it is used for both audio
207 or secondary language only. This flag does not combine with 167 tracks. When the input has three channels the mono track is a
208 ``V4L2_TUNER_SUB_MONO``, ``V4L2_TUNER_SUB_STEREO`` or 168 down-mix of channel 1 and 2. When combined with
209 ``V4L2_TUNER_SUB_SAP``. If the hardware does not support the 169 ``V4L2_TUNER_SUB_STEREO`` channel 1 and 2 are encoded as left and
210 respective audio matrix, or the current video standard does not 170 right stereo audio, channel 3 as Second Audio Program. When the
211 permit bilingual audio the :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall 171 input has only two channels, the first is encoded as left and
212 return an ``EINVAL`` error code and the driver shall fall back to mono 172 right channel and the second as SAP. When the input has only one
213 or stereo mode. 173 channel it is used for all audio tracks. It is not possible to
214 174 encode a Second Audio Program only. This flag must combine with
215 - .. row 4 175 ``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_STEREO``. If the
216 176 hardware does not support the respective audio matrix, or the
217 - ``V4L2_TUNER_SUB_LANG2`` 177 current video standard does not permit SAP the
218 178 :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall return an ``EINVAL`` error code and
219 - 0x0004 179 driver shall fall back to mono or stereo mode.
220 180 * - ``V4L2_TUNER_SUB_RDS``
221 - Same effect as ``V4L2_TUNER_SUB_SAP``. 181 - 0x0010
222 182 - Enable the RDS encoder for a radio FM transmitter.
223 - .. row 5
224
225 - ``V4L2_TUNER_SUB_SAP``
226
227 - 0x0004
228
229 - When combined with ``V4L2_TUNER_SUB_MONO`` the first channel is
230 encoded as mono audio, the last channel as Second Audio Program.
231 When the input has only one channel it is used for both audio
232 tracks. When the input has three channels the mono track is a
233 down-mix of channel 1 and 2. When combined with
234 ``V4L2_TUNER_SUB_STEREO`` channel 1 and 2 are encoded as left and
235 right stereo audio, channel 3 as Second Audio Program. When the
236 input has only two channels, the first is encoded as left and
237 right channel and the second as SAP. When the input has only one
238 channel it is used for all audio tracks. It is not possible to
239 encode a Second Audio Program only. This flag must combine with
240 ``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_STEREO``. If the
241 hardware does not support the respective audio matrix, or the
242 current video standard does not permit SAP the
243 :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall return an ``EINVAL`` error code and
244 driver shall fall back to mono or stereo mode.
245
246 - .. row 6
247
248 - ``V4L2_TUNER_SUB_RDS``
249
250 - 0x0010
251
252 - Enable the RDS encoder for a radio FM transmitter.
253 183
254 184
255Return Value 185Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-parm.rst b/Documentation/media/uapi/v4l/vidioc-g-parm.rst
index eb68c34bb9ac..3b2e6e59a334 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-parm.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-parm.rst
@@ -60,55 +60,30 @@ union holding separate parameters for input and output devices.
60 :stub-columns: 0 60 :stub-columns: 0
61 :widths: 1 1 1 2 61 :widths: 1 1 1 2
62 62
63 63 * - __u32
64 - .. row 1 64 - ``type``
65 65 -
66 - __u32 66 - The buffer (stream) type, same as struct
67 67 :c:type:`v4l2_format` ``type``, set by the
68 - ``type`` 68 application. See :c:type:`v4l2_buf_type`
69 69 * - union
70 - 70 - ``parm``
71 - The buffer (stream) type, same as struct 71 -
72 :c:type:`v4l2_format` ``type``, set by the 72 -
73 application. See :c:type:`v4l2_buf_type` 73 * -
74 74 - struct :c:type:`v4l2_captureparm`
75 - .. row 2 75 - ``capture``
76 76 - Parameters for capture devices, used when ``type`` is
77 - union 77 ``V4L2_BUF_TYPE_VIDEO_CAPTURE``.
78 78 * -
79 - ``parm`` 79 - struct :c:type:`v4l2_outputparm`
80 80 - ``output``
81 - 81 - Parameters for output devices, used when ``type`` is
82 - 82 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``.
83 83 * -
84 - .. row 3 84 - __u8
85 85 - ``raw_data``\ [200]
86 - 86 - A place holder for future extensions.
87 - struct :c:type:`v4l2_captureparm`
88
89 - ``capture``
90
91 - Parameters for capture devices, used when ``type`` is
92 ``V4L2_BUF_TYPE_VIDEO_CAPTURE``.
93
94 - .. row 4
95
96 -
97 - struct :c:type:`v4l2_outputparm`
98
99 - ``output``
100
101 - Parameters for output devices, used when ``type`` is
102 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``.
103
104 - .. row 5
105
106 -
107 - __u8
108
109 - ``raw_data``\ [200]
110
111 - A place holder for future extensions.
112 87
113 88
114 89
@@ -121,77 +96,47 @@ union holding separate parameters for input and output devices.
121 :stub-columns: 0 96 :stub-columns: 0
122 :widths: 1 1 2 97 :widths: 1 1 2
123 98
124 99 * - __u32
125 - .. row 1 100 - ``capability``
126 101 - See :ref:`parm-caps`.
127 - __u32 102 * - __u32
128 103 - ``capturemode``
129 - ``capability`` 104 - Set by drivers and applications, see :ref:`parm-flags`.
130 105 * - struct :c:type:`v4l2_fract`
131 - See :ref:`parm-caps`. 106 - ``timeperframe``
132 107 - This is the desired period between successive frames captured by
133 - .. row 2 108 the driver, in seconds. The field is intended to skip frames on
134 109 the driver side, saving I/O bandwidth.
135 - __u32 110
136 111 Applications store here the desired frame period, drivers return
137 - ``capturemode`` 112 the actual frame period, which must be greater or equal to the
138 113 nominal frame period determined by the current video standard
139 - Set by drivers and applications, see :ref:`parm-flags`. 114 (struct :c:type:`v4l2_standard` ``frameperiod``
140 115 field). Changing the video standard (also implicitly by switching
141 - .. row 3 116 the video input) may reset this parameter to the nominal frame
142 117 period. To reset manually applications can just set this field to
143 - struct :c:type:`v4l2_fract` 118 zero.
144 119
145 - ``timeperframe`` 120 Drivers support this function only when they set the
146 121 ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.
147 - This is the desired period between successive frames captured by 122 * - __u32
148 the driver, in seconds. The field is intended to skip frames on 123 - ``extendedmode``
149 the driver side, saving I/O bandwidth. 124 - Custom (driver specific) streaming parameters. When unused,
150 125 applications and drivers must set this field to zero. Applications
151 Applications store here the desired frame period, drivers return 126 using this field should check the driver name and version, see
152 the actual frame period, which must be greater or equal to the 127 :ref:`querycap`.
153 nominal frame period determined by the current video standard 128 * - __u32
154 (struct :c:type:`v4l2_standard` ``frameperiod`` 129 - ``readbuffers``
155 field). Changing the video standard (also implicitly by switching 130 - Applications set this field to the desired number of buffers used
156 the video input) may reset this parameter to the nominal frame 131 internally by the driver in :ref:`read() <func-read>` mode.
157 period. To reset manually applications can just set this field to 132 Drivers return the actual number of buffers. When an application
158 zero. 133 requests zero buffers, drivers should just return the current
159 134 setting rather than the minimum or an error code. For details see
160 Drivers support this function only when they set the 135 :ref:`rw`.
161 ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field. 136 * - __u32
162 137 - ``reserved``\ [4]
163 - .. row 4 138 - Reserved for future extensions. Drivers and applications must set
164 139 the array to zero.
165 - __u32
166
167 - ``extendedmode``
168
169 - Custom (driver specific) streaming parameters. When unused,
170 applications and drivers must set this field to zero. Applications
171 using this field should check the driver name and version, see
172 :ref:`querycap`.
173
174 - .. row 5
175
176 - __u32
177
178 - ``readbuffers``
179
180 - Applications set this field to the desired number of buffers used
181 internally by the driver in :ref:`read() <func-read>` mode.
182 Drivers return the actual number of buffers. When an application
183 requests zero buffers, drivers should just return the current
184 setting rather than the minimum or an error code. For details see
185 :ref:`rw`.
186
187 - .. row 6
188
189 - __u32
190
191 - ``reserved``\ [4]
192
193 - Reserved for future extensions. Drivers and applications must set
194 the array to zero.
195 140
196 141
197 142
@@ -204,84 +149,51 @@ union holding separate parameters for input and output devices.
204 :stub-columns: 0 149 :stub-columns: 0
205 :widths: 1 1 2 150 :widths: 1 1 2
206 151
207 152 * - __u32
208 - .. row 1 153 - ``capability``
209 154 - See :ref:`parm-caps`.
210 - __u32 155 * - __u32
211 156 - ``outputmode``
212 - ``capability`` 157 - Set by drivers and applications, see :ref:`parm-flags`.
213 158 * - struct :c:type:`v4l2_fract`
214 - See :ref:`parm-caps`. 159 - ``timeperframe``
215 160 - This is the desired period between successive frames output by the
216 - .. row 2 161 driver, in seconds.
217 162 * - :cspan:`2`
218 - __u32 163
219 164 The field is intended to repeat frames on the driver side in
220 - ``outputmode`` 165 :ref:`write() <func-write>` mode (in streaming mode timestamps
221 166 can be used to throttle the output), saving I/O bandwidth.
222 - Set by drivers and applications, see :ref:`parm-flags`. 167
223 168 Applications store here the desired frame period, drivers return
224 - .. row 3 169 the actual frame period, which must be greater or equal to the
225 170 nominal frame period determined by the current video standard
226 - struct :c:type:`v4l2_fract` 171 (struct :c:type:`v4l2_standard` ``frameperiod``
227 172 field). Changing the video standard (also implicitly by switching
228 - ``timeperframe`` 173 the video output) may reset this parameter to the nominal frame
229 174 period. To reset manually applications can just set this field to
230 - This is the desired period between successive frames output by the 175 zero.
231 driver, in seconds. 176
232 177 Drivers support this function only when they set the
233 - .. row 4 178 ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.
234 179 * - __u32
235 - :cspan:`2` 180 - ``extendedmode``
236 181 - Custom (driver specific) streaming parameters. When unused,
237 The field is intended to repeat frames on the driver side in 182 applications and drivers must set this field to zero. Applications
238 :ref:`write() <func-write>` mode (in streaming mode timestamps 183 using this field should check the driver name and version, see
239 can be used to throttle the output), saving I/O bandwidth. 184 :ref:`querycap`.
240 185 * - __u32
241 Applications store here the desired frame period, drivers return 186 - ``writebuffers``
242 the actual frame period, which must be greater or equal to the 187 - Applications set this field to the desired number of buffers used
243 nominal frame period determined by the current video standard 188 internally by the driver in :ref:`write() <func-write>` mode. Drivers
244 (struct :c:type:`v4l2_standard` ``frameperiod`` 189 return the actual number of buffers. When an application requests
245 field). Changing the video standard (also implicitly by switching 190 zero buffers, drivers should just return the current setting
246 the video output) may reset this parameter to the nominal frame 191 rather than the minimum or an error code. For details see
247 period. To reset manually applications can just set this field to 192 :ref:`rw`.
248 zero. 193 * - __u32
249 194 - ``reserved``\ [4]
250 Drivers support this function only when they set the 195 - Reserved for future extensions. Drivers and applications must set
251 ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field. 196 the array to zero.
252
253 - .. row 5
254
255 - __u32
256
257 - ``extendedmode``
258
259 - Custom (driver specific) streaming parameters. When unused,
260 applications and drivers must set this field to zero. Applications
261 using this field should check the driver name and version, see
262 :ref:`querycap`.
263
264 - .. row 6
265
266 - __u32
267
268 - ``writebuffers``
269
270 - Applications set this field to the desired number of buffers used
271 internally by the driver in :ref:`write() <func-write>` mode. Drivers
272 return the actual number of buffers. When an application requests
273 zero buffers, drivers should just return the current setting
274 rather than the minimum or an error code. For details see
275 :ref:`rw`.
276
277 - .. row 7
278
279 - __u32
280
281 - ``reserved``\ [4]
282
283 - Reserved for future extensions. Drivers and applications must set
284 the array to zero.
285 197
286 198
287 199
@@ -294,15 +206,10 @@ union holding separate parameters for input and output devices.
294 :stub-columns: 0 206 :stub-columns: 0
295 :widths: 3 1 4 207 :widths: 3 1 4
296 208
297 209 * - ``V4L2_CAP_TIMEPERFRAME``
298 - .. row 1 210 - 0x1000
299 211 - The frame skipping/repeating controlled by the ``timeperframe``
300 - ``V4L2_CAP_TIMEPERFRAME`` 212 field is supported.
301
302 - 0x1000
303
304 - The frame skipping/repeating controlled by the ``timeperframe``
305 field is supported.
306 213
307 214
308 215
@@ -315,41 +222,36 @@ union holding separate parameters for input and output devices.
315 :stub-columns: 0 222 :stub-columns: 0
316 :widths: 3 1 4 223 :widths: 3 1 4
317 224
225 * - ``V4L2_MODE_HIGHQUALITY``
226 - 0x0001
227 - High quality imaging mode. High quality mode is intended for still
228 imaging applications. The idea is to get the best possible image
229 quality that the hardware can deliver. It is not defined how the
230 driver writer may achieve that; it will depend on the hardware and
231 the ingenuity of the driver writer. High quality mode is a
232 different mode from the regular motion video capture modes. In
233 high quality mode:
318 234
319 - .. row 1 235 - The driver may be able to capture higher resolutions than for
320 236 motion capture.
321 - ``V4L2_MODE_HIGHQUALITY``
322
323 - 0x0001
324
325 - High quality imaging mode. High quality mode is intended for still
326 imaging applications. The idea is to get the best possible image
327 quality that the hardware can deliver. It is not defined how the
328 driver writer may achieve that; it will depend on the hardware and
329 the ingenuity of the driver writer. High quality mode is a
330 different mode from the regular motion video capture modes. In
331 high quality mode:
332
333 - The driver may be able to capture higher resolutions than for
334 motion capture.
335 237
336 - The driver may support fewer pixel formats than motion capture 238 - The driver may support fewer pixel formats than motion capture
337 (eg; true color). 239 (eg; true color).
338 240
339 - The driver may capture and arithmetically combine multiple 241 - The driver may capture and arithmetically combine multiple
340 successive fields or frames to remove color edge artifacts and 242 successive fields or frames to remove color edge artifacts and
341 reduce the noise in the video data. 243 reduce the noise in the video data.
342 244
343 - The driver may capture images in slices like a scanner in order 245 - The driver may capture images in slices like a scanner in order
344 to handle larger format images than would otherwise be 246 to handle larger format images than would otherwise be
345 possible. 247 possible.
346 248
347 - An image capture operation may be significantly slower than 249 - An image capture operation may be significantly slower than
348 motion capture. 250 motion capture.
349 251
350 - Moving objects in the image might have excessive motion blur. 252 - Moving objects in the image might have excessive motion blur.
351 253
352 - Capture might only work through the :ref:`read() <func-read>` call. 254 - Capture might only work through the :ref:`read() <func-read>` call.
353 255
354 256
355Return Value 257Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-priority.rst b/Documentation/media/uapi/v4l/vidioc-g-priority.rst
index cbd2a3cbb18e..a763988f64e4 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-priority.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-priority.rst
@@ -53,55 +53,30 @@ with a pointer to this variable.
53 :stub-columns: 0 53 :stub-columns: 0
54 :widths: 3 1 4 54 :widths: 3 1 4
55 55
56 56 * - ``V4L2_PRIORITY_UNSET``
57 - .. row 1 57 - 0
58 58 -
59 - ``V4L2_PRIORITY_UNSET`` 59 * - ``V4L2_PRIORITY_BACKGROUND``
60 60 - 1
61 - 0 61 - Lowest priority, usually applications running in background, for
62 62 example monitoring VBI transmissions. A proxy application running
63 - 63 in user space will be necessary if multiple applications want to
64 64 read from a device at this priority.
65 - .. row 2 65 * - ``V4L2_PRIORITY_INTERACTIVE``
66 66 - 2
67 - ``V4L2_PRIORITY_BACKGROUND`` 67 -
68 68 * - ``V4L2_PRIORITY_DEFAULT``
69 - 1 69 - 2
70 70 - Medium priority, usually applications started and interactively
71 - Lowest priority, usually applications running in background, for 71 controlled by the user. For example TV viewers, Teletext browsers,
72 example monitoring VBI transmissions. A proxy application running 72 or just "panel" applications to change the channel or video
73 in user space will be necessary if multiple applications want to 73 controls. This is the default priority unless an application
74 read from a device at this priority. 74 requests another.
75 75 * - ``V4L2_PRIORITY_RECORD``
76 - .. row 3 76 - 3
77 77 - Highest priority. Only one file descriptor can have this priority,
78 - ``V4L2_PRIORITY_INTERACTIVE`` 78 it blocks any other fd from changing device properties. Usually
79 79 applications which must not be interrupted, like video recording.
80 - 2
81
82 -
83
84 - .. row 4
85
86 - ``V4L2_PRIORITY_DEFAULT``
87
88 - 2
89
90 - Medium priority, usually applications started and interactively
91 controlled by the user. For example TV viewers, Teletext browsers,
92 or just "panel" applications to change the channel or video
93 controls. This is the default priority unless an application
94 requests another.
95
96 - .. row 5
97
98 - ``V4L2_PRIORITY_RECORD``
99
100 - 3
101
102 - Highest priority. Only one file descriptor can have this priority,
103 it blocks any other fd from changing device properties. Usually
104 applications which must not be interrupted, like video recording.
105 80
106 81
107Return Value 82Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-selection.rst b/Documentation/media/uapi/v4l/vidioc-g-selection.rst
index a687e236d0f1..3145a9166bad 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-selection.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-selection.rst
@@ -149,50 +149,25 @@ Selection targets and flags are documented in
149 :stub-columns: 0 149 :stub-columns: 0
150 :widths: 1 1 2 150 :widths: 1 1 2
151 151
152 152 * - __u32
153 - .. row 1 153 - ``type``
154 154 - Type of the buffer (from enum
155 - __u32 155 :c:type:`v4l2_buf_type`).
156 156 * - __u32
157 - ``type`` 157 - ``target``
158 158 - Used to select between
159 - Type of the buffer (from enum 159 :ref:`cropping and composing rectangles <v4l2-selections-common>`.
160 :c:type:`v4l2_buf_type`). 160 * - __u32
161 161 - ``flags``
162 - .. row 2 162 - Flags controlling the selection rectangle adjustments, refer to
163 163 :ref:`selection flags <v4l2-selection-flags>`.
164 - __u32 164 * - struct :c:type:`v4l2_rect`
165 165 - ``r``
166 - ``target`` 166 - The selection rectangle.
167 167 * - __u32
168 - Used to select between 168 - ``reserved[9]``
169 :ref:`cropping and composing rectangles <v4l2-selections-common>`. 169 - Reserved fields for future use. Drivers and applications must zero
170 170 this array.
171 - .. row 3
172
173 - __u32
174
175 - ``flags``
176
177 - Flags controlling the selection rectangle adjustments, refer to
178 :ref:`selection flags <v4l2-selection-flags>`.
179
180 - .. row 4
181
182 - struct :c:type:`v4l2_rect`
183
184 - ``r``
185
186 - The selection rectangle.
187
188 - .. row 5
189
190 - __u32
191
192 - ``reserved[9]``
193
194 - Reserved fields for future use. Drivers and applications must zero
195 this array.
196 171
197 172
198Return Value 173Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst b/Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst
index 04fae524850a..d7e2b2fa8b88 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst
@@ -53,124 +53,67 @@ the sliced VBI API is unsupported or ``type`` is invalid.
53 :stub-columns: 0 53 :stub-columns: 0
54 :widths: 3 3 2 2 2 54 :widths: 3 3 2 2 2
55 55
56 56 * - __u16
57 - .. row 1 57 - ``service_set``
58 58 - :cspan:`2` A set of all data services supported by the driver.
59 - __u16 59
60 60 Equal to the union of all elements of the ``service_lines`` array.
61 - ``service_set`` 61 * - __u16
62 62 - ``service_lines``\ [2][24]
63 - :cspan:`2` A set of all data services supported by the driver. 63 - :cspan:`2` Each element of this array contains a set of data
64 64 services the hardware can look for or insert into a particular
65 Equal to the union of all elements of the ``service_lines`` array. 65 scan line. Data services are defined in :ref:`vbi-services`.
66 66 Array indices map to ITU-R line numbers\ [#f1]_ as follows:
67 - .. row 2 67 * -
68 68 -
69 - __u16 69 - Element
70 70 - 525 line systems
71 - ``service_lines``\ [2][24] 71 - 625 line systems
72 72 * -
73 - :cspan:`2` Each element of this array contains a set of data 73 -
74 services the hardware can look for or insert into a particular 74 - ``service_lines``\ [0][1]
75 scan line. Data services are defined in :ref:`vbi-services`. 75 - 1
76 Array indices map to ITU-R line numbers\ [#f1]_ as follows: 76 - 1
77 77 * -
78 - .. row 3 78 -
79 79 - ``service_lines``\ [0][23]
80 - 80 - 23
81 - 81 - 23
82 - Element 82 * -
83 83 -
84 - 525 line systems 84 - ``service_lines``\ [1][1]
85 85 - 264
86 - 625 line systems 86 - 314
87 87 * -
88 - .. row 4 88 -
89 89 - ``service_lines``\ [1][23]
90 - 90 - 286
91 - 91 - 336
92 - ``service_lines``\ [0][1] 92 * -
93 93 * -
94 - 1 94 -
95 95 - :cspan:`2` The number of VBI lines the hardware can capture or
96 - 1 96 output per frame, or the number of services it can identify on a
97 97 given line may be limited. For example on PAL line 16 the hardware
98 - .. row 5 98 may be able to look for a VPS or Teletext signal, but not both at
99 99 the same time. Applications can learn about these limits using the
100 - 100 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl as described in
101 - 101 :ref:`sliced`.
102 - ``service_lines``\ [0][23] 102 * -
103 103 * -
104 - 23 104 -
105 105 - :cspan:`2` Drivers must set ``service_lines`` [0][0] and
106 - 23 106 ``service_lines``\ [1][0] to zero.
107 107 * - __u32
108 - .. row 6 108 - ``type``
109 109 - Type of the data stream, see :c:type:`v4l2_buf_type`. Should be
110 - 110 ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` or
111 - 111 ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``.
112 - ``service_lines``\ [1][1] 112 * - __u32
113 113 - ``reserved``\ [3]
114 - 264 114 - :cspan:`2` This array is reserved for future extensions.
115 115
116 - 314 116 Applications and drivers must set it to zero.
117
118 - .. row 7
119
120 -
121 -
122 - ``service_lines``\ [1][23]
123
124 - 286
125
126 - 336
127
128 - .. row 8
129
130 -
131
132 - .. row 9
133
134 -
135 -
136 - :cspan:`2` The number of VBI lines the hardware can capture or
137 output per frame, or the number of services it can identify on a
138 given line may be limited. For example on PAL line 16 the hardware
139 may be able to look for a VPS or Teletext signal, but not both at
140 the same time. Applications can learn about these limits using the
141 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl as described in
142 :ref:`sliced`.
143
144 - .. row 10
145
146 -
147
148 - .. row 11
149
150 -
151 -
152 - :cspan:`2` Drivers must set ``service_lines`` [0][0] and
153 ``service_lines``\ [1][0] to zero.
154
155 - .. row 12
156
157 - __u32
158
159 - ``type``
160
161 - Type of the data stream, see :c:type:`v4l2_buf_type`. Should be
162 ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` or
163 ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``.
164
165 - .. row 13
166
167 - __u32
168
169 - ``reserved``\ [3]
170
171 - :cspan:`2` This array is reserved for future extensions.
172
173 Applications and drivers must set it to zero.
174 117
175.. [#f1] 118.. [#f1]
176 119
@@ -190,95 +133,50 @@ the sliced VBI API is unsupported or ``type`` is invalid.
190 :stub-columns: 0 133 :stub-columns: 0
191 :widths: 2 1 1 2 2 134 :widths: 2 1 1 2 2
192 135
193 136 * - Symbol
194 - .. row 1 137 - Value
195 138 - Reference
196 - Symbol 139 - Lines, usually
197 140 - Payload
198 - Value 141 * - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
199 142 - 0x0001
200 - Reference 143 - :ref:`ets300706`,
201 144
202 - Lines, usually 145 :ref:`itu653`
203 146 - PAL/SECAM line 7-22, 320-335 (second field 7-22)
204 - Payload 147 - Last 42 of the 45 byte Teletext packet, that is without clock
205 148 run-in and framing code, lsb first transmitted.
206 - .. row 2 149 * - ``V4L2_SLICED_VPS``
207 150 - 0x0400
208 - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B) 151 - :ref:`ets300231`
209 152 - PAL line 16
210 - 0x0001 153 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
211 154 first transmitted.
212 - :ref:`ets300706`, 155 * - ``V4L2_SLICED_CAPTION_525``
213 156 - 0x1000
214 :ref:`itu653` 157 - :ref:`cea608`
215 158 - NTSC line 21, 284 (second field 21)
216 - PAL/SECAM line 7-22, 320-335 (second field 7-22) 159 - Two bytes in transmission order, including parity bit, lsb first
217 160 transmitted.
218 - Last 42 of the 45 byte Teletext packet, that is without clock 161 * - ``V4L2_SLICED_WSS_625``
219 run-in and framing code, lsb first transmitted. 162 - 0x4000
220 163 - :ref:`en300294`,
221 - .. row 3 164
222 165 :ref:`itu1119`
223 - ``V4L2_SLICED_VPS`` 166 - PAL/SECAM line 23
224 167 -
225 - 0x0400 168
226 169 ::
227 - :ref:`ets300231` 170
228 171 Byte 0 1
229 - PAL line 16 172 msb lsb msb lsb
230 173 Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
231 - Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb 174 * - ``V4L2_SLICED_VBI_525``
232 first transmitted. 175 - 0x1000
233 176 - :cspan:`2` Set of services applicable to 525 line systems.
234 - .. row 4 177 * - ``V4L2_SLICED_VBI_625``
235 178 - 0x4401
236 - ``V4L2_SLICED_CAPTION_525`` 179 - :cspan:`2` Set of services applicable to 625 line systems.
237
238 - 0x1000
239
240 - :ref:`cea608`
241
242 - NTSC line 21, 284 (second field 21)
243
244 - Two bytes in transmission order, including parity bit, lsb first
245 transmitted.
246
247 - .. row 5
248
249 - ``V4L2_SLICED_WSS_625``
250
251 - 0x4000
252
253 - :ref:`en300294`,
254
255 :ref:`itu1119`
256
257 - PAL/SECAM line 23
258
259 -
260
261 ::
262
263 Byte 0 1
264 msb lsb msb lsb
265 Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
266
267 - .. row 6
268
269 - ``V4L2_SLICED_VBI_525``
270
271 - 0x1000
272
273 - :cspan:`2` Set of services applicable to 525 line systems.
274
275 - .. row 7
276
277 - ``V4L2_SLICED_VBI_625``
278
279 - 0x4401
280
281 - :cspan:`2` Set of services applicable to 625 line systems.
282 180
283.. raw:: latex 181.. raw:: latex
284 182
diff --git a/Documentation/media/uapi/v4l/vidioc-g-tuner.rst b/Documentation/media/uapi/v4l/vidioc-g-tuner.rst
index d0251a1b6303..e8aa8cd7065f 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-tuner.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-tuner.rst
@@ -69,195 +69,117 @@ To change the radio frequency the
69 :header-rows: 0 69 :header-rows: 0
70 :stub-columns: 0 70 :stub-columns: 0
71 71
72 72 * - __u32
73 - .. row 1 73 - ``index``
74 74 - :cspan:`1` Identifies the tuner, set by the application.
75 - __u32 75 * - __u8
76 76 - ``name``\ [32]
77 - ``index`` 77 - :cspan:`1`
78 78
79 - :cspan:`1` Identifies the tuner, set by the application. 79 Name of the tuner, a NUL-terminated ASCII string.
80 80
81 - .. row 2 81 This information is intended for the user.
82 82 * - __u32
83 - __u8 83 - ``type``
84 84 - :cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`.
85 - ``name``\ [32] 85 * - __u32
86 86 - ``capability``
87 - :cspan:`1` 87 - :cspan:`1`
88 88
89 Name of the tuner, a NUL-terminated ASCII string. 89 Tuner capability flags, see :ref:`tuner-capability`. Audio flags
90 90 indicate the ability to decode audio subprograms. They will *not*
91 This information is intended for the user. 91 change, for example with the current video standard.
92 92
93 - .. row 3 93 When the structure refers to a radio tuner the
94 94 ``V4L2_TUNER_CAP_LANG1``, ``V4L2_TUNER_CAP_LANG2`` and
95 - __u32 95 ``V4L2_TUNER_CAP_NORM`` flags can't be used.
96 96
97 - ``type`` 97 If multiple frequency bands are supported, then ``capability`` is
98 98 the union of all ``capability`` fields of each struct
99 - :cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`. 99 :c:type:`v4l2_frequency_band`.
100 100 * - __u32
101 - .. row 4 101 - ``rangelow``
102 102 - :cspan:`1` The lowest tunable frequency in units of 62.5 kHz, or
103 - __u32 103 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
104 104 of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ``
105 - ``capability`` 105 is set, in units of 1 Hz. If multiple frequency bands are
106 106 supported, then ``rangelow`` is the lowest frequency of all the
107 - :cspan:`1` 107 frequency bands.
108 108 * - __u32
109 Tuner capability flags, see :ref:`tuner-capability`. Audio flags 109 - ``rangehigh``
110 indicate the ability to decode audio subprograms. They will *not* 110 - :cspan:`1` The highest tunable frequency in units of 62.5 kHz,
111 change, for example with the current video standard. 111 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
112 112 units of 62.5 Hz, or if the ``capability`` flag
113 When the structure refers to a radio tuner the 113 ``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple
114 ``V4L2_TUNER_CAP_LANG1``, ``V4L2_TUNER_CAP_LANG2`` and 114 frequency bands are supported, then ``rangehigh`` is the highest
115 ``V4L2_TUNER_CAP_NORM`` flags can't be used. 115 frequency of all the frequency bands.
116 116 * - __u32
117 If multiple frequency bands are supported, then ``capability`` is 117 - ``rxsubchans``
118 the union of all ``capability`` fields of each struct 118 - :cspan:`1`
119 :c:type:`v4l2_frequency_band`. 119
120 120 Some tuners or audio decoders can determine the received audio
121 - .. row 5 121 subprograms by analyzing audio carriers, pilot tones or other
122 122 indicators. To pass this information drivers set flags defined in
123 - __u32 123 :ref:`tuner-rxsubchans` in this field. For example:
124 124 * -
125 - ``rangelow`` 125 -
126 126 - ``V4L2_TUNER_SUB_MONO``
127 - :cspan:`1` The lowest tunable frequency in units of 62.5 kHz, or 127 - receiving mono audio
128 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units 128 * -
129 of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` 129 -
130 is set, in units of 1 Hz. If multiple frequency bands are 130 - ``STEREO | SAP``
131 supported, then ``rangelow`` is the lowest frequency of all the 131 - receiving stereo audio and a secondary audio program
132 frequency bands. 132 * -
133 133 -
134 - .. row 6 134 - ``MONO | STEREO``
135 135 - receiving mono or stereo audio, the hardware cannot distinguish
136 - __u32 136 * -
137 137 -
138 - ``rangehigh`` 138 - ``LANG1 | LANG2``
139 139 - receiving bilingual audio
140 - :cspan:`1` The highest tunable frequency in units of 62.5 kHz, 140 * -
141 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in 141 -
142 units of 62.5 Hz, or if the ``capability`` flag 142 - ``MONO | STEREO | LANG1 | LANG2``
143 ``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple 143 - receiving mono, stereo or bilingual audio
144 frequency bands are supported, then ``rangehigh`` is the highest 144 * -
145 frequency of all the frequency bands. 145 -
146 146 - :cspan:`1`
147 - .. row 7 147
148 148 When the ``V4L2_TUNER_CAP_STEREO``, ``_LANG1``, ``_LANG2`` or
149 - __u32 149 ``_SAP`` flag is cleared in the ``capability`` field, the
150 150 corresponding ``V4L2_TUNER_SUB_`` flag must not be set here.
151 - ``rxsubchans`` 151
152 152 This field is valid only if this is the tuner of the current video
153 - :cspan:`1` 153 input, or when the structure refers to a radio tuner.
154 154 * - __u32
155 Some tuners or audio decoders can determine the received audio 155 - ``audmode``
156 subprograms by analyzing audio carriers, pilot tones or other 156 - :cspan:`1`
157 indicators. To pass this information drivers set flags defined in 157
158 :ref:`tuner-rxsubchans` in this field. For example: 158 The selected audio mode, see :ref:`tuner-audmode` for valid
159 159 values. The audio mode does not affect audio subprogram detection,
160 - .. row 8 160 and like a :ref:`control` it does not automatically
161 161 change unless the requested mode is invalid or unsupported. See
162 - 162 :ref:`tuner-matrix` for possible results when the selected and
163 - 163 received audio programs do not match.
164 - ``V4L2_TUNER_SUB_MONO`` 164
165 165 Currently this is the only field of struct
166 - receiving mono audio 166 struct :c:type:`v4l2_tuner` applications can change.
167 167 * - __u32
168 - .. row 9 168 - ``signal``
169 169 - :cspan:`1` The signal strength if known.
170 - 170
171 - 171 Ranging from 0 to 65535. Higher values indicate a better signal.
172 - ``STEREO | SAP`` 172 * - __s32
173 173 - ``afc``
174 - receiving stereo audio and a secondary audio program 174 - :cspan:`1` Automatic frequency control.
175 175
176 - .. row 10 176 When the ``afc`` value is negative, the frequency is too
177 177 low, when positive too high.
178 - 178 * - __u32
179 - 179 - ``reserved``\ [4]
180 - ``MONO | STEREO`` 180 - :cspan:`1` Reserved for future extensions.
181 181
182 - receiving mono or stereo audio, the hardware cannot distinguish 182 Drivers and applications must set the array to zero.
183
184 - .. row 11
185
186 -
187 -
188 - ``LANG1 | LANG2``
189
190 - receiving bilingual audio
191
192 - .. row 12
193
194 -
195 -
196 - ``MONO | STEREO | LANG1 | LANG2``
197
198 - receiving mono, stereo or bilingual audio
199
200 - .. row 13
201
202 -
203 -
204 - :cspan:`1`
205
206 When the ``V4L2_TUNER_CAP_STEREO``, ``_LANG1``, ``_LANG2`` or
207 ``_SAP`` flag is cleared in the ``capability`` field, the
208 corresponding ``V4L2_TUNER_SUB_`` flag must not be set here.
209
210 This field is valid only if this is the tuner of the current video
211 input, or when the structure refers to a radio tuner.
212
213 - .. row 14
214
215 - __u32
216
217 - ``audmode``
218
219 - :cspan:`1`
220
221 The selected audio mode, see :ref:`tuner-audmode` for valid
222 values. The audio mode does not affect audio subprogram detection,
223 and like a :ref:`control` it does not automatically
224 change unless the requested mode is invalid or unsupported. See
225 :ref:`tuner-matrix` for possible results when the selected and
226 received audio programs do not match.
227
228 Currently this is the only field of struct
229 struct :c:type:`v4l2_tuner` applications can change.
230
231 - .. row 15
232
233 - __u32
234
235 - ``signal``
236
237 - :cspan:`1` The signal strength if known.
238
239 Ranging from 0 to 65535. Higher values indicate a better signal.
240
241 - .. row 16
242
243 - __s32
244
245 - ``afc``
246
247 - :cspan:`1` Automatic frequency control.
248
249 When the ``afc`` value is negative, the frequency is too
250 low, when positive too high.
251
252 - .. row 17
253
254 - __u32
255
256 - ``reserved``\ [4]
257
258 - :cspan:`1` Reserved for future extensions.
259
260 Drivers and applications must set the array to zero.
261 183
262 184
263 185
@@ -270,39 +192,19 @@ To change the radio frequency the
270 :stub-columns: 0 192 :stub-columns: 0
271 :widths: 3 1 6 193 :widths: 3 1 6
272 194
273 195 * - ``V4L2_TUNER_RADIO``
274 - .. row 1 196 - 1
275 197 - Tuner supports radio
276 - ``V4L2_TUNER_RADIO`` 198 * - ``V4L2_TUNER_ANALOG_TV``
277 199 - 2
278 - 1 200 - Tuner supports analog TV
279 201 * - ``V4L2_TUNER_SDR``
280 - Tuner supports radio 202 - 4
281 203 - Tuner controls the A/D and/or D/A block of a
282 - .. row 2 204 Sofware Digital Radio (SDR)
283 205 * - ``V4L2_TUNER_RF``
284 - ``V4L2_TUNER_ANALOG_TV`` 206 - 5
285 207 - Tuner controls the RF part of a Sofware Digital Radio (SDR)
286 - 2
287
288 - Tuner supports analog TV
289
290 - .. row 3
291
292 - ``V4L2_TUNER_SDR``
293
294 - 4
295
296 - Tuner controls the A/D and/or D/A block of a
297 Sofware Digital Radio (SDR)
298
299 - .. row 4
300
301 - ``V4L2_TUNER_RF``
302
303 - 5
304
305 - Tuner controls the RF part of a Sofware Digital Radio (SDR)
306 208
307 209
308.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 210.. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
@@ -316,154 +218,84 @@ To change the radio frequency the
316 :stub-columns: 0 218 :stub-columns: 0
317 :widths: 3 1 4 219 :widths: 3 1 4
318 220
319 221 * - ``V4L2_TUNER_CAP_LOW``
320 - .. row 1 222 - 0x0001
321 223 - When set, tuning frequencies are expressed in units of 62.5 Hz
322 - ``V4L2_TUNER_CAP_LOW`` 224 instead of 62.5 kHz.
323 225 * - ``V4L2_TUNER_CAP_NORM``
324 - 0x0001 226 - 0x0002
325 227 - This is a multi-standard tuner; the video standard can or must be
326 - When set, tuning frequencies are expressed in units of 62.5 Hz 228 switched. (B/G PAL tuners for example are typically not considered
327 instead of 62.5 kHz. 229 multi-standard because the video standard is automatically
328 230 determined from the frequency band.) The set of supported video
329 - .. row 2 231 standards is available from the struct
330 232 :c:type:`v4l2_input` pointing to this tuner, see the
331 - ``V4L2_TUNER_CAP_NORM`` 233 description of ioctl :ref:`VIDIOC_ENUMINPUT`
332 234 for details. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this
333 - 0x0002 235 capability.
334 236 * - ``V4L2_TUNER_CAP_HWSEEK_BOUNDED``
335 - This is a multi-standard tuner; the video standard can or must be 237 - 0x0004
336 switched. (B/G PAL tuners for example are typically not considered 238 - If set, then this tuner supports the hardware seek functionality
337 multi-standard because the video standard is automatically 239 where the seek stops when it reaches the end of the frequency
338 determined from the frequency band.) The set of supported video 240 range.
339 standards is available from the struct 241 * - ``V4L2_TUNER_CAP_HWSEEK_WRAP``
340 :c:type:`v4l2_input` pointing to this tuner, see the 242 - 0x0008
341 description of ioctl :ref:`VIDIOC_ENUMINPUT` 243 - If set, then this tuner supports the hardware seek functionality
342 for details. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this 244 where the seek wraps around when it reaches the end of the
343 capability. 245 frequency range.
344 246 * - ``V4L2_TUNER_CAP_STEREO``
345 - .. row 3 247 - 0x0010
346 248 - Stereo audio reception is supported.
347 - ``V4L2_TUNER_CAP_HWSEEK_BOUNDED`` 249 * - ``V4L2_TUNER_CAP_LANG1``
348 250 - 0x0040
349 - 0x0004 251 - Reception of the primary language of a bilingual audio program is
350 252 supported. Bilingual audio is a feature of two-channel systems,
351 - If set, then this tuner supports the hardware seek functionality 253 transmitting the primary language monaural on the main audio
352 where the seek stops when it reaches the end of the frequency 254 carrier and a secondary language monaural on a second carrier.
353 range. 255 Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this capability.
354 256 * - ``V4L2_TUNER_CAP_LANG2``
355 - .. row 4 257 - 0x0020
356 258 - Reception of the secondary language of a bilingual audio program
357 - ``V4L2_TUNER_CAP_HWSEEK_WRAP`` 259 is supported. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this
358 260 capability.
359 - 0x0008 261 * - ``V4L2_TUNER_CAP_SAP``
360 262 - 0x0020
361 - If set, then this tuner supports the hardware seek functionality 263 - Reception of a secondary audio program is supported. This is a
362 where the seek wraps around when it reaches the end of the 264 feature of the BTSC system which accompanies the NTSC video
363 frequency range. 265 standard. Two audio carriers are available for mono or stereo
364 266 transmissions of a primary language, and an independent third
365 - .. row 5 267 carrier for a monaural secondary language. Only
366 268 ``V4L2_TUNER_ANALOG_TV`` tuners can have this capability.
367 - ``V4L2_TUNER_CAP_STEREO`` 269
368 270 .. note::
369 - 0x0010 271
370 272 The ``V4L2_TUNER_CAP_LANG2`` and ``V4L2_TUNER_CAP_SAP``
371 - Stereo audio reception is supported. 273 flags are synonyms. ``V4L2_TUNER_CAP_SAP`` applies when the tuner
372 274 supports the ``V4L2_STD_NTSC_M`` video standard.
373 - .. row 6 275 * - ``V4L2_TUNER_CAP_RDS``
374 276 - 0x0080
375 - ``V4L2_TUNER_CAP_LANG1`` 277 - RDS capture is supported. This capability is only valid for radio
376 278 tuners.
377 - 0x0040 279 * - ``V4L2_TUNER_CAP_RDS_BLOCK_IO``
378 280 - 0x0100
379 - Reception of the primary language of a bilingual audio program is 281 - The RDS data is passed as unparsed RDS blocks.
380 supported. Bilingual audio is a feature of two-channel systems, 282 * - ``V4L2_TUNER_CAP_RDS_CONTROLS``
381 transmitting the primary language monaural on the main audio 283 - 0x0200
382 carrier and a secondary language monaural on a second carrier. 284 - The RDS data is parsed by the hardware and set via controls.
383 Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this capability. 285 * - ``V4L2_TUNER_CAP_FREQ_BANDS``
384 286 - 0x0400
385 - .. row 7 287 - The :ref:`VIDIOC_ENUM_FREQ_BANDS`
386 288 ioctl can be used to enumerate the available frequency bands.
387 - ``V4L2_TUNER_CAP_LANG2`` 289 * - ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``
388 290 - 0x0800
389 - 0x0020 291 - The range to search when using the hardware seek functionality is
390 292 programmable, see
391 - Reception of the secondary language of a bilingual audio program 293 :ref:`VIDIOC_S_HW_FREQ_SEEK` for
392 is supported. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this 294 details.
393 capability. 295 * - ``V4L2_TUNER_CAP_1HZ``
394 296 - 0x1000
395 - .. row 8 297 - When set, tuning frequencies are expressed in units of 1 Hz
396 298 instead of 62.5 kHz.
397 - ``V4L2_TUNER_CAP_SAP``
398
399 - 0x0020
400
401 - Reception of a secondary audio program is supported. This is a
402 feature of the BTSC system which accompanies the NTSC video
403 standard. Two audio carriers are available for mono or stereo
404 transmissions of a primary language, and an independent third
405 carrier for a monaural secondary language. Only
406 ``V4L2_TUNER_ANALOG_TV`` tuners can have this capability.
407
408 .. note::
409
410 The ``V4L2_TUNER_CAP_LANG2`` and ``V4L2_TUNER_CAP_SAP``
411 flags are synonyms. ``V4L2_TUNER_CAP_SAP`` applies when the tuner
412 supports the ``V4L2_STD_NTSC_M`` video standard.
413
414 - .. row 9
415
416 - ``V4L2_TUNER_CAP_RDS``
417
418 - 0x0080
419
420 - RDS capture is supported. This capability is only valid for radio
421 tuners.
422
423 - .. row 10
424
425 - ``V4L2_TUNER_CAP_RDS_BLOCK_IO``
426
427 - 0x0100
428
429 - The RDS data is passed as unparsed RDS blocks.
430
431 - .. row 11
432
433 - ``V4L2_TUNER_CAP_RDS_CONTROLS``
434
435 - 0x0200
436
437 - The RDS data is parsed by the hardware and set via controls.
438
439 - .. row 12
440
441 - ``V4L2_TUNER_CAP_FREQ_BANDS``
442
443 - 0x0400
444
445 - The :ref:`VIDIOC_ENUM_FREQ_BANDS`
446 ioctl can be used to enumerate the available frequency bands.
447
448 - .. row 13
449
450 - ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``
451
452 - 0x0800
453
454 - The range to search when using the hardware seek functionality is
455 programmable, see
456 :ref:`VIDIOC_S_HW_FREQ_SEEK` for
457 details.
458
459 - .. row 14
460
461 - ``V4L2_TUNER_CAP_1HZ``
462
463 - 0x1000
464
465 - When set, tuning frequencies are expressed in units of 1 Hz
466 instead of 62.5 kHz.
467 299
468 300
469 301
@@ -476,63 +308,33 @@ To change the radio frequency the
476 :stub-columns: 0 308 :stub-columns: 0
477 :widths: 3 1 4 309 :widths: 3 1 4
478 310
479 311 * - ``V4L2_TUNER_SUB_MONO``
480 - .. row 1 312 - 0x0001
481 313 - The tuner receives a mono audio signal.
482 - ``V4L2_TUNER_SUB_MONO`` 314 * - ``V4L2_TUNER_SUB_STEREO``
483 315 - 0x0002
484 - 0x0001 316 - The tuner receives a stereo audio signal.
485 317 * - ``V4L2_TUNER_SUB_LANG1``
486 - The tuner receives a mono audio signal. 318 - 0x0008
487 319 - The tuner receives the primary language of a bilingual audio
488 - .. row 2 320 signal. Drivers must clear this flag when the current video
489 321 standard is ``V4L2_STD_NTSC_M``.
490 - ``V4L2_TUNER_SUB_STEREO`` 322 * - ``V4L2_TUNER_SUB_LANG2``
491 323 - 0x0004
492 - 0x0002 324 - The tuner receives the secondary language of a bilingual audio
493 325 signal (or a second audio program).
494 - The tuner receives a stereo audio signal. 326 * - ``V4L2_TUNER_SUB_SAP``
495 327 - 0x0004
496 - .. row 3 328 - The tuner receives a Second Audio Program.
497 329
498 - ``V4L2_TUNER_SUB_LANG1`` 330 .. note::
499 331
500 - 0x0008 332 The ``V4L2_TUNER_SUB_LANG2`` and ``V4L2_TUNER_SUB_SAP``
501 333 flags are synonyms. The ``V4L2_TUNER_SUB_SAP`` flag applies
502 - The tuner receives the primary language of a bilingual audio 334 when the current video standard is ``V4L2_STD_NTSC_M``.
503 signal. Drivers must clear this flag when the current video 335 * - ``V4L2_TUNER_SUB_RDS``
504 standard is ``V4L2_STD_NTSC_M``. 336 - 0x0010
505 337 - The tuner receives an RDS channel.
506 - .. row 4
507
508 - ``V4L2_TUNER_SUB_LANG2``
509
510 - 0x0004
511
512 - The tuner receives the secondary language of a bilingual audio
513 signal (or a second audio program).
514
515 - .. row 5
516
517 - ``V4L2_TUNER_SUB_SAP``
518
519 - 0x0004
520
521 - The tuner receives a Second Audio Program.
522
523 .. note::
524
525 The ``V4L2_TUNER_SUB_LANG2`` and ``V4L2_TUNER_SUB_SAP``
526 flags are synonyms. The ``V4L2_TUNER_SUB_SAP`` flag applies
527 when the current video standard is ``V4L2_STD_NTSC_M``.
528
529 - .. row 6
530
531 - ``V4L2_TUNER_SUB_RDS``
532
533 - 0x0010
534
535 - The tuner receives an RDS channel.
536 338
537 339
538 340
@@ -545,78 +347,48 @@ To change the radio frequency the
545 :stub-columns: 0 347 :stub-columns: 0
546 :widths: 3 1 4 348 :widths: 3 1 4
547 349
548 350 * - ``V4L2_TUNER_MODE_MONO``
549 - .. row 1 351 - 0
550 352 - Play mono audio. When the tuner receives a stereo signal this a
551 - ``V4L2_TUNER_MODE_MONO`` 353 down-mix of the left and right channel. When the tuner receives a
552 354 bilingual or SAP signal this mode selects the primary language.
553 - 0 355 * - ``V4L2_TUNER_MODE_STEREO``
554 356 - 1
555 - Play mono audio. When the tuner receives a stereo signal this a 357 - Play stereo audio. When the tuner receives bilingual audio it may
556 down-mix of the left and right channel. When the tuner receives a 358 play different languages on the left and right channel or the
557 bilingual or SAP signal this mode selects the primary language. 359 primary language is played on both channels.
558 360
559 - .. row 2 361 Playing different languages in this mode is deprecated. New
560 362 drivers should do this only in ``MODE_LANG1_LANG2``.
561 - ``V4L2_TUNER_MODE_STEREO`` 363
562 364 When the tuner receives no stereo signal or does not support
563 - 1 365 stereo reception the driver shall fall back to ``MODE_MONO``.
564 366 * - ``V4L2_TUNER_MODE_LANG1``
565 - Play stereo audio. When the tuner receives bilingual audio it may 367 - 3
566 play different languages on the left and right channel or the 368 - Play the primary language, mono or stereo. Only
567 primary language is played on both channels. 369 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
568 370 * - ``V4L2_TUNER_MODE_LANG2``
569 Playing different languages in this mode is deprecated. New 371 - 2
570 drivers should do this only in ``MODE_LANG1_LANG2``. 372 - Play the secondary language, mono. When the tuner receives no
571 373 bilingual audio or SAP, or their reception is not supported the
572 When the tuner receives no stereo signal or does not support 374 driver shall fall back to mono or stereo mode. Only
573 stereo reception the driver shall fall back to ``MODE_MONO``. 375 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
574 376 * - ``V4L2_TUNER_MODE_SAP``
575 - .. row 3 377 - 2
576 378 - Play the Second Audio Program. When the tuner receives no
577 - ``V4L2_TUNER_MODE_LANG1`` 379 bilingual audio or SAP, or their reception is not supported the
578 380 driver shall fall back to mono or stereo mode. Only
579 - 3 381 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
580 382
581 - Play the primary language, mono or stereo. Only 383 .. note:: The ``V4L2_TUNER_MODE_LANG2`` and ``V4L2_TUNER_MODE_SAP``
582 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode. 384 are synonyms.
583 385 * - ``V4L2_TUNER_MODE_LANG1_LANG2``
584 - .. row 4 386 - 4
585 387 - Play the primary language on the left channel, the secondary
586 - ``V4L2_TUNER_MODE_LANG2`` 388 language on the right channel. When the tuner receives no
587 389 bilingual audio or SAP, it shall fall back to ``MODE_LANG1`` or
588 - 2 390 ``MODE_MONO``. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this
589 391 mode.
590 - Play the secondary language, mono. When the tuner receives no
591 bilingual audio or SAP, or their reception is not supported the
592 driver shall fall back to mono or stereo mode. Only
593 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
594
595 - .. row 5
596
597 - ``V4L2_TUNER_MODE_SAP``
598
599 - 2
600
601 - Play the Second Audio Program. When the tuner receives no
602 bilingual audio or SAP, or their reception is not supported the
603 driver shall fall back to mono or stereo mode. Only
604 ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
605
606 .. note:: The ``V4L2_TUNER_MODE_LANG2`` and ``V4L2_TUNER_MODE_SAP``
607 are synonyms.
608
609 - .. row 6
610
611 - ``V4L2_TUNER_MODE_LANG1_LANG2``
612
613 - 4
614
615 - Play the primary language on the left channel, the secondary
616 language on the right channel. When the tuner receives no
617 bilingual audio or SAP, it shall fall back to ``MODE_LANG1`` or
618 ``MODE_MONO``. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this
619 mode.
620 392
621.. raw:: latex 393.. raw:: latex
622 394
@@ -628,95 +400,44 @@ To change the radio frequency the
628 :header-rows: 2 400 :header-rows: 2
629 :stub-columns: 0 401 :stub-columns: 0
630 402
631 403 * -
632 - .. row 1 404 - :cspan:`5` Selected ``V4L2_TUNER_MODE_``
633 405 * - Received ``V4L2_TUNER_SUB_``
634 - 406 - ``MONO``
635 - :cspan:`5` Selected ``V4L2_TUNER_MODE_`` 407 - ``STEREO``
636 408 - ``LANG1``
637 - .. row 2 409 - ``LANG2 = SAP``
638 410 - ``LANG1_LANG2``\ [#f1]_
639 - Received ``V4L2_TUNER_SUB_`` 411 * - ``MONO``
640 412 - Mono
641 - ``MONO`` 413 - Mono/Mono
642 414 - Mono
643 - ``STEREO`` 415 - Mono
644 416 - Mono/Mono
645 - ``LANG1`` 417 * - ``MONO | SAP``
646 418 - Mono
647 - ``LANG2 = SAP`` 419 - Mono/Mono
648 420 - Mono
649 - ``LANG1_LANG2``\ [#f1]_ 421 - SAP
650 422 - Mono/SAP (preferred) or Mono/Mono
651 - .. row 3 423 * - ``STEREO``
652 424 - L+R
653 - ``MONO`` 425 - L/R
654 426 - Stereo L/R (preferred) or Mono L+R
655 - Mono 427 - Stereo L/R (preferred) or Mono L+R
656 428 - L/R (preferred) or L+R/L+R
657 - Mono/Mono 429 * - ``STEREO | SAP``
658 430 - L+R
659 - Mono 431 - L/R
660 432 - Stereo L/R (preferred) or Mono L+R
661 - Mono 433 - SAP
662 434 - L+R/SAP (preferred) or L/R or L+R/L+R
663 - Mono/Mono 435 * - ``LANG1 | LANG2``
664 436 - Language 1
665 - .. row 4 437 - Lang1/Lang2 (deprecated [#f2]_) or Lang1/Lang1
666 438 - Language 1
667 - ``MONO | SAP`` 439 - Language 2
668 440 - Lang1/Lang2 (preferred) or Lang1/Lang1
669 - Mono
670
671 - Mono/Mono
672
673 - Mono
674
675 - SAP
676
677 - Mono/SAP (preferred) or Mono/Mono
678
679 - .. row 5
680
681 - ``STEREO``
682
683 - L+R
684
685 - L/R
686
687 - Stereo L/R (preferred) or Mono L+R
688
689 - Stereo L/R (preferred) or Mono L+R
690
691 - L/R (preferred) or L+R/L+R
692
693 - .. row 6
694
695 - ``STEREO | SAP``
696
697 - L+R
698
699 - L/R
700
701 - Stereo L/R (preferred) or Mono L+R
702
703 - SAP
704
705 - L+R/SAP (preferred) or L/R or L+R/L+R
706
707 - .. row 7
708
709 - ``LANG1 | LANG2``
710
711 - Language 1
712
713 - Lang1/Lang2 (deprecated [#f2]_) or Lang1/Lang1
714
715 - Language 1
716
717 - Language 2
718
719 - Lang1/Lang2 (preferred) or Lang1/Lang1
720 441
721.. raw:: latex 442.. raw:: latex
722 443
diff --git a/Documentation/media/uapi/v4l/vidioc-querycap.rst b/Documentation/media/uapi/v4l/vidioc-querycap.rst
index f2785cad2e57..165d8314327e 100644
--- a/Documentation/media/uapi/v4l/vidioc-querycap.rst
+++ b/Documentation/media/uapi/v4l/vidioc-querycap.rst
@@ -48,123 +48,86 @@ specification the ioctl returns an ``EINVAL`` error code.
48 :stub-columns: 0 48 :stub-columns: 0
49 :widths: 3 4 20 49 :widths: 3 4 20
50 50
51 - .. row 1 51 * - __u8
52 52 - ``driver``\ [16]
53 - __u8 53 - Name of the driver, a unique NUL-terminated ASCII string. For
54 54 example: "bttv". Driver specific applications can use this
55 - ``driver``\ [16] 55 information to verify the driver identity. It is also useful to
56 56 work around known bugs, or to identify drivers in error reports.
57 - Name of the driver, a unique NUL-terminated ASCII string. For 57
58 example: "bttv". Driver specific applications can use this 58 Storing strings in fixed sized arrays is bad practice but
59 information to verify the driver identity. It is also useful to 59 unavoidable here. Drivers and applications should take precautions
60 work around known bugs, or to identify drivers in error reports. 60 to never read or write beyond the end of the array and to make
61 61 sure the strings are properly NUL-terminated.
62 Storing strings in fixed sized arrays is bad practice but 62 * - __u8
63 unavoidable here. Drivers and applications should take precautions 63 - ``card``\ [32]
64 to never read or write beyond the end of the array and to make 64 - Name of the device, a NUL-terminated UTF-8 string. For example:
65 sure the strings are properly NUL-terminated. 65 "Yoyodyne TV/FM". One driver may support different brands or
66 66 models of video hardware. This information is intended for users,
67 - .. row 2 67 for example in a menu of available devices. Since multiple TV
68 68 cards of the same brand may be installed which are supported by
69 - __u8 69 the same driver, this name should be combined with the character
70 70 device file name (e. g. ``/dev/video2``) or the ``bus_info``
71 - ``card``\ [32] 71 string to avoid ambiguities.
72 72 * - __u8
73 - Name of the device, a NUL-terminated UTF-8 string. For example: 73 - ``bus_info``\ [32]
74 "Yoyodyne TV/FM". One driver may support different brands or 74 - Location of the device in the system, a NUL-terminated ASCII
75 models of video hardware. This information is intended for users, 75 string. For example: "PCI:0000:05:06.0". This information is
76 for example in a menu of available devices. Since multiple TV 76 intended for users, to distinguish multiple identical devices. If
77 cards of the same brand may be installed which are supported by 77 no such information is available the field must simply count the
78 the same driver, this name should be combined with the character 78 devices controlled by the driver ("platform:vivi-000"). The
79 device file name (e. g. ``/dev/video2``) or the ``bus_info`` 79 bus_info must start with "PCI:" for PCI boards, "PCIe:" for PCI
80 string to avoid ambiguities. 80 Express boards, "usb-" for USB devices, "I2C:" for i2c devices,
81 81 "ISA:" for ISA devices, "parport" for parallel port devices and
82 - .. row 3 82 "platform:" for platform devices.
83 83 * - __u32
84 - __u8 84 - ``version``
85 85 - Version number of the driver.
86 - ``bus_info``\ [32] 86
87 87 Starting with kernel 3.1, the version reported is provided by the
88 - Location of the device in the system, a NUL-terminated ASCII 88 V4L2 subsystem following the kernel numbering scheme. However, it
89 string. For example: "PCI:0000:05:06.0". This information is 89 may not always return the same version as the kernel if, for
90 intended for users, to distinguish multiple identical devices. If 90 example, a stable or distribution-modified kernel uses the V4L2
91 no such information is available the field must simply count the 91 stack from a newer kernel.
92 devices controlled by the driver ("platform:vivi-000"). The 92
93 bus_info must start with "PCI:" for PCI boards, "PCIe:" for PCI 93 The version number is formatted using the ``KERNEL_VERSION()``
94 Express boards, "usb-" for USB devices, "I2C:" for i2c devices, 94 macro:
95 "ISA:" for ISA devices, "parport" for parallel port devices and 95 * - :cspan:`2`
96 "platform:" for platform devices. 96
97 97 ``#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))``
98 - .. row 4 98
99 99 ``__u32 version = KERNEL_VERSION(0, 8, 1);``
100 - __u32 100
101 101 ``printf ("Version: %u.%u.%u\\n",``
102 - ``version`` 102
103 103 ``(version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF);``
104 - Version number of the driver. 104 * - __u32
105 105 - ``capabilities``
106 Starting with kernel 3.1, the version reported is provided by the 106 - Available capabilities of the physical device as a whole, see
107 V4L2 subsystem following the kernel numbering scheme. However, it 107 :ref:`device-capabilities`. The same physical device can export
108 may not always return the same version as the kernel if, for 108 multiple devices in /dev (e.g. /dev/videoX, /dev/vbiY and
109 example, a stable or distribution-modified kernel uses the V4L2 109 /dev/radioZ). The ``capabilities`` field should contain a union of
110 stack from a newer kernel. 110 all capabilities available around the several V4L2 devices
111 111 exported to userspace. For all those devices the ``capabilities``
112 The version number is formatted using the ``KERNEL_VERSION()`` 112 field returns the same set of capabilities. This allows
113 macro: 113 applications to open just one of the devices (typically the video
114 114 device) and discover whether video, vbi and/or radio are also
115 - .. row 5 115 supported.
116 116 * - __u32
117 - :cspan:`2` 117 - ``device_caps``
118 118 - Device capabilities of the opened device, see
119 ``#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))`` 119 :ref:`device-capabilities`. Should contain the available
120 120 capabilities of that specific device node. So, for example,
121 ``__u32 version = KERNEL_VERSION(0, 8, 1);`` 121 ``device_caps`` of a radio device will only contain radio related
122 122 capabilities and no video or vbi capabilities. This field is only
123 ``printf ("Version: %u.%u.%u\\n",`` 123 set if the ``capabilities`` field contains the
124 124 ``V4L2_CAP_DEVICE_CAPS`` capability. Only the ``capabilities``
125 ``(version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF);`` 125 field can have the ``V4L2_CAP_DEVICE_CAPS`` capability,
126 126 ``device_caps`` will never set ``V4L2_CAP_DEVICE_CAPS``.
127 - .. row 6 127 * - __u32
128 128 - ``reserved``\ [3]
129 - __u32 129 - Reserved for future extensions. Drivers must set this array to
130 130 zero.
131 - ``capabilities``
132
133 - Available capabilities of the physical device as a whole, see
134 :ref:`device-capabilities`. The same physical device can export
135 multiple devices in /dev (e.g. /dev/videoX, /dev/vbiY and
136 /dev/radioZ). The ``capabilities`` field should contain a union of
137 all capabilities available around the several V4L2 devices
138 exported to userspace. For all those devices the ``capabilities``
139 field returns the same set of capabilities. This allows
140 applications to open just one of the devices (typically the video
141 device) and discover whether video, vbi and/or radio are also
142 supported.
143
144 - .. row 7
145
146 - __u32
147
148 - ``device_caps``
149
150 - Device capabilities of the opened device, see
151 :ref:`device-capabilities`. Should contain the available
152 capabilities of that specific device node. So, for example,
153 ``device_caps`` of a radio device will only contain radio related
154 capabilities and no video or vbi capabilities. This field is only
155 set if the ``capabilities`` field contains the
156 ``V4L2_CAP_DEVICE_CAPS`` capability. Only the ``capabilities``
157 field can have the ``V4L2_CAP_DEVICE_CAPS`` capability,
158 ``device_caps`` will never set ``V4L2_CAP_DEVICE_CAPS``.
159
160 - .. row 8
161
162 - __u32
163
164 - ``reserved``\ [3]
165
166 - Reserved for future extensions. Drivers must set this array to
167 zero.
168 131
169 132
170 133
@@ -179,252 +142,118 @@ specification the ioctl returns an ``EINVAL`` error code.
179 :stub-columns: 0 142 :stub-columns: 0
180 :widths: 3 1 4 143 :widths: 3 1 4
181 144
182 - .. row 1 145 * - ``V4L2_CAP_VIDEO_CAPTURE``
183 146 - 0x00000001
184 - ``V4L2_CAP_VIDEO_CAPTURE`` 147 - The device supports the single-planar API through the
185 148 :ref:`Video Capture <capture>` interface.
186 - 0x00000001 149 * - ``V4L2_CAP_VIDEO_CAPTURE_MPLANE``
187 150 - 0x00001000
188 - The device supports the single-planar API through the 151 - The device supports the :ref:`multi-planar API <planar-apis>`
189 :ref:`Video Capture <capture>` interface. 152 through the :ref:`Video Capture <capture>` interface.
190 153 * - ``V4L2_CAP_VIDEO_OUTPUT``
191 - .. row 2 154 - 0x00000002
192 155 - The device supports the single-planar API through the
193 - ``V4L2_CAP_VIDEO_CAPTURE_MPLANE`` 156 :ref:`Video Output <output>` interface.
194 157 * - ``V4L2_CAP_VIDEO_OUTPUT_MPLANE``
195 - 0x00001000 158 - 0x00002000
196 159 - The device supports the :ref:`multi-planar API <planar-apis>`
197 - The device supports the :ref:`multi-planar API <planar-apis>` 160 through the :ref:`Video Output <output>` interface.
198 through the :ref:`Video Capture <capture>` interface. 161 * - ``V4L2_CAP_VIDEO_M2M``
199 162 - 0x00004000
200 - .. row 3 163 - The device supports the single-planar API through the Video
201 164 Memory-To-Memory interface.
202 - ``V4L2_CAP_VIDEO_OUTPUT`` 165 * - ``V4L2_CAP_VIDEO_M2M_MPLANE``
203 166 - 0x00008000
204 - 0x00000002 167 - The device supports the :ref:`multi-planar API <planar-apis>`
205 168 through the Video Memory-To-Memory interface.
206 - The device supports the single-planar API through the 169 * - ``V4L2_CAP_VIDEO_OVERLAY``
207 :ref:`Video Output <output>` interface. 170 - 0x00000004
208 171 - The device supports the :ref:`Video Overlay <overlay>`
209 - .. row 4 172 interface. A video overlay device typically stores captured images
210 173 directly in the video memory of a graphics card, with hardware
211 - ``V4L2_CAP_VIDEO_OUTPUT_MPLANE`` 174 clipping and scaling.
212 175 * - ``V4L2_CAP_VBI_CAPTURE``
213 - 0x00002000 176 - 0x00000010
214 177 - The device supports the :ref:`Raw VBI Capture <raw-vbi>`
215 - The device supports the :ref:`multi-planar API <planar-apis>` 178 interface, providing Teletext and Closed Caption data.
216 through the :ref:`Video Output <output>` interface. 179 * - ``V4L2_CAP_VBI_OUTPUT``
217 180 - 0x00000020
218 - .. row 5 181 - The device supports the :ref:`Raw VBI Output <raw-vbi>`
219 182 interface.
220 - ``V4L2_CAP_VIDEO_M2M`` 183 * - ``V4L2_CAP_SLICED_VBI_CAPTURE``
221 184 - 0x00000040
222 - 0x00004000 185 - The device supports the :ref:`Sliced VBI Capture <sliced>`
223 186 interface.
224 - The device supports the single-planar API through the Video 187 * - ``V4L2_CAP_SLICED_VBI_OUTPUT``
225 Memory-To-Memory interface. 188 - 0x00000080
226 189 - The device supports the :ref:`Sliced VBI Output <sliced>`
227 - .. row 6 190 interface.
228 191 * - ``V4L2_CAP_RDS_CAPTURE``
229 - ``V4L2_CAP_VIDEO_M2M_MPLANE`` 192 - 0x00000100
230 193 - The device supports the :ref:`RDS <rds>` capture interface.
231 - 0x00008000 194 * - ``V4L2_CAP_VIDEO_OUTPUT_OVERLAY``
232 195 - 0x00000200
233 - The device supports the :ref:`multi-planar API <planar-apis>` 196 - The device supports the :ref:`Video Output Overlay <osd>` (OSD)
234 through the Video Memory-To-Memory interface. 197 interface. Unlike the *Video Overlay* interface, this is a
235 198 secondary function of video output devices and overlays an image
236 - .. row 7 199 onto an outgoing video signal. When the driver sets this flag, it
237 200 must clear the ``V4L2_CAP_VIDEO_OVERLAY`` flag and vice
238 - ``V4L2_CAP_VIDEO_OVERLAY`` 201 versa. [#f1]_
239 202 * - ``V4L2_CAP_HW_FREQ_SEEK``
240 - 0x00000004 203 - 0x00000400
241 204 - The device supports the
242 - The device supports the :ref:`Video Overlay <overlay>` 205 :ref:`VIDIOC_S_HW_FREQ_SEEK` ioctl
243 interface. A video overlay device typically stores captured images 206 for hardware frequency seeking.
244 directly in the video memory of a graphics card, with hardware 207 * - ``V4L2_CAP_RDS_OUTPUT``
245 clipping and scaling. 208 - 0x00000800
246 209 - The device supports the :ref:`RDS <rds>` output interface.
247 - .. row 8 210 * - ``V4L2_CAP_TUNER``
248 211 - 0x00010000
249 - ``V4L2_CAP_VBI_CAPTURE`` 212 - The device has some sort of tuner to receive RF-modulated video
250 213 signals. For more information about tuner programming see
251 - 0x00000010 214 :ref:`tuner`.
252 215 * - ``V4L2_CAP_AUDIO``
253 - The device supports the :ref:`Raw VBI Capture <raw-vbi>` 216 - 0x00020000
254 interface, providing Teletext and Closed Caption data. 217 - The device has audio inputs or outputs. It may or may not support
255 218 audio recording or playback, in PCM or compressed formats. PCM
256 - .. row 9 219 audio support must be implemented as ALSA or OSS interface. For
257 220 more information on audio inputs and outputs see :ref:`audio`.
258 - ``V4L2_CAP_VBI_OUTPUT`` 221 * - ``V4L2_CAP_RADIO``
259 222 - 0x00040000
260 - 0x00000020 223 - This is a radio receiver.
261 224 * - ``V4L2_CAP_MODULATOR``
262 - The device supports the :ref:`Raw VBI Output <raw-vbi>` 225 - 0x00080000
263 interface. 226 - The device has some sort of modulator to emit RF-modulated
264 227 video/audio signals. For more information about modulator
265 - .. row 10 228 programming see :ref:`tuner`.
266 229 * - ``V4L2_CAP_SDR_CAPTURE``
267 - ``V4L2_CAP_SLICED_VBI_CAPTURE`` 230 - 0x00100000
268 231 - The device supports the :ref:`SDR Capture <sdr>` interface.
269 - 0x00000040 232 * - ``V4L2_CAP_EXT_PIX_FORMAT``
270 233 - 0x00200000
271 - The device supports the :ref:`Sliced VBI Capture <sliced>` 234 - The device supports the struct
272 interface. 235 :c:type:`v4l2_pix_format` extended fields.
273 236 * - ``V4L2_CAP_SDR_OUTPUT``
274 - .. row 11 237 - 0x00400000
275 238 - The device supports the :ref:`SDR Output <sdr>` interface.
276 - ``V4L2_CAP_SLICED_VBI_OUTPUT`` 239 * - ``V4L2_CAP_READWRITE``
277 240 - 0x01000000
278 - 0x00000080 241 - The device supports the :ref:`read() <rw>` and/or
279 242 :ref:`write() <rw>` I/O methods.
280 - The device supports the :ref:`Sliced VBI Output <sliced>` 243 * - ``V4L2_CAP_ASYNCIO``
281 interface. 244 - 0x02000000
282 245 - The device supports the :ref:`asynchronous <async>` I/O methods.
283 - .. row 12 246 * - ``V4L2_CAP_STREAMING``
284 247 - 0x04000000
285 - ``V4L2_CAP_RDS_CAPTURE`` 248 - The device supports the :ref:`streaming <mmap>` I/O method.
286 249 * - ``V4L2_CAP_TOUCH``
287 - 0x00000100 250 - 0x10000000
288 251 - This is a touch device.
289 - The device supports the :ref:`RDS <rds>` capture interface. 252 * - ``V4L2_CAP_DEVICE_CAPS``
290 253 - 0x80000000
291 - .. row 13 254 - The driver fills the ``device_caps`` field. This capability can
292 255 only appear in the ``capabilities`` field and never in the
293 - ``V4L2_CAP_VIDEO_OUTPUT_OVERLAY`` 256 ``device_caps`` field.
294
295 - 0x00000200
296
297 - The device supports the :ref:`Video Output Overlay <osd>` (OSD)
298 interface. Unlike the *Video Overlay* interface, this is a
299 secondary function of video output devices and overlays an image
300 onto an outgoing video signal. When the driver sets this flag, it
301 must clear the ``V4L2_CAP_VIDEO_OVERLAY`` flag and vice
302 versa. [#f1]_
303
304 - .. row 14
305
306 - ``V4L2_CAP_HW_FREQ_SEEK``
307
308 - 0x00000400
309
310 - The device supports the
311 :ref:`VIDIOC_S_HW_FREQ_SEEK` ioctl
312 for hardware frequency seeking.
313
314 - .. row 15
315
316 - ``V4L2_CAP_RDS_OUTPUT``
317
318 - 0x00000800
319
320 - The device supports the :ref:`RDS <rds>` output interface.
321
322 - .. row 16
323
324 - ``V4L2_CAP_TUNER``
325
326 - 0x00010000
327
328 - The device has some sort of tuner to receive RF-modulated video
329 signals. For more information about tuner programming see
330 :ref:`tuner`.
331
332 - .. row 17
333
334 - ``V4L2_CAP_AUDIO``
335
336 - 0x00020000
337
338 - The device has audio inputs or outputs. It may or may not support
339 audio recording or playback, in PCM or compressed formats. PCM
340 audio support must be implemented as ALSA or OSS interface. For
341 more information on audio inputs and outputs see :ref:`audio`.
342
343 - .. row 18
344
345 - ``V4L2_CAP_RADIO``
346
347 - 0x00040000
348
349 - This is a radio receiver.
350
351 - .. row 19
352
353 - ``V4L2_CAP_MODULATOR``
354
355 - 0x00080000
356
357 - The device has some sort of modulator to emit RF-modulated
358 video/audio signals. For more information about modulator
359 programming see :ref:`tuner`.
360
361 - .. row 20
362
363 - ``V4L2_CAP_SDR_CAPTURE``
364
365 - 0x00100000
366
367 - The device supports the :ref:`SDR Capture <sdr>` interface.
368
369 - .. row 21
370
371 - ``V4L2_CAP_EXT_PIX_FORMAT``
372
373 - 0x00200000
374
375 - The device supports the struct
376 :c:type:`v4l2_pix_format` extended fields.
377
378 - .. row 22
379
380 - ``V4L2_CAP_SDR_OUTPUT``
381
382 - 0x00400000
383
384 - The device supports the :ref:`SDR Output <sdr>` interface.
385
386 - .. row 23
387
388 - ``V4L2_CAP_READWRITE``
389
390 - 0x01000000
391
392 - The device supports the :ref:`read() <rw>` and/or
393 :ref:`write() <rw>` I/O methods.
394
395 - .. row 24
396
397 - ``V4L2_CAP_ASYNCIO``
398
399 - 0x02000000
400
401 - The device supports the :ref:`asynchronous <async>` I/O methods.
402
403 - .. row 25
404
405 - ``V4L2_CAP_STREAMING``
406
407 - 0x04000000
408
409 - The device supports the :ref:`streaming <mmap>` I/O method.
410
411 - .. row 26
412
413 - ``V4L2_CAP_TOUCH``
414
415 - 0x10000000
416
417 - This is a touch device.
418
419 - .. row 27
420
421 - ``V4L2_CAP_DEVICE_CAPS``
422
423 - 0x80000000
424
425 - The driver fills the ``device_caps`` field. This capability can
426 only appear in the ``capabilities`` field and never in the
427 ``device_caps`` field.
428 257
429 258
430Return Value 259Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
index f3ce0ab53bae..82769de801b1 100644
--- a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
+++ b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
@@ -105,116 +105,71 @@ See also the examples in :ref:`control`.
105 :stub-columns: 0 105 :stub-columns: 0
106 :widths: 1 1 2 106 :widths: 1 1 2
107 107
108 108 * - __u32
109 - .. row 1 109 - ``id``
110 110 - Identifies the control, set by the application. See
111 - __u32 111 :ref:`control-id` for predefined IDs. When the ID is ORed with
112 112 V4L2_CTRL_FLAG_NEXT_CTRL the driver clears the flag and
113 - ``id`` 113 returns the first control with a higher ID. Drivers which do not
114 114 support this flag yet always return an ``EINVAL`` error code.
115 - Identifies the control, set by the application. See 115 * - __u32
116 :ref:`control-id` for predefined IDs. When the ID is ORed with 116 - ``type``
117 V4L2_CTRL_FLAG_NEXT_CTRL the driver clears the flag and 117 - Type of control, see :c:type:`v4l2_ctrl_type`.
118 returns the first control with a higher ID. Drivers which do not 118 * - __u8
119 support this flag yet always return an ``EINVAL`` error code. 119 - ``name``\ [32]
120 120 - Name of the control, a NUL-terminated ASCII string. This
121 - .. row 2 121 information is intended for the user.
122 122 * - __s32
123 - __u32 123 - ``minimum``
124 124 - Minimum value, inclusive. This field gives a lower bound for the
125 - ``type`` 125 control. See enum :c:type:`v4l2_ctrl_type` how
126 126 the minimum value is to be used for each possible control type.
127 - Type of control, see :c:type:`v4l2_ctrl_type`. 127 Note that this a signed 32-bit value.
128 128 * - __s32
129 - .. row 3 129 - ``maximum``
130 130 - Maximum value, inclusive. This field gives an upper bound for the
131 - __u8 131 control. See enum :c:type:`v4l2_ctrl_type` how
132 132 the maximum value is to be used for each possible control type.
133 - ``name``\ [32] 133 Note that this a signed 32-bit value.
134 134 * - __s32
135 - Name of the control, a NUL-terminated ASCII string. This 135 - ``step``
136 information is intended for the user. 136 - This field gives a step size for the control. See enum
137 137 :c:type:`v4l2_ctrl_type` how the step value is
138 - .. row 4 138 to be used for each possible control type. Note that this an
139 139 unsigned 32-bit value.
140 - __s32 140
141 141 Generally drivers should not scale hardware control values. It may
142 - ``minimum`` 142 be necessary for example when the ``name`` or ``id`` imply a
143 143 particular unit and the hardware actually accepts only multiples
144 - Minimum value, inclusive. This field gives a lower bound for the 144 of said unit. If so, drivers must take care values are properly
145 control. See enum :c:type:`v4l2_ctrl_type` how 145 rounded when scaling, such that errors will not accumulate on
146 the minimum value is to be used for each possible control type. 146 repeated read-write cycles.
147 Note that this a signed 32-bit value. 147
148 148 This field gives the smallest change of an integer control
149 - .. row 5 149 actually affecting hardware. Often the information is needed when
150 150 the user can change controls by keyboard or GUI buttons, rather
151 - __s32 151 than a slider. When for example a hardware register accepts values
152 152 0-511 and the driver reports 0-65535, step should be 128.
153 - ``maximum`` 153
154 154 Note that although signed, the step value is supposed to be always
155 - Maximum value, inclusive. This field gives an upper bound for the 155 positive.
156 control. See enum :c:type:`v4l2_ctrl_type` how 156 * - __s32
157 the maximum value is to be used for each possible control type. 157 - ``default_value``
158 Note that this a signed 32-bit value. 158 - The default value of a ``V4L2_CTRL_TYPE_INTEGER``, ``_BOOLEAN``,
159 159 ``_BITMASK``, ``_MENU`` or ``_INTEGER_MENU`` control. Not valid
160 - .. row 6 160 for other types of controls.
161 161
162 - __s32 162 .. note::
163 163
164 - ``step`` 164 Drivers reset controls to their default value only when
165 165 the driver is first loaded, never afterwards.
166 - This field gives a step size for the control. See enum 166 * - __u32
167 :c:type:`v4l2_ctrl_type` how the step value is 167 - ``flags``
168 to be used for each possible control type. Note that this an 168 - Control flags, see :ref:`control-flags`.
169 unsigned 32-bit value. 169 * - __u32
170 170 - ``reserved``\ [2]
171 Generally drivers should not scale hardware control values. It may 171 - Reserved for future extensions. Drivers must set the array to
172 be necessary for example when the ``name`` or ``id`` imply a 172 zero.
173 particular unit and the hardware actually accepts only multiples
174 of said unit. If so, drivers must take care values are properly
175 rounded when scaling, such that errors will not accumulate on
176 repeated read-write cycles.
177
178 This field gives the smallest change of an integer control
179 actually affecting hardware. Often the information is needed when
180 the user can change controls by keyboard or GUI buttons, rather
181 than a slider. When for example a hardware register accepts values
182 0-511 and the driver reports 0-65535, step should be 128.
183
184 Note that although signed, the step value is supposed to be always
185 positive.
186
187 - .. row 7
188
189 - __s32
190
191 - ``default_value``
192
193 - The default value of a ``V4L2_CTRL_TYPE_INTEGER``, ``_BOOLEAN``,
194 ``_BITMASK``, ``_MENU`` or ``_INTEGER_MENU`` control. Not valid
195 for other types of controls.
196
197 .. note::
198
199 Drivers reset controls to their default value only when
200 the driver is first loaded, never afterwards.
201
202 - .. row 8
203
204 - __u32
205
206 - ``flags``
207
208 - Control flags, see :ref:`control-flags`.
209
210 - .. row 9
211
212 - __u32
213
214 - ``reserved``\ [2]
215
216 - Reserved for future extensions. Drivers must set the array to
217 zero.
218 173
219 174
220 175
@@ -229,158 +184,93 @@ See also the examples in :ref:`control`.
229 :stub-columns: 0 184 :stub-columns: 0
230 :widths: 1 1 2 185 :widths: 1 1 2
231 186
232 187 * - __u32
233 - .. row 1 188 - ``id``
234 189 - Identifies the control, set by the application. See
235 - __u32 190 :ref:`control-id` for predefined IDs. When the ID is ORed with
236 191 ``V4L2_CTRL_FLAG_NEXT_CTRL`` the driver clears the flag and
237 - ``id`` 192 returns the first non-compound control with a higher ID. When the
238 193 ID is ORed with ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` the driver clears
239 - Identifies the control, set by the application. See 194 the flag and returns the first compound control with a higher ID.
240 :ref:`control-id` for predefined IDs. When the ID is ORed with 195 Set both to get the first control (compound or not) with a higher
241 ``V4L2_CTRL_FLAG_NEXT_CTRL`` the driver clears the flag and 196 ID.
242 returns the first non-compound control with a higher ID. When the 197 * - __u32
243 ID is ORed with ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` the driver clears 198 - ``type``
244 the flag and returns the first compound control with a higher ID. 199 - Type of control, see :c:type:`v4l2_ctrl_type`.
245 Set both to get the first control (compound or not) with a higher 200 * - char
246 ID. 201 - ``name``\ [32]
247 202 - Name of the control, a NUL-terminated ASCII string. This
248 - .. row 2 203 information is intended for the user.
249 204 * - __s64
250 - __u32 205 - ``minimum``
251 206 - Minimum value, inclusive. This field gives a lower bound for the
252 - ``type`` 207 control. See enum :c:type:`v4l2_ctrl_type` how
253 208 the minimum value is to be used for each possible control type.
254 - Type of control, see :c:type:`v4l2_ctrl_type`. 209 Note that this a signed 64-bit value.
255 210 * - __s64
256 - .. row 3 211 - ``maximum``
257 212 - Maximum value, inclusive. This field gives an upper bound for the
258 - char 213 control. See enum :c:type:`v4l2_ctrl_type` how
259 214 the maximum value is to be used for each possible control type.
260 - ``name``\ [32] 215 Note that this a signed 64-bit value.
261 216 * - __u64
262 - Name of the control, a NUL-terminated ASCII string. This 217 - ``step``
263 information is intended for the user. 218 - This field gives a step size for the control. See enum
264 219 :c:type:`v4l2_ctrl_type` how the step value is
265 - .. row 4 220 to be used for each possible control type. Note that this an
266 221 unsigned 64-bit value.
267 - __s64 222
268 223 Generally drivers should not scale hardware control values. It may
269 - ``minimum`` 224 be necessary for example when the ``name`` or ``id`` imply a
270 225 particular unit and the hardware actually accepts only multiples
271 - Minimum value, inclusive. This field gives a lower bound for the 226 of said unit. If so, drivers must take care values are properly
272 control. See enum :c:type:`v4l2_ctrl_type` how 227 rounded when scaling, such that errors will not accumulate on
273 the minimum value is to be used for each possible control type. 228 repeated read-write cycles.
274 Note that this a signed 64-bit value. 229
275 230 This field gives the smallest change of an integer control
276 - .. row 5 231 actually affecting hardware. Often the information is needed when
277 232 the user can change controls by keyboard or GUI buttons, rather
278 - __s64 233 than a slider. When for example a hardware register accepts values
279 234 0-511 and the driver reports 0-65535, step should be 128.
280 - ``maximum`` 235 * - __s64
281 236 - ``default_value``
282 - Maximum value, inclusive. This field gives an upper bound for the 237 - The default value of a ``V4L2_CTRL_TYPE_INTEGER``, ``_INTEGER64``,
283 control. See enum :c:type:`v4l2_ctrl_type` how 238 ``_BOOLEAN``, ``_BITMASK``, ``_MENU``, ``_INTEGER_MENU``, ``_U8``
284 the maximum value is to be used for each possible control type. 239 or ``_U16`` control. Not valid for other types of controls.
285 Note that this a signed 64-bit value. 240
286 241 .. note::
287 - .. row 6 242
288 243 Drivers reset controls to their default value only when
289 - __u64 244 the driver is first loaded, never afterwards.
290 245 * - __u32
291 - ``step`` 246 - ``flags``
292 247 - Control flags, see :ref:`control-flags`.
293 - This field gives a step size for the control. See enum 248 * - __u32
294 :c:type:`v4l2_ctrl_type` how the step value is 249 - ``elem_size``
295 to be used for each possible control type. Note that this an 250 - The size in bytes of a single element of the array. Given a char
296 unsigned 64-bit value. 251 pointer ``p`` to a 3-dimensional array you can find the position
297 252 of cell ``(z, y, x)`` as follows:
298 Generally drivers should not scale hardware control values. It may 253 ``p + ((z * dims[1] + y) * dims[0] + x) * elem_size``.
299 be necessary for example when the ``name`` or ``id`` imply a 254 ``elem_size`` is always valid, also when the control isn't an
300 particular unit and the hardware actually accepts only multiples 255 array. For string controls ``elem_size`` is equal to
301 of said unit. If so, drivers must take care values are properly 256 ``maximum + 1``.
302 rounded when scaling, such that errors will not accumulate on 257 * - __u32
303 repeated read-write cycles. 258 - ``elems``
304 259 - The number of elements in the N-dimensional array. If this control
305 This field gives the smallest change of an integer control 260 is not an array, then ``elems`` is 1. The ``elems`` field can
306 actually affecting hardware. Often the information is needed when 261 never be 0.
307 the user can change controls by keyboard or GUI buttons, rather 262 * - __u32
308 than a slider. When for example a hardware register accepts values 263 - ``nr_of_dims``
309 0-511 and the driver reports 0-65535, step should be 128. 264 - The number of dimension in the N-dimensional array. If this
310 265 control is not an array, then this field is 0.
311 - .. row 7 266 * - __u32
312 267 - ``dims[V4L2_CTRL_MAX_DIMS]``
313 - __s64 268 - The size of each dimension. The first ``nr_of_dims`` elements of
314 269 this array must be non-zero, all remaining elements must be zero.
315 - ``default_value`` 270 * - __u32
316 271 - ``reserved``\ [32]
317 - The default value of a ``V4L2_CTRL_TYPE_INTEGER``, ``_INTEGER64``, 272 - Reserved for future extensions. Applications and drivers must set
318 ``_BOOLEAN``, ``_BITMASK``, ``_MENU``, ``_INTEGER_MENU``, ``_U8`` 273 the array to zero.
319 or ``_U16`` control. Not valid for other types of controls.
320
321 .. note::
322
323 Drivers reset controls to their default value only when
324 the driver is first loaded, never afterwards.
325
326 - .. row 8
327
328 - __u32
329
330 - ``flags``
331
332 - Control flags, see :ref:`control-flags`.
333
334 - .. row 9
335
336 - __u32
337
338 - ``elem_size``
339
340 - The size in bytes of a single element of the array. Given a char
341 pointer ``p`` to a 3-dimensional array you can find the position
342 of cell ``(z, y, x)`` as follows:
343 ``p + ((z * dims[1] + y) * dims[0] + x) * elem_size``.
344 ``elem_size`` is always valid, also when the control isn't an
345 array. For string controls ``elem_size`` is equal to
346 ``maximum + 1``.
347
348 - .. row 10
349
350 - __u32
351
352 - ``elems``
353
354 - The number of elements in the N-dimensional array. If this control
355 is not an array, then ``elems`` is 1. The ``elems`` field can
356 never be 0.
357
358 - .. row 11
359
360 - __u32
361
362 - ``nr_of_dims``
363
364 - The number of dimension in the N-dimensional array. If this
365 control is not an array, then this field is 0.
366
367 - .. row 12
368
369 - __u32
370
371 - ``dims[V4L2_CTRL_MAX_DIMS]``
372
373 - The size of each dimension. The first ``nr_of_dims`` elements of
374 this array must be non-zero, all remaining elements must be zero.
375
376 - .. row 13
377
378 - __u32
379
380 - ``reserved``\ [32]
381
382 - Reserved for future extensions. Applications and drivers must set
383 the array to zero.
384 274
385 275
386 276
@@ -393,64 +283,35 @@ See also the examples in :ref:`control`.
393 :stub-columns: 0 283 :stub-columns: 0
394 :widths: 1 1 2 1 284 :widths: 1 1 2 1
395 285
396 286 * - __u32
397 - .. row 1 287 -
398 288 - ``id``
399 - __u32 289 - Identifies the control, set by the application from the respective
400 290 struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``id``.
401 - 291 * - __u32
402 - ``id`` 292 -
403 293 - ``index``
404 - Identifies the control, set by the application from the respective 294 - Index of the menu item, starting at zero, set by the application.
405 struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``id``. 295 * - union
406 296 -
407 - .. row 2 297 -
408 298 -
409 - __u32 299 * -
410 300 - __u8
411 - 301 - ``name``\ [32]
412 - ``index`` 302 - Name of the menu item, a NUL-terminated ASCII string. This
413 303 information is intended for the user. This field is valid for
414 - Index of the menu item, starting at zero, set by the application. 304 ``V4L2_CTRL_FLAG_MENU`` type controls.
415 305 * -
416 - .. row 3 306 - __s64
417 307 - ``value``
418 - union 308 - Value of the integer menu item. This field is valid for
419 309 ``V4L2_CTRL_FLAG_INTEGER_MENU`` type controls.
420 - 310 * - __u32
421 - 311 -
422 - 312 - ``reserved``
423 313 - Reserved for future extensions. Drivers must set the array to
424 - .. row 4 314 zero.
425
426 -
427 - __u8
428
429 - ``name``\ [32]
430
431 - Name of the menu item, a NUL-terminated ASCII string. This
432 information is intended for the user. This field is valid for
433 ``V4L2_CTRL_FLAG_MENU`` type controls.
434
435 - .. row 5
436
437 -
438 - __s64
439
440 - ``value``
441
442 - Value of the integer menu item. This field is valid for
443 ``V4L2_CTRL_FLAG_INTEGER_MENU`` type controls.
444
445 - .. row 6
446
447 - __u32
448
449 -
450 - ``reserved``
451
452 - Reserved for future extensions. Drivers must set the array to
453 zero.
454 315
455 316
456 317
@@ -465,193 +326,102 @@ See also the examples in :ref:`control`.
465 :stub-columns: 0 326 :stub-columns: 0
466 :widths: 30 5 5 5 55 327 :widths: 30 5 5 5 55
467 328
468 329 * - Type
469 - .. row 1 330 - ``minimum``
470 331 - ``step``
471 - Type 332 - ``maximum``
472 333 - Description
473 - ``minimum`` 334 * - ``V4L2_CTRL_TYPE_INTEGER``
474 335 - any
475 - ``step`` 336 - any
476 337 - any
477 - ``maximum`` 338 - An integer-valued control ranging from minimum to maximum
478 339 inclusive. The step value indicates the increment between values.
479 - Description 340 * - ``V4L2_CTRL_TYPE_BOOLEAN``
480 341 - 0
481 - .. row 2 342 - 1
482 343 - 1
483 - ``V4L2_CTRL_TYPE_INTEGER`` 344 - A boolean-valued control. Zero corresponds to "disabled", and one
484 345 means "enabled".
485 - any 346 * - ``V4L2_CTRL_TYPE_MENU``
486 347 - ≥ 0
487 - any 348 - 1
488 349 - N-1
489 - any 350 - The control has a menu of N choices. The names of the menu items
490 351 can be enumerated with the ``VIDIOC_QUERYMENU`` ioctl.
491 - An integer-valued control ranging from minimum to maximum 352 * - ``V4L2_CTRL_TYPE_INTEGER_MENU``
492 inclusive. The step value indicates the increment between values. 353 - ≥ 0
493 354 - 1
494 - .. row 3 355 - N-1
495 356 - The control has a menu of N choices. The values of the menu items
496 - ``V4L2_CTRL_TYPE_BOOLEAN`` 357 can be enumerated with the ``VIDIOC_QUERYMENU`` ioctl. This is
497 358 similar to ``V4L2_CTRL_TYPE_MENU`` except that instead of strings,
498 - 0 359 the menu items are signed 64-bit integers.
499 360 * - ``V4L2_CTRL_TYPE_BITMASK``
500 - 1 361 - 0
501 362 - n/a
502 - 1 363 - any
503 364 - A bitmask field. The maximum value is the set of bits that can be
504 - A boolean-valued control. Zero corresponds to "disabled", and one 365 used, all other bits are to be 0. The maximum value is interpreted
505 means "enabled". 366 as a __u32, allowing the use of bit 31 in the bitmask.
506 367 * - ``V4L2_CTRL_TYPE_BUTTON``
507 - .. row 4 368 - 0
508 369 - 0
509 - ``V4L2_CTRL_TYPE_MENU`` 370 - 0
510 371 - A control which performs an action when set. Drivers must ignore
511 - ≥ 0 372 the value passed with ``VIDIOC_S_CTRL`` and return an ``EINVAL`` error
512 373 code on a ``VIDIOC_G_CTRL`` attempt.
513 - 1 374 * - ``V4L2_CTRL_TYPE_INTEGER64``
514 375 - any
515 - N-1 376 - any
516 377 - any
517 - The control has a menu of N choices. The names of the menu items 378 - A 64-bit integer valued control. Minimum, maximum and step size
518 can be enumerated with the ``VIDIOC_QUERYMENU`` ioctl. 379 cannot be queried using ``VIDIOC_QUERYCTRL``. Only
519 380 ``VIDIOC_QUERY_EXT_CTRL`` can retrieve the 64-bit min/max/step
520 - .. row 5 381 values, they should be interpreted as n/a when using
521 382 ``VIDIOC_QUERYCTRL``.
522 - ``V4L2_CTRL_TYPE_INTEGER_MENU`` 383 * - ``V4L2_CTRL_TYPE_STRING``
523 384 - ≥ 0
524 - ≥ 0 385 - ≥ 1
525 386 - ≥ 0
526 - 1 387 - The minimum and maximum string lengths. The step size means that
527 388 the string must be (minimum + N * step) characters long for N ≥ 0.
528 - N-1 389 These lengths do not include the terminating zero, so in order to
529 390 pass a string of length 8 to
530 - The control has a menu of N choices. The values of the menu items 391 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you need to
531 can be enumerated with the ``VIDIOC_QUERYMENU`` ioctl. This is 392 set the ``size`` field of struct
532 similar to ``V4L2_CTRL_TYPE_MENU`` except that instead of strings, 393 :c:type:`v4l2_ext_control` to 9. For
533 the menu items are signed 64-bit integers. 394 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you can set
534 395 the ``size`` field to ``maximum`` + 1. Which character encoding is
535 - .. row 6 396 used will depend on the string control itself and should be part
536 397 of the control documentation.
537 - ``V4L2_CTRL_TYPE_BITMASK`` 398 * - ``V4L2_CTRL_TYPE_CTRL_CLASS``
538 399 - n/a
539 - 0 400 - n/a
540 401 - n/a
541 - n/a 402 - This is not a control. When ``VIDIOC_QUERYCTRL`` is called with a
542 403 control ID equal to a control class code (see :ref:`ctrl-class`)
543 - any 404 + 1, the ioctl returns the name of the control class and this
544 405 control type. Older drivers which do not support this feature
545 - A bitmask field. The maximum value is the set of bits that can be 406 return an ``EINVAL`` error code.
546 used, all other bits are to be 0. The maximum value is interpreted 407 * - ``V4L2_CTRL_TYPE_U8``
547 as a __u32, allowing the use of bit 31 in the bitmask. 408 - any
548 409 - any
549 - .. row 7 410 - any
550 411 - An unsigned 8-bit valued control ranging from minimum to maximum
551 - ``V4L2_CTRL_TYPE_BUTTON`` 412 inclusive. The step value indicates the increment between values.
552 413 * - ``V4L2_CTRL_TYPE_U16``
553 - 0 414 - any
554 415 - any
555 - 0 416 - any
556 417 - An unsigned 16-bit valued control ranging from minimum to maximum
557 - 0 418 inclusive. The step value indicates the increment between values.
558 419 * - ``V4L2_CTRL_TYPE_U32``
559 - A control which performs an action when set. Drivers must ignore 420 - any
560 the value passed with ``VIDIOC_S_CTRL`` and return an ``EINVAL`` error 421 - any
561 code on a ``VIDIOC_G_CTRL`` attempt. 422 - any
562 423 - An unsigned 32-bit valued control ranging from minimum to maximum
563 - .. row 8 424 inclusive. The step value indicates the increment between values.
564
565 - ``V4L2_CTRL_TYPE_INTEGER64``
566
567 - any
568
569 - any
570
571 - any
572
573 - A 64-bit integer valued control. Minimum, maximum and step size
574 cannot be queried using ``VIDIOC_QUERYCTRL``. Only
575 ``VIDIOC_QUERY_EXT_CTRL`` can retrieve the 64-bit min/max/step
576 values, they should be interpreted as n/a when using
577 ``VIDIOC_QUERYCTRL``.
578
579 - .. row 9
580
581 - ``V4L2_CTRL_TYPE_STRING``
582
583 - ≥ 0
584
585 - ≥ 1
586
587 - ≥ 0
588
589 - The minimum and maximum string lengths. The step size means that
590 the string must be (minimum + N * step) characters long for N ≥ 0.
591 These lengths do not include the terminating zero, so in order to
592 pass a string of length 8 to
593 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you need to
594 set the ``size`` field of struct
595 :c:type:`v4l2_ext_control` to 9. For
596 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you can set
597 the ``size`` field to ``maximum`` + 1. Which character encoding is
598 used will depend on the string control itself and should be part
599 of the control documentation.
600
601 - .. row 10
602
603 - ``V4L2_CTRL_TYPE_CTRL_CLASS``
604
605 - n/a
606
607 - n/a
608
609 - n/a
610
611 - This is not a control. When ``VIDIOC_QUERYCTRL`` is called with a
612 control ID equal to a control class code (see :ref:`ctrl-class`)
613 + 1, the ioctl returns the name of the control class and this
614 control type. Older drivers which do not support this feature
615 return an ``EINVAL`` error code.
616
617 - .. row 11
618
619 - ``V4L2_CTRL_TYPE_U8``
620
621 - any
622
623 - any
624
625 - any
626
627 - An unsigned 8-bit valued control ranging from minimum to maximum
628 inclusive. The step value indicates the increment between values.
629
630 - .. row 12
631
632 - ``V4L2_CTRL_TYPE_U16``
633
634 - any
635
636 - any
637
638 - any
639
640 - An unsigned 16-bit valued control ranging from minimum to maximum
641 inclusive. The step value indicates the increment between values.
642
643 - .. row 13
644
645 - ``V4L2_CTRL_TYPE_U32``
646
647 - any
648
649 - any
650
651 - any
652
653 - An unsigned 32-bit valued control ranging from minimum to maximum
654 inclusive. The step value indicates the increment between values.
655 425
656 426
657 427
@@ -666,126 +436,77 @@ See also the examples in :ref:`control`.
666 :stub-columns: 0 436 :stub-columns: 0
667 :widths: 3 1 4 437 :widths: 3 1 4
668 438
669 439 * - ``V4L2_CTRL_FLAG_DISABLED``
670 - .. row 1 440 - 0x0001
671 441 - This control is permanently disabled and should be ignored by the
672 - ``V4L2_CTRL_FLAG_DISABLED`` 442 application. Any attempt to change the control will result in an
673 443 ``EINVAL`` error code.
674 - 0x0001 444 * - ``V4L2_CTRL_FLAG_GRABBED``
675 445 - 0x0002
676 - This control is permanently disabled and should be ignored by the 446 - This control is temporarily unchangeable, for example because
677 application. Any attempt to change the control will result in an 447 another application took over control of the respective resource.
678 ``EINVAL`` error code. 448 Such controls may be displayed specially in a user interface.
679 449 Attempts to change the control may result in an ``EBUSY`` error code.
680 - .. row 2 450 * - ``V4L2_CTRL_FLAG_READ_ONLY``
681 451 - 0x0004
682 - ``V4L2_CTRL_FLAG_GRABBED`` 452 - This control is permanently readable only. Any attempt to change
683 453 the control will result in an ``EINVAL`` error code.
684 - 0x0002 454 * - ``V4L2_CTRL_FLAG_UPDATE``
685 455 - 0x0008
686 - This control is temporarily unchangeable, for example because 456 - A hint that changing this control may affect the value of other
687 another application took over control of the respective resource. 457 controls within the same control class. Applications should update
688 Such controls may be displayed specially in a user interface. 458 their user interface accordingly.
689 Attempts to change the control may result in an ``EBUSY`` error code. 459 * - ``V4L2_CTRL_FLAG_INACTIVE``
690 460 - 0x0010
691 - .. row 3 461 - This control is not applicable to the current configuration and
692 462 should be displayed accordingly in a user interface. For example
693 - ``V4L2_CTRL_FLAG_READ_ONLY`` 463 the flag may be set on a MPEG audio level 2 bitrate control when
694 464 MPEG audio encoding level 1 was selected with another control.
695 - 0x0004 465 * - ``V4L2_CTRL_FLAG_SLIDER``
696 466 - 0x0020
697 - This control is permanently readable only. Any attempt to change 467 - A hint that this control is best represented as a slider-like
698 the control will result in an ``EINVAL`` error code. 468 element in a user interface.
699 469 * - ``V4L2_CTRL_FLAG_WRITE_ONLY``
700 - .. row 4 470 - 0x0040
701 471 - This control is permanently writable only. Any attempt to read the
702 - ``V4L2_CTRL_FLAG_UPDATE`` 472 control will result in an ``EACCES`` error code error code. This flag
703 473 is typically present for relative controls or action controls
704 - 0x0008 474 where writing a value will cause the device to carry out a given
705 475 action (e. g. motor control) but no meaningful value can be
706 - A hint that changing this control may affect the value of other 476 returned.
707 controls within the same control class. Applications should update 477 * - ``V4L2_CTRL_FLAG_VOLATILE``
708 their user interface accordingly. 478 - 0x0080
709 479 - This control is volatile, which means that the value of the
710 - .. row 5 480 control changes continuously. A typical example would be the
711 481 current gain value if the device is in auto-gain mode. In such a
712 - ``V4L2_CTRL_FLAG_INACTIVE`` 482 case the hardware calculates the gain value based on the lighting
713 483 conditions which can change over time.
714 - 0x0010 484
715 485 .. note::
716 - This control is not applicable to the current configuration and 486
717 should be displayed accordingly in a user interface. For example 487 Setting a new value for a volatile control will be ignored
718 the flag may be set on a MPEG audio level 2 bitrate control when 488 unless
719 MPEG audio encoding level 1 was selected with another control. 489 :ref:`V4L2_CTRL_FLAG_EXECUTE_ON_WRITE <FLAG_EXECUTE_ON_WRITE>`
720 490 is also set.
721 - .. row 6 491 Setting a new value for a volatile control will *never* trigger a
722 492 :ref:`V4L2_EVENT_CTRL_CH_VALUE <ctrl-changes-flags>` event.
723 - ``V4L2_CTRL_FLAG_SLIDER`` 493 * - ``V4L2_CTRL_FLAG_HAS_PAYLOAD``
724 494 - 0x0100
725 - 0x0020 495 - This control has a pointer type, so its value has to be accessed
726 496 using one of the pointer fields of struct
727 - A hint that this control is best represented as a slider-like 497 :c:type:`v4l2_ext_control`. This flag is set
728 element in a user interface. 498 for controls that are an array, string, or have a compound type.
729 499 In all cases you have to set a pointer to memory containing the
730 - .. row 7 500 payload of the control.
731 501 * .. _FLAG_EXECUTE_ON_WRITE:
732 - ``V4L2_CTRL_FLAG_WRITE_ONLY`` 502
733 503 - ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE``
734 - 0x0040 504 - 0x0200
735 505 - The value provided to the control will be propagated to the driver
736 - This control is permanently writable only. Any attempt to read the 506 even if it remains constant. This is required when the control
737 control will result in an ``EACCES`` error code error code. This flag 507 represents an action on the hardware. For example: clearing an
738 is typically present for relative controls or action controls 508 error flag or triggering the flash. All the controls of the type
739 where writing a value will cause the device to carry out a given 509 ``V4L2_CTRL_TYPE_BUTTON`` have this flag set.
740 action (e. g. motor control) but no meaningful value can be
741 returned.
742
743 - .. row 8
744
745 - ``V4L2_CTRL_FLAG_VOLATILE``
746
747 - 0x0080
748
749 - This control is volatile, which means that the value of the
750 control changes continuously. A typical example would be the
751 current gain value if the device is in auto-gain mode. In such a
752 case the hardware calculates the gain value based on the lighting
753 conditions which can change over time.
754
755 .. note::
756
757 Setting a new value for a volatile control will be ignored
758 unless
759 :ref:`V4L2_CTRL_FLAG_EXECUTE_ON_WRITE <FLAG_EXECUTE_ON_WRITE>`
760 is also set.
761 Setting a new value for a volatile control will *never* trigger a
762 :ref:`V4L2_EVENT_CTRL_CH_VALUE <ctrl-changes-flags>` event.
763
764 - .. row 9
765
766 - ``V4L2_CTRL_FLAG_HAS_PAYLOAD``
767
768 - 0x0100
769
770 - This control has a pointer type, so its value has to be accessed
771 using one of the pointer fields of struct
772 :c:type:`v4l2_ext_control`. This flag is set
773 for controls that are an array, string, or have a compound type.
774 In all cases you have to set a pointer to memory containing the
775 payload of the control.
776
777 - .. row 10
778 .. _FLAG_EXECUTE_ON_WRITE:
779
780 - ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE``
781
782 - 0x0200
783
784 - The value provided to the control will be propagated to the driver
785 even if it remains constant. This is required when the control
786 represents an action on the hardware. For example: clearing an
787 error flag or triggering the flash. All the controls of the type
788 ``V4L2_CTRL_TYPE_BUTTON`` have this flag set.
789 510
790 511
791Return Value 512Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-reqbufs.rst b/Documentation/media/uapi/v4l/vidioc-reqbufs.rst
index 2c5291b42592..a4180d576ee5 100644
--- a/Documentation/media/uapi/v4l/vidioc-reqbufs.rst
+++ b/Documentation/media/uapi/v4l/vidioc-reqbufs.rst
@@ -74,43 +74,23 @@ any DMA in progress, an implicit
74 :stub-columns: 0 74 :stub-columns: 0
75 :widths: 1 1 2 75 :widths: 1 1 2
76 76
77 77 * - __u32
78 - .. row 1 78 - ``count``
79 79 - The number of buffers requested or granted.
80 - __u32 80 * - __u32
81 81 - ``type``
82 - ``count`` 82 - Type of the stream or buffers, this is the same as the struct
83 83 :c:type:`v4l2_format` ``type`` field. See
84 - The number of buffers requested or granted. 84 :c:type:`v4l2_buf_type` for valid values.
85 85 * - __u32
86 - .. row 2 86 - ``memory``
87 87 - Applications set this field to ``V4L2_MEMORY_MMAP``,
88 - __u32 88 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See
89 89 :c:type:`v4l2_memory`.
90 - ``type`` 90 * - __u32
91 91 - ``reserved``\ [2]
92 - Type of the stream or buffers, this is the same as the struct 92 - A place holder for future extensions. Drivers and applications
93 :c:type:`v4l2_format` ``type`` field. See 93 must set the array to zero.
94 :c:type:`v4l2_buf_type` for valid values.
95
96 - .. row 3
97
98 - __u32
99
100 - ``memory``
101
102 - Applications set this field to ``V4L2_MEMORY_MMAP``,
103 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See
104 :c:type:`v4l2_memory`.
105
106 - .. row 4
107
108 - __u32
109
110 - ``reserved``\ [2]
111
112 - A place holder for future extensions. Drivers and applications
113 must set the array to zero.
114 94
115 95
116Return Value 96Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst b/Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst
index fc5e31c63b95..5672ca48d2bd 100644
--- a/Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst
+++ b/Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst
@@ -68,92 +68,52 @@ error code is returned and no seek takes place.
68 :stub-columns: 0 68 :stub-columns: 0
69 :widths: 1 1 2 69 :widths: 1 1 2
70 70
71 71 * - __u32
72 - .. row 1 72 - ``tuner``
73 73 - The tuner index number. This is the same value as in the struct
74 - __u32 74 :c:type:`v4l2_input` ``tuner`` field and the struct
75 75 :c:type:`v4l2_tuner` ``index`` field.
76 - ``tuner`` 76 * - __u32
77 77 - ``type``
78 - The tuner index number. This is the same value as in the struct 78 - The tuner type. This is the same value as in the struct
79 :c:type:`v4l2_input` ``tuner`` field and the struct 79 :c:type:`v4l2_tuner` ``type`` field. See
80 :c:type:`v4l2_tuner` ``index`` field. 80 :c:type:`v4l2_tuner_type`
81 81 * - __u32
82 - .. row 2 82 - ``seek_upward``
83 83 - If non-zero, seek upward from the current frequency, else seek
84 - __u32 84 downward.
85 85 * - __u32
86 - ``type`` 86 - ``wrap_around``
87 87 - If non-zero, wrap around when at the end of the frequency range,
88 - The tuner type. This is the same value as in the struct 88 else stop seeking. The struct :c:type:`v4l2_tuner`
89 :c:type:`v4l2_tuner` ``type`` field. See 89 ``capability`` field will tell you what the hardware supports.
90 :c:type:`v4l2_tuner_type` 90 * - __u32
91 91 - ``spacing``
92 - .. row 3 92 - If non-zero, defines the hardware seek resolution in Hz. The
93 93 driver selects the nearest value that is supported by the device.
94 - __u32 94 If spacing is zero a reasonable default value is used.
95 95 * - __u32
96 - ``seek_upward`` 96 - ``rangelow``
97 97 - If non-zero, the lowest tunable frequency of the band to search in
98 - If non-zero, seek upward from the current frequency, else seek 98 units of 62.5 kHz, or if the struct
99 downward. 99 :c:type:`v4l2_tuner` ``capability`` field has the
100 100 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
101 - .. row 4 101 struct :c:type:`v4l2_tuner` ``capability`` field has
102 102 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
103 - __u32 103 ``rangelow`` is zero a reasonable default value is used.
104 104 * - __u32
105 - ``wrap_around`` 105 - ``rangehigh``
106 106 - If non-zero, the highest tunable frequency of the band to search
107 - If non-zero, wrap around when at the end of the frequency range, 107 in units of 62.5 kHz, or if the struct
108 else stop seeking. The struct :c:type:`v4l2_tuner` 108 :c:type:`v4l2_tuner` ``capability`` field has the
109 ``capability`` field will tell you what the hardware supports. 109 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
110 110 struct :c:type:`v4l2_tuner` ``capability`` field has
111 - .. row 5 111 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
112 112 ``rangehigh`` is zero a reasonable default value is used.
113 - __u32 113 * - __u32
114 114 - ``reserved``\ [5]
115 - ``spacing`` 115 - Reserved for future extensions. Applications must set the array to
116 116 zero.
117 - If non-zero, defines the hardware seek resolution in Hz. The
118 driver selects the nearest value that is supported by the device.
119 If spacing is zero a reasonable default value is used.
120
121 - .. row 6
122
123 - __u32
124
125 - ``rangelow``
126
127 - If non-zero, the lowest tunable frequency of the band to search in
128 units of 62.5 kHz, or if the struct
129 :c:type:`v4l2_tuner` ``capability`` field has the
130 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
131 struct :c:type:`v4l2_tuner` ``capability`` field has
132 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
133 ``rangelow`` is zero a reasonable default value is used.
134
135 - .. row 7
136
137 - __u32
138
139 - ``rangehigh``
140
141 - If non-zero, the highest tunable frequency of the band to search
142 in units of 62.5 kHz, or if the struct
143 :c:type:`v4l2_tuner` ``capability`` field has the
144 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
145 struct :c:type:`v4l2_tuner` ``capability`` field has
146 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
147 ``rangehigh`` is zero a reasonable default value is used.
148
149 - .. row 8
150
151 - __u32
152
153 - ``reserved``\ [5]
154
155 - Reserved for future extensions. Applications must set the array to
156 zero.
157 117
158 118
159Return Value 119Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst b/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst
index 16f2945b73dc..1a02c935c8b5 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst
@@ -68,73 +68,33 @@ multiple pads of the same sub-device is not defined.
68 :stub-columns: 0 68 :stub-columns: 0
69 :widths: 1 1 2 69 :widths: 1 1 2
70 70
71 71 * - __u32
72 - .. row 1 72 - ``index``
73 73 - Number of the format in the enumeration, set by the application.
74 - __u32 74 * - __u32
75 75 - ``pad``
76 - ``index`` 76 - Pad number as reported by the media controller API.
77 77 * - __u32
78 - Number of the format in the enumeration, set by the application. 78 - ``code``
79 79 - The media bus format code, as defined in
80 - .. row 2 80 :ref:`v4l2-mbus-format`.
81 81 * - __u32
82 - __u32 82 - ``width``
83 83 - Frame width, in pixels.
84 - ``pad`` 84 * - __u32
85 85 - ``height``
86 - Pad number as reported by the media controller API. 86 - Frame height, in pixels.
87 87 * - struct :c:type:`v4l2_fract`
88 - .. row 3 88 - ``interval``
89 89 - Period, in seconds, between consecutive video frames.
90 - __u32 90 * - __u32
91 91 - ``which``
92 - ``code`` 92 - Frame intervals to be enumerated, from enum
93 93 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
94 - The media bus format code, as defined in 94 * - __u32
95 :ref:`v4l2-mbus-format`. 95 - ``reserved``\ [8]
96 96 - Reserved for future extensions. Applications and drivers must set
97 - .. row 4 97 the array to zero.
98
99 - __u32
100
101 - ``width``
102
103 - Frame width, in pixels.
104
105 - .. row 5
106
107 - __u32
108
109 - ``height``
110
111 - Frame height, in pixels.
112
113 - .. row 6
114
115 - struct :c:type:`v4l2_fract`
116
117 - ``interval``
118
119 - Period, in seconds, between consecutive video frames.
120
121 - .. row 7
122
123 - __u32
124
125 - ``which``
126
127 - Frame intervals to be enumerated, from enum
128 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
129
130 - .. row 8
131
132 - __u32
133
134 - ``reserved``\ [8]
135
136 - Reserved for future extensions. Applications and drivers must set
137 the array to zero.
138 98
139 99
140Return Value 100Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst b/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst
index 972df0f74eae..746c24ed97a0 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst
@@ -71,81 +71,36 @@ information about try formats.
71 :stub-columns: 0 71 :stub-columns: 0
72 :widths: 1 1 2 72 :widths: 1 1 2
73 73
74 74 * - __u32
75 - .. row 1 75 - ``index``
76 76 - Number of the format in the enumeration, set by the application.
77 - __u32 77 * - __u32
78 78 - ``pad``
79 - ``index`` 79 - Pad number as reported by the media controller API.
80 80 * - __u32
81 - Number of the format in the enumeration, set by the application. 81 - ``code``
82 82 - The media bus format code, as defined in
83 - .. row 2 83 :ref:`v4l2-mbus-format`.
84 84 * - __u32
85 - __u32 85 - ``min_width``
86 86 - Minimum frame width, in pixels.
87 - ``pad`` 87 * - __u32
88 88 - ``max_width``
89 - Pad number as reported by the media controller API. 89 - Maximum frame width, in pixels.
90 90 * - __u32
91 - .. row 3 91 - ``min_height``
92 92 - Minimum frame height, in pixels.
93 - __u32 93 * - __u32
94 94 - ``max_height``
95 - ``code`` 95 - Maximum frame height, in pixels.
96 96 * - __u32
97 - The media bus format code, as defined in 97 - ``which``
98 :ref:`v4l2-mbus-format`. 98 - Frame sizes to be enumerated, from enum
99 99 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
100 - .. row 4 100 * - __u32
101 101 - ``reserved``\ [8]
102 - __u32 102 - Reserved for future extensions. Applications and drivers must set
103 103 the array to zero.
104 - ``min_width``
105
106 - Minimum frame width, in pixels.
107
108 - .. row 5
109
110 - __u32
111
112 - ``max_width``
113
114 - Maximum frame width, in pixels.
115
116 - .. row 6
117
118 - __u32
119
120 - ``min_height``
121
122 - Minimum frame height, in pixels.
123
124 - .. row 7
125
126 - __u32
127
128 - ``max_height``
129
130 - Maximum frame height, in pixels.
131
132 - .. row 8
133
134 - __u32
135
136 - ``which``
137
138 - Frame sizes to be enumerated, from enum
139 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
140
141 - .. row 9
142
143 - __u32
144
145 - ``reserved``\ [8]
146
147 - Reserved for future extensions. Applications and drivers must set
148 the array to zero.
149 104
150 105
151Return Value 106Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst b/Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst
index b10da0e81268..0dfee3829ee2 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst
@@ -56,49 +56,24 @@ information about the try formats.
56 :stub-columns: 0 56 :stub-columns: 0
57 :widths: 1 1 2 57 :widths: 1 1 2
58 58
59 59 * - __u32
60 - .. row 1 60 - ``pad``
61 61 - Pad number as reported by the media controller API.
62 - __u32 62 * - __u32
63 63 - ``index``
64 - ``pad`` 64 - Number of the format in the enumeration, set by the application.
65 65 * - __u32
66 - Pad number as reported by the media controller API. 66 - ``code``
67 67 - The media bus format code, as defined in
68 - .. row 2 68 :ref:`v4l2-mbus-format`.
69 69 * - __u32
70 - __u32 70 - ``which``
71 71 - Media bus format codes to be enumerated, from enum
72 - ``index`` 72 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
73 73 * - __u32
74 - Number of the format in the enumeration, set by the application. 74 - ``reserved``\ [8]
75 75 - Reserved for future extensions. Applications and drivers must set
76 - .. row 3 76 the array to zero.
77
78 - __u32
79
80 - ``code``
81
82 - The media bus format code, as defined in
83 :ref:`v4l2-mbus-format`.
84
85 - .. row 4
86
87 - __u32
88
89 - ``which``
90
91 - Media bus format codes to be enumerated, from enum
92 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
93
94 - .. row 5
95
96 - __u32
97
98 - ``reserved``\ [8]
99
100 - Reserved for future extensions. Applications and drivers must set
101 the array to zero.
102 77
103 78
104Return Value 79Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst b/Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst
index b5fa4ae25415..000e8fcd3f25 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst
@@ -80,40 +80,20 @@ modified format should be as close as possible to the original request.
80 :stub-columns: 0 80 :stub-columns: 0
81 :widths: 1 1 2 81 :widths: 1 1 2
82 82
83 83 * - __u32
84 - .. row 1 84 - ``pad``
85 85 - Pad number as reported by the media framework.
86 - __u32 86 * - __u32
87 87 - ``which``
88 - ``pad`` 88 - Crop rectangle to get or set, from enum
89 89 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
90 - Pad number as reported by the media framework. 90 * - struct :c:type:`v4l2_rect`
91 91 - ``rect``
92 - .. row 2 92 - Crop rectangle boundaries, in pixels.
93 93 * - __u32
94 - __u32 94 - ``reserved``\ [8]
95 95 - Reserved for future extensions. Applications and drivers must set
96 - ``which`` 96 the array to zero.
97
98 - Crop rectangle to get or set, from enum
99 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
100
101 - .. row 3
102
103 - struct :c:type:`v4l2_rect`
104
105 - ``rect``
106
107 - Crop rectangle boundaries, in pixels.
108
109 - .. row 4
110
111 - __u32
112
113 - ``reserved``\ [8]
114
115 - Reserved for future extensions. Applications and drivers must set
116 the array to zero.
117 97
118 98
119Return Value 99Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst b/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
index 2f7ea274c4c2..b352456dfe2c 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
@@ -85,41 +85,21 @@ should be as close as possible to the original request.
85 :stub-columns: 0 85 :stub-columns: 0
86 :widths: 1 1 2 86 :widths: 1 1 2
87 87
88 88 * - __u32
89 - .. row 1 89 - ``pad``
90 90 - Pad number as reported by the media controller API.
91 - __u32 91 * - __u32
92 92 - ``which``
93 - ``pad`` 93 - Format to modified, from enum
94 94 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
95 - Pad number as reported by the media controller API. 95 * - struct :c:type:`v4l2_mbus_framefmt`
96 96 - ``format``
97 - .. row 2 97 - Definition of an image format, see :c:type:`v4l2_mbus_framefmt` for
98 98 details.
99 - __u32 99 * - __u32
100 100 - ``reserved``\ [8]
101 - ``which`` 101 - Reserved for future extensions. Applications and drivers must set
102 102 the array to zero.
103 - Format to modified, from enum
104 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
105
106 - .. row 3
107
108 - struct :c:type:`v4l2_mbus_framefmt`
109
110 - ``format``
111
112 - Definition of an image format, see :c:type:`v4l2_mbus_framefmt` for
113 details.
114
115 - .. row 4
116
117 - __u32
118
119 - ``reserved``\ [8]
120
121 - Reserved for future extensions. Applications and drivers must set
122 the array to zero.
123 103
124 104
125 105
@@ -132,22 +112,12 @@ should be as close as possible to the original request.
132 :stub-columns: 0 112 :stub-columns: 0
133 :widths: 3 1 4 113 :widths: 3 1 4
134 114
135 115 * - V4L2_SUBDEV_FORMAT_TRY
136 - .. row 1 116 - 0
137 117 - Try formats, used for querying device capabilities.
138 - V4L2_SUBDEV_FORMAT_TRY 118 * - V4L2_SUBDEV_FORMAT_ACTIVE
139 119 - 1
140 - 0 120 - Active formats, applied to the hardware.
141
142 - Try formats, used for querying device capabilities.
143
144 - .. row 2
145
146 - V4L2_SUBDEV_FORMAT_ACTIVE
147
148 - 1
149
150 - Active formats, applied to the hardware.
151 121
152 122
153Return Value 123Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst b/Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst
index 4b150cc82555..46159dcfce30 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst
@@ -76,31 +76,16 @@ the same sub-device is not defined.
76 :stub-columns: 0 76 :stub-columns: 0
77 :widths: 1 1 2 77 :widths: 1 1 2
78 78
79 79 * - __u32
80 - .. row 1 80 - ``pad``
81 81 - Pad number as reported by the media controller API.
82 - __u32 82 * - struct :c:type:`v4l2_fract`
83 83 - ``interval``
84 - ``pad`` 84 - Period, in seconds, between consecutive video frames.
85 85 * - __u32
86 - Pad number as reported by the media controller API. 86 - ``reserved``\ [9]
87 87 - Reserved for future extensions. Applications and drivers must set
88 - .. row 2 88 the array to zero.
89
90 - struct :c:type:`v4l2_fract`
91
92 - ``interval``
93
94 - Period, in seconds, between consecutive video frames.
95
96 - .. row 3
97
98 - __u32
99
100 - ``reserved``\ [9]
101
102 - Reserved for future extensions. Applications and drivers must set
103 the array to zero.
104 89
105 90
106Return Value 91Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst b/Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst
index 94789f8f74e3..071d9c033db6 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst
@@ -74,56 +74,26 @@ Selection targets and flags are documented in
74 :stub-columns: 0 74 :stub-columns: 0
75 :widths: 1 1 2 75 :widths: 1 1 2
76 76
77 77 * - __u32
78 - .. row 1 78 - ``which``
79 79 - Active or try selection, from enum
80 - __u32 80 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
81 81 * - __u32
82 - ``which`` 82 - ``pad``
83 83 - Pad number as reported by the media framework.
84 - Active or try selection, from enum 84 * - __u32
85 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`. 85 - ``target``
86 86 - Target selection rectangle. See :ref:`v4l2-selections-common`.
87 - .. row 2 87 * - __u32
88 88 - ``flags``
89 - __u32 89 - Flags. See :ref:`v4l2-selection-flags`.
90 90 * - struct :c:type:`v4l2_rect`
91 - ``pad`` 91 - ``r``
92 92 - Selection rectangle, in pixels.
93 - Pad number as reported by the media framework. 93 * - __u32
94 94 - ``reserved``\ [8]
95 - .. row 3 95 - Reserved for future extensions. Applications and drivers must set
96 96 the array to zero.
97 - __u32
98
99 - ``target``
100
101 - Target selection rectangle. See :ref:`v4l2-selections-common`.
102
103 - .. row 4
104
105 - __u32
106
107 - ``flags``
108
109 - Flags. See :ref:`v4l2-selection-flags`.
110
111 - .. row 5
112
113 - struct :c:type:`v4l2_rect`
114
115 - ``r``
116
117 - Selection rectangle, in pixels.
118
119 - .. row 6
120
121 - __u32
122
123 - ``reserved``\ [8]
124
125 - Reserved for future extensions. Applications and drivers must set
126 the array to zero.
127 97
128 98
129Return Value 99Return Value
diff --git a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
index 0202a78cbeb0..e4a51431032c 100644
--- a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
@@ -48,47 +48,27 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
48 :stub-columns: 0 48 :stub-columns: 0
49 :widths: 1 1 2 49 :widths: 1 1 2
50 50
51 51 * - __u32
52 - .. row 1 52 - ``type``
53 53 - Type of the event, see :ref:`event-type`.
54 - __u32 54
55 55 .. note::
56 - ``type`` 56
57 57 ``V4L2_EVENT_ALL`` can be used with
58 - Type of the event, see :ref:`event-type`. 58 :ref:`VIDIOC_UNSUBSCRIBE_EVENT <VIDIOC_SUBSCRIBE_EVENT>` for
59 59 unsubscribing all events at once.
60 .. note:: 60 * - __u32
61 61 - ``id``
62 ``V4L2_EVENT_ALL`` can be used with 62 - ID of the event source. If there is no ID associated with the
63 :ref:`VIDIOC_UNSUBSCRIBE_EVENT <VIDIOC_SUBSCRIBE_EVENT>` for 63 event source, then set this to 0. Whether or not an event needs an
64 unsubscribing all events at once. 64 ID depends on the event type.
65 65 * - __u32
66 - .. row 2 66 - ``flags``
67 67 - Event flags, see :ref:`event-flags`.
68 - __u32 68 * - __u32
69 69 - ``reserved``\ [5]
70 - ``id`` 70 - Reserved for future extensions. Drivers and applications must set
71 71 the array to zero.
72 - ID of the event source. If there is no ID associated with the
73 event source, then set this to 0. Whether or not an event needs an
74 ID depends on the event type.
75
76 - .. row 3
77
78 - __u32
79
80 - ``flags``
81
82 - Event flags, see :ref:`event-flags`.
83
84 - .. row 4
85
86 - __u32
87
88 - ``reserved``\ [5]
89
90 - Reserved for future extensions. Drivers and applications must set
91 the array to zero.
92 72
93 73
94 74
@@ -101,40 +81,30 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
101 :stub-columns: 0 81 :stub-columns: 0
102 :widths: 3 1 4 82 :widths: 3 1 4
103 83
104 84 * - ``V4L2_EVENT_SUB_FL_SEND_INITIAL``
105 - .. row 1 85 - 0x0001
106 86 - When this event is subscribed an initial event will be sent
107 - ``V4L2_EVENT_SUB_FL_SEND_INITIAL`` 87 containing the current status. This only makes sense for events
108 88 that are triggered by a status change such as ``V4L2_EVENT_CTRL``.
109 - 0x0001 89 Other events will ignore this flag.
110 90 * - ``V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK``
111 - When this event is subscribed an initial event will be sent 91 - 0x0002
112 containing the current status. This only makes sense for events 92 - If set, then events directly caused by an ioctl will also be sent
113 that are triggered by a status change such as ``V4L2_EVENT_CTRL``. 93 to the filehandle that called that ioctl. For example, changing a
114 Other events will ignore this flag. 94 control using :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` will cause
115 95 a V4L2_EVENT_CTRL to be sent back to that same filehandle.
116 - .. row 2 96 Normally such events are suppressed to prevent feedback loops
117 97 where an application changes a control to a one value and then
118 - ``V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK`` 98 another, and then receives an event telling it that that control
119 99 has changed to the first value.
120 - 0x0002 100
121 101 Since it can't tell whether that event was caused by another
122 - If set, then events directly caused by an ioctl will also be sent 102 application or by the :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>`
123 to the filehandle that called that ioctl. For example, changing a 103 call it is hard to decide whether to set the control to the value
124 control using :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` will cause 104 in the event, or ignore it.
125 a V4L2_EVENT_CTRL to be sent back to that same filehandle. 105
126 Normally such events are suppressed to prevent feedback loops 106 Think carefully when you set this flag so you won't get into
127 where an application changes a control to a one value and then 107 situations like that.
128 another, and then receives an event telling it that that control
129 has changed to the first value.
130
131 Since it can't tell whether that event was caused by another
132 application or by the :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>`
133 call it is hard to decide whether to set the control to the value
134 in the event, or ignore it.
135
136 Think carefully when you set this flag so you won't get into
137 situations like that.
138 108
139 109
140Return Value 110Return Value