Lines Matching +full:one +full:- +full:cell

1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
9 Generic line-based metadata formats
15 These generic line-based metadata formats define the memory layout of the data
18 .. _v4l2-meta-fmt-generic-8:
21 -----------------------
23 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format
24 is used on CSI-2 for 8 bits per :term:`Data Unit`.
27 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is
28 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`.
31 Each cell is one byte. "M" denotes a byte of metadata.
35 .. flat-table:: Sample 4x2 Metadata Frame
36 :header-rows: 0
37 :stub-columns: 0
40 * - start + 0:
41 - M\ :sub:`00`
42 - M\ :sub:`10`
43 - M\ :sub:`20`
44 - M\ :sub:`30`
45 * - start + 4:
46 - M\ :sub:`01`
47 - M\ :sub:`11`
48 - M\ :sub:`21`
49 - M\ :sub:`31`
51 .. _v4l2-meta-fmt-generic-csi2-10:
54 -----------------------------
56 V4L2_META_FMT_GENERIC_CSI2_10 contains 8-bit generic metadata packed in 10-bit
57 Data Units, with one padding byte after every four bytes of metadata. This
58 format is typically used by CSI-2 receivers with a source that transmits
59 MEDIA_BUS_FMT_META_10 and the CSI-2 receiver writes the received data to memory
60 as-is.
62 The packing of the data follows the MIPI CSI-2 specification and the padding of
66 formats that pack two bytes of metadata into one Data Unit. Otherwise the
68 <v4l2-meta-fmt-generic-csi2-20>`.
73 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
77 .. flat-table:: Sample 4x2 Metadata Frame
78 :header-rows: 0
79 :stub-columns: 0
82 * - start + 0:
83 - M\ :sub:`00`
84 - M\ :sub:`10`
85 - M\ :sub:`20`
86 - M\ :sub:`30`
87 - x
88 * - start + 5:
89 - M\ :sub:`01`
90 - M\ :sub:`11`
91 - M\ :sub:`21`
92 - M\ :sub:`31`
93 - x
95 .. _v4l2-meta-fmt-generic-csi2-12:
98 -----------------------------
100 V4L2_META_FMT_GENERIC_CSI2_12 contains 8-bit generic metadata packed in 12-bit
101 Data Units, with one padding byte after every two bytes of metadata. This format
102 is typically used by CSI-2 receivers with a source that transmits
103 MEDIA_BUS_FMT_META_12 and the CSI-2 receiver writes the received data to memory
104 as-is.
106 The packing of the data follows the MIPI CSI-2 specification and the padding of
110 formats that pack two bytes of metadata into one Data Unit. Otherwise the
112 <v4l2-meta-fmt-generic-csi2-24>`.
117 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
121 .. flat-table:: Sample 4x2 Metadata Frame
122 :header-rows: 0
123 :stub-columns: 0
126 * - start + 0:
127 - M\ :sub:`00`
128 - M\ :sub:`10`
129 - x
130 - M\ :sub:`20`
131 - M\ :sub:`30`
132 - x
133 * - start + 6:
134 - M\ :sub:`01`
135 - M\ :sub:`11`
136 - x
137 - M\ :sub:`21`
138 - M\ :sub:`31`
139 - x
141 .. _v4l2-meta-fmt-generic-csi2-14:
144 -----------------------------
146 V4L2_META_FMT_GENERIC_CSI2_14 contains 8-bit generic metadata packed in 14-bit
148 format is typically used by CSI-2 receivers with a source that transmits
149 MEDIA_BUS_FMT_META_14 and the CSI-2 receiver writes the received data to memory
150 as-is.
152 The packing of the data follows the MIPI CSI-2 specification and the padding of
158 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
162 .. flat-table:: Sample 4x2 Metadata Frame
163 :header-rows: 0
164 :stub-columns: 0
167 * - start + 0:
168 - M\ :sub:`00`
169 - M\ :sub:`10`
170 - M\ :sub:`20`
171 - M\ :sub:`30`
172 - x
173 - x
174 - x
175 * - start + 7:
176 - M\ :sub:`01`
177 - M\ :sub:`11`
178 - M\ :sub:`21`
179 - M\ :sub:`31`
180 - x
181 - x
182 - x
184 .. _v4l2-meta-fmt-generic-csi2-16:
187 -----------------------------
189 V4L2_META_FMT_GENERIC_CSI2_16 contains 8-bit generic metadata packed in 16-bit
190 Data Units, with one padding byte after every byte of metadata. This format is
191 typically used by CSI-2 receivers with a source that transmits
192 MEDIA_BUS_FMT_META_16 and the CSI-2 receiver writes the received data to memory
193 as-is.
195 The packing of the data follows the MIPI CSI-2 specification and the padding of
199 16-bit image data. In that case the dataformat is
200 :ref:`V4L2_META_FMT_GENERIC_8 <v4l2-meta-fmt-generic-8>`.
205 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
209 .. flat-table:: Sample 4x2 Metadata Frame
210 :header-rows: 0
211 :stub-columns: 0
214 * - start + 0:
215 - M\ :sub:`00`
216 - x
217 - M\ :sub:`10`
218 - x
219 - M\ :sub:`20`
220 - x
221 - M\ :sub:`30`
222 - x
223 * - start + 8:
224 - M\ :sub:`01`
225 - x
226 - M\ :sub:`11`
227 - x
228 - M\ :sub:`21`
229 - x
230 - M\ :sub:`31`
231 - x
233 .. _v4l2-meta-fmt-generic-csi2-20:
236 -----------------------------
238 V4L2_META_FMT_GENERIC_CSI2_20 contains 8-bit generic metadata packed in 20-bit
239 Data Units, with alternating one or two padding bytes after every byte of
240 metadata. This format is typically used by CSI-2 receivers with a source that
241 transmits MEDIA_BUS_FMT_META_20 and the CSI-2 receiver writes the received data
242 to memory as-is.
244 The packing of the data follows the MIPI CSI-2 specification and the padding of
248 16-bit image data. In that case the dataformat is
249 :ref:`V4L2_META_FMT_GENERIC_CSI2_10 <v4l2-meta-fmt-generic-csi2-10>`.
254 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
258 .. flat-table:: Sample 4x2 Metadata Frame
259 :header-rows: 0
260 :stub-columns: 0
263 * - start + 0:
264 - M\ :sub:`00`
265 - x
266 - M\ :sub:`10`
267 - x
268 - x
269 - M\ :sub:`20`
270 - x
271 - M\ :sub:`30`
272 - x
273 - x
274 * - start + 10:
275 - M\ :sub:`01`
276 - x
277 - M\ :sub:`11`
278 - x
279 - x
280 - M\ :sub:`21`
281 - x
282 - M\ :sub:`31`
283 - x
284 - x
286 .. _v4l2-meta-fmt-generic-csi2-24:
289 -----------------------------
291 V4L2_META_FMT_GENERIC_CSI2_24 contains 8-bit generic metadata packed in 24-bit
293 typically used by CSI-2 receivers with a source that transmits
294 MEDIA_BUS_FMT_META_24 and the CSI-2 receiver writes the received data to memory
295 as-is.
297 The packing of the data follows the MIPI CSI-2 specification and the padding of
301 16-bit image data. In that case the dataformat is
302 :ref:`V4L2_META_FMT_GENERIC_CSI2_12 <v4l2-meta-fmt-generic-csi2-12>`.
307 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
311 .. flat-table:: Sample 4x2 Metadata Frame
312 :header-rows: 0
313 :stub-columns: 0
316 * - start + 0:
317 - M\ :sub:`00`
318 - x
319 - x
320 - M\ :sub:`10`
321 - x
322 - x
323 - M\ :sub:`20`
324 - x
325 - x
326 - M\ :sub:`30`
327 - x
328 - x
329 * - start + 12:
330 - M\ :sub:`01`
331 - x
332 - x
333 - M\ :sub:`11`
334 - x
335 - x
336 - M\ :sub:`21`
337 - x
338 - x
339 - M\ :sub:`31`
340 - x
341 - x