Lines Matching +full:four +full:- +full:cell

1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
8 Generic line-based metadata formats
14 These generic line-based metadata formats define the memory layout of the data
17 .. _v4l2-meta-fmt-generic-8:
20 -----------------------
22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format
23 is used on CSI-2 for 8 bits per :term:`Data Unit`.
26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is
27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`.
30 Each cell is one byte. "M" denotes a byte of metadata.
34 .. flat-table:: Sample 4x2 Metadata Frame
35 :header-rows: 0
36 :stub-columns: 0
39 * - start + 0:
40 - M\ :sub:`00`
41 - M\ :sub:`10`
42 - M\ :sub:`20`
43 - M\ :sub:`30`
44 * - start + 4:
45 - M\ :sub:`01`
46 - M\ :sub:`11`
47 - M\ :sub:`21`
48 - M\ :sub:`31`
50 .. _v4l2-meta-fmt-generic-csi2-10:
53 -----------------------------
55 V4L2_META_FMT_GENERIC_CSI2_10 contains 8-bit generic metadata packed in 10-bit
56 Data Units, with one padding byte after every four bytes of metadata. This
57 format is typically used by CSI-2 receivers with a source that transmits
58 MEDIA_BUS_FMT_META_10 and the CSI-2 receiver writes the received data to memory
59 as-is.
61 The packing of the data follows the MIPI CSI-2 specification and the padding of
67 <v4l2-meta-fmt-generic-csi2-20>`.
72 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
76 .. flat-table:: Sample 4x2 Metadata Frame
77 :header-rows: 0
78 :stub-columns: 0
81 * - start + 0:
82 - M\ :sub:`00`
83 - M\ :sub:`10`
84 - M\ :sub:`20`
85 - M\ :sub:`30`
86 - x
87 * - start + 5:
88 - M\ :sub:`01`
89 - M\ :sub:`11`
90 - M\ :sub:`21`
91 - M\ :sub:`31`
92 - x
94 .. _v4l2-meta-fmt-generic-csi2-12:
97 -----------------------------
99 V4L2_META_FMT_GENERIC_CSI2_12 contains 8-bit generic metadata packed in 12-bit
101 is typically used by CSI-2 receivers with a source that transmits
102 MEDIA_BUS_FMT_META_12 and the CSI-2 receiver writes the received data to memory
103 as-is.
105 The packing of the data follows the MIPI CSI-2 specification and the padding of
111 <v4l2-meta-fmt-generic-csi2-24>`.
116 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
120 .. flat-table:: Sample 4x2 Metadata Frame
121 :header-rows: 0
122 :stub-columns: 0
125 * - start + 0:
126 - M\ :sub:`00`
127 - M\ :sub:`10`
128 - x
129 - M\ :sub:`20`
130 - M\ :sub:`30`
131 - x
132 * - start + 6:
133 - M\ :sub:`01`
134 - M\ :sub:`11`
135 - x
136 - M\ :sub:`21`
137 - M\ :sub:`31`
138 - x
140 .. _v4l2-meta-fmt-generic-csi2-14:
143 -----------------------------
145 V4L2_META_FMT_GENERIC_CSI2_14 contains 8-bit generic metadata packed in 14-bit
146 Data Units, with three padding bytes after every four bytes of metadata. This
147 format is typically used by CSI-2 receivers with a source that transmits
148 MEDIA_BUS_FMT_META_14 and the CSI-2 receiver writes the received data to memory
149 as-is.
151 The packing of the data follows the MIPI CSI-2 specification and the padding of
157 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
161 .. flat-table:: Sample 4x2 Metadata Frame
162 :header-rows: 0
163 :stub-columns: 0
166 * - start + 0:
167 - M\ :sub:`00`
168 - M\ :sub:`10`
169 - M\ :sub:`20`
170 - M\ :sub:`30`
171 - x
172 - x
173 - x
174 * - start + 7:
175 - M\ :sub:`01`
176 - M\ :sub:`11`
177 - M\ :sub:`21`
178 - M\ :sub:`31`
179 - x
180 - x
181 - x
183 .. _v4l2-meta-fmt-generic-csi2-16:
186 -----------------------------
188 V4L2_META_FMT_GENERIC_CSI2_16 contains 8-bit generic metadata packed in 16-bit
190 typically used by CSI-2 receivers with a source that transmits
191 MEDIA_BUS_FMT_META_16 and the CSI-2 receiver writes the received data to memory
192 as-is.
194 The packing of the data follows the MIPI CSI-2 specification and the padding of
198 16-bit image data. In that case the dataformat is
199 :ref:`V4L2_META_FMT_GENERIC_8 <v4l2-meta-fmt-generic-8>`.
204 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
208 .. flat-table:: Sample 4x2 Metadata Frame
209 :header-rows: 0
210 :stub-columns: 0
213 * - start + 0:
214 - M\ :sub:`00`
215 - x
216 - M\ :sub:`10`
217 - x
218 - M\ :sub:`20`
219 - x
220 - M\ :sub:`30`
221 - x
222 * - start + 8:
223 - M\ :sub:`01`
224 - x
225 - M\ :sub:`11`
226 - x
227 - M\ :sub:`21`
228 - x
229 - M\ :sub:`31`
230 - x
232 .. _v4l2-meta-fmt-generic-csi2-20:
235 -----------------------------
237 V4L2_META_FMT_GENERIC_CSI2_20 contains 8-bit generic metadata packed in 20-bit
239 metadata. This format is typically used by CSI-2 receivers with a source that
240 transmits MEDIA_BUS_FMT_META_20 and the CSI-2 receiver writes the received data
241 to memory as-is.
243 The packing of the data follows the MIPI CSI-2 specification and the padding of
247 16-bit image data. In that case the dataformat is
248 :ref:`V4L2_META_FMT_GENERIC_CSI2_10 <v4l2-meta-fmt-generic-csi2-10>`.
253 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
257 .. flat-table:: Sample 4x2 Metadata Frame
258 :header-rows: 0
259 :stub-columns: 0
262 * - start + 0:
263 - M\ :sub:`00`
264 - x
265 - M\ :sub:`10`
266 - x
267 - x
268 - M\ :sub:`20`
269 - x
270 - M\ :sub:`30`
271 - x
272 - x
273 * - start + 10:
274 - M\ :sub:`01`
275 - x
276 - M\ :sub:`11`
277 - x
278 - x
279 - M\ :sub:`21`
280 - x
281 - M\ :sub:`31`
282 - x
283 - x
285 .. _v4l2-meta-fmt-generic-csi2-24:
288 -----------------------------
290 V4L2_META_FMT_GENERIC_CSI2_24 contains 8-bit generic metadata packed in 24-bit
292 typically used by CSI-2 receivers with a source that transmits
293 MEDIA_BUS_FMT_META_24 and the CSI-2 receiver writes the received data to memory
294 as-is.
296 The packing of the data follows the MIPI CSI-2 specification and the padding of
300 16-bit image data. In that case the dataformat is
301 :ref:`V4L2_META_FMT_GENERIC_CSI2_12 <v4l2-meta-fmt-generic-csi2-12>`.
306 Each cell is one byte. "M" denotes a byte of metadata and "x" a byte of padding.
310 .. flat-table:: Sample 4x2 Metadata Frame
311 :header-rows: 0
312 :stub-columns: 0
315 * - start + 0:
316 - M\ :sub:`00`
317 - x
318 - x
319 - M\ :sub:`10`
320 - x
321 - x
322 - M\ :sub:`20`
323 - x
324 - x
325 - M\ :sub:`30`
326 - x
327 - x
328 * - start + 12:
329 - M\ :sub:`01`
330 - x
331 - x
332 - M\ :sub:`11`
333 - x
334 - x
335 - M\ :sub:`21`
336 - x
337 - x
338 - M\ :sub:`31`
339 - x
340 - x