1 <section id="v4l2-mbus-format">
2 <title>Media Bus Formats</title>
4 <table pgwide="1" frame="none" id="v4l2-mbus-framefmt">
5 <title>struct <structname>v4l2_mbus_framefmt</structname></title>
11 <entry><structfield>width</structfield></entry>
12 <entry>Image width, in pixels.</entry>
16 <entry><structfield>height</structfield></entry>
17 <entry>Image height, in pixels.</entry>
21 <entry><structfield>code</structfield></entry>
22 <entry>Format code, from &v4l2-mbus-pixelcode;.</entry>
26 <entry><structfield>field</structfield></entry>
27 <entry>Field order, from &v4l2-field;. See
28 <xref linkend="field-order" /> for details.</entry>
32 <entry><structfield>colorspace</structfield></entry>
33 <entry>Image colorspace, from &v4l2-colorspace;. See
34 <xref linkend="colorspaces" /> for details.</entry>
38 <entry><structfield>reserved</structfield>[7]</entry>
39 <entry>Reserved for future extensions. Applications and drivers must
40 set the array to zero.</entry>
46 <section id="v4l2-mbus-pixelcode">
47 <title>Media Bus Pixel Codes</title>
49 <para>The media bus pixel codes describe image formats as flowing over
50 physical busses (both between separate physical components and inside SoC
51 devices). This should not be confused with the V4L2 pixel formats that
52 describe, using four character codes, image formats as stored in memory.
55 <para>While there is a relationship between image formats on busses and
56 image formats in memory (a raw Bayer image won't be magically converted to
57 JPEG just by storing it to memory), there is no one-to-one correspondance
61 <title>Packed RGB Formats</title>
63 <para>Those formats transfer pixel data as red, green and blue components.
64 The format code is made of the following information.
66 <listitem><para>The red, green and blue components order code, as encoded in a
67 pixel sample. Possible values are RGB and BGR.</para></listitem>
68 <listitem><para>The number of bits per component, for each component. The values
69 can be different for all components. Common values are 555 and 565.</para>
71 <listitem><para>The number of bus samples per pixel. Pixels that are wider than
72 the bus width must be transferred in multiple samples. Common values are
73 1 and 2.</para></listitem>
74 <listitem><para>The bus width.</para></listitem>
75 <listitem><para>For formats where the total number of bits per pixel is smaller
76 than the number of bus samples per pixel times the bus width, a padding
77 value stating if the bytes are padded in their most high order bits
78 (PADHI) or low order bits (PADLO).</para></listitem>
79 <listitem><para>For formats where the number of bus samples per pixel is larger
80 than 1, an endianness value stating if the pixel is transferred MSB first
81 (BE) or LSB first (LE).</para></listitem>
85 <para>For instance, a format where pixels are encoded as 5-bits red, 5-bits
86 green and 5-bit blue values padded on the high bit, transferred as 2 8-bit
87 samples per pixel with the most significant bits (padding, red and half of
88 the green value) transferred first will be named
89 <constant>V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE</constant>.
92 <para>The following tables list existing packet RGB formats.</para>
94 <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-rgb">
95 <title>RGB formats</title>
97 <colspec colname="id" align="left" />
98 <colspec colname="code" align="center"/>
99 <colspec colname="bit" />
100 <colspec colnum="4" colname="b07" align="center" />
101 <colspec colnum="5" colname="b06" align="center" />
102 <colspec colnum="6" colname="b05" align="center" />
103 <colspec colnum="7" colname="b04" align="center" />
104 <colspec colnum="8" colname="b03" align="center" />
105 <colspec colnum="9" colname="b02" align="center" />
106 <colspec colnum="10" colname="b01" align="center" />
107 <colspec colnum="11" colname="b00" align="center" />
108 <spanspec namest="b07" nameend="b00" spanname="b0" />
111 <entry>Identifier</entry>
114 <entry spanname="b0">Data organization</entry>
131 <row id="V4L2-MBUS-FMT-RGB444-2X8-PADHI-BE">
132 <entry>V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE</entry>
133 <entry>0x1001</entry>
139 <entry>r<subscript>3</subscript></entry>
140 <entry>r<subscript>2</subscript></entry>
141 <entry>r<subscript>1</subscript></entry>
142 <entry>r<subscript>0</subscript></entry>
148 <entry>g<subscript>3</subscript></entry>
149 <entry>g<subscript>2</subscript></entry>
150 <entry>g<subscript>1</subscript></entry>
151 <entry>g<subscript>0</subscript></entry>
152 <entry>b<subscript>3</subscript></entry>
153 <entry>b<subscript>2</subscript></entry>
154 <entry>b<subscript>1</subscript></entry>
155 <entry>b<subscript>0</subscript></entry>
157 <row id="V4L2-MBUS-FMT-RGB444-2X8-PADHI-LE">
158 <entry>V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE</entry>
159 <entry>0x1002</entry>
161 <entry>g<subscript>3</subscript></entry>
162 <entry>g<subscript>2</subscript></entry>
163 <entry>g<subscript>1</subscript></entry>
164 <entry>g<subscript>0</subscript></entry>
165 <entry>b<subscript>3</subscript></entry>
166 <entry>b<subscript>2</subscript></entry>
167 <entry>b<subscript>1</subscript></entry>
168 <entry>b<subscript>0</subscript></entry>
178 <entry>r<subscript>3</subscript></entry>
179 <entry>r<subscript>2</subscript></entry>
180 <entry>r<subscript>1</subscript></entry>
181 <entry>r<subscript>0</subscript></entry>
183 <row id="V4L2-MBUS-FMT-RGB555-2X8-PADHI-BE">
184 <entry>V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE</entry>
185 <entry>0x1003</entry>
188 <entry>r<subscript>4</subscript></entry>
189 <entry>r<subscript>3</subscript></entry>
190 <entry>r<subscript>2</subscript></entry>
191 <entry>r<subscript>1</subscript></entry>
192 <entry>r<subscript>0</subscript></entry>
193 <entry>g<subscript>4</subscript></entry>
194 <entry>g<subscript>3</subscript></entry>
200 <entry>g<subscript>2</subscript></entry>
201 <entry>g<subscript>1</subscript></entry>
202 <entry>g<subscript>0</subscript></entry>
203 <entry>b<subscript>4</subscript></entry>
204 <entry>b<subscript>3</subscript></entry>
205 <entry>b<subscript>2</subscript></entry>
206 <entry>b<subscript>1</subscript></entry>
207 <entry>b<subscript>0</subscript></entry>
209 <row id="V4L2-MBUS-FMT-RGB555-2X8-PADHI-LE">
210 <entry>V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE</entry>
211 <entry>0x1004</entry>
213 <entry>g<subscript>2</subscript></entry>
214 <entry>g<subscript>1</subscript></entry>
215 <entry>g<subscript>0</subscript></entry>
216 <entry>b<subscript>4</subscript></entry>
217 <entry>b<subscript>3</subscript></entry>
218 <entry>b<subscript>2</subscript></entry>
219 <entry>b<subscript>1</subscript></entry>
220 <entry>b<subscript>0</subscript></entry>
227 <entry>r<subscript>4</subscript></entry>
228 <entry>r<subscript>3</subscript></entry>
229 <entry>r<subscript>2</subscript></entry>
230 <entry>r<subscript>1</subscript></entry>
231 <entry>r<subscript>0</subscript></entry>
232 <entry>g<subscript>4</subscript></entry>
233 <entry>g<subscript>3</subscript></entry>
235 <row id="V4L2-MBUS-FMT-BGR565-2X8-BE">
236 <entry>V4L2_MBUS_FMT_BGR565_2X8_BE</entry>
237 <entry>0x1005</entry>
239 <entry>b<subscript>4</subscript></entry>
240 <entry>b<subscript>3</subscript></entry>
241 <entry>b<subscript>2</subscript></entry>
242 <entry>b<subscript>1</subscript></entry>
243 <entry>b<subscript>0</subscript></entry>
244 <entry>g<subscript>5</subscript></entry>
245 <entry>g<subscript>4</subscript></entry>
246 <entry>g<subscript>3</subscript></entry>
252 <entry>g<subscript>2</subscript></entry>
253 <entry>g<subscript>1</subscript></entry>
254 <entry>g<subscript>0</subscript></entry>
255 <entry>r<subscript>4</subscript></entry>
256 <entry>r<subscript>3</subscript></entry>
257 <entry>r<subscript>2</subscript></entry>
258 <entry>r<subscript>1</subscript></entry>
259 <entry>r<subscript>0</subscript></entry>
261 <row id="V4L2-MBUS-FMT-BGR565-2X8-LE">
262 <entry>V4L2_MBUS_FMT_BGR565_2X8_LE</entry>
263 <entry>0x1006</entry>
265 <entry>g<subscript>2</subscript></entry>
266 <entry>g<subscript>1</subscript></entry>
267 <entry>g<subscript>0</subscript></entry>
268 <entry>r<subscript>4</subscript></entry>
269 <entry>r<subscript>3</subscript></entry>
270 <entry>r<subscript>2</subscript></entry>
271 <entry>r<subscript>1</subscript></entry>
272 <entry>r<subscript>0</subscript></entry>
278 <entry>b<subscript>4</subscript></entry>
279 <entry>b<subscript>3</subscript></entry>
280 <entry>b<subscript>2</subscript></entry>
281 <entry>b<subscript>1</subscript></entry>
282 <entry>b<subscript>0</subscript></entry>
283 <entry>g<subscript>5</subscript></entry>
284 <entry>g<subscript>4</subscript></entry>
285 <entry>g<subscript>3</subscript></entry>
287 <row id="V4L2-MBUS-FMT-RGB565-2X8-BE">
288 <entry>V4L2_MBUS_FMT_RGB565_2X8_BE</entry>
289 <entry>0x1007</entry>
291 <entry>r<subscript>4</subscript></entry>
292 <entry>r<subscript>3</subscript></entry>
293 <entry>r<subscript>2</subscript></entry>
294 <entry>r<subscript>1</subscript></entry>
295 <entry>r<subscript>0</subscript></entry>
296 <entry>g<subscript>5</subscript></entry>
297 <entry>g<subscript>4</subscript></entry>
298 <entry>g<subscript>3</subscript></entry>
304 <entry>g<subscript>2</subscript></entry>
305 <entry>g<subscript>1</subscript></entry>
306 <entry>g<subscript>0</subscript></entry>
307 <entry>b<subscript>4</subscript></entry>
308 <entry>b<subscript>3</subscript></entry>
309 <entry>b<subscript>2</subscript></entry>
310 <entry>b<subscript>1</subscript></entry>
311 <entry>b<subscript>0</subscript></entry>
313 <row id="V4L2-MBUS-FMT-RGB565-2X8-LE">
314 <entry>V4L2_MBUS_FMT_RGB565_2X8_LE</entry>
315 <entry>0x1008</entry>
317 <entry>g<subscript>2</subscript></entry>
318 <entry>g<subscript>1</subscript></entry>
319 <entry>g<subscript>0</subscript></entry>
320 <entry>b<subscript>4</subscript></entry>
321 <entry>b<subscript>3</subscript></entry>
322 <entry>b<subscript>2</subscript></entry>
323 <entry>b<subscript>1</subscript></entry>
324 <entry>b<subscript>0</subscript></entry>
330 <entry>r<subscript>4</subscript></entry>
331 <entry>r<subscript>3</subscript></entry>
332 <entry>r<subscript>2</subscript></entry>
333 <entry>r<subscript>1</subscript></entry>
334 <entry>r<subscript>0</subscript></entry>
335 <entry>g<subscript>5</subscript></entry>
336 <entry>g<subscript>4</subscript></entry>
337 <entry>g<subscript>3</subscript></entry>
345 <title>Bayer Formats</title>
347 <para>Those formats transfer pixel data as red, green and blue components.
348 The format code is made of the following information.
350 <listitem><para>The red, green and blue components order code, as encoded in a
351 pixel sample. The possible values are shown in <xref
352 linkend="bayer-patterns" />.</para></listitem>
353 <listitem><para>The number of bits per pixel component. All components are
354 transferred on the same number of bits. Common values are 8, 10 and 12.</para>
356 <listitem><para>If the pixel components are DPCM-compressed, a mention of the
357 DPCM compression and the number of bits per compressed pixel component.</para>
359 <listitem><para>The number of bus samples per pixel. Pixels that are wider than
360 the bus width must be transferred in multiple samples. Common values are
361 1 and 2.</para></listitem>
362 <listitem><para>The bus width.</para></listitem>
363 <listitem><para>For formats where the total number of bits per pixel is smaller
364 than the number of bus samples per pixel times the bus width, a padding
365 value stating if the bytes are padded in their most high order bits
366 (PADHI) or low order bits (PADLO).</para></listitem>
367 <listitem><para>For formats where the number of bus samples per pixel is larger
368 than 1, an endianness value stating if the pixel is transferred MSB first
369 (BE) or LSB first (LE).</para></listitem>
373 <para>For instance, a format with uncompressed 10-bit Bayer components
374 arranged in a red, green, green, blue pattern transferred as 2 8-bit
375 samples per pixel with the least significant bits transferred first will
376 be named <constant>V4L2_MBUS_FMT_SRGGB10_2X8_PADHI_LE</constant>.
379 <figure id="bayer-patterns">
380 <title>Bayer Patterns</title>
383 <imagedata fileref="bayer.png" format="PNG" />
386 <phrase>Bayer filter color patterns</phrase>
391 <para>The following table lists existing packet Bayer formats. The data
392 organization is given as an example for the first pixel only.</para>
394 <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-bayer">
395 <title>Bayer Formats</title>
397 <colspec colname="id" align="left" />
398 <colspec colname="code" align="center"/>
399 <colspec colname="bit" />
400 <colspec colnum="4" colname="b11" align="center" />
401 <colspec colnum="5" colname="b10" align="center" />
402 <colspec colnum="6" colname="b09" align="center" />
403 <colspec colnum="7" colname="b08" align="center" />
404 <colspec colnum="8" colname="b07" align="center" />
405 <colspec colnum="9" colname="b06" align="center" />
406 <colspec colnum="10" colname="b05" align="center" />
407 <colspec colnum="11" colname="b04" align="center" />
408 <colspec colnum="12" colname="b03" align="center" />
409 <colspec colnum="13" colname="b02" align="center" />
410 <colspec colnum="14" colname="b01" align="center" />
411 <colspec colnum="15" colname="b00" align="center" />
412 <spanspec namest="b11" nameend="b00" spanname="b0" />
415 <entry>Identifier</entry>
418 <entry spanname="b0">Data organization</entry>
439 <row id="V4L2-MBUS-FMT-SBGGR8-1X8">
440 <entry>V4L2_MBUS_FMT_SBGGR8_1X8</entry>
441 <entry>0x3001</entry>
447 <entry>b<subscript>7</subscript></entry>
448 <entry>b<subscript>6</subscript></entry>
449 <entry>b<subscript>5</subscript></entry>
450 <entry>b<subscript>4</subscript></entry>
451 <entry>b<subscript>3</subscript></entry>
452 <entry>b<subscript>2</subscript></entry>
453 <entry>b<subscript>1</subscript></entry>
454 <entry>b<subscript>0</subscript></entry>
456 <row id="V4L2-MBUS-FMT-SGBRG8-1X8">
457 <entry>V4L2_MBUS_FMT_SGBRG8_1X8</entry>
458 <entry>0x3013</entry>
464 <entry>g<subscript>7</subscript></entry>
465 <entry>g<subscript>6</subscript></entry>
466 <entry>g<subscript>5</subscript></entry>
467 <entry>g<subscript>4</subscript></entry>
468 <entry>g<subscript>3</subscript></entry>
469 <entry>g<subscript>2</subscript></entry>
470 <entry>g<subscript>1</subscript></entry>
471 <entry>g<subscript>0</subscript></entry>
473 <row id="V4L2-MBUS-FMT-SGRBG8-1X8">
474 <entry>V4L2_MBUS_FMT_SGRBG8_1X8</entry>
475 <entry>0x3002</entry>
481 <entry>g<subscript>7</subscript></entry>
482 <entry>g<subscript>6</subscript></entry>
483 <entry>g<subscript>5</subscript></entry>
484 <entry>g<subscript>4</subscript></entry>
485 <entry>g<subscript>3</subscript></entry>
486 <entry>g<subscript>2</subscript></entry>
487 <entry>g<subscript>1</subscript></entry>
488 <entry>g<subscript>0</subscript></entry>
490 <row id="V4L2-MBUS-FMT-SRGGB8-1X8">
491 <entry>V4L2_MBUS_FMT_SRGGB8_1X8</entry>
492 <entry>0x3014</entry>
498 <entry>r<subscript>7</subscript></entry>
499 <entry>r<subscript>6</subscript></entry>
500 <entry>r<subscript>5</subscript></entry>
501 <entry>r<subscript>4</subscript></entry>
502 <entry>r<subscript>3</subscript></entry>
503 <entry>r<subscript>2</subscript></entry>
504 <entry>r<subscript>1</subscript></entry>
505 <entry>r<subscript>0</subscript></entry>
507 <row id="V4L2-MBUS-FMT-SBGGR10-DPCM8-1X8">
508 <entry>V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8</entry>
509 <entry>0x300b</entry>
515 <entry>b<subscript>7</subscript></entry>
516 <entry>b<subscript>6</subscript></entry>
517 <entry>b<subscript>5</subscript></entry>
518 <entry>b<subscript>4</subscript></entry>
519 <entry>b<subscript>3</subscript></entry>
520 <entry>b<subscript>2</subscript></entry>
521 <entry>b<subscript>1</subscript></entry>
522 <entry>b<subscript>0</subscript></entry>
524 <row id="V4L2-MBUS-FMT-SGBRG10-DPCM8-1X8">
525 <entry>V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8</entry>
526 <entry>0x300c</entry>
532 <entry>g<subscript>7</subscript></entry>
533 <entry>g<subscript>6</subscript></entry>
534 <entry>g<subscript>5</subscript></entry>
535 <entry>g<subscript>4</subscript></entry>
536 <entry>g<subscript>3</subscript></entry>
537 <entry>g<subscript>2</subscript></entry>
538 <entry>g<subscript>1</subscript></entry>
539 <entry>g<subscript>0</subscript></entry>
541 <row id="V4L2-MBUS-FMT-SGRBG10-DPCM8-1X8">
542 <entry>V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8</entry>
543 <entry>0x3009</entry>
549 <entry>g<subscript>7</subscript></entry>
550 <entry>g<subscript>6</subscript></entry>
551 <entry>g<subscript>5</subscript></entry>
552 <entry>g<subscript>4</subscript></entry>
553 <entry>g<subscript>3</subscript></entry>
554 <entry>g<subscript>2</subscript></entry>
555 <entry>g<subscript>1</subscript></entry>
556 <entry>g<subscript>0</subscript></entry>
558 <row id="V4L2-MBUS-FMT-SRGGB10-DPCM8-1X8">
559 <entry>V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8</entry>
560 <entry>0x300d</entry>
566 <entry>r<subscript>7</subscript></entry>
567 <entry>r<subscript>6</subscript></entry>
568 <entry>r<subscript>5</subscript></entry>
569 <entry>r<subscript>4</subscript></entry>
570 <entry>r<subscript>3</subscript></entry>
571 <entry>r<subscript>2</subscript></entry>
572 <entry>r<subscript>1</subscript></entry>
573 <entry>r<subscript>0</subscript></entry>
575 <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADHI-BE">
576 <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE</entry>
577 <entry>0x3003</entry>
589 <entry>b<subscript>9</subscript></entry>
590 <entry>b<subscript>8</subscript></entry>
600 <entry>b<subscript>7</subscript></entry>
601 <entry>b<subscript>6</subscript></entry>
602 <entry>b<subscript>5</subscript></entry>
603 <entry>b<subscript>4</subscript></entry>
604 <entry>b<subscript>3</subscript></entry>
605 <entry>b<subscript>2</subscript></entry>
606 <entry>b<subscript>1</subscript></entry>
607 <entry>b<subscript>0</subscript></entry>
609 <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADHI-LE">
610 <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE</entry>
611 <entry>0x3004</entry>
617 <entry>b<subscript>7</subscript></entry>
618 <entry>b<subscript>6</subscript></entry>
619 <entry>b<subscript>5</subscript></entry>
620 <entry>b<subscript>4</subscript></entry>
621 <entry>b<subscript>3</subscript></entry>
622 <entry>b<subscript>2</subscript></entry>
623 <entry>b<subscript>1</subscript></entry>
624 <entry>b<subscript>0</subscript></entry>
640 <entry>b<subscript>9</subscript></entry>
641 <entry>b<subscript>8</subscript></entry>
643 <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADLO-BE">
644 <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE</entry>
645 <entry>0x3005</entry>
651 <entry>b<subscript>9</subscript></entry>
652 <entry>b<subscript>8</subscript></entry>
653 <entry>b<subscript>7</subscript></entry>
654 <entry>b<subscript>6</subscript></entry>
655 <entry>b<subscript>5</subscript></entry>
656 <entry>b<subscript>4</subscript></entry>
657 <entry>b<subscript>3</subscript></entry>
658 <entry>b<subscript>2</subscript></entry>
668 <entry>b<subscript>1</subscript></entry>
669 <entry>b<subscript>0</subscript></entry>
677 <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADLO-LE">
678 <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE</entry>
679 <entry>0x3006</entry>
685 <entry>b<subscript>1</subscript></entry>
686 <entry>b<subscript>0</subscript></entry>
702 <entry>b<subscript>9</subscript></entry>
703 <entry>b<subscript>8</subscript></entry>
704 <entry>b<subscript>7</subscript></entry>
705 <entry>b<subscript>6</subscript></entry>
706 <entry>b<subscript>5</subscript></entry>
707 <entry>b<subscript>4</subscript></entry>
708 <entry>b<subscript>3</subscript></entry>
709 <entry>b<subscript>2</subscript></entry>
711 <row id="V4L2-MBUS-FMT-SBGGR10-1X10">
712 <entry>V4L2_MBUS_FMT_SBGGR10_1X10</entry>
713 <entry>0x3007</entry>
717 <entry>b<subscript>9</subscript></entry>
718 <entry>b<subscript>8</subscript></entry>
719 <entry>b<subscript>7</subscript></entry>
720 <entry>b<subscript>6</subscript></entry>
721 <entry>b<subscript>5</subscript></entry>
722 <entry>b<subscript>4</subscript></entry>
723 <entry>b<subscript>3</subscript></entry>
724 <entry>b<subscript>2</subscript></entry>
725 <entry>b<subscript>1</subscript></entry>
726 <entry>b<subscript>0</subscript></entry>
728 <row id="V4L2-MBUS-FMT-SGBRG10-1X10">
729 <entry>V4L2_MBUS_FMT_SGBRG10_1X10</entry>
730 <entry>0x300e</entry>
734 <entry>g<subscript>9</subscript></entry>
735 <entry>g<subscript>8</subscript></entry>
736 <entry>g<subscript>7</subscript></entry>
737 <entry>g<subscript>6</subscript></entry>
738 <entry>g<subscript>5</subscript></entry>
739 <entry>g<subscript>4</subscript></entry>
740 <entry>g<subscript>3</subscript></entry>
741 <entry>g<subscript>2</subscript></entry>
742 <entry>g<subscript>1</subscript></entry>
743 <entry>g<subscript>0</subscript></entry>
745 <row id="V4L2-MBUS-FMT-SGRBG10-1X10">
746 <entry>V4L2_MBUS_FMT_SGRBG10_1X10</entry>
747 <entry>0x300a</entry>
751 <entry>g<subscript>9</subscript></entry>
752 <entry>g<subscript>8</subscript></entry>
753 <entry>g<subscript>7</subscript></entry>
754 <entry>g<subscript>6</subscript></entry>
755 <entry>g<subscript>5</subscript></entry>
756 <entry>g<subscript>4</subscript></entry>
757 <entry>g<subscript>3</subscript></entry>
758 <entry>g<subscript>2</subscript></entry>
759 <entry>g<subscript>1</subscript></entry>
760 <entry>g<subscript>0</subscript></entry>
762 <row id="V4L2-MBUS-FMT-SRGGB10-1X10">
763 <entry>V4L2_MBUS_FMT_SRGGB10_1X10</entry>
764 <entry>0x300f</entry>
768 <entry>r<subscript>9</subscript></entry>
769 <entry>r<subscript>8</subscript></entry>
770 <entry>r<subscript>7</subscript></entry>
771 <entry>r<subscript>6</subscript></entry>
772 <entry>r<subscript>5</subscript></entry>
773 <entry>r<subscript>4</subscript></entry>
774 <entry>r<subscript>3</subscript></entry>
775 <entry>r<subscript>2</subscript></entry>
776 <entry>r<subscript>1</subscript></entry>
777 <entry>r<subscript>0</subscript></entry>
779 <row id="V4L2-MBUS-FMT-SBGGR12-1X12">
780 <entry>V4L2_MBUS_FMT_SBGGR12_1X12</entry>
781 <entry>0x3008</entry>
783 <entry>b<subscript>11</subscript></entry>
784 <entry>b<subscript>10</subscript></entry>
785 <entry>b<subscript>9</subscript></entry>
786 <entry>b<subscript>8</subscript></entry>
787 <entry>b<subscript>7</subscript></entry>
788 <entry>b<subscript>6</subscript></entry>
789 <entry>b<subscript>5</subscript></entry>
790 <entry>b<subscript>4</subscript></entry>
791 <entry>b<subscript>3</subscript></entry>
792 <entry>b<subscript>2</subscript></entry>
793 <entry>b<subscript>1</subscript></entry>
794 <entry>b<subscript>0</subscript></entry>
796 <row id="V4L2-MBUS-FMT-SGBRG12-1X12">
797 <entry>V4L2_MBUS_FMT_SGBRG12_1X12</entry>
798 <entry>0x3010</entry>
800 <entry>g<subscript>11</subscript></entry>
801 <entry>g<subscript>10</subscript></entry>
802 <entry>g<subscript>9</subscript></entry>
803 <entry>g<subscript>8</subscript></entry>
804 <entry>g<subscript>7</subscript></entry>
805 <entry>g<subscript>6</subscript></entry>
806 <entry>g<subscript>5</subscript></entry>
807 <entry>g<subscript>4</subscript></entry>
808 <entry>g<subscript>3</subscript></entry>
809 <entry>g<subscript>2</subscript></entry>
810 <entry>g<subscript>1</subscript></entry>
811 <entry>g<subscript>0</subscript></entry>
813 <row id="V4L2-MBUS-FMT-SGRBG12-1X12">
814 <entry>V4L2_MBUS_FMT_SGRBG12_1X12</entry>
815 <entry>0x3011</entry>
817 <entry>g<subscript>11</subscript></entry>
818 <entry>g<subscript>10</subscript></entry>
819 <entry>g<subscript>9</subscript></entry>
820 <entry>g<subscript>8</subscript></entry>
821 <entry>g<subscript>7</subscript></entry>
822 <entry>g<subscript>6</subscript></entry>
823 <entry>g<subscript>5</subscript></entry>
824 <entry>g<subscript>4</subscript></entry>
825 <entry>g<subscript>3</subscript></entry>
826 <entry>g<subscript>2</subscript></entry>
827 <entry>g<subscript>1</subscript></entry>
828 <entry>g<subscript>0</subscript></entry>
830 <row id="V4L2-MBUS-FMT-SRGGB12-1X12">
831 <entry>V4L2_MBUS_FMT_SRGGB12_1X12</entry>
832 <entry>0x3012</entry>
834 <entry>r<subscript>11</subscript></entry>
835 <entry>r<subscript>10</subscript></entry>
836 <entry>r<subscript>9</subscript></entry>
837 <entry>r<subscript>8</subscript></entry>
838 <entry>r<subscript>7</subscript></entry>
839 <entry>r<subscript>6</subscript></entry>
840 <entry>r<subscript>5</subscript></entry>
841 <entry>r<subscript>4</subscript></entry>
842 <entry>r<subscript>3</subscript></entry>
843 <entry>r<subscript>2</subscript></entry>
844 <entry>r<subscript>1</subscript></entry>
845 <entry>r<subscript>0</subscript></entry>
853 <title>Packed YUV Formats</title>
855 <para>Those data formats transfer pixel data as (possibly downsampled) Y, U
856 and V components. The format code is made of the following information.
858 <listitem><para>The Y, U and V components order code, as transferred on the
859 bus. Possible values are YUYV, UYVY, YVYU and VYUY.</para></listitem>
860 <listitem><para>The number of bits per pixel component. All components are
861 transferred on the same number of bits. Common values are 8, 10 and 12.</para>
863 <listitem><para>The number of bus samples per pixel. Pixels that are wider than
864 the bus width must be transferred in multiple samples. Common values are
865 1, 1.5 (encoded as 1_5) and 2.</para></listitem>
866 <listitem><para>The bus width. When the bus width is larger than the number of
867 bits per pixel component, several components are packed in a single bus
868 sample. The components are ordered as specified by the order code, with
869 components on the left of the code transferred in the high order bits.
870 Common values are 8 and 16.</para>
875 <para>For instance, a format where pixels are encoded as 8-bit YUV values
876 downsampled to 4:2:2 and transferred as 2 8-bit bus samples per pixel in the
877 U, Y, V, Y order will be named <constant>V4L2_MBUS_FMT_UYVY8_2X8</constant>.
880 <para>The following table lisst existing packet YUV formats.</para>
882 <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-yuv8">
883 <title>YUV Formats</title>
885 <colspec colname="id" align="left" />
886 <colspec colname="code" align="center"/>
887 <colspec colname="bit" />
888 <colspec colnum="4" colname="b19" align="center" />
889 <colspec colnum="5" colname="b18" align="center" />
890 <colspec colnum="6" colname="b17" align="center" />
891 <colspec colnum="7" colname="b16" align="center" />
892 <colspec colnum="8" colname="b15" align="center" />
893 <colspec colnum="9" colname="b14" align="center" />
894 <colspec colnum="10" colname="b13" align="center" />
895 <colspec colnum="11" colname="b12" align="center" />
896 <colspec colnum="12" colname="b11" align="center" />
897 <colspec colnum="13" colname="b10" align="center" />
898 <colspec colnum="14" colname="b09" align="center" />
899 <colspec colnum="15" colname="b08" align="center" />
900 <colspec colnum="16" colname="b07" align="center" />
901 <colspec colnum="17" colname="b06" align="center" />
902 <colspec colnum="18" colname="b05" align="center" />
903 <colspec colnum="19" colname="b04" align="center" />
904 <colspec colnum="20" colname="b03" align="center" />
905 <colspec colnum="21" colname="b02" align="center" />
906 <colspec colnum="22" colname="b01" align="center" />
907 <colspec colnum="23" colname="b00" align="center" />
908 <spanspec namest="b19" nameend="b00" spanname="b0" />
911 <entry>Identifier</entry>
914 <entry spanname="b0">Data organization</entry>
943 <row id="V4L2-MBUS-FMT-Y8-1X8">
944 <entry>V4L2_MBUS_FMT_Y8_1X8</entry>
945 <entry>0x2001</entry>
959 <entry>y<subscript>7</subscript></entry>
960 <entry>y<subscript>6</subscript></entry>
961 <entry>y<subscript>5</subscript></entry>
962 <entry>y<subscript>4</subscript></entry>
963 <entry>y<subscript>3</subscript></entry>
964 <entry>y<subscript>2</subscript></entry>
965 <entry>y<subscript>1</subscript></entry>
966 <entry>y<subscript>0</subscript></entry>
968 <row id="V4L2-MBUS-FMT-UYVY8-1_5X8">
969 <entry>V4L2_MBUS_FMT_UYVY8_1_5X8</entry>
970 <entry>0x2002</entry>
984 <entry>u<subscript>7</subscript></entry>
985 <entry>u<subscript>6</subscript></entry>
986 <entry>u<subscript>5</subscript></entry>
987 <entry>u<subscript>4</subscript></entry>
988 <entry>u<subscript>3</subscript></entry>
989 <entry>u<subscript>2</subscript></entry>
990 <entry>u<subscript>1</subscript></entry>
991 <entry>u<subscript>0</subscript></entry>
1009 <entry>y<subscript>7</subscript></entry>
1010 <entry>y<subscript>6</subscript></entry>
1011 <entry>y<subscript>5</subscript></entry>
1012 <entry>y<subscript>4</subscript></entry>
1013 <entry>y<subscript>3</subscript></entry>
1014 <entry>y<subscript>2</subscript></entry>
1015 <entry>y<subscript>1</subscript></entry>
1016 <entry>y<subscript>0</subscript></entry>
1034 <entry>y<subscript>7</subscript></entry>
1035 <entry>y<subscript>6</subscript></entry>
1036 <entry>y<subscript>5</subscript></entry>
1037 <entry>y<subscript>4</subscript></entry>
1038 <entry>y<subscript>3</subscript></entry>
1039 <entry>y<subscript>2</subscript></entry>
1040 <entry>y<subscript>1</subscript></entry>
1041 <entry>y<subscript>0</subscript></entry>
1059 <entry>v<subscript>7</subscript></entry>
1060 <entry>v<subscript>6</subscript></entry>
1061 <entry>v<subscript>5</subscript></entry>
1062 <entry>v<subscript>4</subscript></entry>
1063 <entry>v<subscript>3</subscript></entry>
1064 <entry>v<subscript>2</subscript></entry>
1065 <entry>v<subscript>1</subscript></entry>
1066 <entry>v<subscript>0</subscript></entry>
1084 <entry>y<subscript>7</subscript></entry>
1085 <entry>y<subscript>6</subscript></entry>
1086 <entry>y<subscript>5</subscript></entry>
1087 <entry>y<subscript>4</subscript></entry>
1088 <entry>y<subscript>3</subscript></entry>
1089 <entry>y<subscript>2</subscript></entry>
1090 <entry>y<subscript>1</subscript></entry>
1091 <entry>y<subscript>0</subscript></entry>
1109 <entry>y<subscript>7</subscript></entry>
1110 <entry>y<subscript>6</subscript></entry>
1111 <entry>y<subscript>5</subscript></entry>
1112 <entry>y<subscript>4</subscript></entry>
1113 <entry>y<subscript>3</subscript></entry>
1114 <entry>y<subscript>2</subscript></entry>
1115 <entry>y<subscript>1</subscript></entry>
1116 <entry>y<subscript>0</subscript></entry>
1118 <row id="V4L2-MBUS-FMT-VYUY8-1_5X8">
1119 <entry>V4L2_MBUS_FMT_VYUY8_1_5X8</entry>
1120 <entry>0x2003</entry>
1134 <entry>v<subscript>7</subscript></entry>
1135 <entry>v<subscript>6</subscript></entry>
1136 <entry>v<subscript>5</subscript></entry>
1137 <entry>v<subscript>4</subscript></entry>
1138 <entry>v<subscript>3</subscript></entry>
1139 <entry>v<subscript>2</subscript></entry>
1140 <entry>v<subscript>1</subscript></entry>
1141 <entry>v<subscript>0</subscript></entry>
1159 <entry>y<subscript>7</subscript></entry>
1160 <entry>y<subscript>6</subscript></entry>
1161 <entry>y<subscript>5</subscript></entry>
1162 <entry>y<subscript>4</subscript></entry>
1163 <entry>y<subscript>3</subscript></entry>
1164 <entry>y<subscript>2</subscript></entry>
1165 <entry>y<subscript>1</subscript></entry>
1166 <entry>y<subscript>0</subscript></entry>
1184 <entry>y<subscript>7</subscript></entry>
1185 <entry>y<subscript>6</subscript></entry>
1186 <entry>y<subscript>5</subscript></entry>
1187 <entry>y<subscript>4</subscript></entry>
1188 <entry>y<subscript>3</subscript></entry>
1189 <entry>y<subscript>2</subscript></entry>
1190 <entry>y<subscript>1</subscript></entry>
1191 <entry>y<subscript>0</subscript></entry>
1209 <entry>u<subscript>7</subscript></entry>
1210 <entry>u<subscript>6</subscript></entry>
1211 <entry>u<subscript>5</subscript></entry>
1212 <entry>u<subscript>4</subscript></entry>
1213 <entry>u<subscript>3</subscript></entry>
1214 <entry>u<subscript>2</subscript></entry>
1215 <entry>u<subscript>1</subscript></entry>
1216 <entry>u<subscript>0</subscript></entry>
1234 <entry>y<subscript>7</subscript></entry>
1235 <entry>y<subscript>6</subscript></entry>
1236 <entry>y<subscript>5</subscript></entry>
1237 <entry>y<subscript>4</subscript></entry>
1238 <entry>y<subscript>3</subscript></entry>
1239 <entry>y<subscript>2</subscript></entry>
1240 <entry>y<subscript>1</subscript></entry>
1241 <entry>y<subscript>0</subscript></entry>
1259 <entry>y<subscript>7</subscript></entry>
1260 <entry>y<subscript>6</subscript></entry>
1261 <entry>y<subscript>5</subscript></entry>
1262 <entry>y<subscript>4</subscript></entry>
1263 <entry>y<subscript>3</subscript></entry>
1264 <entry>y<subscript>2</subscript></entry>
1265 <entry>y<subscript>1</subscript></entry>
1266 <entry>y<subscript>0</subscript></entry>
1268 <row id="V4L2-MBUS-FMT-YUYV8-1_5X8">
1269 <entry>V4L2_MBUS_FMT_YUYV8_1_5X8</entry>
1270 <entry>0x2004</entry>
1284 <entry>y<subscript>7</subscript></entry>
1285 <entry>y<subscript>6</subscript></entry>
1286 <entry>y<subscript>5</subscript></entry>
1287 <entry>y<subscript>4</subscript></entry>
1288 <entry>y<subscript>3</subscript></entry>
1289 <entry>y<subscript>2</subscript></entry>
1290 <entry>y<subscript>1</subscript></entry>
1291 <entry>y<subscript>0</subscript></entry>
1309 <entry>y<subscript>7</subscript></entry>
1310 <entry>y<subscript>6</subscript></entry>
1311 <entry>y<subscript>5</subscript></entry>
1312 <entry>y<subscript>4</subscript></entry>
1313 <entry>y<subscript>3</subscript></entry>
1314 <entry>y<subscript>2</subscript></entry>
1315 <entry>y<subscript>1</subscript></entry>
1316 <entry>y<subscript>0</subscript></entry>
1334 <entry>u<subscript>7</subscript></entry>
1335 <entry>u<subscript>6</subscript></entry>
1336 <entry>u<subscript>5</subscript></entry>
1337 <entry>u<subscript>4</subscript></entry>
1338 <entry>u<subscript>3</subscript></entry>
1339 <entry>u<subscript>2</subscript></entry>
1340 <entry>u<subscript>1</subscript></entry>
1341 <entry>u<subscript>0</subscript></entry>
1359 <entry>y<subscript>7</subscript></entry>
1360 <entry>y<subscript>6</subscript></entry>
1361 <entry>y<subscript>5</subscript></entry>
1362 <entry>y<subscript>4</subscript></entry>
1363 <entry>y<subscript>3</subscript></entry>
1364 <entry>y<subscript>2</subscript></entry>
1365 <entry>y<subscript>1</subscript></entry>
1366 <entry>y<subscript>0</subscript></entry>
1384 <entry>y<subscript>7</subscript></entry>
1385 <entry>y<subscript>6</subscript></entry>
1386 <entry>y<subscript>5</subscript></entry>
1387 <entry>y<subscript>4</subscript></entry>
1388 <entry>y<subscript>3</subscript></entry>
1389 <entry>y<subscript>2</subscript></entry>
1390 <entry>y<subscript>1</subscript></entry>
1391 <entry>y<subscript>0</subscript></entry>
1409 <entry>v<subscript>7</subscript></entry>
1410 <entry>v<subscript>6</subscript></entry>
1411 <entry>v<subscript>5</subscript></entry>
1412 <entry>v<subscript>4</subscript></entry>
1413 <entry>v<subscript>3</subscript></entry>
1414 <entry>v<subscript>2</subscript></entry>
1415 <entry>v<subscript>1</subscript></entry>
1416 <entry>v<subscript>0</subscript></entry>
1418 <row id="V4L2-MBUS-FMT-YVYU8-1_5X8">
1419 <entry>V4L2_MBUS_FMT_YVYU8_1_5X8</entry>
1420 <entry>0x2005</entry>
1434 <entry>y<subscript>7</subscript></entry>
1435 <entry>y<subscript>6</subscript></entry>
1436 <entry>y<subscript>5</subscript></entry>
1437 <entry>y<subscript>4</subscript></entry>
1438 <entry>y<subscript>3</subscript></entry>
1439 <entry>y<subscript>2</subscript></entry>
1440 <entry>y<subscript>1</subscript></entry>
1441 <entry>y<subscript>0</subscript></entry>
1459 <entry>y<subscript>7</subscript></entry>
1460 <entry>y<subscript>6</subscript></entry>
1461 <entry>y<subscript>5</subscript></entry>
1462 <entry>y<subscript>4</subscript></entry>
1463 <entry>y<subscript>3</subscript></entry>
1464 <entry>y<subscript>2</subscript></entry>
1465 <entry>y<subscript>1</subscript></entry>
1466 <entry>y<subscript>0</subscript></entry>
1484 <entry>v<subscript>7</subscript></entry>
1485 <entry>v<subscript>6</subscript></entry>
1486 <entry>v<subscript>5</subscript></entry>
1487 <entry>v<subscript>4</subscript></entry>
1488 <entry>v<subscript>3</subscript></entry>
1489 <entry>v<subscript>2</subscript></entry>
1490 <entry>v<subscript>1</subscript></entry>
1491 <entry>v<subscript>0</subscript></entry>
1509 <entry>y<subscript>7</subscript></entry>
1510 <entry>y<subscript>6</subscript></entry>
1511 <entry>y<subscript>5</subscript></entry>
1512 <entry>y<subscript>4</subscript></entry>
1513 <entry>y<subscript>3</subscript></entry>
1514 <entry>y<subscript>2</subscript></entry>
1515 <entry>y<subscript>1</subscript></entry>
1516 <entry>y<subscript>0</subscript></entry>
1534 <entry>y<subscript>7</subscript></entry>
1535 <entry>y<subscript>6</subscript></entry>
1536 <entry>y<subscript>5</subscript></entry>
1537 <entry>y<subscript>4</subscript></entry>
1538 <entry>y<subscript>3</subscript></entry>
1539 <entry>y<subscript>2</subscript></entry>
1540 <entry>y<subscript>1</subscript></entry>
1541 <entry>y<subscript>0</subscript></entry>
1559 <entry>u<subscript>7</subscript></entry>
1560 <entry>u<subscript>6</subscript></entry>
1561 <entry>u<subscript>5</subscript></entry>
1562 <entry>u<subscript>4</subscript></entry>
1563 <entry>u<subscript>3</subscript></entry>
1564 <entry>u<subscript>2</subscript></entry>
1565 <entry>u<subscript>1</subscript></entry>
1566 <entry>u<subscript>0</subscript></entry>
1568 <row id="V4L2-MBUS-FMT-UYVY8-2X8">
1569 <entry>V4L2_MBUS_FMT_UYVY8_2X8</entry>
1570 <entry>0x2006</entry>
1584 <entry>u<subscript>7</subscript></entry>
1585 <entry>u<subscript>6</subscript></entry>
1586 <entry>u<subscript>5</subscript></entry>
1587 <entry>u<subscript>4</subscript></entry>
1588 <entry>u<subscript>3</subscript></entry>
1589 <entry>u<subscript>2</subscript></entry>
1590 <entry>u<subscript>1</subscript></entry>
1591 <entry>u<subscript>0</subscript></entry>
1609 <entry>y<subscript>7</subscript></entry>
1610 <entry>y<subscript>6</subscript></entry>
1611 <entry>y<subscript>5</subscript></entry>
1612 <entry>y<subscript>4</subscript></entry>
1613 <entry>y<subscript>3</subscript></entry>
1614 <entry>y<subscript>2</subscript></entry>
1615 <entry>y<subscript>1</subscript></entry>
1616 <entry>y<subscript>0</subscript></entry>
1634 <entry>v<subscript>7</subscript></entry>
1635 <entry>v<subscript>6</subscript></entry>
1636 <entry>v<subscript>5</subscript></entry>
1637 <entry>v<subscript>4</subscript></entry>
1638 <entry>v<subscript>3</subscript></entry>
1639 <entry>v<subscript>2</subscript></entry>
1640 <entry>v<subscript>1</subscript></entry>
1641 <entry>v<subscript>0</subscript></entry>
1659 <entry>y<subscript>7</subscript></entry>
1660 <entry>y<subscript>6</subscript></entry>
1661 <entry>y<subscript>5</subscript></entry>
1662 <entry>y<subscript>4</subscript></entry>
1663 <entry>y<subscript>3</subscript></entry>
1664 <entry>y<subscript>2</subscript></entry>
1665 <entry>y<subscript>1</subscript></entry>
1666 <entry>y<subscript>0</subscript></entry>
1668 <row id="V4L2-MBUS-FMT-VYUY8-2X8">
1669 <entry>V4L2_MBUS_FMT_VYUY8_2X8</entry>
1670 <entry>0x2007</entry>
1684 <entry>v<subscript>7</subscript></entry>
1685 <entry>v<subscript>6</subscript></entry>
1686 <entry>v<subscript>5</subscript></entry>
1687 <entry>v<subscript>4</subscript></entry>
1688 <entry>v<subscript>3</subscript></entry>
1689 <entry>v<subscript>2</subscript></entry>
1690 <entry>v<subscript>1</subscript></entry>
1691 <entry>v<subscript>0</subscript></entry>
1709 <entry>y<subscript>7</subscript></entry>
1710 <entry>y<subscript>6</subscript></entry>
1711 <entry>y<subscript>5</subscript></entry>
1712 <entry>y<subscript>4</subscript></entry>
1713 <entry>y<subscript>3</subscript></entry>
1714 <entry>y<subscript>2</subscript></entry>
1715 <entry>y<subscript>1</subscript></entry>
1716 <entry>y<subscript>0</subscript></entry>
1734 <entry>u<subscript>7</subscript></entry>
1735 <entry>u<subscript>6</subscript></entry>
1736 <entry>u<subscript>5</subscript></entry>
1737 <entry>u<subscript>4</subscript></entry>
1738 <entry>u<subscript>3</subscript></entry>
1739 <entry>u<subscript>2</subscript></entry>
1740 <entry>u<subscript>1</subscript></entry>
1741 <entry>u<subscript>0</subscript></entry>
1759 <entry>y<subscript>7</subscript></entry>
1760 <entry>y<subscript>6</subscript></entry>
1761 <entry>y<subscript>5</subscript></entry>
1762 <entry>y<subscript>4</subscript></entry>
1763 <entry>y<subscript>3</subscript></entry>
1764 <entry>y<subscript>2</subscript></entry>
1765 <entry>y<subscript>1</subscript></entry>
1766 <entry>y<subscript>0</subscript></entry>
1768 <row id="V4L2-MBUS-FMT-YUYV8-2X8">
1769 <entry>V4L2_MBUS_FMT_YUYV8_2X8</entry>
1770 <entry>0x2008</entry>
1784 <entry>y<subscript>7</subscript></entry>
1785 <entry>y<subscript>6</subscript></entry>
1786 <entry>y<subscript>5</subscript></entry>
1787 <entry>y<subscript>4</subscript></entry>
1788 <entry>y<subscript>3</subscript></entry>
1789 <entry>y<subscript>2</subscript></entry>
1790 <entry>y<subscript>1</subscript></entry>
1791 <entry>y<subscript>0</subscript></entry>
1809 <entry>u<subscript>7</subscript></entry>
1810 <entry>u<subscript>6</subscript></entry>
1811 <entry>u<subscript>5</subscript></entry>
1812 <entry>u<subscript>4</subscript></entry>
1813 <entry>u<subscript>3</subscript></entry>
1814 <entry>u<subscript>2</subscript></entry>
1815 <entry>u<subscript>1</subscript></entry>
1816 <entry>u<subscript>0</subscript></entry>
1834 <entry>y<subscript>7</subscript></entry>
1835 <entry>y<subscript>6</subscript></entry>
1836 <entry>y<subscript>5</subscript></entry>
1837 <entry>y<subscript>4</subscript></entry>
1838 <entry>y<subscript>3</subscript></entry>
1839 <entry>y<subscript>2</subscript></entry>
1840 <entry>y<subscript>1</subscript></entry>
1841 <entry>y<subscript>0</subscript></entry>
1859 <entry>v<subscript>7</subscript></entry>
1860 <entry>v<subscript>6</subscript></entry>
1861 <entry>v<subscript>5</subscript></entry>
1862 <entry>v<subscript>4</subscript></entry>
1863 <entry>v<subscript>3</subscript></entry>
1864 <entry>v<subscript>2</subscript></entry>
1865 <entry>v<subscript>1</subscript></entry>
1866 <entry>v<subscript>0</subscript></entry>
1868 <row id="V4L2-MBUS-FMT-YVYU8-2X8">
1869 <entry>V4L2_MBUS_FMT_YVYU8_2X8</entry>
1870 <entry>0x2009</entry>
1884 <entry>y<subscript>7</subscript></entry>
1885 <entry>y<subscript>6</subscript></entry>
1886 <entry>y<subscript>5</subscript></entry>
1887 <entry>y<subscript>4</subscript></entry>
1888 <entry>y<subscript>3</subscript></entry>
1889 <entry>y<subscript>2</subscript></entry>
1890 <entry>y<subscript>1</subscript></entry>
1891 <entry>y<subscript>0</subscript></entry>
1909 <entry>v<subscript>7</subscript></entry>
1910 <entry>v<subscript>6</subscript></entry>
1911 <entry>v<subscript>5</subscript></entry>
1912 <entry>v<subscript>4</subscript></entry>
1913 <entry>v<subscript>3</subscript></entry>
1914 <entry>v<subscript>2</subscript></entry>
1915 <entry>v<subscript>1</subscript></entry>
1916 <entry>v<subscript>0</subscript></entry>
1934 <entry>y<subscript>7</subscript></entry>
1935 <entry>y<subscript>6</subscript></entry>
1936 <entry>y<subscript>5</subscript></entry>
1937 <entry>y<subscript>4</subscript></entry>
1938 <entry>y<subscript>3</subscript></entry>
1939 <entry>y<subscript>2</subscript></entry>
1940 <entry>y<subscript>1</subscript></entry>
1941 <entry>y<subscript>0</subscript></entry>
1959 <entry>u<subscript>7</subscript></entry>
1960 <entry>u<subscript>6</subscript></entry>
1961 <entry>u<subscript>5</subscript></entry>
1962 <entry>u<subscript>4</subscript></entry>
1963 <entry>u<subscript>3</subscript></entry>
1964 <entry>u<subscript>2</subscript></entry>
1965 <entry>u<subscript>1</subscript></entry>
1966 <entry>u<subscript>0</subscript></entry>
1968 <row id="V4L2-MBUS-FMT-Y10-1X10">
1969 <entry>V4L2_MBUS_FMT_Y10_1X10</entry>
1970 <entry>0x200a</entry>
1982 <entry>y<subscript>9</subscript></entry>
1983 <entry>y<subscript>8</subscript></entry>
1984 <entry>y<subscript>7</subscript></entry>
1985 <entry>y<subscript>6</subscript></entry>
1986 <entry>y<subscript>5</subscript></entry>
1987 <entry>y<subscript>4</subscript></entry>
1988 <entry>y<subscript>3</subscript></entry>
1989 <entry>y<subscript>2</subscript></entry>
1990 <entry>y<subscript>1</subscript></entry>
1991 <entry>y<subscript>0</subscript></entry>
1993 <row id="V4L2-MBUS-FMT-YUYV10-2X10">
1994 <entry>V4L2_MBUS_FMT_YUYV10_2X10</entry>
1995 <entry>0x200b</entry>
2007 <entry>y<subscript>9</subscript></entry>
2008 <entry>y<subscript>8</subscript></entry>
2009 <entry>y<subscript>7</subscript></entry>
2010 <entry>y<subscript>6</subscript></entry>
2011 <entry>y<subscript>5</subscript></entry>
2012 <entry>y<subscript>4</subscript></entry>
2013 <entry>y<subscript>3</subscript></entry>
2014 <entry>y<subscript>2</subscript></entry>
2015 <entry>y<subscript>1</subscript></entry>
2016 <entry>y<subscript>0</subscript></entry>
2032 <entry>u<subscript>9</subscript></entry>
2033 <entry>u<subscript>8</subscript></entry>
2034 <entry>u<subscript>7</subscript></entry>
2035 <entry>u<subscript>6</subscript></entry>
2036 <entry>u<subscript>5</subscript></entry>
2037 <entry>u<subscript>4</subscript></entry>
2038 <entry>u<subscript>3</subscript></entry>
2039 <entry>u<subscript>2</subscript></entry>
2040 <entry>u<subscript>1</subscript></entry>
2041 <entry>u<subscript>0</subscript></entry>
2057 <entry>y<subscript>9</subscript></entry>
2058 <entry>y<subscript>8</subscript></entry>
2059 <entry>y<subscript>7</subscript></entry>
2060 <entry>y<subscript>6</subscript></entry>
2061 <entry>y<subscript>5</subscript></entry>
2062 <entry>y<subscript>4</subscript></entry>
2063 <entry>y<subscript>3</subscript></entry>
2064 <entry>y<subscript>2</subscript></entry>
2065 <entry>y<subscript>1</subscript></entry>
2066 <entry>y<subscript>0</subscript></entry>
2082 <entry>v<subscript>9</subscript></entry>
2083 <entry>v<subscript>8</subscript></entry>
2084 <entry>v<subscript>7</subscript></entry>
2085 <entry>v<subscript>6</subscript></entry>
2086 <entry>v<subscript>5</subscript></entry>
2087 <entry>v<subscript>4</subscript></entry>
2088 <entry>v<subscript>3</subscript></entry>
2089 <entry>v<subscript>2</subscript></entry>
2090 <entry>v<subscript>1</subscript></entry>
2091 <entry>v<subscript>0</subscript></entry>
2093 <row id="V4L2-MBUS-FMT-YVYU10-2X10">
2094 <entry>V4L2_MBUS_FMT_YVYU10_2X10</entry>
2095 <entry>0x200c</entry>
2107 <entry>y<subscript>9</subscript></entry>
2108 <entry>y<subscript>8</subscript></entry>
2109 <entry>y<subscript>7</subscript></entry>
2110 <entry>y<subscript>6</subscript></entry>
2111 <entry>y<subscript>5</subscript></entry>
2112 <entry>y<subscript>4</subscript></entry>
2113 <entry>y<subscript>3</subscript></entry>
2114 <entry>y<subscript>2</subscript></entry>
2115 <entry>y<subscript>1</subscript></entry>
2116 <entry>y<subscript>0</subscript></entry>
2132 <entry>v<subscript>9</subscript></entry>
2133 <entry>v<subscript>8</subscript></entry>
2134 <entry>v<subscript>7</subscript></entry>
2135 <entry>v<subscript>6</subscript></entry>
2136 <entry>v<subscript>5</subscript></entry>
2137 <entry>v<subscript>4</subscript></entry>
2138 <entry>v<subscript>3</subscript></entry>
2139 <entry>v<subscript>2</subscript></entry>
2140 <entry>v<subscript>1</subscript></entry>
2141 <entry>v<subscript>0</subscript></entry>
2157 <entry>y<subscript>9</subscript></entry>
2158 <entry>y<subscript>8</subscript></entry>
2159 <entry>y<subscript>7</subscript></entry>
2160 <entry>y<subscript>6</subscript></entry>
2161 <entry>y<subscript>5</subscript></entry>
2162 <entry>y<subscript>4</subscript></entry>
2163 <entry>y<subscript>3</subscript></entry>
2164 <entry>y<subscript>2</subscript></entry>
2165 <entry>y<subscript>1</subscript></entry>
2166 <entry>y<subscript>0</subscript></entry>
2182 <entry>u<subscript>9</subscript></entry>
2183 <entry>u<subscript>8</subscript></entry>
2184 <entry>u<subscript>7</subscript></entry>
2185 <entry>u<subscript>6</subscript></entry>
2186 <entry>u<subscript>5</subscript></entry>
2187 <entry>u<subscript>4</subscript></entry>
2188 <entry>u<subscript>3</subscript></entry>
2189 <entry>u<subscript>2</subscript></entry>
2190 <entry>u<subscript>1</subscript></entry>
2191 <entry>u<subscript>0</subscript></entry>
2193 <row id="V4L2-MBUS-FMT-Y12-1X12">
2194 <entry>V4L2_MBUS_FMT_Y12_1X12</entry>
2195 <entry>0x2013</entry>
2205 <entry>y<subscript>11</subscript></entry>
2206 <entry>y<subscript>10</subscript></entry>
2207 <entry>y<subscript>9</subscript></entry>
2208 <entry>y<subscript>8</subscript></entry>
2209 <entry>y<subscript>7</subscript></entry>
2210 <entry>y<subscript>6</subscript></entry>
2211 <entry>y<subscript>5</subscript></entry>
2212 <entry>y<subscript>4</subscript></entry>
2213 <entry>y<subscript>3</subscript></entry>
2214 <entry>y<subscript>2</subscript></entry>
2215 <entry>y<subscript>1</subscript></entry>
2216 <entry>y<subscript>0</subscript></entry>
2218 <row id="V4L2-MBUS-FMT-UYVY8-1X16">
2219 <entry>V4L2_MBUS_FMT_UYVY8_1X16</entry>
2220 <entry>0x200f</entry>
2226 <entry>u<subscript>7</subscript></entry>
2227 <entry>u<subscript>6</subscript></entry>
2228 <entry>u<subscript>5</subscript></entry>
2229 <entry>u<subscript>4</subscript></entry>
2230 <entry>u<subscript>3</subscript></entry>
2231 <entry>u<subscript>2</subscript></entry>
2232 <entry>u<subscript>1</subscript></entry>
2233 <entry>u<subscript>0</subscript></entry>
2234 <entry>y<subscript>7</subscript></entry>
2235 <entry>y<subscript>6</subscript></entry>
2236 <entry>y<subscript>5</subscript></entry>
2237 <entry>y<subscript>4</subscript></entry>
2238 <entry>y<subscript>3</subscript></entry>
2239 <entry>y<subscript>2</subscript></entry>
2240 <entry>y<subscript>1</subscript></entry>
2241 <entry>y<subscript>0</subscript></entry>
2251 <entry>v<subscript>7</subscript></entry>
2252 <entry>v<subscript>6</subscript></entry>
2253 <entry>v<subscript>5</subscript></entry>
2254 <entry>v<subscript>4</subscript></entry>
2255 <entry>v<subscript>3</subscript></entry>
2256 <entry>v<subscript>2</subscript></entry>
2257 <entry>v<subscript>1</subscript></entry>
2258 <entry>v<subscript>0</subscript></entry>
2259 <entry>y<subscript>7</subscript></entry>
2260 <entry>y<subscript>6</subscript></entry>
2261 <entry>y<subscript>5</subscript></entry>
2262 <entry>y<subscript>4</subscript></entry>
2263 <entry>y<subscript>3</subscript></entry>
2264 <entry>y<subscript>2</subscript></entry>
2265 <entry>y<subscript>1</subscript></entry>
2266 <entry>y<subscript>0</subscript></entry>
2268 <row id="V4L2-MBUS-FMT-VYUY8-1X16">
2269 <entry>V4L2_MBUS_FMT_VYUY8_1X16</entry>
2270 <entry>0x2010</entry>
2276 <entry>v<subscript>7</subscript></entry>
2277 <entry>v<subscript>6</subscript></entry>
2278 <entry>v<subscript>5</subscript></entry>
2279 <entry>v<subscript>4</subscript></entry>
2280 <entry>v<subscript>3</subscript></entry>
2281 <entry>v<subscript>2</subscript></entry>
2282 <entry>v<subscript>1</subscript></entry>
2283 <entry>v<subscript>0</subscript></entry>
2284 <entry>y<subscript>7</subscript></entry>
2285 <entry>y<subscript>6</subscript></entry>
2286 <entry>y<subscript>5</subscript></entry>
2287 <entry>y<subscript>4</subscript></entry>
2288 <entry>y<subscript>3</subscript></entry>
2289 <entry>y<subscript>2</subscript></entry>
2290 <entry>y<subscript>1</subscript></entry>
2291 <entry>y<subscript>0</subscript></entry>
2301 <entry>u<subscript>7</subscript></entry>
2302 <entry>u<subscript>6</subscript></entry>
2303 <entry>u<subscript>5</subscript></entry>
2304 <entry>u<subscript>4</subscript></entry>
2305 <entry>u<subscript>3</subscript></entry>
2306 <entry>u<subscript>2</subscript></entry>
2307 <entry>u<subscript>1</subscript></entry>
2308 <entry>u<subscript>0</subscript></entry>
2309 <entry>y<subscript>7</subscript></entry>
2310 <entry>y<subscript>6</subscript></entry>
2311 <entry>y<subscript>5</subscript></entry>
2312 <entry>y<subscript>4</subscript></entry>
2313 <entry>y<subscript>3</subscript></entry>
2314 <entry>y<subscript>2</subscript></entry>
2315 <entry>y<subscript>1</subscript></entry>
2316 <entry>y<subscript>0</subscript></entry>
2318 <row id="V4L2-MBUS-FMT-YUYV8-1X16">
2319 <entry>V4L2_MBUS_FMT_YUYV8_1X16</entry>
2320 <entry>0x2011</entry>
2326 <entry>y<subscript>7</subscript></entry>
2327 <entry>y<subscript>6</subscript></entry>
2328 <entry>y<subscript>5</subscript></entry>
2329 <entry>y<subscript>4</subscript></entry>
2330 <entry>y<subscript>3</subscript></entry>
2331 <entry>y<subscript>2</subscript></entry>
2332 <entry>y<subscript>1</subscript></entry>
2333 <entry>y<subscript>0</subscript></entry>
2334 <entry>u<subscript>7</subscript></entry>
2335 <entry>u<subscript>6</subscript></entry>
2336 <entry>u<subscript>5</subscript></entry>
2337 <entry>u<subscript>4</subscript></entry>
2338 <entry>u<subscript>3</subscript></entry>
2339 <entry>u<subscript>2</subscript></entry>
2340 <entry>u<subscript>1</subscript></entry>
2341 <entry>u<subscript>0</subscript></entry>
2351 <entry>y<subscript>7</subscript></entry>
2352 <entry>y<subscript>6</subscript></entry>
2353 <entry>y<subscript>5</subscript></entry>
2354 <entry>y<subscript>4</subscript></entry>
2355 <entry>y<subscript>3</subscript></entry>
2356 <entry>y<subscript>2</subscript></entry>
2357 <entry>y<subscript>1</subscript></entry>
2358 <entry>y<subscript>0</subscript></entry>
2359 <entry>v<subscript>7</subscript></entry>
2360 <entry>v<subscript>6</subscript></entry>
2361 <entry>v<subscript>5</subscript></entry>
2362 <entry>v<subscript>4</subscript></entry>
2363 <entry>v<subscript>3</subscript></entry>
2364 <entry>v<subscript>2</subscript></entry>
2365 <entry>v<subscript>1</subscript></entry>
2366 <entry>v<subscript>0</subscript></entry>
2368 <row id="V4L2-MBUS-FMT-YVYU8-1X16">
2369 <entry>V4L2_MBUS_FMT_YVYU8_1X16</entry>
2370 <entry>0x2012</entry>
2376 <entry>y<subscript>7</subscript></entry>
2377 <entry>y<subscript>6</subscript></entry>
2378 <entry>y<subscript>5</subscript></entry>
2379 <entry>y<subscript>4</subscript></entry>
2380 <entry>y<subscript>3</subscript></entry>
2381 <entry>y<subscript>2</subscript></entry>
2382 <entry>y<subscript>1</subscript></entry>
2383 <entry>y<subscript>0</subscript></entry>
2384 <entry>v<subscript>7</subscript></entry>
2385 <entry>v<subscript>6</subscript></entry>
2386 <entry>v<subscript>5</subscript></entry>
2387 <entry>v<subscript>4</subscript></entry>
2388 <entry>v<subscript>3</subscript></entry>
2389 <entry>v<subscript>2</subscript></entry>
2390 <entry>v<subscript>1</subscript></entry>
2391 <entry>v<subscript>0</subscript></entry>
2401 <entry>y<subscript>7</subscript></entry>
2402 <entry>y<subscript>6</subscript></entry>
2403 <entry>y<subscript>5</subscript></entry>
2404 <entry>y<subscript>4</subscript></entry>
2405 <entry>y<subscript>3</subscript></entry>
2406 <entry>y<subscript>2</subscript></entry>
2407 <entry>y<subscript>1</subscript></entry>
2408 <entry>y<subscript>0</subscript></entry>
2409 <entry>u<subscript>7</subscript></entry>
2410 <entry>u<subscript>6</subscript></entry>
2411 <entry>u<subscript>5</subscript></entry>
2412 <entry>u<subscript>4</subscript></entry>
2413 <entry>u<subscript>3</subscript></entry>
2414 <entry>u<subscript>2</subscript></entry>
2415 <entry>u<subscript>1</subscript></entry>
2416 <entry>u<subscript>0</subscript></entry>
2418 <row id="V4L2-MBUS-FMT-YUYV10-1X20">
2419 <entry>V4L2_MBUS_FMT_YUYV10_1X20</entry>
2420 <entry>0x200d</entry>
2422 <entry>y<subscript>9</subscript></entry>
2423 <entry>y<subscript>8</subscript></entry>
2424 <entry>y<subscript>7</subscript></entry>
2425 <entry>y<subscript>6</subscript></entry>
2426 <entry>y<subscript>5</subscript></entry>
2427 <entry>y<subscript>4</subscript></entry>
2428 <entry>y<subscript>3</subscript></entry>
2429 <entry>y<subscript>2</subscript></entry>
2430 <entry>y<subscript>1</subscript></entry>
2431 <entry>y<subscript>0</subscript></entry>
2432 <entry>u<subscript>9</subscript></entry>
2433 <entry>u<subscript>8</subscript></entry>
2434 <entry>u<subscript>7</subscript></entry>
2435 <entry>u<subscript>6</subscript></entry>
2436 <entry>u<subscript>5</subscript></entry>
2437 <entry>u<subscript>4</subscript></entry>
2438 <entry>u<subscript>3</subscript></entry>
2439 <entry>u<subscript>2</subscript></entry>
2440 <entry>u<subscript>1</subscript></entry>
2441 <entry>u<subscript>0</subscript></entry>
2447 <entry>y<subscript>9</subscript></entry>
2448 <entry>y<subscript>8</subscript></entry>
2449 <entry>y<subscript>7</subscript></entry>
2450 <entry>y<subscript>6</subscript></entry>
2451 <entry>y<subscript>5</subscript></entry>
2452 <entry>y<subscript>4</subscript></entry>
2453 <entry>y<subscript>3</subscript></entry>
2454 <entry>y<subscript>2</subscript></entry>
2455 <entry>y<subscript>1</subscript></entry>
2456 <entry>y<subscript>0</subscript></entry>
2457 <entry>v<subscript>9</subscript></entry>
2458 <entry>v<subscript>8</subscript></entry>
2459 <entry>v<subscript>7</subscript></entry>
2460 <entry>v<subscript>6</subscript></entry>
2461 <entry>v<subscript>5</subscript></entry>
2462 <entry>v<subscript>4</subscript></entry>
2463 <entry>v<subscript>3</subscript></entry>
2464 <entry>v<subscript>2</subscript></entry>
2465 <entry>v<subscript>1</subscript></entry>
2466 <entry>v<subscript>0</subscript></entry>
2468 <row id="V4L2-MBUS-FMT-YVYU10-1X20">
2469 <entry>V4L2_MBUS_FMT_YVYU10_1X20</entry>
2470 <entry>0x200e</entry>
2472 <entry>y<subscript>9</subscript></entry>
2473 <entry>y<subscript>8</subscript></entry>
2474 <entry>y<subscript>7</subscript></entry>
2475 <entry>y<subscript>6</subscript></entry>
2476 <entry>y<subscript>5</subscript></entry>
2477 <entry>y<subscript>4</subscript></entry>
2478 <entry>y<subscript>3</subscript></entry>
2479 <entry>y<subscript>2</subscript></entry>
2480 <entry>y<subscript>1</subscript></entry>
2481 <entry>y<subscript>0</subscript></entry>
2482 <entry>v<subscript>9</subscript></entry>
2483 <entry>v<subscript>8</subscript></entry>
2484 <entry>v<subscript>7</subscript></entry>
2485 <entry>v<subscript>6</subscript></entry>
2486 <entry>v<subscript>5</subscript></entry>
2487 <entry>v<subscript>4</subscript></entry>
2488 <entry>v<subscript>3</subscript></entry>
2489 <entry>v<subscript>2</subscript></entry>
2490 <entry>v<subscript>1</subscript></entry>
2491 <entry>v<subscript>0</subscript></entry>
2497 <entry>y<subscript>9</subscript></entry>
2498 <entry>y<subscript>8</subscript></entry>
2499 <entry>y<subscript>7</subscript></entry>
2500 <entry>y<subscript>6</subscript></entry>
2501 <entry>y<subscript>5</subscript></entry>
2502 <entry>y<subscript>4</subscript></entry>
2503 <entry>y<subscript>3</subscript></entry>
2504 <entry>y<subscript>2</subscript></entry>
2505 <entry>y<subscript>1</subscript></entry>
2506 <entry>y<subscript>0</subscript></entry>
2507 <entry>u<subscript>9</subscript></entry>
2508 <entry>u<subscript>8</subscript></entry>
2509 <entry>u<subscript>7</subscript></entry>
2510 <entry>u<subscript>6</subscript></entry>
2511 <entry>u<subscript>5</subscript></entry>
2512 <entry>u<subscript>4</subscript></entry>
2513 <entry>u<subscript>3</subscript></entry>
2514 <entry>u<subscript>2</subscript></entry>
2515 <entry>u<subscript>1</subscript></entry>
2516 <entry>u<subscript>0</subscript></entry>
2524 <title>JPEG Compressed Formats</title>
2526 <para>Those data formats consist of an ordered sequence of 8-bit bytes
2527 obtained from JPEG compression process. Additionally to the
2528 <constant>_JPEG</constant> postfix the format code is made of
2529 the following information.
2531 <listitem><para>The number of bus samples per entropy encoded byte.</para></listitem>
2532 <listitem><para>The bus width.</para></listitem>
2536 <para>For instance, for a JPEG baseline process and an 8-bit bus width
2537 the format will be named <constant>V4L2_MBUS_FMT_JPEG_1X8</constant>.
2540 <para>The following table lists existing JPEG compressed formats.</para>
2542 <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-jpeg">
2543 <title>JPEG Formats</title>
2545 <colspec colname="id" align="left" />
2546 <colspec colname="code" align="left"/>
2547 <colspec colname="remarks" align="left"/>
2550 <entry>Identifier</entry>
2552 <entry>Remarks</entry>
2555 <tbody valign="top">
2556 <row id="V4L2-MBUS-FMT-JPEG-1X8">
2557 <entry>V4L2_MBUS_FMT_JPEG_1X8</entry>
2558 <entry>0x4001</entry>
2559 <entry>Besides of its usage for the parallel bus this format is
2560 recommended for transmission of JPEG data over MIPI CSI bus
2561 using the User Defined 8-bit Data types.