1.. Permission is granted to copy, distribute and/or modify this
2.. document under the terms of the GNU Free Documentation License,
3.. Version 1.1 or any later version published by the Free Software
4.. Foundation, with no Invariant Sections, no Front-Cover Texts
5.. and no Back-Cover Texts. A copy of the license is included at
6.. Documentation/userspace-api/media/fdl-appendix.rst.
7..
8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10.. _v4l2-mbus-format:
11
12Media Bus Formats
13=================
14
15.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
16
17.. c:type:: v4l2_mbus_framefmt
18
19.. flat-table:: struct v4l2_mbus_framefmt
20    :header-rows:  0
21    :stub-columns: 0
22    :widths:       1 1 2
23
24    * - __u32
25      - ``width``
26      - Image width in pixels.
27    * - __u32
28      - ``height``
29      - Image height in pixels. If ``field`` is one of ``V4L2_FIELD_TOP``,
30	``V4L2_FIELD_BOTTOM`` or ``V4L2_FIELD_ALTERNATE`` then height
31	refers to the number of lines in the field, otherwise it refers to
32	the number of lines in the frame (which is twice the field height
33	for interlaced formats).
34    * - __u32
35      - ``code``
36      - Format code, from enum
37	:ref:`v4l2_mbus_pixelcode <v4l2-mbus-pixelcode>`.
38    * - __u32
39      - ``field``
40      - Field order, from enum :c:type:`v4l2_field`. See
41	:ref:`field-order` for details.
42    * - __u32
43      - ``colorspace``
44      - Image colorspace, from enum
45	:c:type:`v4l2_colorspace`. See
46	:ref:`colorspaces` for details.
47    * - __u16
48      - ``ycbcr_enc``
49      - Y'CbCr encoding, from enum :c:type:`v4l2_ycbcr_encoding`.
50        This information supplements the ``colorspace`` and must be set by
51	the driver for capture streams and by the application for output
52	streams, see :ref:`colorspaces`.
53    * - __u16
54      - ``quantization``
55      - Quantization range, from enum :c:type:`v4l2_quantization`.
56        This information supplements the ``colorspace`` and must be set by
57	the driver for capture streams and by the application for output
58	streams, see :ref:`colorspaces`.
59    * - __u16
60      - ``xfer_func``
61      - Transfer function, from enum :c:type:`v4l2_xfer_func`.
62        This information supplements the ``colorspace`` and must be set by
63	the driver for capture streams and by the application for output
64	streams, see :ref:`colorspaces`.
65    * - __u16
66      - ``reserved``\ [11]
67      - Reserved for future extensions. Applications and drivers must set
68	the array to zero.
69
70
71
72.. _v4l2-mbus-pixelcode:
73
74Media Bus Pixel Codes
75---------------------
76
77The media bus pixel codes describe image formats as flowing over
78physical buses (both between separate physical components and inside
79SoC devices). This should not be confused with the V4L2 pixel formats
80that describe, using four character codes, image formats as stored in
81memory.
82
83While there is a relationship between image formats on buses and image
84formats in memory (a raw Bayer image won't be magically converted to
85JPEG just by storing it to memory), there is no one-to-one
86correspondence between them.
87
88The media bus pixel codes document parallel formats. Should the pixel data be
89transported over a serial bus, the media bus pixel code that describes a
90parallel format that transfers a sample on a single clock cycle is used. For
91instance, both MEDIA_BUS_FMT_BGR888_1X24 and MEDIA_BUS_FMT_BGR888_3X8 are used
92on parallel busses for transferring an 8 bits per sample BGR data, whereas on
93serial busses the data in this format is only referred to using
94MEDIA_BUS_FMT_BGR888_1X24. This is because there is effectively only a single
95way to transport that format on the serial busses.
96
97Packed RGB Formats
98^^^^^^^^^^^^^^^^^^
99
100Those formats transfer pixel data as red, green and blue components. The
101format code is made of the following information.
102
103-  The red, green and blue components order code, as encoded in a pixel
104   sample. Possible values are RGB and BGR.
105
106-  The number of bits per component, for each component. The values can
107   be different for all components. Common values are 555 and 565.
108
109-  The number of bus samples per pixel. Pixels that are wider than the
110   bus width must be transferred in multiple samples. Common values are
111   1 and 2.
112
113-  The bus width.
114
115-  For formats where the total number of bits per pixel is smaller than
116   the number of bus samples per pixel times the bus width, a padding
117   value stating if the bytes are padded in their most high order bits
118   (PADHI) or low order bits (PADLO). A "C" prefix is used for
119   component-wise padding in the most high order bits (CPADHI) or low
120   order bits (CPADLO) of each separate component.
121
122-  For formats where the number of bus samples per pixel is larger than
123   1, an endianness value stating if the pixel is transferred MSB first
124   (BE) or LSB first (LE).
125
126For instance, a format where pixels are encoded as 5-bits red, 5-bits
127green and 5-bit blue values padded on the high bit, transferred as 2
1288-bit samples per pixel with the most significant bits (padding, red and
129half of the green value) transferred first will be named
130``MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE``.
131
132The following tables list existing packed RGB formats.
133
134.. HACK: ideally, we would be using adjustbox here. However, Sphinx
135.. is a very bad behaviored guy: if the table has more than 30 cols,
136.. it switches to long table, and there's no way to override it.
137
138
139.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
140
141.. _v4l2-mbus-pixelcode-rgb:
142
143.. raw:: latex
144
145    \begingroup
146    \tiny
147    \setlength{\tabcolsep}{2pt}
148
149.. flat-table:: RGB formats
150    :header-rows:  2
151    :stub-columns: 0
152    :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
153
154    * - Identifier
155      - Code
156      -
157      - :cspan:`31` Data organization
158    * -
159      -
160      - Bit
161      - 31
162      - 30
163      - 29
164      - 28
165      - 27
166      - 26
167      - 25
168      - 24
169      - 23
170      - 22
171      - 21
172      - 20
173      - 19
174      - 18
175      - 17
176      - 16
177      - 15
178      - 14
179      - 13
180      - 12
181      - 11
182      - 10
183      - 9
184      - 8
185      - 7
186      - 6
187      - 5
188      - 4
189      - 3
190      - 2
191      - 1
192      - 0
193    * .. _MEDIA-BUS-FMT-RGB444-1X12:
194
195      - MEDIA_BUS_FMT_RGB444_1X12
196      - 0x1016
197      -
198      -
199      -
200      -
201      -
202      -
203      -
204      -
205      -
206      -
207      -
208      -
209      -
210      -
211      -
212      -
213      -
214      -
215      -
216      -
217      -
218      - r\ :sub:`3`
219      - r\ :sub:`2`
220      - r\ :sub:`1`
221      - r\ :sub:`0`
222      - g\ :sub:`3`
223      - g\ :sub:`2`
224      - g\ :sub:`1`
225      - g\ :sub:`0`
226      - b\ :sub:`3`
227      - b\ :sub:`2`
228      - b\ :sub:`1`
229      - b\ :sub:`0`
230    * .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-BE:
231
232      - MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE
233      - 0x1001
234      -
235      -
236      -
237      -
238      -
239      -
240      -
241      -
242      -
243      -
244      -
245      -
246      -
247      -
248      -
249      -
250      -
251      -
252      -
253      -
254      -
255      -
256      -
257      -
258      -
259      - 0
260      - 0
261      - 0
262      - 0
263      - r\ :sub:`3`
264      - r\ :sub:`2`
265      - r\ :sub:`1`
266      - r\ :sub:`0`
267    * -
268      -
269      -
270      -
271      -
272      -
273      -
274      -
275      -
276      -
277      -
278      -
279      -
280      -
281      -
282      -
283      -
284      -
285      -
286      -
287      -
288      -
289      -
290      -
291      -
292      -
293      -
294      - g\ :sub:`3`
295      - g\ :sub:`2`
296      - g\ :sub:`1`
297      - g\ :sub:`0`
298      - b\ :sub:`3`
299      - b\ :sub:`2`
300      - b\ :sub:`1`
301      - b\ :sub:`0`
302    * .. _MEDIA-BUS-FMT-RGB444-2X8-PADHI-LE:
303
304      - MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE
305      - 0x1002
306      -
307      -
308      -
309      -
310      -
311      -
312      -
313      -
314      -
315      -
316      -
317      -
318      -
319      -
320      -
321      -
322      -
323      -
324      -
325      -
326      -
327      -
328      -
329      -
330      -
331      - g\ :sub:`3`
332      - g\ :sub:`2`
333      - g\ :sub:`1`
334      - g\ :sub:`0`
335      - b\ :sub:`3`
336      - b\ :sub:`2`
337      - b\ :sub:`1`
338      - b\ :sub:`0`
339    * -
340      -
341      -
342      -
343      -
344      -
345      -
346      -
347      -
348      -
349      -
350      -
351      -
352      -
353      -
354      -
355      -
356      -
357      -
358      -
359      -
360      -
361      -
362      -
363      -
364      -
365      -
366      - 0
367      - 0
368      - 0
369      - 0
370      - r\ :sub:`3`
371      - r\ :sub:`2`
372      - r\ :sub:`1`
373      - r\ :sub:`0`
374    * .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-BE:
375
376      - MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE
377      - 0x1003
378      -
379      -
380      -
381      -
382      -
383      -
384      -
385      -
386      -
387      -
388      -
389      -
390      -
391      -
392      -
393      -
394      -
395      -
396      -
397      -
398      -
399      -
400      -
401      -
402      -
403      - 0
404      - r\ :sub:`4`
405      - r\ :sub:`3`
406      - r\ :sub:`2`
407      - r\ :sub:`1`
408      - r\ :sub:`0`
409      - g\ :sub:`4`
410      - g\ :sub:`3`
411    * -
412      -
413      -
414      -
415      -
416      -
417      -
418      -
419      -
420      -
421      -
422      -
423      -
424      -
425      -
426      -
427      -
428      -
429      -
430      -
431      -
432      -
433      -
434      -
435      -
436      -
437      -
438      - g\ :sub:`2`
439      - g\ :sub:`1`
440      - g\ :sub:`0`
441      - b\ :sub:`4`
442      - b\ :sub:`3`
443      - b\ :sub:`2`
444      - b\ :sub:`1`
445      - b\ :sub:`0`
446    * .. _MEDIA-BUS-FMT-RGB555-2X8-PADHI-LE:
447
448      - MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE
449      - 0x1004
450      -
451      -
452      -
453      -
454      -
455      -
456      -
457      -
458      -
459      -
460      -
461      -
462      -
463      -
464      -
465      -
466      -
467      -
468      -
469      -
470      -
471      -
472      -
473      -
474      -
475      - g\ :sub:`2`
476      - g\ :sub:`1`
477      - g\ :sub:`0`
478      - b\ :sub:`4`
479      - b\ :sub:`3`
480      - b\ :sub:`2`
481      - b\ :sub:`1`
482      - b\ :sub:`0`
483    * -
484      -
485      -
486      -
487      -
488      -
489      -
490      -
491      -
492      -
493      -
494      -
495      -
496      -
497      -
498      -
499      -
500      -
501      -
502      -
503      -
504      -
505      -
506      -
507      -
508      -
509      -
510      - 0
511      - r\ :sub:`4`
512      - r\ :sub:`3`
513      - r\ :sub:`2`
514      - r\ :sub:`1`
515      - r\ :sub:`0`
516      - g\ :sub:`4`
517      - g\ :sub:`3`
518    * .. _MEDIA-BUS-FMT-RGB565-1X16:
519
520      - MEDIA_BUS_FMT_RGB565_1X16
521      - 0x1017
522      -
523      -
524      -
525      -
526      -
527      -
528      -
529      -
530      -
531      -
532      -
533      -
534      -
535      -
536      -
537      -
538      -
539      - r\ :sub:`4`
540      - r\ :sub:`3`
541      - r\ :sub:`2`
542      - r\ :sub:`1`
543      - r\ :sub:`0`
544      - g\ :sub:`5`
545      - g\ :sub:`4`
546      - g\ :sub:`3`
547      - g\ :sub:`2`
548      - g\ :sub:`1`
549      - g\ :sub:`0`
550      - b\ :sub:`4`
551      - b\ :sub:`3`
552      - b\ :sub:`2`
553      - b\ :sub:`1`
554      - b\ :sub:`0`
555    * .. _MEDIA-BUS-FMT-BGR565-2X8-BE:
556
557      - MEDIA_BUS_FMT_BGR565_2X8_BE
558      - 0x1005
559      -
560      -
561      -
562      -
563      -
564      -
565      -
566      -
567      -
568      -
569      -
570      -
571      -
572      -
573      -
574      -
575      -
576      -
577      -
578      -
579      -
580      -
581      -
582      -
583      -
584      - b\ :sub:`4`
585      - b\ :sub:`3`
586      - b\ :sub:`2`
587      - b\ :sub:`1`
588      - b\ :sub:`0`
589      - g\ :sub:`5`
590      - g\ :sub:`4`
591      - g\ :sub:`3`
592    * -
593      -
594      -
595      -
596      -
597      -
598      -
599      -
600      -
601      -
602      -
603      -
604      -
605      -
606      -
607      -
608      -
609      -
610      -
611      -
612      -
613      -
614      -
615      -
616      -
617      -
618      -
619      - g\ :sub:`2`
620      - g\ :sub:`1`
621      - g\ :sub:`0`
622      - r\ :sub:`4`
623      - r\ :sub:`3`
624      - r\ :sub:`2`
625      - r\ :sub:`1`
626      - r\ :sub:`0`
627    * .. _MEDIA-BUS-FMT-BGR565-2X8-LE:
628
629      - MEDIA_BUS_FMT_BGR565_2X8_LE
630      - 0x1006
631      -
632      -
633      -
634      -
635      -
636      -
637      -
638      -
639      -
640      -
641      -
642      -
643      -
644      -
645      -
646      -
647      -
648      -
649      -
650      -
651      -
652      -
653      -
654      -
655      -
656      - g\ :sub:`2`
657      - g\ :sub:`1`
658      - g\ :sub:`0`
659      - r\ :sub:`4`
660      - r\ :sub:`3`
661      - r\ :sub:`2`
662      - r\ :sub:`1`
663      - r\ :sub:`0`
664    * -
665      -
666      -
667      -
668      -
669      -
670      -
671      -
672      -
673      -
674      -
675      -
676      -
677      -
678      -
679      -
680      -
681      -
682      -
683      -
684      -
685      -
686      -
687      -
688      -
689      -
690      -
691      - b\ :sub:`4`
692      - b\ :sub:`3`
693      - b\ :sub:`2`
694      - b\ :sub:`1`
695      - b\ :sub:`0`
696      - g\ :sub:`5`
697      - g\ :sub:`4`
698      - g\ :sub:`3`
699    * .. _MEDIA-BUS-FMT-RGB565-2X8-BE:
700
701      - MEDIA_BUS_FMT_RGB565_2X8_BE
702      - 0x1007
703      -
704      -
705      -
706      -
707      -
708      -
709      -
710      -
711      -
712      -
713      -
714      -
715      -
716      -
717      -
718      -
719      -
720      -
721      -
722      -
723      -
724      -
725      -
726      -
727      -
728      - r\ :sub:`4`
729      - r\ :sub:`3`
730      - r\ :sub:`2`
731      - r\ :sub:`1`
732      - r\ :sub:`0`
733      - g\ :sub:`5`
734      - g\ :sub:`4`
735      - g\ :sub:`3`
736    * -
737      -
738      -
739      -
740      -
741      -
742      -
743      -
744      -
745      -
746      -
747      -
748      -
749      -
750      -
751      -
752      -
753      -
754      -
755      -
756      -
757      -
758      -
759      -
760      -
761      -
762      -
763      - g\ :sub:`2`
764      - g\ :sub:`1`
765      - g\ :sub:`0`
766      - b\ :sub:`4`
767      - b\ :sub:`3`
768      - b\ :sub:`2`
769      - b\ :sub:`1`
770      - b\ :sub:`0`
771    * .. _MEDIA-BUS-FMT-RGB565-2X8-LE:
772
773      - MEDIA_BUS_FMT_RGB565_2X8_LE
774      - 0x1008
775      -
776      -
777      -
778      -
779      -
780      -
781      -
782      -
783      -
784      -
785      -
786      -
787      -
788      -
789      -
790      -
791      -
792      -
793      -
794      -
795      -
796      -
797      -
798      -
799      -
800      - g\ :sub:`2`
801      - g\ :sub:`1`
802      - g\ :sub:`0`
803      - b\ :sub:`4`
804      - b\ :sub:`3`
805      - b\ :sub:`2`
806      - b\ :sub:`1`
807      - b\ :sub:`0`
808    * -
809      -
810      -
811      -
812      -
813      -
814      -
815      -
816      -
817      -
818      -
819      -
820      -
821      -
822      -
823      -
824      -
825      -
826      -
827      -
828      -
829      -
830      -
831      -
832      -
833      -
834      -
835      - r\ :sub:`4`
836      - r\ :sub:`3`
837      - r\ :sub:`2`
838      - r\ :sub:`1`
839      - r\ :sub:`0`
840      - g\ :sub:`5`
841      - g\ :sub:`4`
842      - g\ :sub:`3`
843    * .. _MEDIA-BUS-FMT-RGB666-1X18:
844
845      - MEDIA_BUS_FMT_RGB666_1X18
846      - 0x1009
847      -
848      -
849      -
850      -
851      -
852      -
853      -
854      -
855      -
856      -
857      -
858      -
859      -
860      -
861      -
862      - r\ :sub:`5`
863      - r\ :sub:`4`
864      - r\ :sub:`3`
865      - r\ :sub:`2`
866      - r\ :sub:`1`
867      - r\ :sub:`0`
868      - g\ :sub:`5`
869      - g\ :sub:`4`
870      - g\ :sub:`3`
871      - g\ :sub:`2`
872      - g\ :sub:`1`
873      - g\ :sub:`0`
874      - b\ :sub:`5`
875      - b\ :sub:`4`
876      - b\ :sub:`3`
877      - b\ :sub:`2`
878      - b\ :sub:`1`
879      - b\ :sub:`0`
880    * .. _MEDIA-BUS-FMT-RBG888-1X24:
881
882      - MEDIA_BUS_FMT_RBG888_1X24
883      - 0x100e
884      -
885      -
886      -
887      -
888      -
889      -
890      -
891      -
892      -
893      - r\ :sub:`7`
894      - r\ :sub:`6`
895      - r\ :sub:`5`
896      - r\ :sub:`4`
897      - r\ :sub:`3`
898      - r\ :sub:`2`
899      - r\ :sub:`1`
900      - r\ :sub:`0`
901      - b\ :sub:`7`
902      - b\ :sub:`6`
903      - b\ :sub:`5`
904      - b\ :sub:`4`
905      - b\ :sub:`3`
906      - b\ :sub:`2`
907      - b\ :sub:`1`
908      - b\ :sub:`0`
909      - g\ :sub:`7`
910      - g\ :sub:`6`
911      - g\ :sub:`5`
912      - g\ :sub:`4`
913      - g\ :sub:`3`
914      - g\ :sub:`2`
915      - g\ :sub:`1`
916      - g\ :sub:`0`
917    * .. _MEDIA-BUS-FMT-RGB666-1X24_CPADHI:
918
919      - MEDIA_BUS_FMT_RGB666_1X24_CPADHI
920      - 0x1015
921      -
922      -
923      -
924      -
925      -
926      -
927      -
928      -
929      -
930      - 0
931      - 0
932      - r\ :sub:`5`
933      - r\ :sub:`4`
934      - r\ :sub:`3`
935      - r\ :sub:`2`
936      - r\ :sub:`1`
937      - r\ :sub:`0`
938      - 0
939      - 0
940      - g\ :sub:`5`
941      - g\ :sub:`4`
942      - g\ :sub:`3`
943      - g\ :sub:`2`
944      - g\ :sub:`1`
945      - g\ :sub:`0`
946      - 0
947      - 0
948      - b\ :sub:`5`
949      - b\ :sub:`4`
950      - b\ :sub:`3`
951      - b\ :sub:`2`
952      - b\ :sub:`1`
953      - b\ :sub:`0`
954    * .. _MEDIA-BUS-FMT-BGR888-1X24:
955
956      - MEDIA_BUS_FMT_BGR888_1X24
957      - 0x1013
958      -
959      -
960      -
961      -
962      -
963      -
964      -
965      -
966      -
967      - b\ :sub:`7`
968      - b\ :sub:`6`
969      - b\ :sub:`5`
970      - b\ :sub:`4`
971      - b\ :sub:`3`
972      - b\ :sub:`2`
973      - b\ :sub:`1`
974      - b\ :sub:`0`
975      - g\ :sub:`7`
976      - g\ :sub:`6`
977      - g\ :sub:`5`
978      - g\ :sub:`4`
979      - g\ :sub:`3`
980      - g\ :sub:`2`
981      - g\ :sub:`1`
982      - g\ :sub:`0`
983      - r\ :sub:`7`
984      - r\ :sub:`6`
985      - r\ :sub:`5`
986      - r\ :sub:`4`
987      - r\ :sub:`3`
988      - r\ :sub:`2`
989      - r\ :sub:`1`
990      - r\ :sub:`0`
991    * .. _MEDIA-BUS-FMT-BGR888-3X8:
992
993      - MEDIA_BUS_FMT_BGR888_3X8
994      - 0x101b
995      -
996      -
997      -
998      -
999      -
1000      -
1001      -
1002      -
1003      -
1004      -
1005      -
1006      -
1007      -
1008      -
1009      -
1010      -
1011      -
1012      -
1013      -
1014      -
1015      -
1016      -
1017      -
1018      -
1019      -
1020      - b\ :sub:`7`
1021      - b\ :sub:`6`
1022      - b\ :sub:`5`
1023      - b\ :sub:`4`
1024      - b\ :sub:`3`
1025      - b\ :sub:`2`
1026      - b\ :sub:`1`
1027      - b\ :sub:`0`
1028    * -
1029      -
1030      -
1031      -
1032      -
1033      -
1034      -
1035      -
1036      -
1037      -
1038      -
1039      -
1040      -
1041      -
1042      -
1043      -
1044      -
1045      -
1046      -
1047      -
1048      -
1049      -
1050      -
1051      -
1052      -
1053      -
1054      -
1055      - g\ :sub:`7`
1056      - g\ :sub:`6`
1057      - g\ :sub:`5`
1058      - g\ :sub:`4`
1059      - g\ :sub:`3`
1060      - g\ :sub:`2`
1061      - g\ :sub:`1`
1062      - g\ :sub:`0`
1063    * -
1064      -
1065      -
1066      -
1067      -
1068      -
1069      -
1070      -
1071      -
1072      -
1073      -
1074      -
1075      -
1076      -
1077      -
1078      -
1079      -
1080      -
1081      -
1082      -
1083      -
1084      -
1085      -
1086      -
1087      -
1088      -
1089      -
1090      - r\ :sub:`7`
1091      - r\ :sub:`6`
1092      - r\ :sub:`5`
1093      - r\ :sub:`4`
1094      - r\ :sub:`3`
1095      - r\ :sub:`2`
1096      - r\ :sub:`1`
1097      - r\ :sub:`0`
1098    * .. _MEDIA-BUS-FMT-GBR888-1X24:
1099
1100      - MEDIA_BUS_FMT_GBR888_1X24
1101      - 0x1014
1102      -
1103      -
1104      -
1105      -
1106      -
1107      -
1108      -
1109      -
1110      -
1111      - g\ :sub:`7`
1112      - g\ :sub:`6`
1113      - g\ :sub:`5`
1114      - g\ :sub:`4`
1115      - g\ :sub:`3`
1116      - g\ :sub:`2`
1117      - g\ :sub:`1`
1118      - g\ :sub:`0`
1119      - b\ :sub:`7`
1120      - b\ :sub:`6`
1121      - b\ :sub:`5`
1122      - b\ :sub:`4`
1123      - b\ :sub:`3`
1124      - b\ :sub:`2`
1125      - b\ :sub:`1`
1126      - b\ :sub:`0`
1127      - r\ :sub:`7`
1128      - r\ :sub:`6`
1129      - r\ :sub:`5`
1130      - r\ :sub:`4`
1131      - r\ :sub:`3`
1132      - r\ :sub:`2`
1133      - r\ :sub:`1`
1134      - r\ :sub:`0`
1135    * .. _MEDIA-BUS-FMT-RGB888-1X24:
1136
1137      - MEDIA_BUS_FMT_RGB888_1X24
1138      - 0x100a
1139      -
1140      -
1141      -
1142      -
1143      -
1144      -
1145      -
1146      -
1147      -
1148      - r\ :sub:`7`
1149      - r\ :sub:`6`
1150      - r\ :sub:`5`
1151      - r\ :sub:`4`
1152      - r\ :sub:`3`
1153      - r\ :sub:`2`
1154      - r\ :sub:`1`
1155      - r\ :sub:`0`
1156      - g\ :sub:`7`
1157      - g\ :sub:`6`
1158      - g\ :sub:`5`
1159      - g\ :sub:`4`
1160      - g\ :sub:`3`
1161      - g\ :sub:`2`
1162      - g\ :sub:`1`
1163      - g\ :sub:`0`
1164      - b\ :sub:`7`
1165      - b\ :sub:`6`
1166      - b\ :sub:`5`
1167      - b\ :sub:`4`
1168      - b\ :sub:`3`
1169      - b\ :sub:`2`
1170      - b\ :sub:`1`
1171      - b\ :sub:`0`
1172    * .. _MEDIA-BUS-FMT-RGB888-2X12-BE:
1173
1174      - MEDIA_BUS_FMT_RGB888_2X12_BE
1175      - 0x100b
1176      -
1177      -
1178      -
1179      -
1180      -
1181      -
1182      -
1183      -
1184      -
1185      -
1186      -
1187      -
1188      -
1189      -
1190      -
1191      -
1192      -
1193      -
1194      -
1195      -
1196      -
1197      - r\ :sub:`7`
1198      - r\ :sub:`6`
1199      - r\ :sub:`5`
1200      - r\ :sub:`4`
1201      - r\ :sub:`3`
1202      - r\ :sub:`2`
1203      - r\ :sub:`1`
1204      - r\ :sub:`0`
1205      - g\ :sub:`7`
1206      - g\ :sub:`6`
1207      - g\ :sub:`5`
1208      - g\ :sub:`4`
1209    * -
1210      -
1211      -
1212      -
1213      -
1214      -
1215      -
1216      -
1217      -
1218      -
1219      -
1220      -
1221      -
1222      -
1223      -
1224      -
1225      -
1226      -
1227      -
1228      -
1229      -
1230      -
1231      -
1232      - g\ :sub:`3`
1233      - g\ :sub:`2`
1234      - g\ :sub:`1`
1235      - g\ :sub:`0`
1236      - b\ :sub:`7`
1237      - b\ :sub:`6`
1238      - b\ :sub:`5`
1239      - b\ :sub:`4`
1240      - b\ :sub:`3`
1241      - b\ :sub:`2`
1242      - b\ :sub:`1`
1243      - b\ :sub:`0`
1244    * .. _MEDIA-BUS-FMT-RGB888-2X12-LE:
1245
1246      - MEDIA_BUS_FMT_RGB888_2X12_LE
1247      - 0x100c
1248      -
1249      -
1250      -
1251      -
1252      -
1253      -
1254      -
1255      -
1256      -
1257      -
1258      -
1259      -
1260      -
1261      -
1262      -
1263      -
1264      -
1265      -
1266      -
1267      -
1268      -
1269      - g\ :sub:`3`
1270      - g\ :sub:`2`
1271      - g\ :sub:`1`
1272      - g\ :sub:`0`
1273      - b\ :sub:`7`
1274      - b\ :sub:`6`
1275      - b\ :sub:`5`
1276      - b\ :sub:`4`
1277      - b\ :sub:`3`
1278      - b\ :sub:`2`
1279      - b\ :sub:`1`
1280      - b\ :sub:`0`
1281    * -
1282      -
1283      -
1284      -
1285      -
1286      -
1287      -
1288      -
1289      -
1290      -
1291      -
1292      -
1293      -
1294      -
1295      -
1296      -
1297      -
1298      -
1299      -
1300      -
1301      -
1302      -
1303      -
1304      - r\ :sub:`7`
1305      - r\ :sub:`6`
1306      - r\ :sub:`5`
1307      - r\ :sub:`4`
1308      - r\ :sub:`3`
1309      - r\ :sub:`2`
1310      - r\ :sub:`1`
1311      - r\ :sub:`0`
1312      - g\ :sub:`7`
1313      - g\ :sub:`6`
1314      - g\ :sub:`5`
1315      - g\ :sub:`4`
1316    * .. _MEDIA-BUS-FMT-RGB888-3X8:
1317
1318      - MEDIA_BUS_FMT_RGB888_3X8
1319      - 0x101c
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      - r\ :sub:`7`
1346      - r\ :sub:`6`
1347      - r\ :sub:`5`
1348      - r\ :sub:`4`
1349      - r\ :sub:`3`
1350      - r\ :sub:`2`
1351      - r\ :sub:`1`
1352      - r\ :sub:`0`
1353    * -
1354      -
1355      -
1356      -
1357      -
1358      -
1359      -
1360      -
1361      -
1362      -
1363      -
1364      -
1365      -
1366      -
1367      -
1368      -
1369      -
1370      -
1371      -
1372      -
1373      -
1374      -
1375      -
1376      -
1377      -
1378      -
1379      -
1380      - g\ :sub:`7`
1381      - g\ :sub:`6`
1382      - g\ :sub:`5`
1383      - g\ :sub:`4`
1384      - g\ :sub:`3`
1385      - g\ :sub:`2`
1386      - g\ :sub:`1`
1387      - g\ :sub:`0`
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      - b\ :sub:`7`
1416      - b\ :sub:`6`
1417      - b\ :sub:`5`
1418      - b\ :sub:`4`
1419      - b\ :sub:`3`
1420      - b\ :sub:`2`
1421      - b\ :sub:`1`
1422      - b\ :sub:`0`
1423    * .. _MEDIA-BUS-FMT-ARGB888-1X32:
1424
1425      - MEDIA_BUS_FMT_ARGB888_1X32
1426      - 0x100d
1427      -
1428      - a\ :sub:`7`
1429      - a\ :sub:`6`
1430      - a\ :sub:`5`
1431      - a\ :sub:`4`
1432      - a\ :sub:`3`
1433      - a\ :sub:`2`
1434      - a\ :sub:`1`
1435      - a\ :sub:`0`
1436      - r\ :sub:`7`
1437      - r\ :sub:`6`
1438      - r\ :sub:`5`
1439      - r\ :sub:`4`
1440      - r\ :sub:`3`
1441      - r\ :sub:`2`
1442      - r\ :sub:`1`
1443      - r\ :sub:`0`
1444      - g\ :sub:`7`
1445      - g\ :sub:`6`
1446      - g\ :sub:`5`
1447      - g\ :sub:`4`
1448      - g\ :sub:`3`
1449      - g\ :sub:`2`
1450      - g\ :sub:`1`
1451      - g\ :sub:`0`
1452      - b\ :sub:`7`
1453      - b\ :sub:`6`
1454      - b\ :sub:`5`
1455      - b\ :sub:`4`
1456      - b\ :sub:`3`
1457      - b\ :sub:`2`
1458      - b\ :sub:`1`
1459      - b\ :sub:`0`
1460    * .. _MEDIA-BUS-FMT-RGB888-1X32-PADHI:
1461
1462      - MEDIA_BUS_FMT_RGB888_1X32_PADHI
1463      - 0x100f
1464      -
1465      - 0
1466      - 0
1467      - 0
1468      - 0
1469      - 0
1470      - 0
1471      - 0
1472      - 0
1473      - r\ :sub:`7`
1474      - r\ :sub:`6`
1475      - r\ :sub:`5`
1476      - r\ :sub:`4`
1477      - r\ :sub:`3`
1478      - r\ :sub:`2`
1479      - r\ :sub:`1`
1480      - r\ :sub:`0`
1481      - g\ :sub:`7`
1482      - g\ :sub:`6`
1483      - g\ :sub:`5`
1484      - g\ :sub:`4`
1485      - g\ :sub:`3`
1486      - g\ :sub:`2`
1487      - g\ :sub:`1`
1488      - g\ :sub:`0`
1489      - b\ :sub:`7`
1490      - b\ :sub:`6`
1491      - b\ :sub:`5`
1492      - b\ :sub:`4`
1493      - b\ :sub:`3`
1494      - b\ :sub:`2`
1495      - b\ :sub:`1`
1496      - b\ :sub:`0`
1497    * .. _MEDIA-BUS-FMT-RGB101010-1X30:
1498
1499      - MEDIA_BUS_FMT_RGB101010_1X30
1500      - 0x1018
1501      -
1502      - 0
1503      - 0
1504      - r\ :sub:`9`
1505      - r\ :sub:`8`
1506      - r\ :sub:`7`
1507      - r\ :sub:`6`
1508      - r\ :sub:`5`
1509      - r\ :sub:`4`
1510      - r\ :sub:`3`
1511      - r\ :sub:`2`
1512      - r\ :sub:`1`
1513      - r\ :sub:`0`
1514      - g\ :sub:`9`
1515      - g\ :sub:`8`
1516      - g\ :sub:`7`
1517      - g\ :sub:`6`
1518      - g\ :sub:`5`
1519      - g\ :sub:`4`
1520      - g\ :sub:`3`
1521      - g\ :sub:`2`
1522      - g\ :sub:`1`
1523      - g\ :sub:`0`
1524      - b\ :sub:`9`
1525      - b\ :sub:`8`
1526      - b\ :sub:`7`
1527      - b\ :sub:`6`
1528      - b\ :sub:`5`
1529      - b\ :sub:`4`
1530      - b\ :sub:`3`
1531      - b\ :sub:`2`
1532      - b\ :sub:`1`
1533      - b\ :sub:`0`
1534
1535.. raw:: latex
1536
1537    \endgroup
1538
1539
1540The following table list existing packed 36bit wide RGB formats.
1541
1542.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
1543
1544.. _v4l2-mbus-pixelcode-rgb-36:
1545
1546.. raw:: latex
1547
1548    \begingroup
1549    \tiny
1550    \setlength{\tabcolsep}{2pt}
1551
1552.. flat-table:: 36bit RGB formats
1553    :header-rows:  2
1554    :stub-columns: 0
1555    :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 2 2 2 2
1556
1557    * - Identifier
1558      - Code
1559      -
1560      - :cspan:`35` Data organization
1561    * -
1562      -
1563      - Bit
1564      - 35
1565      - 34
1566      - 33
1567      - 32
1568      - 31
1569      - 30
1570      - 29
1571      - 28
1572      - 27
1573      - 26
1574      - 25
1575      - 24
1576      - 23
1577      - 22
1578      - 21
1579      - 20
1580      - 19
1581      - 18
1582      - 17
1583      - 16
1584      - 15
1585      - 14
1586      - 13
1587      - 12
1588      - 11
1589      - 10
1590      - 9
1591      - 8
1592      - 7
1593      - 6
1594      - 5
1595      - 4
1596      - 3
1597      - 2
1598      - 1
1599      - 0
1600    * .. _MEDIA-BUS-FMT-RGB121212-1X36:
1601
1602      - MEDIA_BUS_FMT_RGB121212_1X36
1603      - 0x1019
1604      -
1605      - r\ :sub:`11`
1606      - r\ :sub:`10`
1607      - r\ :sub:`9`
1608      - r\ :sub:`8`
1609      - r\ :sub:`7`
1610      - r\ :sub:`6`
1611      - r\ :sub:`5`
1612      - r\ :sub:`4`
1613      - r\ :sub:`3`
1614      - r\ :sub:`2`
1615      - r\ :sub:`1`
1616      - r\ :sub:`0`
1617      - g\ :sub:`11`
1618      - g\ :sub:`10`
1619      - g\ :sub:`9`
1620      - g\ :sub:`8`
1621      - g\ :sub:`7`
1622      - g\ :sub:`6`
1623      - g\ :sub:`5`
1624      - g\ :sub:`4`
1625      - g\ :sub:`3`
1626      - g\ :sub:`2`
1627      - g\ :sub:`1`
1628      - g\ :sub:`0`
1629      - b\ :sub:`11`
1630      - b\ :sub:`10`
1631      - b\ :sub:`9`
1632      - b\ :sub:`8`
1633      - b\ :sub:`7`
1634      - b\ :sub:`6`
1635      - b\ :sub:`5`
1636      - b\ :sub:`4`
1637      - b\ :sub:`3`
1638      - b\ :sub:`2`
1639      - b\ :sub:`1`
1640      - b\ :sub:`0`
1641
1642.. raw:: latex
1643
1644    \endgroup
1645
1646
1647The following table list existing packed 48bit wide RGB formats.
1648
1649.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
1650
1651.. _v4l2-mbus-pixelcode-rgb-48:
1652
1653.. raw:: latex
1654
1655    \begingroup
1656    \tiny
1657    \setlength{\tabcolsep}{2pt}
1658
1659.. flat-table:: 48bit RGB formats
1660    :header-rows:  3
1661    :stub-columns: 0
1662    :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
1663
1664    * - Identifier
1665      - Code
1666      -
1667      - :cspan:`31` Data organization
1668    * -
1669      -
1670      - Bit
1671      -
1672      -
1673      -
1674      -
1675      -
1676      -
1677      -
1678      -
1679      -
1680      -
1681      -
1682      -
1683      -
1684      -
1685      -
1686      -
1687      - 47
1688      - 46
1689      - 45
1690      - 44
1691      - 43
1692      - 42
1693      - 41
1694      - 40
1695      - 39
1696      - 38
1697      - 37
1698      - 36
1699      - 35
1700      - 34
1701      - 33
1702      - 32
1703    * -
1704      -
1705      -
1706      - 31
1707      - 30
1708      - 29
1709      - 28
1710      - 27
1711      - 26
1712      - 25
1713      - 24
1714      - 23
1715      - 22
1716      - 21
1717      - 20
1718      - 19
1719      - 18
1720      - 17
1721      - 16
1722      - 15
1723      - 14
1724      - 13
1725      - 12
1726      - 11
1727      - 10
1728      - 9
1729      - 8
1730      - 7
1731      - 6
1732      - 5
1733      - 4
1734      - 3
1735      - 2
1736      - 1
1737      - 0
1738    * .. _MEDIA-BUS-FMT-RGB161616-1X48:
1739
1740      - MEDIA_BUS_FMT_RGB161616_1X48
1741      - 0x101a
1742      -
1743      -
1744      -
1745      -
1746      -
1747      -
1748      -
1749      -
1750      -
1751      -
1752      -
1753      -
1754      -
1755      -
1756      -
1757      -
1758      -
1759      - r\ :sub:`15`
1760      - r\ :sub:`14`
1761      - r\ :sub:`13`
1762      - r\ :sub:`12`
1763      - r\ :sub:`11`
1764      - r\ :sub:`10`
1765      - r\ :sub:`9`
1766      - r\ :sub:`8`
1767      - r\ :sub:`7`
1768      - r\ :sub:`6`
1769      - r\ :sub:`5`
1770      - r\ :sub:`4`
1771      - r\ :sub:`3`
1772      - r\ :sub:`2`
1773      - r\ :sub:`1`
1774      - r\ :sub:`0`
1775    * -
1776      -
1777      -
1778      - g\ :sub:`15`
1779      - g\ :sub:`14`
1780      - g\ :sub:`13`
1781      - g\ :sub:`12`
1782      - g\ :sub:`11`
1783      - g\ :sub:`10`
1784      - g\ :sub:`9`
1785      - g\ :sub:`8`
1786      - g\ :sub:`7`
1787      - g\ :sub:`6`
1788      - g\ :sub:`5`
1789      - g\ :sub:`4`
1790      - g\ :sub:`3`
1791      - g\ :sub:`2`
1792      - g\ :sub:`1`
1793      - g\ :sub:`0`
1794      - b\ :sub:`15`
1795      - b\ :sub:`14`
1796      - b\ :sub:`13`
1797      - b\ :sub:`12`
1798      - b\ :sub:`11`
1799      - b\ :sub:`10`
1800      - b\ :sub:`9`
1801      - b\ :sub:`8`
1802      - b\ :sub:`7`
1803      - b\ :sub:`6`
1804      - b\ :sub:`5`
1805      - b\ :sub:`4`
1806      - b\ :sub:`3`
1807      - b\ :sub:`2`
1808      - b\ :sub:`1`
1809      - b\ :sub:`0`
1810
1811.. raw:: latex
1812
1813    \endgroup
1814
1815On LVDS buses, usually each sample is transferred serialized in seven
1816time slots per pixel clock, on three (18-bit) or four (24-bit)
1817differential data pairs at the same time. The remaining bits are used
1818for control signals as defined by SPWG/PSWG/VESA or JEIDA standards. The
181924-bit RGB format serialized in seven time slots on four lanes using
1820JEIDA defined bit mapping will be named
1821``MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA``, for example.
1822
1823.. raw:: latex
1824
1825    \tiny
1826
1827.. _v4l2-mbus-pixelcode-rgb-lvds:
1828
1829.. flat-table:: LVDS RGB formats
1830    :header-rows:  2
1831    :stub-columns: 0
1832
1833    * - Identifier
1834      - Code
1835      -
1836      -
1837      - :cspan:`3` Data organization
1838    * -
1839      -
1840      - Timeslot
1841      - Lane
1842      - 3
1843      - 2
1844      - 1
1845      - 0
1846    * .. _MEDIA-BUS-FMT-RGB666-1X7X3-SPWG:
1847
1848      - MEDIA_BUS_FMT_RGB666_1X7X3_SPWG
1849      - 0x1010
1850      - 0
1851      -
1852      -
1853      - d
1854      - b\ :sub:`1`
1855      - g\ :sub:`0`
1856    * -
1857      -
1858      - 1
1859      -
1860      -
1861      - d
1862      - b\ :sub:`0`
1863      - r\ :sub:`5`
1864    * -
1865      -
1866      - 2
1867      -
1868      -
1869      - d
1870      - g\ :sub:`5`
1871      - r\ :sub:`4`
1872    * -
1873      -
1874      - 3
1875      -
1876      -
1877      - b\ :sub:`5`
1878      - g\ :sub:`4`
1879      - r\ :sub:`3`
1880    * -
1881      -
1882      - 4
1883      -
1884      -
1885      - b\ :sub:`4`
1886      - g\ :sub:`3`
1887      - r\ :sub:`2`
1888    * -
1889      -
1890      - 5
1891      -
1892      -
1893      - b\ :sub:`3`
1894      - g\ :sub:`2`
1895      - r\ :sub:`1`
1896    * -
1897      -
1898      - 6
1899      -
1900      -
1901      - b\ :sub:`2`
1902      - g\ :sub:`1`
1903      - r\ :sub:`0`
1904    * .. _MEDIA-BUS-FMT-RGB888-1X7X4-SPWG:
1905
1906      - MEDIA_BUS_FMT_RGB888_1X7X4_SPWG
1907      - 0x1011
1908      - 0
1909      -
1910      - d
1911      - d
1912      - b\ :sub:`1`
1913      - g\ :sub:`0`
1914    * -
1915      -
1916      - 1
1917      -
1918      - b\ :sub:`7`
1919      - d
1920      - b\ :sub:`0`
1921      - r\ :sub:`5`
1922    * -
1923      -
1924      - 2
1925      -
1926      - b\ :sub:`6`
1927      - d
1928      - g\ :sub:`5`
1929      - r\ :sub:`4`
1930    * -
1931      -
1932      - 3
1933      -
1934      - g\ :sub:`7`
1935      - b\ :sub:`5`
1936      - g\ :sub:`4`
1937      - r\ :sub:`3`
1938    * -
1939      -
1940      - 4
1941      -
1942      - g\ :sub:`6`
1943      - b\ :sub:`4`
1944      - g\ :sub:`3`
1945      - r\ :sub:`2`
1946    * -
1947      -
1948      - 5
1949      -
1950      - r\ :sub:`7`
1951      - b\ :sub:`3`
1952      - g\ :sub:`2`
1953      - r\ :sub:`1`
1954    * -
1955      -
1956      - 6
1957      -
1958      - r\ :sub:`6`
1959      - b\ :sub:`2`
1960      - g\ :sub:`1`
1961      - r\ :sub:`0`
1962    * .. _MEDIA-BUS-FMT-RGB888-1X7X4-JEIDA:
1963
1964      - MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA
1965      - 0x1012
1966      - 0
1967      -
1968      - d
1969      - d
1970      - b\ :sub:`3`
1971      - g\ :sub:`2`
1972    * -
1973      -
1974      - 1
1975      -
1976      - b\ :sub:`1`
1977      - d
1978      - b\ :sub:`2`
1979      - r\ :sub:`7`
1980    * -
1981      -
1982      - 2
1983      -
1984      - b\ :sub:`0`
1985      - d
1986      - g\ :sub:`7`
1987      - r\ :sub:`6`
1988    * -
1989      -
1990      - 3
1991      -
1992      - g\ :sub:`1`
1993      - b\ :sub:`7`
1994      - g\ :sub:`6`
1995      - r\ :sub:`5`
1996    * -
1997      -
1998      - 4
1999      -
2000      - g\ :sub:`0`
2001      - b\ :sub:`6`
2002      - g\ :sub:`5`
2003      - r\ :sub:`4`
2004    * -
2005      -
2006      - 5
2007      -
2008      - r\ :sub:`1`
2009      - b\ :sub:`5`
2010      - g\ :sub:`4`
2011      - r\ :sub:`3`
2012    * -
2013      -
2014      - 6
2015      -
2016      - r\ :sub:`0`
2017      - b\ :sub:`4`
2018      - g\ :sub:`3`
2019      - r\ :sub:`2`
2020
2021.. raw:: latex
2022
2023    \normalsize
2024
2025
2026Bayer Formats
2027^^^^^^^^^^^^^
2028
2029Those formats transfer pixel data as red, green and blue components. The
2030format code is made of the following information.
2031
2032-  The red, green and blue components order code, as encoded in a pixel
2033   sample. The possible values are shown in :ref:`bayer-patterns`.
2034
2035-  The number of bits per pixel component. All components are
2036   transferred on the same number of bits. Common values are 8, 10 and
2037   12.
2038
2039-  The compression (optional). If the pixel components are ALAW- or
2040   DPCM-compressed, a mention of the compression scheme and the number
2041   of bits per compressed pixel component.
2042
2043-  The number of bus samples per pixel. Pixels that are wider than the
2044   bus width must be transferred in multiple samples. Common values are
2045   1 and 2.
2046
2047-  The bus width.
2048
2049-  For formats where the total number of bits per pixel is smaller than
2050   the number of bus samples per pixel times the bus width, a padding
2051   value stating if the bytes are padded in their most high order bits
2052   (PADHI) or low order bits (PADLO).
2053
2054-  For formats where the number of bus samples per pixel is larger than
2055   1, an endianness value stating if the pixel is transferred MSB first
2056   (BE) or LSB first (LE).
2057
2058For instance, a format with uncompressed 10-bit Bayer components
2059arranged in a red, green, green, blue pattern transferred as 2 8-bit
2060samples per pixel with the least significant bits transferred first will
2061be named ``MEDIA_BUS_FMT_SRGGB10_2X8_PADHI_LE``.
2062
2063
2064.. _bayer-patterns:
2065
2066.. kernel-figure:: bayer.svg
2067    :alt:    bayer.svg
2068    :align:  center
2069
2070    **Figure 4.8 Bayer Patterns**
2071
2072The following table lists existing packed Bayer formats. The data
2073organization is given as an example for the first pixel only.
2074
2075
2076.. HACK: ideally, we would be using adjustbox here. However, Sphinx
2077.. is a very bad behaviored guy: if the table has more than 30 cols,
2078.. it switches to long table, and there's no way to override it.
2079
2080
2081.. raw:: latex
2082
2083    \begingroup
2084    \tiny
2085    \setlength{\tabcolsep}{2pt}
2086
2087.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.3cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
2088
2089.. _v4l2-mbus-pixelcode-bayer:
2090
2091.. cssclass: longtable
2092
2093.. flat-table:: Bayer Formats
2094    :header-rows:  2
2095    :stub-columns: 0
2096
2097    * - Identifier
2098      - Code
2099      -
2100      - :cspan:`15` Data organization
2101    * -
2102      -
2103      - Bit
2104      - 15
2105      - 14
2106      - 13
2107      - 12
2108      - 11
2109      - 10
2110      - 9
2111      - 8
2112      - 7
2113      - 6
2114      - 5
2115      - 4
2116      - 3
2117      - 2
2118      - 1
2119      - 0
2120    * .. _MEDIA-BUS-FMT-SBGGR8-1X8:
2121
2122      - MEDIA_BUS_FMT_SBGGR8_1X8
2123      - 0x3001
2124      -
2125      -
2126      -
2127      -
2128      -
2129      -
2130      -
2131      -
2132      -
2133      - b\ :sub:`7`
2134      - b\ :sub:`6`
2135      - b\ :sub:`5`
2136      - b\ :sub:`4`
2137      - b\ :sub:`3`
2138      - b\ :sub:`2`
2139      - b\ :sub:`1`
2140      - b\ :sub:`0`
2141    * .. _MEDIA-BUS-FMT-SGBRG8-1X8:
2142
2143      - MEDIA_BUS_FMT_SGBRG8_1X8
2144      - 0x3013
2145      -
2146      -
2147      -
2148      -
2149      -
2150      -
2151      -
2152      -
2153      -
2154      - g\ :sub:`7`
2155      - g\ :sub:`6`
2156      - g\ :sub:`5`
2157      - g\ :sub:`4`
2158      - g\ :sub:`3`
2159      - g\ :sub:`2`
2160      - g\ :sub:`1`
2161      - g\ :sub:`0`
2162    * .. _MEDIA-BUS-FMT-SGRBG8-1X8:
2163
2164      - MEDIA_BUS_FMT_SGRBG8_1X8
2165      - 0x3002
2166      -
2167      -
2168      -
2169      -
2170      -
2171      -
2172      -
2173      -
2174      -
2175      - g\ :sub:`7`
2176      - g\ :sub:`6`
2177      - g\ :sub:`5`
2178      - g\ :sub:`4`
2179      - g\ :sub:`3`
2180      - g\ :sub:`2`
2181      - g\ :sub:`1`
2182      - g\ :sub:`0`
2183    * .. _MEDIA-BUS-FMT-SRGGB8-1X8:
2184
2185      - MEDIA_BUS_FMT_SRGGB8_1X8
2186      - 0x3014
2187      -
2188      -
2189      -
2190      -
2191      -
2192      -
2193      -
2194      -
2195      -
2196      - r\ :sub:`7`
2197      - r\ :sub:`6`
2198      - r\ :sub:`5`
2199      - r\ :sub:`4`
2200      - r\ :sub:`3`
2201      - r\ :sub:`2`
2202      - r\ :sub:`1`
2203      - r\ :sub:`0`
2204    * .. _MEDIA-BUS-FMT-SBGGR10-ALAW8-1X8:
2205
2206      - MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8
2207      - 0x3015
2208      -
2209      -
2210      -
2211      -
2212      -
2213      -
2214      -
2215      -
2216      -
2217      - b\ :sub:`7`
2218      - b\ :sub:`6`
2219      - b\ :sub:`5`
2220      - b\ :sub:`4`
2221      - b\ :sub:`3`
2222      - b\ :sub:`2`
2223      - b\ :sub:`1`
2224      - b\ :sub:`0`
2225    * .. _MEDIA-BUS-FMT-SGBRG10-ALAW8-1X8:
2226
2227      - MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8
2228      - 0x3016
2229      -
2230      -
2231      -
2232      -
2233      -
2234      -
2235      -
2236      -
2237      -
2238      - g\ :sub:`7`
2239      - g\ :sub:`6`
2240      - g\ :sub:`5`
2241      - g\ :sub:`4`
2242      - g\ :sub:`3`
2243      - g\ :sub:`2`
2244      - g\ :sub:`1`
2245      - g\ :sub:`0`
2246    * .. _MEDIA-BUS-FMT-SGRBG10-ALAW8-1X8:
2247
2248      - MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8
2249      - 0x3017
2250      -
2251      -
2252      -
2253      -
2254      -
2255      -
2256      -
2257      -
2258      -
2259      - g\ :sub:`7`
2260      - g\ :sub:`6`
2261      - g\ :sub:`5`
2262      - g\ :sub:`4`
2263      - g\ :sub:`3`
2264      - g\ :sub:`2`
2265      - g\ :sub:`1`
2266      - g\ :sub:`0`
2267    * .. _MEDIA-BUS-FMT-SRGGB10-ALAW8-1X8:
2268
2269      - MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8
2270      - 0x3018
2271      -
2272      -
2273      -
2274      -
2275      -
2276      -
2277      -
2278      -
2279      -
2280      - r\ :sub:`7`
2281      - r\ :sub:`6`
2282      - r\ :sub:`5`
2283      - r\ :sub:`4`
2284      - r\ :sub:`3`
2285      - r\ :sub:`2`
2286      - r\ :sub:`1`
2287      - r\ :sub:`0`
2288    * .. _MEDIA-BUS-FMT-SBGGR10-DPCM8-1X8:
2289
2290      - MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8
2291      - 0x300b
2292      -
2293      -
2294      -
2295      -
2296      -
2297      -
2298      -
2299      -
2300      -
2301      - b\ :sub:`7`
2302      - b\ :sub:`6`
2303      - b\ :sub:`5`
2304      - b\ :sub:`4`
2305      - b\ :sub:`3`
2306      - b\ :sub:`2`
2307      - b\ :sub:`1`
2308      - b\ :sub:`0`
2309    * .. _MEDIA-BUS-FMT-SGBRG10-DPCM8-1X8:
2310
2311      - MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8
2312      - 0x300c
2313      -
2314      -
2315      -
2316      -
2317      -
2318      -
2319      -
2320      -
2321      -
2322      - g\ :sub:`7`
2323      - g\ :sub:`6`
2324      - g\ :sub:`5`
2325      - g\ :sub:`4`
2326      - g\ :sub:`3`
2327      - g\ :sub:`2`
2328      - g\ :sub:`1`
2329      - g\ :sub:`0`
2330    * .. _MEDIA-BUS-FMT-SGRBG10-DPCM8-1X8:
2331
2332      - MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8
2333      - 0x3009
2334      -
2335      -
2336      -
2337      -
2338      -
2339      -
2340      -
2341      -
2342      -
2343      - g\ :sub:`7`
2344      - g\ :sub:`6`
2345      - g\ :sub:`5`
2346      - g\ :sub:`4`
2347      - g\ :sub:`3`
2348      - g\ :sub:`2`
2349      - g\ :sub:`1`
2350      - g\ :sub:`0`
2351    * .. _MEDIA-BUS-FMT-SRGGB10-DPCM8-1X8:
2352
2353      - MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8
2354      - 0x300d
2355      -
2356      -
2357      -
2358      -
2359      -
2360      -
2361      -
2362      -
2363      -
2364      - r\ :sub:`7`
2365      - r\ :sub:`6`
2366      - r\ :sub:`5`
2367      - r\ :sub:`4`
2368      - r\ :sub:`3`
2369      - r\ :sub:`2`
2370      - r\ :sub:`1`
2371      - r\ :sub:`0`
2372    * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-BE:
2373
2374      - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE
2375      - 0x3003
2376      -
2377      -
2378      -
2379      -
2380      -
2381      -
2382      -
2383      -
2384      -
2385      - 0
2386      - 0
2387      - 0
2388      - 0
2389      - 0
2390      - 0
2391      - b\ :sub:`9`
2392      - b\ :sub:`8`
2393    * -
2394      -
2395      -
2396      -
2397      -
2398      -
2399      -
2400      -
2401      -
2402      -
2403      -
2404      - b\ :sub:`7`
2405      - b\ :sub:`6`
2406      - b\ :sub:`5`
2407      - b\ :sub:`4`
2408      - b\ :sub:`3`
2409      - b\ :sub:`2`
2410      - b\ :sub:`1`
2411      - b\ :sub:`0`
2412    * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADHI-LE:
2413
2414      - MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
2415      - 0x3004
2416      -
2417      -
2418      -
2419      -
2420      -
2421      -
2422      -
2423      -
2424      -
2425      - b\ :sub:`7`
2426      - b\ :sub:`6`
2427      - b\ :sub:`5`
2428      - b\ :sub:`4`
2429      - b\ :sub:`3`
2430      - b\ :sub:`2`
2431      - b\ :sub:`1`
2432      - b\ :sub:`0`
2433    * -
2434      -
2435      -
2436      -
2437      -
2438      -
2439      -
2440      -
2441      -
2442      -
2443      -
2444      - 0
2445      - 0
2446      - 0
2447      - 0
2448      - 0
2449      - 0
2450      - b\ :sub:`9`
2451      - b\ :sub:`8`
2452    * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-BE:
2453
2454      - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE
2455      - 0x3005
2456      -
2457      -
2458      -
2459      -
2460      -
2461      -
2462      -
2463      -
2464      -
2465      - b\ :sub:`9`
2466      - b\ :sub:`8`
2467      - b\ :sub:`7`
2468      - b\ :sub:`6`
2469      - b\ :sub:`5`
2470      - b\ :sub:`4`
2471      - b\ :sub:`3`
2472      - b\ :sub:`2`
2473    * -
2474      -
2475      -
2476      -
2477      -
2478      -
2479      -
2480      -
2481      -
2482      -
2483      -
2484      - b\ :sub:`1`
2485      - b\ :sub:`0`
2486      - 0
2487      - 0
2488      - 0
2489      - 0
2490      - 0
2491      - 0
2492    * .. _MEDIA-BUS-FMT-SBGGR10-2X8-PADLO-LE:
2493
2494      - MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE
2495      - 0x3006
2496      -
2497      -
2498      -
2499      -
2500      -
2501      -
2502      -
2503      -
2504      -
2505      - b\ :sub:`1`
2506      - b\ :sub:`0`
2507      - 0
2508      - 0
2509      - 0
2510      - 0
2511      - 0
2512      - 0
2513    * -
2514      -
2515      -
2516      -
2517      -
2518      -
2519      -
2520      -
2521      -
2522      -
2523      -
2524      - b\ :sub:`9`
2525      - b\ :sub:`8`
2526      - b\ :sub:`7`
2527      - b\ :sub:`6`
2528      - b\ :sub:`5`
2529      - b\ :sub:`4`
2530      - b\ :sub:`3`
2531      - b\ :sub:`2`
2532    * .. _MEDIA-BUS-FMT-SBGGR10-1X10:
2533
2534      - MEDIA_BUS_FMT_SBGGR10_1X10
2535      - 0x3007
2536      -
2537      -
2538      -
2539      -
2540      -
2541      -
2542      -
2543      - b\ :sub:`9`
2544      - b\ :sub:`8`
2545      - b\ :sub:`7`
2546      - b\ :sub:`6`
2547      - b\ :sub:`5`
2548      - b\ :sub:`4`
2549      - b\ :sub:`3`
2550      - b\ :sub:`2`
2551      - b\ :sub:`1`
2552      - b\ :sub:`0`
2553    * .. _MEDIA-BUS-FMT-SGBRG10-1X10:
2554
2555      - MEDIA_BUS_FMT_SGBRG10_1X10
2556      - 0x300e
2557      -
2558      -
2559      -
2560      -
2561      -
2562      -
2563      -
2564      - g\ :sub:`9`
2565      - g\ :sub:`8`
2566      - g\ :sub:`7`
2567      - g\ :sub:`6`
2568      - g\ :sub:`5`
2569      - g\ :sub:`4`
2570      - g\ :sub:`3`
2571      - g\ :sub:`2`
2572      - g\ :sub:`1`
2573      - g\ :sub:`0`
2574    * .. _MEDIA-BUS-FMT-SGRBG10-1X10:
2575
2576      - MEDIA_BUS_FMT_SGRBG10_1X10
2577      - 0x300a
2578      -
2579      -
2580      -
2581      -
2582      -
2583      -
2584      -
2585      - g\ :sub:`9`
2586      - g\ :sub:`8`
2587      - g\ :sub:`7`
2588      - g\ :sub:`6`
2589      - g\ :sub:`5`
2590      - g\ :sub:`4`
2591      - g\ :sub:`3`
2592      - g\ :sub:`2`
2593      - g\ :sub:`1`
2594      - g\ :sub:`0`
2595    * .. _MEDIA-BUS-FMT-SRGGB10-1X10:
2596
2597      - MEDIA_BUS_FMT_SRGGB10_1X10
2598      - 0x300f
2599      -
2600      -
2601      -
2602      -
2603      -
2604      -
2605      -
2606      - r\ :sub:`9`
2607      - r\ :sub:`8`
2608      - r\ :sub:`7`
2609      - r\ :sub:`6`
2610      - r\ :sub:`5`
2611      - r\ :sub:`4`
2612      - r\ :sub:`3`
2613      - r\ :sub:`2`
2614      - r\ :sub:`1`
2615      - r\ :sub:`0`
2616    * .. _MEDIA-BUS-FMT-SBGGR12-1X12:
2617
2618      - MEDIA_BUS_FMT_SBGGR12_1X12
2619      - 0x3008
2620      -
2621      -
2622      -
2623      -
2624      -
2625      - b\ :sub:`11`
2626      - b\ :sub:`10`
2627      - b\ :sub:`9`
2628      - b\ :sub:`8`
2629      - b\ :sub:`7`
2630      - b\ :sub:`6`
2631      - b\ :sub:`5`
2632      - b\ :sub:`4`
2633      - b\ :sub:`3`
2634      - b\ :sub:`2`
2635      - b\ :sub:`1`
2636      - b\ :sub:`0`
2637    * .. _MEDIA-BUS-FMT-SGBRG12-1X12:
2638
2639      - MEDIA_BUS_FMT_SGBRG12_1X12
2640      - 0x3010
2641      -
2642      -
2643      -
2644      -
2645      -
2646      - g\ :sub:`11`
2647      - g\ :sub:`10`
2648      - g\ :sub:`9`
2649      - g\ :sub:`8`
2650      - g\ :sub:`7`
2651      - g\ :sub:`6`
2652      - g\ :sub:`5`
2653      - g\ :sub:`4`
2654      - g\ :sub:`3`
2655      - g\ :sub:`2`
2656      - g\ :sub:`1`
2657      - g\ :sub:`0`
2658    * .. _MEDIA-BUS-FMT-SGRBG12-1X12:
2659
2660      - MEDIA_BUS_FMT_SGRBG12_1X12
2661      - 0x3011
2662      -
2663      -
2664      -
2665      -
2666      -
2667      - g\ :sub:`11`
2668      - g\ :sub:`10`
2669      - g\ :sub:`9`
2670      - g\ :sub:`8`
2671      - g\ :sub:`7`
2672      - g\ :sub:`6`
2673      - g\ :sub:`5`
2674      - g\ :sub:`4`
2675      - g\ :sub:`3`
2676      - g\ :sub:`2`
2677      - g\ :sub:`1`
2678      - g\ :sub:`0`
2679    * .. _MEDIA-BUS-FMT-SRGGB12-1X12:
2680
2681      - MEDIA_BUS_FMT_SRGGB12_1X12
2682      - 0x3012
2683      -
2684      -
2685      -
2686      -
2687      -
2688      - r\ :sub:`11`
2689      - r\ :sub:`10`
2690      - r\ :sub:`9`
2691      - r\ :sub:`8`
2692      - r\ :sub:`7`
2693      - r\ :sub:`6`
2694      - r\ :sub:`5`
2695      - r\ :sub:`4`
2696      - r\ :sub:`3`
2697      - r\ :sub:`2`
2698      - r\ :sub:`1`
2699      - r\ :sub:`0`
2700    * .. _MEDIA-BUS-FMT-SBGGR14-1X14:
2701
2702      - MEDIA_BUS_FMT_SBGGR14_1X14
2703      - 0x3019
2704      -
2705      -
2706      -
2707      - b\ :sub:`13`
2708      - b\ :sub:`12`
2709      - b\ :sub:`11`
2710      - b\ :sub:`10`
2711      - b\ :sub:`9`
2712      - b\ :sub:`8`
2713      - b\ :sub:`7`
2714      - b\ :sub:`6`
2715      - b\ :sub:`5`
2716      - b\ :sub:`4`
2717      - b\ :sub:`3`
2718      - b\ :sub:`2`
2719      - b\ :sub:`1`
2720      - b\ :sub:`0`
2721    * .. _MEDIA-BUS-FMT-SGBRG14-1X14:
2722
2723      - MEDIA_BUS_FMT_SGBRG14_1X14
2724      - 0x301a
2725      -
2726      -
2727      -
2728      - g\ :sub:`13`
2729      - g\ :sub:`12`
2730      - g\ :sub:`11`
2731      - g\ :sub:`10`
2732      - g\ :sub:`9`
2733      - g\ :sub:`8`
2734      - g\ :sub:`7`
2735      - g\ :sub:`6`
2736      - g\ :sub:`5`
2737      - g\ :sub:`4`
2738      - g\ :sub:`3`
2739      - g\ :sub:`2`
2740      - g\ :sub:`1`
2741      - g\ :sub:`0`
2742    * .. _MEDIA-BUS-FMT-SGRBG14-1X14:
2743
2744      - MEDIA_BUS_FMT_SGRBG14_1X14
2745      - 0x301b
2746      -
2747      -
2748      -
2749      - g\ :sub:`13`
2750      - g\ :sub:`12`
2751      - g\ :sub:`11`
2752      - g\ :sub:`10`
2753      - g\ :sub:`9`
2754      - g\ :sub:`8`
2755      - g\ :sub:`7`
2756      - g\ :sub:`6`
2757      - g\ :sub:`5`
2758      - g\ :sub:`4`
2759      - g\ :sub:`3`
2760      - g\ :sub:`2`
2761      - g\ :sub:`1`
2762      - g\ :sub:`0`
2763    * .. _MEDIA-BUS-FMT-SRGGB14-1X14:
2764
2765      - MEDIA_BUS_FMT_SRGGB14_1X14
2766      - 0x301c
2767      -
2768      -
2769      -
2770      - r\ :sub:`13`
2771      - r\ :sub:`12`
2772      - r\ :sub:`11`
2773      - r\ :sub:`10`
2774      - r\ :sub:`9`
2775      - r\ :sub:`8`
2776      - r\ :sub:`7`
2777      - r\ :sub:`6`
2778      - r\ :sub:`5`
2779      - r\ :sub:`4`
2780      - r\ :sub:`3`
2781      - r\ :sub:`2`
2782      - r\ :sub:`1`
2783      - r\ :sub:`0`
2784    * .. _MEDIA-BUS-FMT-SBGGR16-1X16:
2785
2786      - MEDIA_BUS_FMT_SBGGR16_1X16
2787      - 0x301d
2788      -
2789      - b\ :sub:`15`
2790      - b\ :sub:`14`
2791      - b\ :sub:`13`
2792      - b\ :sub:`12`
2793      - b\ :sub:`11`
2794      - b\ :sub:`10`
2795      - b\ :sub:`9`
2796      - b\ :sub:`8`
2797      - b\ :sub:`7`
2798      - b\ :sub:`6`
2799      - b\ :sub:`5`
2800      - b\ :sub:`4`
2801      - b\ :sub:`3`
2802      - b\ :sub:`2`
2803      - b\ :sub:`1`
2804      - b\ :sub:`0`
2805    * .. _MEDIA-BUS-FMT-SGBRG16-1X16:
2806
2807      - MEDIA_BUS_FMT_SGBRG16_1X16
2808      - 0x301e
2809      -
2810      - g\ :sub:`15`
2811      - g\ :sub:`14`
2812      - g\ :sub:`13`
2813      - g\ :sub:`12`
2814      - g\ :sub:`11`
2815      - g\ :sub:`10`
2816      - g\ :sub:`9`
2817      - g\ :sub:`8`
2818      - g\ :sub:`7`
2819      - g\ :sub:`6`
2820      - g\ :sub:`5`
2821      - g\ :sub:`4`
2822      - g\ :sub:`3`
2823      - g\ :sub:`2`
2824      - g\ :sub:`1`
2825      - g\ :sub:`0`
2826    * .. _MEDIA-BUS-FMT-SGRBG16-1X16:
2827
2828      - MEDIA_BUS_FMT_SGRBG16_1X16
2829      - 0x301f
2830      -
2831      - g\ :sub:`15`
2832      - g\ :sub:`14`
2833      - g\ :sub:`13`
2834      - g\ :sub:`12`
2835      - g\ :sub:`11`
2836      - g\ :sub:`10`
2837      - g\ :sub:`9`
2838      - g\ :sub:`8`
2839      - g\ :sub:`7`
2840      - g\ :sub:`6`
2841      - g\ :sub:`5`
2842      - g\ :sub:`4`
2843      - g\ :sub:`3`
2844      - g\ :sub:`2`
2845      - g\ :sub:`1`
2846      - g\ :sub:`0`
2847    * .. _MEDIA-BUS-FMT-SRGGB16-1X16:
2848
2849      - MEDIA_BUS_FMT_SRGGB16_1X16
2850      - 0x3020
2851      -
2852      - r\ :sub:`15`
2853      - r\ :sub:`14`
2854      - r\ :sub:`13`
2855      - r\ :sub:`12`
2856      - r\ :sub:`11`
2857      - r\ :sub:`10`
2858      - r\ :sub:`9`
2859      - r\ :sub:`8`
2860      - r\ :sub:`7`
2861      - r\ :sub:`6`
2862      - r\ :sub:`5`
2863      - r\ :sub:`4`
2864      - r\ :sub:`3`
2865      - r\ :sub:`2`
2866      - r\ :sub:`1`
2867      - r\ :sub:`0`
2868
2869.. raw:: latex
2870
2871    \endgroup
2872
2873
2874Packed YUV Formats
2875^^^^^^^^^^^^^^^^^^
2876
2877Those data formats transfer pixel data as (possibly downsampled) Y, U
2878and V components. Some formats include dummy bits in some of their
2879samples and are collectively referred to as "YDYC" (Y-Dummy-Y-Chroma)
2880formats. One cannot rely on the values of these dummy bits as those are
2881undefined.
2882
2883The format code is made of the following information.
2884
2885-  The Y, U and V components order code, as transferred on the bus.
2886   Possible values are YUYV, UYVY, YVYU and VYUY for formats with no
2887   dummy bit, and YDYUYDYV, YDYVYDYU, YUYDYVYD and YVYDYUYD for YDYC
2888   formats.
2889
2890-  The number of bits per pixel component. All components are
2891   transferred on the same number of bits. Common values are 8, 10 and
2892   12.
2893
2894-  The number of bus samples per pixel. Pixels that are wider than the
2895   bus width must be transferred in multiple samples. Common values are
2896   0.5 (encoded as 0_5; in this case two pixels are transferred per bus
2897   sample), 1, 1.5 (encoded as 1_5) and 2.
2898
2899-  The bus width. When the bus width is larger than the number of bits
2900   per pixel component, several components are packed in a single bus
2901   sample. The components are ordered as specified by the order code,
2902   with components on the left of the code transferred in the high order
2903   bits. Common values are 8 and 16.
2904
2905For instance, a format where pixels are encoded as 8-bit YUV values
2906downsampled to 4:2:2 and transferred as 2 8-bit bus samples per pixel in
2907the U, Y, V, Y order will be named ``MEDIA_BUS_FMT_UYVY8_2X8``.
2908
2909:ref:`v4l2-mbus-pixelcode-yuv8` lists existing packed YUV formats and
2910describes the organization of each pixel data in each sample. When a
2911format pattern is split across multiple samples each of the samples in
2912the pattern is described.
2913
2914The role of each bit transferred over the bus is identified by one of
2915the following codes.
2916
2917-  y\ :sub:`x` for luma component bit number x
2918
2919-  u\ :sub:`x` for blue chroma component bit number x
2920
2921-  v\ :sub:`x` for red chroma component bit number x
2922
2923-  a\ :sub:`x` for alpha component bit number x
2924
2925- for non-available bits (for positions higher than the bus width)
2926
2927-  d for dummy bits
2928
2929.. HACK: ideally, we would be using adjustbox here. However, this
2930.. will never work for this table, as, even with tiny font, it is
2931.. to big for a single page. So, we need to manually adjust the
2932.. size.
2933
2934.. raw:: latex
2935
2936    \begingroup
2937    \tiny
2938    \setlength{\tabcolsep}{2pt}
2939
2940.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
2941
2942.. _v4l2-mbus-pixelcode-yuv8:
2943
2944.. flat-table:: YUV Formats
2945    :header-rows:  2
2946    :stub-columns: 0
2947    :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
2948
2949    * - Identifier
2950      - Code
2951      -
2952      - :cspan:`31` Data organization
2953    * -
2954      -
2955      - Bit
2956      - 31
2957      - 30
2958      - 29
2959      - 28
2960      - 27
2961      - 26
2962      - 25
2963      - 24
2964      - 23
2965      - 22
2966      - 21
2967      - 10
2968      - 19
2969      - 18
2970      - 17
2971      - 16
2972      - 15
2973      - 14
2974      - 13
2975      - 12
2976      - 11
2977      - 10
2978      - 9
2979      - 8
2980      - 7
2981      - 6
2982      - 5
2983      - 4
2984      - 3
2985      - 2
2986      - 1
2987      - 0
2988    * .. _MEDIA-BUS-FMT-Y8-1X8:
2989
2990      - MEDIA_BUS_FMT_Y8_1X8
2991      - 0x2001
2992      -
2993      -
2994      -
2995      -
2996      -
2997      -
2998      -
2999      -
3000      -
3001      -
3002      -
3003      -
3004      -
3005      -
3006      -
3007      -
3008      -
3009      -
3010      -
3011      -
3012      -
3013      -
3014      -
3015      -
3016      -
3017      - y\ :sub:`7`
3018      - y\ :sub:`6`
3019      - y\ :sub:`5`
3020      - y\ :sub:`4`
3021      - y\ :sub:`3`
3022      - y\ :sub:`2`
3023      - y\ :sub:`1`
3024      - y\ :sub:`0`
3025    * .. _MEDIA-BUS-FMT-UV8-1X8:
3026
3027      - MEDIA_BUS_FMT_UV8_1X8
3028      - 0x2015
3029      -
3030      -
3031      -
3032      -
3033      -
3034      -
3035      -
3036      -
3037      -
3038      -
3039      -
3040      -
3041      -
3042      -
3043      -
3044      -
3045      -
3046      -
3047      -
3048      -
3049      -
3050      -
3051      -
3052      -
3053      -
3054      - u\ :sub:`7`
3055      - u\ :sub:`6`
3056      - u\ :sub:`5`
3057      - u\ :sub:`4`
3058      - u\ :sub:`3`
3059      - u\ :sub:`2`
3060      - u\ :sub:`1`
3061      - u\ :sub:`0`
3062    * -
3063      -
3064      -
3065      -
3066      -
3067      -
3068      -
3069      -
3070      -
3071      -
3072      -
3073      -
3074      -
3075      -
3076      -
3077      -
3078      -
3079      -
3080      -
3081      -
3082      -
3083      -
3084      -
3085      -
3086      -
3087      -
3088      -
3089      - v\ :sub:`7`
3090      - v\ :sub:`6`
3091      - v\ :sub:`5`
3092      - v\ :sub:`4`
3093      - v\ :sub:`3`
3094      - v\ :sub:`2`
3095      - v\ :sub:`1`
3096      - v\ :sub:`0`
3097    * .. _MEDIA-BUS-FMT-UYVY8-1_5X8:
3098
3099      - MEDIA_BUS_FMT_UYVY8_1_5X8
3100      - 0x2002
3101      -
3102      -
3103      -
3104      -
3105      -
3106      -
3107      -
3108      -
3109      -
3110      -
3111      -
3112      -
3113      -
3114      -
3115      -
3116      -
3117      -
3118      -
3119      -
3120      -
3121      -
3122      -
3123      -
3124      -
3125      -
3126      - u\ :sub:`7`
3127      - u\ :sub:`6`
3128      - u\ :sub:`5`
3129      - u\ :sub:`4`
3130      - u\ :sub:`3`
3131      - u\ :sub:`2`
3132      - u\ :sub:`1`
3133      - u\ :sub:`0`
3134    * -
3135      -
3136      -
3137      -
3138      -
3139      -
3140      -
3141      -
3142      -
3143      -
3144      -
3145      -
3146      -
3147      -
3148      -
3149      -
3150      -
3151      -
3152      -
3153      -
3154      -
3155      -
3156      -
3157      -
3158      -
3159      -
3160      -
3161      - y\ :sub:`7`
3162      - y\ :sub:`6`
3163      - y\ :sub:`5`
3164      - y\ :sub:`4`
3165      - y\ :sub:`3`
3166      - y\ :sub:`2`
3167      - y\ :sub:`1`
3168      - y\ :sub:`0`
3169    * -
3170      -
3171      -
3172      -
3173      -
3174      -
3175      -
3176      -
3177      -
3178      -
3179      -
3180      -
3181      -
3182      -
3183      -
3184      -
3185      -
3186      -
3187      -
3188      -
3189      -
3190      -
3191      -
3192      -
3193      -
3194      -
3195      -
3196      - y\ :sub:`7`
3197      - y\ :sub:`6`
3198      - y\ :sub:`5`
3199      - y\ :sub:`4`
3200      - y\ :sub:`3`
3201      - y\ :sub:`2`
3202      - y\ :sub:`1`
3203      - y\ :sub:`0`
3204    * -
3205      -
3206      -
3207      -
3208      -
3209      -
3210      -
3211      -
3212      -
3213      -
3214      -
3215      -
3216      -
3217      -
3218      -
3219      -
3220      -
3221      -
3222      -
3223      -
3224      -
3225      -
3226      -
3227      -
3228      -
3229      -
3230      -
3231      - v\ :sub:`7`
3232      - v\ :sub:`6`
3233      - v\ :sub:`5`
3234      - v\ :sub:`4`
3235      - v\ :sub:`3`
3236      - v\ :sub:`2`
3237      - v\ :sub:`1`
3238      - v\ :sub:`0`
3239    * -
3240      -
3241      -
3242      -
3243      -
3244      -
3245      -
3246      -
3247      -
3248      -
3249      -
3250      -
3251      -
3252      -
3253      -
3254      -
3255      -
3256      -
3257      -
3258      -
3259      -
3260      -
3261      -
3262      -
3263      -
3264      -
3265      -
3266      - y\ :sub:`7`
3267      - y\ :sub:`6`
3268      - y\ :sub:`5`
3269      - y\ :sub:`4`
3270      - y\ :sub:`3`
3271      - y\ :sub:`2`
3272      - y\ :sub:`1`
3273      - y\ :sub:`0`
3274    * -
3275      -
3276      -
3277      -
3278      -
3279      -
3280      -
3281      -
3282      -
3283      -
3284      -
3285      -
3286      -
3287      -
3288      -
3289      -
3290      -
3291      -
3292      -
3293      -
3294      -
3295      -
3296      -
3297      -
3298      -
3299      -
3300      -
3301      - y\ :sub:`7`
3302      - y\ :sub:`6`
3303      - y\ :sub:`5`
3304      - y\ :sub:`4`
3305      - y\ :sub:`3`
3306      - y\ :sub:`2`
3307      - y\ :sub:`1`
3308      - y\ :sub:`0`
3309    * .. _MEDIA-BUS-FMT-VYUY8-1_5X8:
3310
3311      - MEDIA_BUS_FMT_VYUY8_1_5X8
3312      - 0x2003
3313      -
3314      -
3315      -
3316      -
3317      -
3318      -
3319      -
3320      -
3321      -
3322      -
3323      -
3324      -
3325      -
3326      -
3327      -
3328      -
3329      -
3330      -
3331      -
3332      -
3333      -
3334      -
3335      -
3336      -
3337      -
3338      - v\ :sub:`7`
3339      - v\ :sub:`6`
3340      - v\ :sub:`5`
3341      - v\ :sub:`4`
3342      - v\ :sub:`3`
3343      - v\ :sub:`2`
3344      - v\ :sub:`1`
3345      - v\ :sub:`0`
3346    * -
3347      -
3348      -
3349      -
3350      -
3351      -
3352      -
3353      -
3354      -
3355      -
3356      -
3357      -
3358      -
3359      -
3360      -
3361      -
3362      -
3363      -
3364      -
3365      -
3366      -
3367      -
3368      -
3369      -
3370      -
3371      -
3372      -
3373      - y\ :sub:`7`
3374      - y\ :sub:`6`
3375      - y\ :sub:`5`
3376      - y\ :sub:`4`
3377      - y\ :sub:`3`
3378      - y\ :sub:`2`
3379      - y\ :sub:`1`
3380      - y\ :sub:`0`
3381    * -
3382      -
3383      -
3384      -
3385      -
3386      -
3387      -
3388      -
3389      -
3390      -
3391      -
3392      -
3393      -
3394      -
3395      -
3396      -
3397      -
3398      -
3399      -
3400      -
3401      -
3402      -
3403      -
3404      -
3405      -
3406      -
3407      -
3408      - y\ :sub:`7`
3409      - y\ :sub:`6`
3410      - y\ :sub:`5`
3411      - y\ :sub:`4`
3412      - y\ :sub:`3`
3413      - y\ :sub:`2`
3414      - y\ :sub:`1`
3415      - y\ :sub:`0`
3416    * -
3417      -
3418      -
3419      -
3420      -
3421      -
3422      -
3423      -
3424      -
3425      -
3426      -
3427      -
3428      -
3429      -
3430      -
3431      -
3432      -
3433      -
3434      -
3435      -
3436      -
3437      -
3438      -
3439      -
3440      -
3441      -
3442      -
3443      - u\ :sub:`7`
3444      - u\ :sub:`6`
3445      - u\ :sub:`5`
3446      - u\ :sub:`4`
3447      - u\ :sub:`3`
3448      - u\ :sub:`2`
3449      - u\ :sub:`1`
3450      - u\ :sub:`0`
3451    * -
3452      -
3453      -
3454      -
3455      -
3456      -
3457      -
3458      -
3459      -
3460      -
3461      -
3462      -
3463      -
3464      -
3465      -
3466      -
3467      -
3468      -
3469      -
3470      -
3471      -
3472      -
3473      -
3474      -
3475      -
3476      -
3477      -
3478      - y\ :sub:`7`
3479      - y\ :sub:`6`
3480      - y\ :sub:`5`
3481      - y\ :sub:`4`
3482      - y\ :sub:`3`
3483      - y\ :sub:`2`
3484      - y\ :sub:`1`
3485      - y\ :sub:`0`
3486    * -
3487      -
3488      -
3489      -
3490      -
3491      -
3492      -
3493      -
3494      -
3495      -
3496      -
3497      -
3498      -
3499      -
3500      -
3501      -
3502      -
3503      -
3504      -
3505      -
3506      -
3507      -
3508      -
3509      -
3510      -
3511      -
3512      -
3513      - y\ :sub:`7`
3514      - y\ :sub:`6`
3515      - y\ :sub:`5`
3516      - y\ :sub:`4`
3517      - y\ :sub:`3`
3518      - y\ :sub:`2`
3519      - y\ :sub:`1`
3520      - y\ :sub:`0`
3521    * .. _MEDIA-BUS-FMT-YUYV8-1_5X8:
3522
3523      - MEDIA_BUS_FMT_YUYV8_1_5X8
3524      - 0x2004
3525      -
3526      -
3527      -
3528      -
3529      -
3530      -
3531      -
3532      -
3533      -
3534      -
3535      -
3536      -
3537      -
3538      -
3539      -
3540      -
3541      -
3542      -
3543      -
3544      -
3545      -
3546      -
3547      -
3548      -
3549      -
3550      - y\ :sub:`7`
3551      - y\ :sub:`6`
3552      - y\ :sub:`5`
3553      - y\ :sub:`4`
3554      - y\ :sub:`3`
3555      - y\ :sub:`2`
3556      - y\ :sub:`1`
3557      - y\ :sub:`0`
3558    * -
3559      -
3560      -
3561      -
3562      -
3563      -
3564      -
3565      -
3566      -
3567      -
3568      -
3569      -
3570      -
3571      -
3572      -
3573      -
3574      -
3575      -
3576      -
3577      -
3578      -
3579      -
3580      -
3581      -
3582      -
3583      -
3584      -
3585      - y\ :sub:`7`
3586      - y\ :sub:`6`
3587      - y\ :sub:`5`
3588      - y\ :sub:`4`
3589      - y\ :sub:`3`
3590      - y\ :sub:`2`
3591      - y\ :sub:`1`
3592      - y\ :sub:`0`
3593    * -
3594      -
3595      -
3596      -
3597      -
3598      -
3599      -
3600      -
3601      -
3602      -
3603      -
3604      -
3605      -
3606      -
3607      -
3608      -
3609      -
3610      -
3611      -
3612      -
3613      -
3614      -
3615      -
3616      -
3617      -
3618      -
3619      -
3620      - u\ :sub:`7`
3621      - u\ :sub:`6`
3622      - u\ :sub:`5`
3623      - u\ :sub:`4`
3624      - u\ :sub:`3`
3625      - u\ :sub:`2`
3626      - u\ :sub:`1`
3627      - u\ :sub:`0`
3628    * -
3629      -
3630      -
3631      -
3632      -
3633      -
3634      -
3635      -
3636      -
3637      -
3638      -
3639      -
3640      -
3641      -
3642      -
3643      -
3644      -
3645      -
3646      -
3647      -
3648      -
3649      -
3650      -
3651      -
3652      -
3653      -
3654      -
3655      - y\ :sub:`7`
3656      - y\ :sub:`6`
3657      - y\ :sub:`5`
3658      - y\ :sub:`4`
3659      - y\ :sub:`3`
3660      - y\ :sub:`2`
3661      - y\ :sub:`1`
3662      - y\ :sub:`0`
3663    * -
3664      -
3665      -
3666      -
3667      -
3668      -
3669      -
3670      -
3671      -
3672      -
3673      -
3674      -
3675      -
3676      -
3677      -
3678      -
3679      -
3680      -
3681      -
3682      -
3683      -
3684      -
3685      -
3686      -
3687      -
3688      -
3689      -
3690      - y\ :sub:`7`
3691      - y\ :sub:`6`
3692      - y\ :sub:`5`
3693      - y\ :sub:`4`
3694      - y\ :sub:`3`
3695      - y\ :sub:`2`
3696      - y\ :sub:`1`
3697      - y\ :sub:`0`
3698    * -
3699      -
3700      -
3701      -
3702      -
3703      -
3704      -
3705      -
3706      -
3707      -
3708      -
3709      -
3710      -
3711      -
3712      -
3713      -
3714      -
3715      -
3716      -
3717      -
3718      -
3719      -
3720      -
3721      -
3722      -
3723      -
3724      -
3725      - v\ :sub:`7`
3726      - v\ :sub:`6`
3727      - v\ :sub:`5`
3728      - v\ :sub:`4`
3729      - v\ :sub:`3`
3730      - v\ :sub:`2`
3731      - v\ :sub:`1`
3732      - v\ :sub:`0`
3733    * .. _MEDIA-BUS-FMT-YVYU8-1_5X8:
3734
3735      - MEDIA_BUS_FMT_YVYU8_1_5X8
3736      - 0x2005
3737      -
3738      -
3739      -
3740      -
3741      -
3742      -
3743      -
3744      -
3745      -
3746      -
3747      -
3748      -
3749      -
3750      -
3751      -
3752      -
3753      -
3754      -
3755      -
3756      -
3757      -
3758      -
3759      -
3760      -
3761      -
3762      - y\ :sub:`7`
3763      - y\ :sub:`6`
3764      - y\ :sub:`5`
3765      - y\ :sub:`4`
3766      - y\ :sub:`3`
3767      - y\ :sub:`2`
3768      - y\ :sub:`1`
3769      - y\ :sub:`0`
3770    * -
3771      -
3772      -
3773      -
3774      -
3775      -
3776      -
3777      -
3778      -
3779      -
3780      -
3781      -
3782      -
3783      -
3784      -
3785      -
3786      -
3787      -
3788      -
3789      -
3790      -
3791      -
3792      -
3793      -
3794      -
3795      -
3796      -
3797      - y\ :sub:`7`
3798      - y\ :sub:`6`
3799      - y\ :sub:`5`
3800      - y\ :sub:`4`
3801      - y\ :sub:`3`
3802      - y\ :sub:`2`
3803      - y\ :sub:`1`
3804      - y\ :sub:`0`
3805    * -
3806      -
3807      -
3808      -
3809      -
3810      -
3811      -
3812      -
3813      -
3814      -
3815      -
3816      -
3817      -
3818      -
3819      -
3820      -
3821      -
3822      -
3823      -
3824      -
3825      -
3826      -
3827      -
3828      -
3829      -
3830      -
3831      -
3832      - v\ :sub:`7`
3833      - v\ :sub:`6`
3834      - v\ :sub:`5`
3835      - v\ :sub:`4`
3836      - v\ :sub:`3`
3837      - v\ :sub:`2`
3838      - v\ :sub:`1`
3839      - v\ :sub:`0`
3840    * -
3841      -
3842      -
3843      -
3844      -
3845      -
3846      -
3847      -
3848      -
3849      -
3850      -
3851      -
3852      -
3853      -
3854      -
3855      -
3856      -
3857      -
3858      -
3859      -
3860      -
3861      -
3862      -
3863      -
3864      -
3865      -
3866      -
3867      - y\ :sub:`7`
3868      - y\ :sub:`6`
3869      - y\ :sub:`5`
3870      - y\ :sub:`4`
3871      - y\ :sub:`3`
3872      - y\ :sub:`2`
3873      - y\ :sub:`1`
3874      - y\ :sub:`0`
3875    * -
3876      -
3877      -
3878      -
3879      -
3880      -
3881      -
3882      -
3883      -
3884      -
3885      -
3886      -
3887      -
3888      -
3889      -
3890      -
3891      -
3892      -
3893      -
3894      -
3895      -
3896      -
3897      -
3898      -
3899      -
3900      -
3901      -
3902      - y\ :sub:`7`
3903      - y\ :sub:`6`
3904      - y\ :sub:`5`
3905      - y\ :sub:`4`
3906      - y\ :sub:`3`
3907      - y\ :sub:`2`
3908      - y\ :sub:`1`
3909      - y\ :sub:`0`
3910    * -
3911      -
3912      -
3913      -
3914      -
3915      -
3916      -
3917      -
3918      -
3919      -
3920      -
3921      -
3922      -
3923      -
3924      -
3925      -
3926      -
3927      -
3928      -
3929      -
3930      -
3931      -
3932      -
3933      -
3934      -
3935      -
3936      -
3937      - u\ :sub:`7`
3938      - u\ :sub:`6`
3939      - u\ :sub:`5`
3940      - u\ :sub:`4`
3941      - u\ :sub:`3`
3942      - u\ :sub:`2`
3943      - u\ :sub:`1`
3944      - u\ :sub:`0`
3945    * .. _MEDIA-BUS-FMT-UYVY8-2X8:
3946
3947      - MEDIA_BUS_FMT_UYVY8_2X8
3948      - 0x2006
3949      -
3950      -
3951      -
3952      -
3953      -
3954      -
3955      -
3956      -
3957      -
3958      -
3959      -
3960      -
3961      -
3962      -
3963      -
3964      -
3965      -
3966      -
3967      -
3968      -
3969      -
3970      -
3971      -
3972      -
3973      -
3974      - u\ :sub:`7`
3975      - u\ :sub:`6`
3976      - u\ :sub:`5`
3977      - u\ :sub:`4`
3978      - u\ :sub:`3`
3979      - u\ :sub:`2`
3980      - u\ :sub:`1`
3981      - u\ :sub:`0`
3982    * -
3983      -
3984      -
3985      -
3986      -
3987      -
3988      -
3989      -
3990      -
3991      -
3992      -
3993      -
3994      -
3995      -
3996      -
3997      -
3998      -
3999      -
4000      -
4001      -
4002      -
4003      -
4004      -
4005      -
4006      -
4007      -
4008      -
4009      - y\ :sub:`7`
4010      - y\ :sub:`6`
4011      - y\ :sub:`5`
4012      - y\ :sub:`4`
4013      - y\ :sub:`3`
4014      - y\ :sub:`2`
4015      - y\ :sub:`1`
4016      - y\ :sub:`0`
4017    * -
4018      -
4019      -
4020      -
4021      -
4022      -
4023      -
4024      -
4025      -
4026      -
4027      -
4028      -
4029      -
4030      -
4031      -
4032      -
4033      -
4034      -
4035      -
4036      -
4037      -
4038      -
4039      -
4040      -
4041      -
4042      -
4043      -
4044      - v\ :sub:`7`
4045      - v\ :sub:`6`
4046      - v\ :sub:`5`
4047      - v\ :sub:`4`
4048      - v\ :sub:`3`
4049      - v\ :sub:`2`
4050      - v\ :sub:`1`
4051      - v\ :sub:`0`
4052    * -
4053      -
4054      -
4055      -
4056      -
4057      -
4058      -
4059      -
4060      -
4061      -
4062      -
4063      -
4064      -
4065      -
4066      -
4067      -
4068      -
4069      -
4070      -
4071      -
4072      -
4073      -
4074      -
4075      -
4076      -
4077      -
4078      -
4079      - y\ :sub:`7`
4080      - y\ :sub:`6`
4081      - y\ :sub:`5`
4082      - y\ :sub:`4`
4083      - y\ :sub:`3`
4084      - y\ :sub:`2`
4085      - y\ :sub:`1`
4086      - y\ :sub:`0`
4087    * .. _MEDIA-BUS-FMT-VYUY8-2X8:
4088
4089      - MEDIA_BUS_FMT_VYUY8_2X8
4090      - 0x2007
4091      -
4092      -
4093      -
4094      -
4095      -
4096      -
4097      -
4098      -
4099      -
4100      -
4101      -
4102      -
4103      -
4104      -
4105      -
4106      -
4107      -
4108      -
4109      -
4110      -
4111      -
4112      -
4113      -
4114      -
4115      -
4116      - v\ :sub:`7`
4117      - v\ :sub:`6`
4118      - v\ :sub:`5`
4119      - v\ :sub:`4`
4120      - v\ :sub:`3`
4121      - v\ :sub:`2`
4122      - v\ :sub:`1`
4123      - v\ :sub:`0`
4124    * -
4125      -
4126      -
4127      -
4128      -
4129      -
4130      -
4131      -
4132      -
4133      -
4134      -
4135      -
4136      -
4137      -
4138      -
4139      -
4140      -
4141      -
4142      -
4143      -
4144      -
4145      -
4146      -
4147      -
4148      -
4149      -
4150      -
4151      - y\ :sub:`7`
4152      - y\ :sub:`6`
4153      - y\ :sub:`5`
4154      - y\ :sub:`4`
4155      - y\ :sub:`3`
4156      - y\ :sub:`2`
4157      - y\ :sub:`1`
4158      - y\ :sub:`0`
4159    * -
4160      -
4161      -
4162      -
4163      -
4164      -
4165      -
4166      -
4167      -
4168      -
4169      -
4170      -
4171      -
4172      -
4173      -
4174      -
4175      -
4176      -
4177      -
4178      -
4179      -
4180      -
4181      -
4182      -
4183      -
4184      -
4185      -
4186      - u\ :sub:`7`
4187      - u\ :sub:`6`
4188      - u\ :sub:`5`
4189      - u\ :sub:`4`
4190      - u\ :sub:`3`
4191      - u\ :sub:`2`
4192      - u\ :sub:`1`
4193      - u\ :sub:`0`
4194    * -
4195      -
4196      -
4197      -
4198      -
4199      -
4200      -
4201      -
4202      -
4203      -
4204      -
4205      -
4206      -
4207      -
4208      -
4209      -
4210      -
4211      -
4212      -
4213      -
4214      -
4215      -
4216      -
4217      -
4218      -
4219      -
4220      -
4221      - y\ :sub:`7`
4222      - y\ :sub:`6`
4223      - y\ :sub:`5`
4224      - y\ :sub:`4`
4225      - y\ :sub:`3`
4226      - y\ :sub:`2`
4227      - y\ :sub:`1`
4228      - y\ :sub:`0`
4229    * .. _MEDIA-BUS-FMT-YUYV8-2X8:
4230
4231      - MEDIA_BUS_FMT_YUYV8_2X8
4232      - 0x2008
4233      -
4234      -
4235      -
4236      -
4237      -
4238      -
4239      -
4240      -
4241      -
4242      -
4243      -
4244      -
4245      -
4246      -
4247      -
4248      -
4249      -
4250      -
4251      -
4252      -
4253      -
4254      -
4255      -
4256      -
4257      -
4258      - y\ :sub:`7`
4259      - y\ :sub:`6`
4260      - y\ :sub:`5`
4261      - y\ :sub:`4`
4262      - y\ :sub:`3`
4263      - y\ :sub:`2`
4264      - y\ :sub:`1`
4265      - y\ :sub:`0`
4266    * -
4267      -
4268      -
4269      -
4270      -
4271      -
4272      -
4273      -
4274      -
4275      -
4276      -
4277      -
4278      -
4279      -
4280      -
4281      -
4282      -
4283      -
4284      -
4285      -
4286      -
4287      -
4288      -
4289      -
4290      -
4291      -
4292      -
4293      - u\ :sub:`7`
4294      - u\ :sub:`6`
4295      - u\ :sub:`5`
4296      - u\ :sub:`4`
4297      - u\ :sub:`3`
4298      - u\ :sub:`2`
4299      - u\ :sub:`1`
4300      - u\ :sub:`0`
4301    * -
4302      -
4303      -
4304      -
4305      -
4306      -
4307      -
4308      -
4309      -
4310      -
4311      -
4312      -
4313      -
4314      -
4315      -
4316      -
4317      -
4318      -
4319      -
4320      -
4321      -
4322      -
4323      -
4324      -
4325      -
4326      -
4327      -
4328      - y\ :sub:`7`
4329      - y\ :sub:`6`
4330      - y\ :sub:`5`
4331      - y\ :sub:`4`
4332      - y\ :sub:`3`
4333      - y\ :sub:`2`
4334      - y\ :sub:`1`
4335      - y\ :sub:`0`
4336    * -
4337      -
4338      -
4339      -
4340      -
4341      -
4342      -
4343      -
4344      -
4345      -
4346      -
4347      -
4348      -
4349      -
4350      -
4351      -
4352      -
4353      -
4354      -
4355      -
4356      -
4357      -
4358      -
4359      -
4360      -
4361      -
4362      -
4363      - v\ :sub:`7`
4364      - v\ :sub:`6`
4365      - v\ :sub:`5`
4366      - v\ :sub:`4`
4367      - v\ :sub:`3`
4368      - v\ :sub:`2`
4369      - v\ :sub:`1`
4370      - v\ :sub:`0`
4371    * .. _MEDIA-BUS-FMT-YVYU8-2X8:
4372
4373      - MEDIA_BUS_FMT_YVYU8_2X8
4374      - 0x2009
4375      -
4376      -
4377      -
4378      -
4379      -
4380      -
4381      -
4382      -
4383      -
4384      -
4385      -
4386      -
4387      -
4388      -
4389      -
4390      -
4391      -
4392      -
4393      -
4394      -
4395      -
4396      -
4397      -
4398      -
4399      -
4400      - y\ :sub:`7`
4401      - y\ :sub:`6`
4402      - y\ :sub:`5`
4403      - y\ :sub:`4`
4404      - y\ :sub:`3`
4405      - y\ :sub:`2`
4406      - y\ :sub:`1`
4407      - y\ :sub:`0`
4408    * -
4409      -
4410      -
4411      -
4412      -
4413      -
4414      -
4415      -
4416      -
4417      -
4418      -
4419      -
4420      -
4421      -
4422      -
4423      -
4424      -
4425      -
4426      -
4427      -
4428      -
4429      -
4430      -
4431      -
4432      -
4433      -
4434      -
4435      - v\ :sub:`7`
4436      - v\ :sub:`6`
4437      - v\ :sub:`5`
4438      - v\ :sub:`4`
4439      - v\ :sub:`3`
4440      - v\ :sub:`2`
4441      - v\ :sub:`1`
4442      - v\ :sub:`0`
4443    * -
4444      -
4445      -
4446      -
4447      -
4448      -
4449      -
4450      -
4451      -
4452      -
4453      -
4454      -
4455      -
4456      -
4457      -
4458      -
4459      -
4460      -
4461      -
4462      -
4463      -
4464      -
4465      -
4466      -
4467      -
4468      -
4469      -
4470      - y\ :sub:`7`
4471      - y\ :sub:`6`
4472      - y\ :sub:`5`
4473      - y\ :sub:`4`
4474      - y\ :sub:`3`
4475      - y\ :sub:`2`
4476      - y\ :sub:`1`
4477      - y\ :sub:`0`
4478    * -
4479      -
4480      -
4481      -
4482      -
4483      -
4484      -
4485      -
4486      -
4487      -
4488      -
4489      -
4490      -
4491      -
4492      -
4493      -
4494      -
4495      -
4496      -
4497      -
4498      -
4499      -
4500      -
4501      -
4502      -
4503      -
4504      -
4505      - u\ :sub:`7`
4506      - u\ :sub:`6`
4507      - u\ :sub:`5`
4508      - u\ :sub:`4`
4509      - u\ :sub:`3`
4510      - u\ :sub:`2`
4511      - u\ :sub:`1`
4512      - u\ :sub:`0`
4513    * .. _MEDIA-BUS-FMT-Y10-1X10:
4514
4515      - MEDIA_BUS_FMT_Y10_1X10
4516      - 0x200a
4517      -
4518      -
4519      -
4520      -
4521      -
4522      -
4523      -
4524      -
4525      -
4526      -
4527      -
4528      -
4529      -
4530      -
4531      -
4532      -
4533      -
4534      -
4535      -
4536      -
4537      -
4538      -
4539      -
4540      - y\ :sub:`9`
4541      - y\ :sub:`8`
4542      - y\ :sub:`7`
4543      - y\ :sub:`6`
4544      - y\ :sub:`5`
4545      - y\ :sub:`4`
4546      - y\ :sub:`3`
4547      - y\ :sub:`2`
4548      - y\ :sub:`1`
4549      - y\ :sub:`0`
4550    * .. _MEDIA-BUS-FMT-Y10-2X8-PADHI_LE:
4551
4552      - MEDIA_BUS_FMT_Y10_2X8_PADHI_LE
4553      - 0x202c
4554      -
4555      -
4556      -
4557      -
4558      -
4559      -
4560      -
4561      -
4562      -
4563      -
4564      -
4565      -
4566      -
4567      -
4568      -
4569      -
4570      -
4571      -
4572      -
4573      -
4574      -
4575      -
4576      -
4577      -
4578      -
4579      - y\ :sub:`7`
4580      - y\ :sub:`6`
4581      - y\ :sub:`5`
4582      - y\ :sub:`4`
4583      - y\ :sub:`3`
4584      - y\ :sub:`2`
4585      - y\ :sub:`1`
4586      - y\ :sub:`0`
4587    * -
4588      -
4589      -
4590      -
4591      -
4592      -
4593      -
4594      -
4595      -
4596      -
4597      -
4598      -
4599      -
4600      -
4601      -
4602      -
4603      -
4604      -
4605      -
4606      -
4607      -
4608      -
4609      -
4610      -
4611      -
4612      -
4613      -
4614      - 0
4615      - 0
4616      - 0
4617      - 0
4618      - 0
4619      - 0
4620      - y\ :sub:`9`
4621      - y\ :sub:`8`
4622    * .. _MEDIA-BUS-FMT-UYVY10-2X10:
4623
4624      - MEDIA_BUS_FMT_UYVY10_2X10
4625      - 0x2018
4626      -
4627      -
4628      -
4629      -
4630      -
4631      -
4632      -
4633      -
4634      -
4635      -
4636      -
4637      -
4638      -
4639      -
4640      -
4641      -
4642      -
4643      -
4644      -
4645      -
4646      -
4647      -
4648      -
4649      - u\ :sub:`9`
4650      - u\ :sub:`8`
4651      - u\ :sub:`7`
4652      - u\ :sub:`6`
4653      - u\ :sub:`5`
4654      - u\ :sub:`4`
4655      - u\ :sub:`3`
4656      - u\ :sub:`2`
4657      - u\ :sub:`1`
4658      - u\ :sub:`0`
4659    * -
4660      -
4661      -
4662      -
4663      -
4664      -
4665      -
4666      -
4667      -
4668      -
4669      -
4670      -
4671      -
4672      -
4673      -
4674      -
4675      -
4676      -
4677      -
4678      -
4679      -
4680      -
4681      -
4682      -
4683      -
4684      - y\ :sub:`9`
4685      - y\ :sub:`8`
4686      - y\ :sub:`7`
4687      - y\ :sub:`6`
4688      - y\ :sub:`5`
4689      - y\ :sub:`4`
4690      - y\ :sub:`3`
4691      - y\ :sub:`2`
4692      - y\ :sub:`1`
4693      - y\ :sub:`0`
4694    * -
4695      -
4696      -
4697      -
4698      -
4699      -
4700      -
4701      -
4702      -
4703      -
4704      -
4705      -
4706      -
4707      -
4708      -
4709      -
4710      -
4711      -
4712      -
4713      -
4714      -
4715      -
4716      -
4717      -
4718      -
4719      - v\ :sub:`9`
4720      - v\ :sub:`8`
4721      - v\ :sub:`7`
4722      - v\ :sub:`6`
4723      - v\ :sub:`5`
4724      - v\ :sub:`4`
4725      - v\ :sub:`3`
4726      - v\ :sub:`2`
4727      - v\ :sub:`1`
4728      - v\ :sub:`0`
4729    * -
4730      -
4731      -
4732      -
4733      -
4734      -
4735      -
4736      -
4737      -
4738      -
4739      -
4740      -
4741      -
4742      -
4743      -
4744      -
4745      -
4746      -
4747      -
4748      -
4749      -
4750      -
4751      -
4752      -
4753      -
4754      - y\ :sub:`9`
4755      - y\ :sub:`8`
4756      - y\ :sub:`7`
4757      - y\ :sub:`6`
4758      - y\ :sub:`5`
4759      - y\ :sub:`4`
4760      - y\ :sub:`3`
4761      - y\ :sub:`2`
4762      - y\ :sub:`1`
4763      - y\ :sub:`0`
4764    * .. _MEDIA-BUS-FMT-VYUY10-2X10:
4765
4766      - MEDIA_BUS_FMT_VYUY10_2X10
4767      - 0x2019
4768      -
4769      -
4770      -
4771      -
4772      -
4773      -
4774      -
4775      -
4776      -
4777      -
4778      -
4779      -
4780      -
4781      -
4782      -
4783      -
4784      -
4785      -
4786      -
4787      -
4788      -
4789      -
4790      -
4791      - v\ :sub:`9`
4792      - v\ :sub:`8`
4793      - v\ :sub:`7`
4794      - v\ :sub:`6`
4795      - v\ :sub:`5`
4796      - v\ :sub:`4`
4797      - v\ :sub:`3`
4798      - v\ :sub:`2`
4799      - v\ :sub:`1`
4800      - v\ :sub:`0`
4801    * -
4802      -
4803      -
4804      -
4805      -
4806      -
4807      -
4808      -
4809      -
4810      -
4811      -
4812      -
4813      -
4814      -
4815      -
4816      -
4817      -
4818      -
4819      -
4820      -
4821      -
4822      -
4823      -
4824      -
4825      -
4826      - y\ :sub:`9`
4827      - y\ :sub:`8`
4828      - y\ :sub:`7`
4829      - y\ :sub:`6`
4830      - y\ :sub:`5`
4831      - y\ :sub:`4`
4832      - y\ :sub:`3`
4833      - y\ :sub:`2`
4834      - y\ :sub:`1`
4835      - y\ :sub:`0`
4836    * -
4837      -
4838      -
4839      -
4840      -
4841      -
4842      -
4843      -
4844      -
4845      -
4846      -
4847      -
4848      -
4849      -
4850      -
4851      -
4852      -
4853      -
4854      -
4855      -
4856      -
4857      -
4858      -
4859      -
4860      -
4861      - u\ :sub:`9`
4862      - u\ :sub:`8`
4863      - u\ :sub:`7`
4864      - u\ :sub:`6`
4865      - u\ :sub:`5`
4866      - u\ :sub:`4`
4867      - u\ :sub:`3`
4868      - u\ :sub:`2`
4869      - u\ :sub:`1`
4870      - u\ :sub:`0`
4871    * -
4872      -
4873      -
4874      -
4875      -
4876      -
4877      -
4878      -
4879      -
4880      -
4881      -
4882      -
4883      -
4884      -
4885      -
4886      -
4887      -
4888      -
4889      -
4890      -
4891      -
4892      -
4893      -
4894      -
4895      -
4896      - y\ :sub:`9`
4897      - y\ :sub:`8`
4898      - y\ :sub:`7`
4899      - y\ :sub:`6`
4900      - y\ :sub:`5`
4901      - y\ :sub:`4`
4902      - y\ :sub:`3`
4903      - y\ :sub:`2`
4904      - y\ :sub:`1`
4905      - y\ :sub:`0`
4906    * .. _MEDIA-BUS-FMT-YUYV10-2X10:
4907
4908      - MEDIA_BUS_FMT_YUYV10_2X10
4909      - 0x200b
4910      -
4911      -
4912      -
4913      -
4914      -
4915      -
4916      -
4917      -
4918      -
4919      -
4920      -
4921      -
4922      -
4923      -
4924      -
4925      -
4926      -
4927      -
4928      -
4929      -
4930      -
4931      -
4932      -
4933      - y\ :sub:`9`
4934      - y\ :sub:`8`
4935      - y\ :sub:`7`
4936      - y\ :sub:`6`
4937      - y\ :sub:`5`
4938      - y\ :sub:`4`
4939      - y\ :sub:`3`
4940      - y\ :sub:`2`
4941      - y\ :sub:`1`
4942      - y\ :sub:`0`
4943    * -
4944      -
4945      -
4946      -
4947      -
4948      -
4949      -
4950      -
4951      -
4952      -
4953      -
4954      -
4955      -
4956      -
4957      -
4958      -
4959      -
4960      -
4961      -
4962      -
4963      -
4964      -
4965      -
4966      -
4967      -
4968      - u\ :sub:`9`
4969      - u\ :sub:`8`
4970      - u\ :sub:`7`
4971      - u\ :sub:`6`
4972      - u\ :sub:`5`
4973      - u\ :sub:`4`
4974      - u\ :sub:`3`
4975      - u\ :sub:`2`
4976      - u\ :sub:`1`
4977      - u\ :sub:`0`
4978    * -
4979      -
4980      -
4981      -
4982      -
4983      -
4984      -
4985      -
4986      -
4987      -
4988      -
4989      -
4990      -
4991      -
4992      -
4993      -
4994      -
4995      -
4996      -
4997      -
4998      -
4999      -
5000      -
5001      -
5002      -
5003      - y\ :sub:`9`
5004      - y\ :sub:`8`
5005      - y\ :sub:`7`
5006      - y\ :sub:`6`
5007      - y\ :sub:`5`
5008      - y\ :sub:`4`
5009      - y\ :sub:`3`
5010      - y\ :sub:`2`
5011      - y\ :sub:`1`
5012      - y\ :sub:`0`
5013    * -
5014      -
5015      -
5016      -
5017      -
5018      -
5019      -
5020      -
5021      -
5022      -
5023      -
5024      -
5025      -
5026      -
5027      -
5028      -
5029      -
5030      -
5031      -
5032      -
5033      -
5034      -
5035      -
5036      -
5037      -
5038      - v\ :sub:`9`
5039      - v\ :sub:`8`
5040      - v\ :sub:`7`
5041      - v\ :sub:`6`
5042      - v\ :sub:`5`
5043      - v\ :sub:`4`
5044      - v\ :sub:`3`
5045      - v\ :sub:`2`
5046      - v\ :sub:`1`
5047      - v\ :sub:`0`
5048    * .. _MEDIA-BUS-FMT-YVYU10-2X10:
5049
5050      - MEDIA_BUS_FMT_YVYU10_2X10
5051      - 0x200c
5052      -
5053      -
5054      -
5055      -
5056      -
5057      -
5058      -
5059      -
5060      -
5061      -
5062      -
5063      -
5064      -
5065      -
5066      -
5067      -
5068      -
5069      -
5070      -
5071      -
5072      -
5073      -
5074      -
5075      - y\ :sub:`9`
5076      - y\ :sub:`8`
5077      - y\ :sub:`7`
5078      - y\ :sub:`6`
5079      - y\ :sub:`5`
5080      - y\ :sub:`4`
5081      - y\ :sub:`3`
5082      - y\ :sub:`2`
5083      - y\ :sub:`1`
5084      - y\ :sub:`0`
5085    * -
5086      -
5087      -
5088      -
5089      -
5090      -
5091      -
5092      -
5093      -
5094      -
5095      -
5096      -
5097      -
5098      -
5099      -
5100      -
5101      -
5102      -
5103      -
5104      -
5105      -
5106      -
5107      -
5108      -
5109      -
5110      - v\ :sub:`9`
5111      - v\ :sub:`8`
5112      - v\ :sub:`7`
5113      - v\ :sub:`6`
5114      - v\ :sub:`5`
5115      - v\ :sub:`4`
5116      - v\ :sub:`3`
5117      - v\ :sub:`2`
5118      - v\ :sub:`1`
5119      - v\ :sub:`0`
5120    * -
5121      -
5122      -
5123      -
5124      -
5125      -
5126      -
5127      -
5128      -
5129      -
5130      -
5131      -
5132      -
5133      -
5134      -
5135      -
5136      -
5137      -
5138      -
5139      -
5140      -
5141      -
5142      -
5143      -
5144      -
5145      - y\ :sub:`9`
5146      - y\ :sub:`8`
5147      - y\ :sub:`7`
5148      - y\ :sub:`6`
5149      - y\ :sub:`5`
5150      - y\ :sub:`4`
5151      - y\ :sub:`3`
5152      - y\ :sub:`2`
5153      - y\ :sub:`1`
5154      - y\ :sub:`0`
5155    * -
5156      -
5157      -
5158      -
5159      -
5160      -
5161      -
5162      -
5163      -
5164      -
5165      -
5166      -
5167      -
5168      -
5169      -
5170      -
5171      -
5172      -
5173      -
5174      -
5175      -
5176      -
5177      -
5178      -
5179      -
5180      - u\ :sub:`9`
5181      - u\ :sub:`8`
5182      - u\ :sub:`7`
5183      - u\ :sub:`6`
5184      - u\ :sub:`5`
5185      - u\ :sub:`4`
5186      - u\ :sub:`3`
5187      - u\ :sub:`2`
5188      - u\ :sub:`1`
5189      - u\ :sub:`0`
5190    * .. _MEDIA-BUS-FMT-Y12-1X12:
5191
5192      - MEDIA_BUS_FMT_Y12_1X12
5193      - 0x2013
5194      -
5195      -
5196      -
5197      -
5198      -
5199      -
5200      -
5201      -
5202      -
5203      -
5204      -
5205      -
5206      -
5207      -
5208      -
5209      -
5210      -
5211      -
5212      -
5213      -
5214      -
5215      - y\ :sub:`11`
5216      - y\ :sub:`10`
5217      - y\ :sub:`9`
5218      - y\ :sub:`8`
5219      - y\ :sub:`7`
5220      - y\ :sub:`6`
5221      - y\ :sub:`5`
5222      - y\ :sub:`4`
5223      - y\ :sub:`3`
5224      - y\ :sub:`2`
5225      - y\ :sub:`1`
5226      - y\ :sub:`0`
5227    * .. _MEDIA-BUS-FMT-UYVY12-2X12:
5228
5229      - MEDIA_BUS_FMT_UYVY12_2X12
5230      - 0x201c
5231      -
5232      -
5233      -
5234      -
5235      -
5236      -
5237      -
5238      -
5239      -
5240      -
5241      -
5242      -
5243      -
5244      -
5245      -
5246      -
5247      -
5248      -
5249      -
5250      -
5251      -
5252      - u\ :sub:`11`
5253      - u\ :sub:`10`
5254      - u\ :sub:`9`
5255      - u\ :sub:`8`
5256      - u\ :sub:`7`
5257      - u\ :sub:`6`
5258      - u\ :sub:`5`
5259      - u\ :sub:`4`
5260      - u\ :sub:`3`
5261      - u\ :sub:`2`
5262      - u\ :sub:`1`
5263      - u\ :sub:`0`
5264    * -
5265      -
5266      -
5267      -
5268      -
5269      -
5270      -
5271      -
5272      -
5273      -
5274      -
5275      -
5276      -
5277      -
5278      -
5279      -
5280      -
5281      -
5282      -
5283      -
5284      -
5285      -
5286      -
5287      - y\ :sub:`11`
5288      - y\ :sub:`10`
5289      - y\ :sub:`9`
5290      - y\ :sub:`8`
5291      - y\ :sub:`7`
5292      - y\ :sub:`6`
5293      - y\ :sub:`5`
5294      - y\ :sub:`4`
5295      - y\ :sub:`3`
5296      - y\ :sub:`2`
5297      - y\ :sub:`1`
5298      - y\ :sub:`0`
5299    * -
5300      -
5301      -
5302      -
5303      -
5304      -
5305      -
5306      -
5307      -
5308      -
5309      -
5310      -
5311      -
5312      -
5313      -
5314      -
5315      -
5316      -
5317      -
5318      -
5319      -
5320      -
5321      -
5322      - v\ :sub:`11`
5323      - v\ :sub:`10`
5324      - v\ :sub:`9`
5325      - v\ :sub:`8`
5326      - v\ :sub:`7`
5327      - v\ :sub:`6`
5328      - v\ :sub:`5`
5329      - v\ :sub:`4`
5330      - v\ :sub:`3`
5331      - v\ :sub:`2`
5332      - v\ :sub:`1`
5333      - v\ :sub:`0`
5334    * -
5335      -
5336      -
5337      -
5338      -
5339      -
5340      -
5341      -
5342      -
5343      -
5344      -
5345      -
5346      -
5347      -
5348      -
5349      -
5350      -
5351      -
5352      -
5353      -
5354      -
5355      -
5356      -
5357      - y\ :sub:`11`
5358      - y\ :sub:`10`
5359      - y\ :sub:`9`
5360      - y\ :sub:`8`
5361      - y\ :sub:`7`
5362      - y\ :sub:`6`
5363      - y\ :sub:`5`
5364      - y\ :sub:`4`
5365      - y\ :sub:`3`
5366      - y\ :sub:`2`
5367      - y\ :sub:`1`
5368      - y\ :sub:`0`
5369    * .. _MEDIA-BUS-FMT-VYUY12-2X12:
5370
5371      - MEDIA_BUS_FMT_VYUY12_2X12
5372      - 0x201d
5373      -
5374      -
5375      -
5376      -
5377      -
5378      -
5379      -
5380      -
5381      -
5382      -
5383      -
5384      -
5385      -
5386      -
5387      -
5388      -
5389      -
5390      -
5391      -
5392      -
5393      -
5394      - v\ :sub:`11`
5395      - v\ :sub:`10`
5396      - v\ :sub:`9`
5397      - v\ :sub:`8`
5398      - v\ :sub:`7`
5399      - v\ :sub:`6`
5400      - v\ :sub:`5`
5401      - v\ :sub:`4`
5402      - v\ :sub:`3`
5403      - v\ :sub:`2`
5404      - v\ :sub:`1`
5405      - v\ :sub:`0`
5406    * -
5407      -
5408      -
5409      -
5410      -
5411      -
5412      -
5413      -
5414      -
5415      -
5416      -
5417      -
5418      -
5419      -
5420      -
5421      -
5422      -
5423      -
5424      -
5425      -
5426      -
5427      -
5428      -
5429      - y\ :sub:`11`
5430      - y\ :sub:`10`
5431      - y\ :sub:`9`
5432      - y\ :sub:`8`
5433      - y\ :sub:`7`
5434      - y\ :sub:`6`
5435      - y\ :sub:`5`
5436      - y\ :sub:`4`
5437      - y\ :sub:`3`
5438      - y\ :sub:`2`
5439      - y\ :sub:`1`
5440      - y\ :sub:`0`
5441    * -
5442      -
5443      -
5444      -
5445      -
5446      -
5447      -
5448      -
5449      -
5450      -
5451      -
5452      -
5453      -
5454      -
5455      -
5456      -
5457      -
5458      -
5459      -
5460      -
5461      -
5462      -
5463      -
5464      - u\ :sub:`11`
5465      - u\ :sub:`10`
5466      - u\ :sub:`9`
5467      - u\ :sub:`8`
5468      - u\ :sub:`7`
5469      - u\ :sub:`6`
5470      - u\ :sub:`5`
5471      - u\ :sub:`4`
5472      - u\ :sub:`3`
5473      - u\ :sub:`2`
5474      - u\ :sub:`1`
5475      - u\ :sub:`0`
5476    * -
5477      -
5478      -
5479      -
5480      -
5481      -
5482      -
5483      -
5484      -
5485      -
5486      -
5487      -
5488      -
5489      -
5490      -
5491      -
5492      -
5493      -
5494      -
5495      -
5496      -
5497      -
5498      -
5499      - y\ :sub:`11`
5500      - y\ :sub:`10`
5501      - y\ :sub:`9`
5502      - y\ :sub:`8`
5503      - y\ :sub:`7`
5504      - y\ :sub:`6`
5505      - y\ :sub:`5`
5506      - y\ :sub:`4`
5507      - y\ :sub:`3`
5508      - y\ :sub:`2`
5509      - y\ :sub:`1`
5510      - y\ :sub:`0`
5511    * .. _MEDIA-BUS-FMT-YUYV12-2X12:
5512
5513      - MEDIA_BUS_FMT_YUYV12_2X12
5514      - 0x201e
5515      -
5516      -
5517      -
5518      -
5519      -
5520      -
5521      -
5522      -
5523      -
5524      -
5525      -
5526      -
5527      -
5528      -
5529      -
5530      -
5531      -
5532      -
5533      -
5534      -
5535      -
5536      - y\ :sub:`11`
5537      - y\ :sub:`10`
5538      - y\ :sub:`9`
5539      - y\ :sub:`8`
5540      - y\ :sub:`7`
5541      - y\ :sub:`6`
5542      - y\ :sub:`5`
5543      - y\ :sub:`4`
5544      - y\ :sub:`3`
5545      - y\ :sub:`2`
5546      - y\ :sub:`1`
5547      - y\ :sub:`0`
5548    * -
5549      -
5550      -
5551      -
5552      -
5553      -
5554      -
5555      -
5556      -
5557      -
5558      -
5559      -
5560      -
5561      -
5562      -
5563      -
5564      -
5565      -
5566      -
5567      -
5568      -
5569      -
5570      -
5571      - u\ :sub:`11`
5572      - u\ :sub:`10`
5573      - u\ :sub:`9`
5574      - u\ :sub:`8`
5575      - u\ :sub:`7`
5576      - u\ :sub:`6`
5577      - u\ :sub:`5`
5578      - u\ :sub:`4`
5579      - u\ :sub:`3`
5580      - u\ :sub:`2`
5581      - u\ :sub:`1`
5582      - u\ :sub:`0`
5583    * -
5584      -
5585      -
5586      -
5587      -
5588      -
5589      -
5590      -
5591      -
5592      -
5593      -
5594      -
5595      -
5596      -
5597      -
5598      -
5599      -
5600      -
5601      -
5602      -
5603      -
5604      -
5605      -
5606      - y\ :sub:`11`
5607      - y\ :sub:`10`
5608      - y\ :sub:`9`
5609      - y\ :sub:`8`
5610      - y\ :sub:`7`
5611      - y\ :sub:`6`
5612      - y\ :sub:`5`
5613      - y\ :sub:`4`
5614      - y\ :sub:`3`
5615      - y\ :sub:`2`
5616      - y\ :sub:`1`
5617      - y\ :sub:`0`
5618    * -
5619      -
5620      -
5621      -
5622      -
5623      -
5624      -
5625      -
5626      -
5627      -
5628      -
5629      -
5630      -
5631      -
5632      -
5633      -
5634      -
5635      -
5636      -
5637      -
5638      -
5639      -
5640      -
5641      - v\ :sub:`11`
5642      - v\ :sub:`10`
5643      - v\ :sub:`9`
5644      - v\ :sub:`8`
5645      - v\ :sub:`7`
5646      - v\ :sub:`6`
5647      - v\ :sub:`5`
5648      - v\ :sub:`4`
5649      - v\ :sub:`3`
5650      - v\ :sub:`2`
5651      - v\ :sub:`1`
5652      - v\ :sub:`0`
5653    * .. _MEDIA-BUS-FMT-YVYU12-2X12:
5654
5655      - MEDIA_BUS_FMT_YVYU12_2X12
5656      - 0x201f
5657      -
5658      -
5659      -
5660      -
5661      -
5662      -
5663      -
5664      -
5665      -
5666      -
5667      -
5668      -
5669      -
5670      -
5671      -
5672      -
5673      -
5674      -
5675      -
5676      -
5677      -
5678      - y\ :sub:`11`
5679      - y\ :sub:`10`
5680      - y\ :sub:`9`
5681      - y\ :sub:`8`
5682      - y\ :sub:`7`
5683      - y\ :sub:`6`
5684      - y\ :sub:`5`
5685      - y\ :sub:`4`
5686      - y\ :sub:`3`
5687      - y\ :sub:`2`
5688      - y\ :sub:`1`
5689      - y\ :sub:`0`
5690    * -
5691      -
5692      -
5693      -
5694      -
5695      -
5696      -
5697      -
5698      -
5699      -
5700      -
5701      -
5702      -
5703      -
5704      -
5705      -
5706      -
5707      -
5708      -
5709      -
5710      -
5711      -
5712      -
5713      - v\ :sub:`11`
5714      - v\ :sub:`10`
5715      - v\ :sub:`9`
5716      - v\ :sub:`8`
5717      - v\ :sub:`7`
5718      - v\ :sub:`6`
5719      - v\ :sub:`5`
5720      - v\ :sub:`4`
5721      - v\ :sub:`3`
5722      - v\ :sub:`2`
5723      - v\ :sub:`1`
5724      - v\ :sub:`0`
5725    * -
5726      -
5727      -
5728      -
5729      -
5730      -
5731      -
5732      -
5733      -
5734      -
5735      -
5736      -
5737      -
5738      -
5739      -
5740      -
5741      -
5742      -
5743      -
5744      -
5745      -
5746      -
5747      -
5748      - y\ :sub:`11`
5749      - y\ :sub:`10`
5750      - y\ :sub:`9`
5751      - y\ :sub:`8`
5752      - y\ :sub:`7`
5753      - y\ :sub:`6`
5754      - y\ :sub:`5`
5755      - y\ :sub:`4`
5756      - y\ :sub:`3`
5757      - y\ :sub:`2`
5758      - y\ :sub:`1`
5759      - y\ :sub:`0`
5760    * -
5761      -
5762      -
5763      -
5764      -
5765      -
5766      -
5767      -
5768      -
5769      -
5770      -
5771      -
5772      -
5773      -
5774      -
5775      -
5776      -
5777      -
5778      -
5779      -
5780      -
5781      -
5782      -
5783      - u\ :sub:`11`
5784      - u\ :sub:`10`
5785      - u\ :sub:`9`
5786      - u\ :sub:`8`
5787      - u\ :sub:`7`
5788      - u\ :sub:`6`
5789      - u\ :sub:`5`
5790      - u\ :sub:`4`
5791      - u\ :sub:`3`
5792      - u\ :sub:`2`
5793      - u\ :sub:`1`
5794      - u\ :sub:`0`
5795    * .. _MEDIA-BUS-FMT-Y14-1X14:
5796
5797      - MEDIA_BUS_FMT_Y14_1X14
5798      - 0x202d
5799      -
5800      -
5801      -
5802      -
5803      -
5804      -
5805      -
5806      -
5807      -
5808      -
5809      -
5810      -
5811      -
5812      -
5813      -
5814      -
5815      -
5816      -
5817      -
5818      - y\ :sub:`13`
5819      - y\ :sub:`12`
5820      - y\ :sub:`11`
5821      - y\ :sub:`10`
5822      - y\ :sub:`9`
5823      - y\ :sub:`8`
5824      - y\ :sub:`7`
5825      - y\ :sub:`6`
5826      - y\ :sub:`5`
5827      - y\ :sub:`4`
5828      - y\ :sub:`3`
5829      - y\ :sub:`2`
5830      - y\ :sub:`1`
5831      - y\ :sub:`0`
5832    * .. _MEDIA-BUS-FMT-UYVY8-1X16:
5833
5834      - MEDIA_BUS_FMT_UYVY8_1X16
5835      - 0x200f
5836      -
5837      -
5838      -
5839      -
5840      -
5841      -
5842      -
5843      -
5844      -
5845      -
5846      -
5847      -
5848      -
5849      -
5850      -
5851      -
5852      -
5853      - u\ :sub:`7`
5854      - u\ :sub:`6`
5855      - u\ :sub:`5`
5856      - u\ :sub:`4`
5857      - u\ :sub:`3`
5858      - u\ :sub:`2`
5859      - u\ :sub:`1`
5860      - u\ :sub:`0`
5861      - y\ :sub:`7`
5862      - y\ :sub:`6`
5863      - y\ :sub:`5`
5864      - y\ :sub:`4`
5865      - y\ :sub:`3`
5866      - y\ :sub:`2`
5867      - y\ :sub:`1`
5868      - y\ :sub:`0`
5869    * -
5870      -
5871      -
5872      -
5873      -
5874      -
5875      -
5876      -
5877      -
5878      -
5879      -
5880      -
5881      -
5882      -
5883      -
5884      -
5885      -
5886      -
5887      -
5888      - v\ :sub:`7`
5889      - v\ :sub:`6`
5890      - v\ :sub:`5`
5891      - v\ :sub:`4`
5892      - v\ :sub:`3`
5893      - v\ :sub:`2`
5894      - v\ :sub:`1`
5895      - v\ :sub:`0`
5896      - y\ :sub:`7`
5897      - y\ :sub:`6`
5898      - y\ :sub:`5`
5899      - y\ :sub:`4`
5900      - y\ :sub:`3`
5901      - y\ :sub:`2`
5902      - y\ :sub:`1`
5903      - y\ :sub:`0`
5904    * .. _MEDIA-BUS-FMT-VYUY8-1X16:
5905
5906      - MEDIA_BUS_FMT_VYUY8_1X16
5907      - 0x2010
5908      -
5909      -
5910      -
5911      -
5912      -
5913      -
5914      -
5915      -
5916      -
5917      -
5918      -
5919      -
5920      -
5921      -
5922      -
5923      -
5924      -
5925      - v\ :sub:`7`
5926      - v\ :sub:`6`
5927      - v\ :sub:`5`
5928      - v\ :sub:`4`
5929      - v\ :sub:`3`
5930      - v\ :sub:`2`
5931      - v\ :sub:`1`
5932      - v\ :sub:`0`
5933      - y\ :sub:`7`
5934      - y\ :sub:`6`
5935      - y\ :sub:`5`
5936      - y\ :sub:`4`
5937      - y\ :sub:`3`
5938      - y\ :sub:`2`
5939      - y\ :sub:`1`
5940      - y\ :sub:`0`
5941    * -
5942      -
5943      -
5944      -
5945      -
5946      -
5947      -
5948      -
5949      -
5950      -
5951      -
5952      -
5953      -
5954      -
5955      -
5956      -
5957      -
5958      -
5959      -
5960      - u\ :sub:`7`
5961      - u\ :sub:`6`
5962      - u\ :sub:`5`
5963      - u\ :sub:`4`
5964      - u\ :sub:`3`
5965      - u\ :sub:`2`
5966      - u\ :sub:`1`
5967      - u\ :sub:`0`
5968      - y\ :sub:`7`
5969      - y\ :sub:`6`
5970      - y\ :sub:`5`
5971      - y\ :sub:`4`
5972      - y\ :sub:`3`
5973      - y\ :sub:`2`
5974      - y\ :sub:`1`
5975      - y\ :sub:`0`
5976    * .. _MEDIA-BUS-FMT-YUYV8-1X16:
5977
5978      - MEDIA_BUS_FMT_YUYV8_1X16
5979      - 0x2011
5980      -
5981      -
5982      -
5983      -
5984      -
5985      -
5986      -
5987      -
5988      -
5989      -
5990      -
5991      -
5992      -
5993      -
5994      -
5995      -
5996      -
5997      - y\ :sub:`7`
5998      - y\ :sub:`6`
5999      - y\ :sub:`5`
6000      - y\ :sub:`4`
6001      - y\ :sub:`3`
6002      - y\ :sub:`2`
6003      - y\ :sub:`1`
6004      - y\ :sub:`0`
6005      - u\ :sub:`7`
6006      - u\ :sub:`6`
6007      - u\ :sub:`5`
6008      - u\ :sub:`4`
6009      - u\ :sub:`3`
6010      - u\ :sub:`2`
6011      - u\ :sub:`1`
6012      - u\ :sub:`0`
6013    * -
6014      -
6015      -
6016      -
6017      -
6018      -
6019      -
6020      -
6021      -
6022      -
6023      -
6024      -
6025      -
6026      -
6027      -
6028      -
6029      -
6030      -
6031      -
6032      - y\ :sub:`7`
6033      - y\ :sub:`6`
6034      - y\ :sub:`5`
6035      - y\ :sub:`4`
6036      - y\ :sub:`3`
6037      - y\ :sub:`2`
6038      - y\ :sub:`1`
6039      - y\ :sub:`0`
6040      - v\ :sub:`7`
6041      - v\ :sub:`6`
6042      - v\ :sub:`5`
6043      - v\ :sub:`4`
6044      - v\ :sub:`3`
6045      - v\ :sub:`2`
6046      - v\ :sub:`1`
6047      - v\ :sub:`0`
6048    * .. _MEDIA-BUS-FMT-YVYU8-1X16:
6049
6050      - MEDIA_BUS_FMT_YVYU8_1X16
6051      - 0x2012
6052      -
6053      -
6054      -
6055      -
6056      -
6057      -
6058      -
6059      -
6060      -
6061      -
6062      -
6063      -
6064      -
6065      -
6066      -
6067      -
6068      -
6069      - y\ :sub:`7`
6070      - y\ :sub:`6`
6071      - y\ :sub:`5`
6072      - y\ :sub:`4`
6073      - y\ :sub:`3`
6074      - y\ :sub:`2`
6075      - y\ :sub:`1`
6076      - y\ :sub:`0`
6077      - v\ :sub:`7`
6078      - v\ :sub:`6`
6079      - v\ :sub:`5`
6080      - v\ :sub:`4`
6081      - v\ :sub:`3`
6082      - v\ :sub:`2`
6083      - v\ :sub:`1`
6084      - v\ :sub:`0`
6085    * -
6086      -
6087      -
6088      -
6089      -
6090      -
6091      -
6092      -
6093      -
6094      -
6095      -
6096      -
6097      -
6098      -
6099      -
6100      -
6101      -
6102      -
6103      -
6104      - y\ :sub:`7`
6105      - y\ :sub:`6`
6106      - y\ :sub:`5`
6107      - y\ :sub:`4`
6108      - y\ :sub:`3`
6109      - y\ :sub:`2`
6110      - y\ :sub:`1`
6111      - y\ :sub:`0`
6112      - u\ :sub:`7`
6113      - u\ :sub:`6`
6114      - u\ :sub:`5`
6115      - u\ :sub:`4`
6116      - u\ :sub:`3`
6117      - u\ :sub:`2`
6118      - u\ :sub:`1`
6119      - u\ :sub:`0`
6120    * .. _MEDIA-BUS-FMT-YDYUYDYV8-1X16:
6121
6122      - MEDIA_BUS_FMT_YDYUYDYV8_1X16
6123      - 0x2014
6124      -
6125      -
6126      -
6127      -
6128      -
6129      -
6130      -
6131      -
6132      -
6133      -
6134      -
6135      -
6136      -
6137      -
6138      -
6139      -
6140      -
6141      - y\ :sub:`7`
6142      - y\ :sub:`6`
6143      - y\ :sub:`5`
6144      - y\ :sub:`4`
6145      - y\ :sub:`3`
6146      - y\ :sub:`2`
6147      - y\ :sub:`1`
6148      - y\ :sub:`0`
6149      - d
6150      - d
6151      - d
6152      - d
6153      - d
6154      - d
6155      - d
6156      - d
6157    * -
6158      -
6159      -
6160      -
6161      -
6162      -
6163      -
6164      -
6165      -
6166      -
6167      -
6168      -
6169      -
6170      -
6171      -
6172      -
6173      -
6174      -
6175      -
6176      - y\ :sub:`7`
6177      - y\ :sub:`6`
6178      - y\ :sub:`5`
6179      - y\ :sub:`4`
6180      - y\ :sub:`3`
6181      - y\ :sub:`2`
6182      - y\ :sub:`1`
6183      - y\ :sub:`0`
6184      - u\ :sub:`7`
6185      - u\ :sub:`6`
6186      - u\ :sub:`5`
6187      - u\ :sub:`4`
6188      - u\ :sub:`3`
6189      - u\ :sub:`2`
6190      - u\ :sub:`1`
6191      - u\ :sub:`0`
6192    * -
6193      -
6194      -
6195      -
6196      -
6197      -
6198      -
6199      -
6200      -
6201      -
6202      -
6203      -
6204      -
6205      -
6206      -
6207      -
6208      -
6209      -
6210      -
6211      - y\ :sub:`7`
6212      - y\ :sub:`6`
6213      - y\ :sub:`5`
6214      - y\ :sub:`4`
6215      - y\ :sub:`3`
6216      - y\ :sub:`2`
6217      - y\ :sub:`1`
6218      - y\ :sub:`0`
6219      - d
6220      - d
6221      - d
6222      - d
6223      - d
6224      - d
6225      - d
6226      - d
6227    * -
6228      -
6229      -
6230      -
6231      -
6232      -
6233      -
6234      -
6235      -
6236      -
6237      -
6238      -
6239      -
6240      -
6241      -
6242      -
6243      -
6244      -
6245      -
6246      - y\ :sub:`7`
6247      - y\ :sub:`6`
6248      - y\ :sub:`5`
6249      - y\ :sub:`4`
6250      - y\ :sub:`3`
6251      - y\ :sub:`2`
6252      - y\ :sub:`1`
6253      - y\ :sub:`0`
6254      - v\ :sub:`7`
6255      - v\ :sub:`6`
6256      - v\ :sub:`5`
6257      - v\ :sub:`4`
6258      - v\ :sub:`3`
6259      - v\ :sub:`2`
6260      - v\ :sub:`1`
6261      - v\ :sub:`0`
6262    * .. _MEDIA-BUS-FMT-UYVY10-1X20:
6263
6264      - MEDIA_BUS_FMT_UYVY10_1X20
6265      - 0x201a
6266      -
6267      -
6268      -
6269      -
6270      -
6271      -
6272      -
6273      -
6274      -
6275      -
6276      -
6277      -
6278      -
6279      - u\ :sub:`9`
6280      - u\ :sub:`8`
6281      - u\ :sub:`7`
6282      - u\ :sub:`6`
6283      - u\ :sub:`5`
6284      - u\ :sub:`4`
6285      - u\ :sub:`3`
6286      - u\ :sub:`2`
6287      - u\ :sub:`1`
6288      - u\ :sub:`0`
6289      - y\ :sub:`9`
6290      - y\ :sub:`8`
6291      - y\ :sub:`7`
6292      - y\ :sub:`6`
6293      - y\ :sub:`5`
6294      - y\ :sub:`4`
6295      - y\ :sub:`3`
6296      - y\ :sub:`2`
6297      - y\ :sub:`1`
6298      - y\ :sub:`0`
6299    * -
6300      -
6301      -
6302      -
6303      -
6304      -
6305      -
6306      -
6307      -
6308      -
6309      -
6310      -
6311      -
6312      -
6313      -
6314      - v\ :sub:`9`
6315      - v\ :sub:`8`
6316      - v\ :sub:`7`
6317      - v\ :sub:`6`
6318      - v\ :sub:`5`
6319      - v\ :sub:`4`
6320      - v\ :sub:`3`
6321      - v\ :sub:`2`
6322      - v\ :sub:`1`
6323      - v\ :sub:`0`
6324      - y\ :sub:`9`
6325      - y\ :sub:`8`
6326      - y\ :sub:`7`
6327      - y\ :sub:`6`
6328      - y\ :sub:`5`
6329      - y\ :sub:`4`
6330      - y\ :sub:`3`
6331      - y\ :sub:`2`
6332      - y\ :sub:`1`
6333      - y\ :sub:`0`
6334    * .. _MEDIA-BUS-FMT-VYUY10-1X20:
6335
6336      - MEDIA_BUS_FMT_VYUY10_1X20
6337      - 0x201b
6338      -
6339      -
6340      -
6341      -
6342      -
6343      -
6344      -
6345      -
6346      -
6347      -
6348      -
6349      -
6350      -
6351      - v\ :sub:`9`
6352      - v\ :sub:`8`
6353      - v\ :sub:`7`
6354      - v\ :sub:`6`
6355      - v\ :sub:`5`
6356      - v\ :sub:`4`
6357      - v\ :sub:`3`
6358      - v\ :sub:`2`
6359      - v\ :sub:`1`
6360      - v\ :sub:`0`
6361      - y\ :sub:`9`
6362      - y\ :sub:`8`
6363      - y\ :sub:`7`
6364      - y\ :sub:`6`
6365      - y\ :sub:`5`
6366      - y\ :sub:`4`
6367      - y\ :sub:`3`
6368      - y\ :sub:`2`
6369      - y\ :sub:`1`
6370      - y\ :sub:`0`
6371    * -
6372      -
6373      -
6374      -
6375      -
6376      -
6377      -
6378      -
6379      -
6380      -
6381      -
6382      -
6383      -
6384      -
6385      -
6386      - u\ :sub:`9`
6387      - u\ :sub:`8`
6388      - u\ :sub:`7`
6389      - u\ :sub:`6`
6390      - u\ :sub:`5`
6391      - u\ :sub:`4`
6392      - u\ :sub:`3`
6393      - u\ :sub:`2`
6394      - u\ :sub:`1`
6395      - u\ :sub:`0`
6396      - y\ :sub:`9`
6397      - y\ :sub:`8`
6398      - y\ :sub:`7`
6399      - y\ :sub:`6`
6400      - y\ :sub:`5`
6401      - y\ :sub:`4`
6402      - y\ :sub:`3`
6403      - y\ :sub:`2`
6404      - y\ :sub:`1`
6405      - y\ :sub:`0`
6406    * .. _MEDIA-BUS-FMT-YUYV10-1X20:
6407
6408      - MEDIA_BUS_FMT_YUYV10_1X20
6409      - 0x200d
6410      -
6411      -
6412      -
6413      -
6414      -
6415      -
6416      -
6417      -
6418      -
6419      -
6420      -
6421      -
6422      -
6423      - y\ :sub:`9`
6424      - y\ :sub:`8`
6425      - y\ :sub:`7`
6426      - y\ :sub:`6`
6427      - y\ :sub:`5`
6428      - y\ :sub:`4`
6429      - y\ :sub:`3`
6430      - y\ :sub:`2`
6431      - y\ :sub:`1`
6432      - y\ :sub:`0`
6433      - u\ :sub:`9`
6434      - u\ :sub:`8`
6435      - u\ :sub:`7`
6436      - u\ :sub:`6`
6437      - u\ :sub:`5`
6438      - u\ :sub:`4`
6439      - u\ :sub:`3`
6440      - u\ :sub:`2`
6441      - u\ :sub:`1`
6442      - u\ :sub:`0`
6443    * -
6444      -
6445      -
6446      -
6447      -
6448      -
6449      -
6450      -
6451      -
6452      -
6453      -
6454      -
6455      -
6456      -
6457      -
6458      - y\ :sub:`9`
6459      - y\ :sub:`8`
6460      - y\ :sub:`7`
6461      - y\ :sub:`6`
6462      - y\ :sub:`5`
6463      - y\ :sub:`4`
6464      - y\ :sub:`3`
6465      - y\ :sub:`2`
6466      - y\ :sub:`1`
6467      - y\ :sub:`0`
6468      - v\ :sub:`9`
6469      - v\ :sub:`8`
6470      - v\ :sub:`7`
6471      - v\ :sub:`6`
6472      - v\ :sub:`5`
6473      - v\ :sub:`4`
6474      - v\ :sub:`3`
6475      - v\ :sub:`2`
6476      - v\ :sub:`1`
6477      - v\ :sub:`0`
6478    * .. _MEDIA-BUS-FMT-YVYU10-1X20:
6479
6480      - MEDIA_BUS_FMT_YVYU10_1X20
6481      - 0x200e
6482      -
6483      -
6484      -
6485      -
6486      -
6487      -
6488      -
6489      -
6490      -
6491      -
6492      -
6493      -
6494      -
6495      - y\ :sub:`9`
6496      - y\ :sub:`8`
6497      - y\ :sub:`7`
6498      - y\ :sub:`6`
6499      - y\ :sub:`5`
6500      - y\ :sub:`4`
6501      - y\ :sub:`3`
6502      - y\ :sub:`2`
6503      - y\ :sub:`1`
6504      - y\ :sub:`0`
6505      - v\ :sub:`9`
6506      - v\ :sub:`8`
6507      - v\ :sub:`7`
6508      - v\ :sub:`6`
6509      - v\ :sub:`5`
6510      - v\ :sub:`4`
6511      - v\ :sub:`3`
6512      - v\ :sub:`2`
6513      - v\ :sub:`1`
6514      - v\ :sub:`0`
6515    * -
6516      -
6517      -
6518      -
6519      -
6520      -
6521      -
6522      -
6523      -
6524      -
6525      -
6526      -
6527      -
6528      -
6529      -
6530      - y\ :sub:`9`
6531      - y\ :sub:`8`
6532      - y\ :sub:`7`
6533      - y\ :sub:`6`
6534      - y\ :sub:`5`
6535      - y\ :sub:`4`
6536      - y\ :sub:`3`
6537      - y\ :sub:`2`
6538      - y\ :sub:`1`
6539      - y\ :sub:`0`
6540      - u\ :sub:`9`
6541      - u\ :sub:`8`
6542      - u\ :sub:`7`
6543      - u\ :sub:`6`
6544      - u\ :sub:`5`
6545      - u\ :sub:`4`
6546      - u\ :sub:`3`
6547      - u\ :sub:`2`
6548      - u\ :sub:`1`
6549      - u\ :sub:`0`
6550    * .. _MEDIA-BUS-FMT-VUY8-1X24:
6551
6552      - MEDIA_BUS_FMT_VUY8_1X24
6553      - 0x201a
6554      -
6555      -
6556      -
6557      -
6558      -
6559      -
6560      -
6561      -
6562      -
6563      - v\ :sub:`7`
6564      - v\ :sub:`6`
6565      - v\ :sub:`5`
6566      - v\ :sub:`4`
6567      - v\ :sub:`3`
6568      - v\ :sub:`2`
6569      - v\ :sub:`1`
6570      - v\ :sub:`0`
6571      - u\ :sub:`7`
6572      - u\ :sub:`6`
6573      - u\ :sub:`5`
6574      - u\ :sub:`4`
6575      - u\ :sub:`3`
6576      - u\ :sub:`2`
6577      - u\ :sub:`1`
6578      - u\ :sub:`0`
6579      - y\ :sub:`7`
6580      - y\ :sub:`6`
6581      - y\ :sub:`5`
6582      - y\ :sub:`4`
6583      - y\ :sub:`3`
6584      - y\ :sub:`2`
6585      - y\ :sub:`1`
6586      - y\ :sub:`0`
6587    * .. _MEDIA-BUS-FMT-YUV8-1X24:
6588
6589      - MEDIA_BUS_FMT_YUV8_1X24
6590      - 0x2025
6591      -
6592      -
6593      -
6594      -
6595      -
6596      -
6597      -
6598      -
6599      -
6600      - y\ :sub:`7`
6601      - y\ :sub:`6`
6602      - y\ :sub:`5`
6603      - y\ :sub:`4`
6604      - y\ :sub:`3`
6605      - y\ :sub:`2`
6606      - y\ :sub:`1`
6607      - y\ :sub:`0`
6608      - u\ :sub:`7`
6609      - u\ :sub:`6`
6610      - u\ :sub:`5`
6611      - u\ :sub:`4`
6612      - u\ :sub:`3`
6613      - u\ :sub:`2`
6614      - u\ :sub:`1`
6615      - u\ :sub:`0`
6616      - v\ :sub:`7`
6617      - v\ :sub:`6`
6618      - v\ :sub:`5`
6619      - v\ :sub:`4`
6620      - v\ :sub:`3`
6621      - v\ :sub:`2`
6622      - v\ :sub:`1`
6623      - v\ :sub:`0`
6624    * .. _MEDIA-BUS-FMT-UYYVYY8-0-5X24:
6625
6626      - MEDIA_BUS_FMT_UYYVYY8_0_5X24
6627      - 0x2026
6628      -
6629      -
6630      -
6631      -
6632      -
6633      -
6634      -
6635      -
6636      -
6637      - u\ :sub:`7`
6638      - u\ :sub:`6`
6639      - u\ :sub:`5`
6640      - u\ :sub:`4`
6641      - u\ :sub:`3`
6642      - u\ :sub:`2`
6643      - u\ :sub:`1`
6644      - u\ :sub:`0`
6645      - y\ :sub:`7`
6646      - y\ :sub:`6`
6647      - y\ :sub:`5`
6648      - y\ :sub:`4`
6649      - y\ :sub:`3`
6650      - y\ :sub:`2`
6651      - y\ :sub:`1`
6652      - y\ :sub:`0`
6653      - y\ :sub:`7`
6654      - y\ :sub:`6`
6655      - y\ :sub:`5`
6656      - y\ :sub:`4`
6657      - y\ :sub:`3`
6658      - y\ :sub:`2`
6659      - y\ :sub:`1`
6660      - y\ :sub:`0`
6661    * -
6662      -
6663      -
6664      -
6665      -
6666      -
6667      -
6668      -
6669      -
6670      -
6671      -
6672      - v\ :sub:`7`
6673      - v\ :sub:`6`
6674      - v\ :sub:`5`
6675      - v\ :sub:`4`
6676      - v\ :sub:`3`
6677      - v\ :sub:`2`
6678      - v\ :sub:`1`
6679      - v\ :sub:`0`
6680      - y\ :sub:`7`
6681      - y\ :sub:`6`
6682      - y\ :sub:`5`
6683      - y\ :sub:`4`
6684      - y\ :sub:`3`
6685      - y\ :sub:`2`
6686      - y\ :sub:`1`
6687      - y\ :sub:`0`
6688      - y\ :sub:`7`
6689      - y\ :sub:`6`
6690      - y\ :sub:`5`
6691      - y\ :sub:`4`
6692      - y\ :sub:`3`
6693      - y\ :sub:`2`
6694      - y\ :sub:`1`
6695      - y\ :sub:`0`
6696    * .. _MEDIA-BUS-FMT-UYVY12-1X24:
6697
6698      - MEDIA_BUS_FMT_UYVY12_1X24
6699      - 0x2020
6700      -
6701      -
6702      -
6703      -
6704      -
6705      -
6706      -
6707      -
6708      -
6709      - u\ :sub:`11`
6710      - u\ :sub:`10`
6711      - u\ :sub:`9`
6712      - u\ :sub:`8`
6713      - u\ :sub:`7`
6714      - u\ :sub:`6`
6715      - u\ :sub:`5`
6716      - u\ :sub:`4`
6717      - u\ :sub:`3`
6718      - u\ :sub:`2`
6719      - u\ :sub:`1`
6720      - u\ :sub:`0`
6721      - y\ :sub:`11`
6722      - y\ :sub:`10`
6723      - y\ :sub:`9`
6724      - y\ :sub:`8`
6725      - y\ :sub:`7`
6726      - y\ :sub:`6`
6727      - y\ :sub:`5`
6728      - y\ :sub:`4`
6729      - y\ :sub:`3`
6730      - y\ :sub:`2`
6731      - y\ :sub:`1`
6732      - y\ :sub:`0`
6733    * -
6734      -
6735      -
6736      -
6737      -
6738      -
6739      -
6740      -
6741      -
6742      -
6743      -
6744      - v\ :sub:`11`
6745      - v\ :sub:`10`
6746      - v\ :sub:`9`
6747      - v\ :sub:`8`
6748      - v\ :sub:`7`
6749      - v\ :sub:`6`
6750      - v\ :sub:`5`
6751      - v\ :sub:`4`
6752      - v\ :sub:`3`
6753      - v\ :sub:`2`
6754      - v\ :sub:`1`
6755      - v\ :sub:`0`
6756      - y\ :sub:`11`
6757      - y\ :sub:`10`
6758      - y\ :sub:`9`
6759      - y\ :sub:`8`
6760      - y\ :sub:`7`
6761      - y\ :sub:`6`
6762      - y\ :sub:`5`
6763      - y\ :sub:`4`
6764      - y\ :sub:`3`
6765      - y\ :sub:`2`
6766      - y\ :sub:`1`
6767      - y\ :sub:`0`
6768    * .. _MEDIA-BUS-FMT-VYUY12-1X24:
6769
6770      - MEDIA_BUS_FMT_VYUY12_1X24
6771      - 0x2021
6772      -
6773      -
6774      -
6775      -
6776      -
6777      -
6778      -
6779      -
6780      -
6781      - v\ :sub:`11`
6782      - v\ :sub:`10`
6783      - v\ :sub:`9`
6784      - v\ :sub:`8`
6785      - v\ :sub:`7`
6786      - v\ :sub:`6`
6787      - v\ :sub:`5`
6788      - v\ :sub:`4`
6789      - v\ :sub:`3`
6790      - v\ :sub:`2`
6791      - v\ :sub:`1`
6792      - v\ :sub:`0`
6793      - y\ :sub:`11`
6794      - y\ :sub:`10`
6795      - y\ :sub:`9`
6796      - y\ :sub:`8`
6797      - y\ :sub:`7`
6798      - y\ :sub:`6`
6799      - y\ :sub:`5`
6800      - y\ :sub:`4`
6801      - y\ :sub:`3`
6802      - y\ :sub:`2`
6803      - y\ :sub:`1`
6804      - y\ :sub:`0`
6805    * -
6806      -
6807      -
6808      -
6809      -
6810      -
6811      -
6812      -
6813      -
6814      -
6815      -
6816      - u\ :sub:`11`
6817      - u\ :sub:`10`
6818      - u\ :sub:`9`
6819      - u\ :sub:`8`
6820      - u\ :sub:`7`
6821      - u\ :sub:`6`
6822      - u\ :sub:`5`
6823      - u\ :sub:`4`
6824      - u\ :sub:`3`
6825      - u\ :sub:`2`
6826      - u\ :sub:`1`
6827      - u\ :sub:`0`
6828      - y\ :sub:`11`
6829      - y\ :sub:`10`
6830      - y\ :sub:`9`
6831      - y\ :sub:`8`
6832      - y\ :sub:`7`
6833      - y\ :sub:`6`
6834      - y\ :sub:`5`
6835      - y\ :sub:`4`
6836      - y\ :sub:`3`
6837      - y\ :sub:`2`
6838      - y\ :sub:`1`
6839      - y\ :sub:`0`
6840    * .. _MEDIA-BUS-FMT-YUYV12-1X24:
6841
6842      - MEDIA_BUS_FMT_YUYV12_1X24
6843      - 0x2022
6844      -
6845      -
6846      -
6847      -
6848      -
6849      -
6850      -
6851      -
6852      -
6853      - y\ :sub:`11`
6854      - y\ :sub:`10`
6855      - y\ :sub:`9`
6856      - y\ :sub:`8`
6857      - y\ :sub:`7`
6858      - y\ :sub:`6`
6859      - y\ :sub:`5`
6860      - y\ :sub:`4`
6861      - y\ :sub:`3`
6862      - y\ :sub:`2`
6863      - y\ :sub:`1`
6864      - y\ :sub:`0`
6865      - u\ :sub:`11`
6866      - u\ :sub:`10`
6867      - u\ :sub:`9`
6868      - u\ :sub:`8`
6869      - u\ :sub:`7`
6870      - u\ :sub:`6`
6871      - u\ :sub:`5`
6872      - u\ :sub:`4`
6873      - u\ :sub:`3`
6874      - u\ :sub:`2`
6875      - u\ :sub:`1`
6876      - u\ :sub:`0`
6877    * -
6878      -
6879      -
6880      -
6881      -
6882      -
6883      -
6884      -
6885      -
6886      -
6887      -
6888      - y\ :sub:`11`
6889      - y\ :sub:`10`
6890      - y\ :sub:`9`
6891      - y\ :sub:`8`
6892      - y\ :sub:`7`
6893      - y\ :sub:`6`
6894      - y\ :sub:`5`
6895      - y\ :sub:`4`
6896      - y\ :sub:`3`
6897      - y\ :sub:`2`
6898      - y\ :sub:`1`
6899      - y\ :sub:`0`
6900      - v\ :sub:`11`
6901      - v\ :sub:`10`
6902      - v\ :sub:`9`
6903      - v\ :sub:`8`
6904      - v\ :sub:`7`
6905      - v\ :sub:`6`
6906      - v\ :sub:`5`
6907      - v\ :sub:`4`
6908      - v\ :sub:`3`
6909      - v\ :sub:`2`
6910      - v\ :sub:`1`
6911      - v\ :sub:`0`
6912    * .. _MEDIA-BUS-FMT-YVYU12-1X24:
6913
6914      - MEDIA_BUS_FMT_YVYU12_1X24
6915      - 0x2023
6916      -
6917      -
6918      -
6919      -
6920      -
6921      -
6922      -
6923      -
6924      -
6925      - y\ :sub:`11`
6926      - y\ :sub:`10`
6927      - y\ :sub:`9`
6928      - y\ :sub:`8`
6929      - y\ :sub:`7`
6930      - y\ :sub:`6`
6931      - y\ :sub:`5`
6932      - y\ :sub:`4`
6933      - y\ :sub:`3`
6934      - y\ :sub:`2`
6935      - y\ :sub:`1`
6936      - y\ :sub:`0`
6937      - v\ :sub:`11`
6938      - v\ :sub:`10`
6939      - v\ :sub:`9`
6940      - v\ :sub:`8`
6941      - v\ :sub:`7`
6942      - v\ :sub:`6`
6943      - v\ :sub:`5`
6944      - v\ :sub:`4`
6945      - v\ :sub:`3`
6946      - v\ :sub:`2`
6947      - v\ :sub:`1`
6948      - v\ :sub:`0`
6949    * -
6950      -
6951      -
6952      -
6953      -
6954      -
6955      -
6956      -
6957      -
6958      -
6959      -
6960      - y\ :sub:`11`
6961      - y\ :sub:`10`
6962      - y\ :sub:`9`
6963      - y\ :sub:`8`
6964      - y\ :sub:`7`
6965      - y\ :sub:`6`
6966      - y\ :sub:`5`
6967      - y\ :sub:`4`
6968      - y\ :sub:`3`
6969      - y\ :sub:`2`
6970      - y\ :sub:`1`
6971      - y\ :sub:`0`
6972      - u\ :sub:`11`
6973      - u\ :sub:`10`
6974      - u\ :sub:`9`
6975      - u\ :sub:`8`
6976      - u\ :sub:`7`
6977      - u\ :sub:`6`
6978      - u\ :sub:`5`
6979      - u\ :sub:`4`
6980      - u\ :sub:`3`
6981      - u\ :sub:`2`
6982      - u\ :sub:`1`
6983      - u\ :sub:`0`
6984    * .. _MEDIA-BUS-FMT-YUV10-1X30:
6985
6986      - MEDIA_BUS_FMT_YUV10_1X30
6987      - 0x2016
6988      -
6989      -
6990      -
6991      - y\ :sub:`9`
6992      - y\ :sub:`8`
6993      - y\ :sub:`7`
6994      - y\ :sub:`6`
6995      - y\ :sub:`5`
6996      - y\ :sub:`4`
6997      - y\ :sub:`3`
6998      - y\ :sub:`2`
6999      - y\ :sub:`1`
7000      - y\ :sub:`0`
7001      - u\ :sub:`9`
7002      - u\ :sub:`8`
7003      - u\ :sub:`7`
7004      - u\ :sub:`6`
7005      - u\ :sub:`5`
7006      - u\ :sub:`4`
7007      - u\ :sub:`3`
7008      - u\ :sub:`2`
7009      - u\ :sub:`1`
7010      - u\ :sub:`0`
7011      - v\ :sub:`9`
7012      - v\ :sub:`8`
7013      - v\ :sub:`7`
7014      - v\ :sub:`6`
7015      - v\ :sub:`5`
7016      - v\ :sub:`4`
7017      - v\ :sub:`3`
7018      - v\ :sub:`2`
7019      - v\ :sub:`1`
7020      - v\ :sub:`0`
7021    * .. _MEDIA-BUS-FMT-UYYVYY10-0-5X30:
7022
7023      - MEDIA_BUS_FMT_UYYVYY10_0_5X30
7024      - 0x2027
7025      -
7026      -
7027      -
7028      - u\ :sub:`9`
7029      - u\ :sub:`8`
7030      - u\ :sub:`7`
7031      - u\ :sub:`6`
7032      - u\ :sub:`5`
7033      - u\ :sub:`4`
7034      - u\ :sub:`3`
7035      - u\ :sub:`2`
7036      - u\ :sub:`1`
7037      - u\ :sub:`0`
7038      - y\ :sub:`9`
7039      - y\ :sub:`8`
7040      - y\ :sub:`7`
7041      - y\ :sub:`6`
7042      - y\ :sub:`5`
7043      - y\ :sub:`4`
7044      - y\ :sub:`3`
7045      - y\ :sub:`2`
7046      - y\ :sub:`1`
7047      - y\ :sub:`0`
7048      - y\ :sub:`9`
7049      - y\ :sub:`8`
7050      - y\ :sub:`7`
7051      - y\ :sub:`6`
7052      - y\ :sub:`5`
7053      - y\ :sub:`4`
7054      - y\ :sub:`3`
7055      - y\ :sub:`2`
7056      - y\ :sub:`1`
7057      - y\ :sub:`0`
7058    * -
7059      -
7060      -
7061      -
7062      -
7063      - v\ :sub:`9`
7064      - v\ :sub:`8`
7065      - v\ :sub:`7`
7066      - v\ :sub:`6`
7067      - v\ :sub:`5`
7068      - v\ :sub:`4`
7069      - v\ :sub:`3`
7070      - v\ :sub:`2`
7071      - v\ :sub:`1`
7072      - v\ :sub:`0`
7073      - y\ :sub:`9`
7074      - y\ :sub:`8`
7075      - y\ :sub:`7`
7076      - y\ :sub:`6`
7077      - y\ :sub:`5`
7078      - y\ :sub:`4`
7079      - y\ :sub:`3`
7080      - y\ :sub:`2`
7081      - y\ :sub:`1`
7082      - y\ :sub:`0`
7083      - y\ :sub:`9`
7084      - y\ :sub:`8`
7085      - y\ :sub:`7`
7086      - y\ :sub:`6`
7087      - y\ :sub:`5`
7088      - y\ :sub:`4`
7089      - y\ :sub:`3`
7090      - y\ :sub:`2`
7091      - y\ :sub:`1`
7092      - y\ :sub:`0`
7093    * .. _MEDIA-BUS-FMT-AYUV8-1X32:
7094
7095      - MEDIA_BUS_FMT_AYUV8_1X32
7096      - 0x2017
7097      -
7098      - a\ :sub:`7`
7099      - a\ :sub:`6`
7100      - a\ :sub:`5`
7101      - a\ :sub:`4`
7102      - a\ :sub:`3`
7103      - a\ :sub:`2`
7104      - a\ :sub:`1`
7105      - a\ :sub:`0`
7106      - y\ :sub:`7`
7107      - y\ :sub:`6`
7108      - y\ :sub:`5`
7109      - y\ :sub:`4`
7110      - y\ :sub:`3`
7111      - y\ :sub:`2`
7112      - y\ :sub:`1`
7113      - y\ :sub:`0`
7114      - u\ :sub:`7`
7115      - u\ :sub:`6`
7116      - u\ :sub:`5`
7117      - u\ :sub:`4`
7118      - u\ :sub:`3`
7119      - u\ :sub:`2`
7120      - u\ :sub:`1`
7121      - u\ :sub:`0`
7122      - v\ :sub:`7`
7123      - v\ :sub:`6`
7124      - v\ :sub:`5`
7125      - v\ :sub:`4`
7126      - v\ :sub:`3`
7127      - v\ :sub:`2`
7128      - v\ :sub:`1`
7129      - v\ :sub:`0`
7130
7131
7132.. raw:: latex
7133
7134	\endgroup
7135
7136
7137The following table list existing packed 36bit wide YUV formats.
7138
7139.. raw:: latex
7140
7141    \begingroup
7142    \tiny
7143    \setlength{\tabcolsep}{2pt}
7144
7145.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
7146
7147.. _v4l2-mbus-pixelcode-yuv8-36bit:
7148
7149.. flat-table:: 36bit YUV Formats
7150    :header-rows:  2
7151    :stub-columns: 0
7152    :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 2 2 2 2
7153
7154    * - Identifier
7155      - Code
7156      -
7157      - :cspan:`35` Data organization
7158    * -
7159      -
7160      - Bit
7161      - 35
7162      - 34
7163      - 33
7164      - 32
7165      - 31
7166      - 30
7167      - 29
7168      - 28
7169      - 27
7170      - 26
7171      - 25
7172      - 24
7173      - 23
7174      - 22
7175      - 21
7176      - 10
7177      - 19
7178      - 18
7179      - 17
7180      - 16
7181      - 15
7182      - 14
7183      - 13
7184      - 12
7185      - 11
7186      - 10
7187      - 9
7188      - 8
7189      - 7
7190      - 6
7191      - 5
7192      - 4
7193      - 3
7194      - 2
7195      - 1
7196      - 0
7197    * .. _MEDIA-BUS-FMT-UYYVYY12-0-5X36:
7198
7199      - MEDIA_BUS_FMT_UYYVYY12_0_5X36
7200      - 0x2028
7201      -
7202      - u\ :sub:`11`
7203      - u\ :sub:`10`
7204      - u\ :sub:`9`
7205      - u\ :sub:`8`
7206      - u\ :sub:`7`
7207      - u\ :sub:`6`
7208      - u\ :sub:`5`
7209      - u\ :sub:`4`
7210      - u\ :sub:`3`
7211      - u\ :sub:`2`
7212      - u\ :sub:`1`
7213      - u\ :sub:`0`
7214      - y\ :sub:`11`
7215      - y\ :sub:`10`
7216      - y\ :sub:`9`
7217      - y\ :sub:`8`
7218      - y\ :sub:`7`
7219      - y\ :sub:`6`
7220      - y\ :sub:`5`
7221      - y\ :sub:`4`
7222      - y\ :sub:`3`
7223      - y\ :sub:`2`
7224      - y\ :sub:`1`
7225      - y\ :sub:`0`
7226      - y\ :sub:`11`
7227      - y\ :sub:`10`
7228      - y\ :sub:`9`
7229      - y\ :sub:`8`
7230      - y\ :sub:`7`
7231      - y\ :sub:`6`
7232      - y\ :sub:`5`
7233      - y\ :sub:`4`
7234      - y\ :sub:`3`
7235      - y\ :sub:`2`
7236      - y\ :sub:`1`
7237      - y\ :sub:`0`
7238    * -
7239      -
7240      -
7241      - v\ :sub:`11`
7242      - v\ :sub:`10`
7243      - v\ :sub:`9`
7244      - v\ :sub:`8`
7245      - v\ :sub:`7`
7246      - v\ :sub:`6`
7247      - v\ :sub:`5`
7248      - v\ :sub:`4`
7249      - v\ :sub:`3`
7250      - v\ :sub:`2`
7251      - v\ :sub:`1`
7252      - v\ :sub:`0`
7253      - y\ :sub:`11`
7254      - y\ :sub:`10`
7255      - y\ :sub:`9`
7256      - y\ :sub:`8`
7257      - y\ :sub:`7`
7258      - y\ :sub:`6`
7259      - y\ :sub:`5`
7260      - y\ :sub:`4`
7261      - y\ :sub:`3`
7262      - y\ :sub:`2`
7263      - y\ :sub:`1`
7264      - y\ :sub:`0`
7265      - y\ :sub:`11`
7266      - y\ :sub:`10`
7267      - y\ :sub:`9`
7268      - y\ :sub:`8`
7269      - y\ :sub:`7`
7270      - y\ :sub:`6`
7271      - y\ :sub:`5`
7272      - y\ :sub:`4`
7273      - y\ :sub:`3`
7274      - y\ :sub:`2`
7275      - y\ :sub:`1`
7276      - y\ :sub:`0`
7277    * .. _MEDIA-BUS-FMT-YUV12-1X36:
7278
7279      - MEDIA_BUS_FMT_YUV12_1X36
7280      - 0x2029
7281      -
7282      - y\ :sub:`11`
7283      - y\ :sub:`10`
7284      - y\ :sub:`9`
7285      - y\ :sub:`8`
7286      - y\ :sub:`7`
7287      - y\ :sub:`6`
7288      - y\ :sub:`5`
7289      - y\ :sub:`4`
7290      - y\ :sub:`3`
7291      - y\ :sub:`2`
7292      - y\ :sub:`1`
7293      - y\ :sub:`0`
7294      - u\ :sub:`11`
7295      - u\ :sub:`10`
7296      - u\ :sub:`9`
7297      - u\ :sub:`8`
7298      - u\ :sub:`7`
7299      - u\ :sub:`6`
7300      - u\ :sub:`5`
7301      - u\ :sub:`4`
7302      - u\ :sub:`3`
7303      - u\ :sub:`2`
7304      - u\ :sub:`1`
7305      - u\ :sub:`0`
7306      - v\ :sub:`11`
7307      - v\ :sub:`10`
7308      - v\ :sub:`9`
7309      - v\ :sub:`8`
7310      - v\ :sub:`7`
7311      - v\ :sub:`6`
7312      - v\ :sub:`5`
7313      - v\ :sub:`4`
7314      - v\ :sub:`3`
7315      - v\ :sub:`2`
7316      - v\ :sub:`1`
7317      - v\ :sub:`0`
7318
7319
7320.. raw:: latex
7321
7322	\endgroup
7323
7324
7325The following table list existing packed 48bit wide YUV formats.
7326
7327.. raw:: latex
7328
7329    \begingroup
7330    \tiny
7331    \setlength{\tabcolsep}{2pt}
7332
7333.. tabularcolumns:: |p{4.0cm}|p{0.7cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
7334
7335.. _v4l2-mbus-pixelcode-yuv8-48bit:
7336
7337.. flat-table:: 48bit YUV Formats
7338    :header-rows:  3
7339    :stub-columns: 0
7340    :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
7341
7342    * - Identifier
7343      - Code
7344      -
7345      - :cspan:`31` Data organization
7346    * -
7347      -
7348      - Bit
7349      -
7350      -
7351      -
7352      -
7353      -
7354      -
7355      -
7356      -
7357      -
7358      -
7359      -
7360      -
7361      -
7362      -
7363      -
7364      -
7365      - 47
7366      - 46
7367      - 45
7368      - 44
7369      - 43
7370      - 42
7371      - 41
7372      - 40
7373      - 39
7374      - 38
7375      - 37
7376      - 36
7377      - 35
7378      - 34
7379      - 33
7380      - 32
7381    * -
7382      -
7383      -
7384      - 31
7385      - 30
7386      - 29
7387      - 28
7388      - 27
7389      - 26
7390      - 25
7391      - 24
7392      - 23
7393      - 22
7394      - 21
7395      - 10
7396      - 19
7397      - 18
7398      - 17
7399      - 16
7400      - 15
7401      - 14
7402      - 13
7403      - 12
7404      - 11
7405      - 10
7406      - 9
7407      - 8
7408      - 7
7409      - 6
7410      - 5
7411      - 4
7412      - 3
7413      - 2
7414      - 1
7415      - 0
7416    * .. _MEDIA-BUS-FMT-YUV16-1X48:
7417
7418      - MEDIA_BUS_FMT_YUV16_1X48
7419      - 0x202a
7420      -
7421      -
7422      -
7423      -
7424      -
7425      -
7426      -
7427      -
7428      -
7429      -
7430      -
7431      -
7432      -
7433      -
7434      -
7435      -
7436      -
7437      - y\ :sub:`15`
7438      - y\ :sub:`14`
7439      - y\ :sub:`13`
7440      - y\ :sub:`12`
7441      - y\ :sub:`11`
7442      - y\ :sub:`10`
7443      - y\ :sub:`8`
7444      - y\ :sub:`8`
7445      - y\ :sub:`7`
7446      - y\ :sub:`6`
7447      - y\ :sub:`5`
7448      - y\ :sub:`4`
7449      - y\ :sub:`3`
7450      - y\ :sub:`2`
7451      - y\ :sub:`1`
7452      - y\ :sub:`0`
7453    * -
7454      -
7455      -
7456      - u\ :sub:`15`
7457      - u\ :sub:`14`
7458      - u\ :sub:`13`
7459      - u\ :sub:`12`
7460      - u\ :sub:`11`
7461      - u\ :sub:`10`
7462      - u\ :sub:`9`
7463      - u\ :sub:`8`
7464      - u\ :sub:`7`
7465      - u\ :sub:`6`
7466      - u\ :sub:`5`
7467      - u\ :sub:`4`
7468      - u\ :sub:`3`
7469      - u\ :sub:`2`
7470      - u\ :sub:`1`
7471      - u\ :sub:`0`
7472      - v\ :sub:`15`
7473      - v\ :sub:`14`
7474      - v\ :sub:`13`
7475      - v\ :sub:`12`
7476      - v\ :sub:`11`
7477      - v\ :sub:`10`
7478      - v\ :sub:`9`
7479      - v\ :sub:`8`
7480      - v\ :sub:`7`
7481      - v\ :sub:`6`
7482      - v\ :sub:`5`
7483      - v\ :sub:`4`
7484      - v\ :sub:`3`
7485      - v\ :sub:`2`
7486      - v\ :sub:`1`
7487      - v\ :sub:`0`
7488    * .. _MEDIA-BUS-FMT-UYYVYY16-0-5X48:
7489
7490      - MEDIA_BUS_FMT_UYYVYY16_0_5X48
7491      - 0x202b
7492      -
7493      -
7494      -
7495      -
7496      -
7497      -
7498      -
7499      -
7500      -
7501      -
7502      -
7503      -
7504      -
7505      -
7506      -
7507      -
7508      -
7509      - u\ :sub:`15`
7510      - u\ :sub:`14`
7511      - u\ :sub:`13`
7512      - u\ :sub:`12`
7513      - u\ :sub:`11`
7514      - u\ :sub:`10`
7515      - u\ :sub:`9`
7516      - u\ :sub:`8`
7517      - u\ :sub:`7`
7518      - u\ :sub:`6`
7519      - u\ :sub:`5`
7520      - u\ :sub:`4`
7521      - u\ :sub:`3`
7522      - u\ :sub:`2`
7523      - u\ :sub:`1`
7524      - u\ :sub:`0`
7525    * -
7526      -
7527      -
7528      - y\ :sub:`15`
7529      - y\ :sub:`14`
7530      - y\ :sub:`13`
7531      - y\ :sub:`12`
7532      - y\ :sub:`11`
7533      - y\ :sub:`10`
7534      - y\ :sub:`9`
7535      - y\ :sub:`8`
7536      - y\ :sub:`7`
7537      - y\ :sub:`6`
7538      - y\ :sub:`5`
7539      - y\ :sub:`4`
7540      - y\ :sub:`3`
7541      - y\ :sub:`2`
7542      - y\ :sub:`1`
7543      - y\ :sub:`0`
7544      - y\ :sub:`15`
7545      - y\ :sub:`14`
7546      - y\ :sub:`13`
7547      - y\ :sub:`12`
7548      - y\ :sub:`11`
7549      - y\ :sub:`10`
7550      - y\ :sub:`8`
7551      - y\ :sub:`8`
7552      - y\ :sub:`7`
7553      - y\ :sub:`6`
7554      - y\ :sub:`5`
7555      - y\ :sub:`4`
7556      - y\ :sub:`3`
7557      - y\ :sub:`2`
7558      - y\ :sub:`1`
7559      - y\ :sub:`0`
7560    * -
7561      -
7562      -
7563      -
7564      -
7565      -
7566      -
7567      -
7568      -
7569      -
7570      -
7571      -
7572      -
7573      -
7574      -
7575      -
7576      -
7577      -
7578      -
7579      - v\ :sub:`15`
7580      - v\ :sub:`14`
7581      - v\ :sub:`13`
7582      - v\ :sub:`12`
7583      - v\ :sub:`11`
7584      - v\ :sub:`10`
7585      - v\ :sub:`9`
7586      - v\ :sub:`8`
7587      - v\ :sub:`7`
7588      - v\ :sub:`6`
7589      - v\ :sub:`5`
7590      - v\ :sub:`4`
7591      - v\ :sub:`3`
7592      - v\ :sub:`2`
7593      - v\ :sub:`1`
7594      - v\ :sub:`0`
7595    * -
7596      -
7597      -
7598      - y\ :sub:`15`
7599      - y\ :sub:`14`
7600      - y\ :sub:`13`
7601      - y\ :sub:`12`
7602      - y\ :sub:`11`
7603      - y\ :sub:`10`
7604      - y\ :sub:`9`
7605      - y\ :sub:`8`
7606      - y\ :sub:`7`
7607      - y\ :sub:`6`
7608      - y\ :sub:`5`
7609      - y\ :sub:`4`
7610      - y\ :sub:`3`
7611      - y\ :sub:`2`
7612      - y\ :sub:`1`
7613      - y\ :sub:`0`
7614      - y\ :sub:`15`
7615      - y\ :sub:`14`
7616      - y\ :sub:`13`
7617      - y\ :sub:`12`
7618      - y\ :sub:`11`
7619      - y\ :sub:`10`
7620      - y\ :sub:`8`
7621      - y\ :sub:`8`
7622      - y\ :sub:`7`
7623      - y\ :sub:`6`
7624      - y\ :sub:`5`
7625      - y\ :sub:`4`
7626      - y\ :sub:`3`
7627      - y\ :sub:`2`
7628      - y\ :sub:`1`
7629      - y\ :sub:`0`
7630
7631
7632.. raw:: latex
7633
7634	\endgroup
7635
7636HSV/HSL Formats
7637^^^^^^^^^^^^^^^
7638
7639Those formats transfer pixel data as RGB values in a
7640cylindrical-coordinate system using Hue-Saturation-Value or
7641Hue-Saturation-Lightness components. The format code is made of the
7642following information.
7643
7644-  The hue, saturation, value or lightness and optional alpha components
7645   order code, as encoded in a pixel sample. The only currently
7646   supported value is AHSV.
7647
7648-  The number of bits per component, for each component. The values can
7649   be different for all components. The only currently supported value
7650   is 8888.
7651
7652-  The number of bus samples per pixel. Pixels that are wider than the
7653   bus width must be transferred in multiple samples. The only currently
7654   supported value is 1.
7655
7656-  The bus width.
7657
7658-  For formats where the total number of bits per pixel is smaller than
7659   the number of bus samples per pixel times the bus width, a padding
7660   value stating if the bytes are padded in their most high order bits
7661   (PADHI) or low order bits (PADLO).
7662
7663-  For formats where the number of bus samples per pixel is larger than
7664   1, an endianness value stating if the pixel is transferred MSB first
7665   (BE) or LSB first (LE).
7666
7667The following table lists existing HSV/HSL formats.
7668
7669
7670.. raw:: latex
7671
7672    \begingroup
7673    \tiny
7674    \setlength{\tabcolsep}{2pt}
7675
7676.. tabularcolumns:: |p{3.9cm}|p{0.73cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
7677
7678.. _v4l2-mbus-pixelcode-hsv:
7679
7680.. flat-table:: HSV/HSL formats
7681    :header-rows:  2
7682    :stub-columns: 0
7683    :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
7684
7685    * - Identifier
7686      - Code
7687      -
7688      - :cspan:`31` Data organization
7689    * -
7690      -
7691      - Bit
7692      - 31
7693      - 30
7694      - 29
7695      - 28
7696      - 27
7697      - 26
7698      - 25
7699      - 24
7700      - 23
7701      - 22
7702      - 21
7703      - 20
7704      - 19
7705      - 18
7706      - 17
7707      - 16
7708      - 15
7709      - 14
7710      - 13
7711      - 12
7712      - 11
7713      - 10
7714      - 9
7715      - 8
7716      - 7
7717      - 6
7718      - 5
7719      - 4
7720      - 3
7721      - 2
7722      - 1
7723      - 0
7724    * .. _MEDIA-BUS-FMT-AHSV8888-1X32:
7725
7726      - MEDIA_BUS_FMT_AHSV8888_1X32
7727      - 0x6001
7728      -
7729      - a\ :sub:`7`
7730      - a\ :sub:`6`
7731      - a\ :sub:`5`
7732      - a\ :sub:`4`
7733      - a\ :sub:`3`
7734      - a\ :sub:`2`
7735      - a\ :sub:`1`
7736      - a\ :sub:`0`
7737      - h\ :sub:`7`
7738      - h\ :sub:`6`
7739      - h\ :sub:`5`
7740      - h\ :sub:`4`
7741      - h\ :sub:`3`
7742      - h\ :sub:`2`
7743      - h\ :sub:`1`
7744      - h\ :sub:`0`
7745      - s\ :sub:`7`
7746      - s\ :sub:`6`
7747      - s\ :sub:`5`
7748      - s\ :sub:`4`
7749      - s\ :sub:`3`
7750      - s\ :sub:`2`
7751      - s\ :sub:`1`
7752      - s\ :sub:`0`
7753      - v\ :sub:`7`
7754      - v\ :sub:`6`
7755      - v\ :sub:`5`
7756      - v\ :sub:`4`
7757      - v\ :sub:`3`
7758      - v\ :sub:`2`
7759      - v\ :sub:`1`
7760      - v\ :sub:`0`
7761
7762.. raw:: latex
7763
7764    \normalsize
7765
7766
7767JPEG Compressed Formats
7768^^^^^^^^^^^^^^^^^^^^^^^
7769
7770Those data formats consist of an ordered sequence of 8-bit bytes
7771obtained from JPEG compression process. Additionally to the ``_JPEG``
7772postfix the format code is made of the following information.
7773
7774-  The number of bus samples per entropy encoded byte.
7775
7776-  The bus width.
7777
7778For instance, for a JPEG baseline process and an 8-bit bus width the
7779format will be named ``MEDIA_BUS_FMT_JPEG_1X8``.
7780
7781The following table lists existing JPEG compressed formats.
7782
7783
7784.. _v4l2-mbus-pixelcode-jpeg:
7785
7786.. tabularcolumns:: |p{6.0cm}|p{1.4cm}|p{10.1cm}|
7787
7788.. flat-table:: JPEG Formats
7789    :header-rows:  1
7790    :stub-columns: 0
7791
7792    * - Identifier
7793      - Code
7794      - Remarks
7795    * .. _MEDIA-BUS-FMT-JPEG-1X8:
7796
7797      - MEDIA_BUS_FMT_JPEG_1X8
7798      - 0x4001
7799      - Besides of its usage for the parallel bus this format is
7800	recommended for transmission of JPEG data over MIPI CSI bus using
7801	the User Defined 8-bit Data types.
7802
7803
7804
7805.. _v4l2-mbus-vendor-spec-fmts:
7806
7807Vendor and Device Specific Formats
7808^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7809
7810This section lists complex data formats that are either vendor or device
7811specific.
7812
7813The following table lists the existing vendor and device specific
7814formats.
7815
7816
7817.. _v4l2-mbus-pixelcode-vendor-specific:
7818
7819.. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.7cm}|
7820
7821.. flat-table:: Vendor and device specific formats
7822    :header-rows:  1
7823    :stub-columns: 0
7824
7825    * - Identifier
7826      - Code
7827      - Comments
7828    * .. _MEDIA-BUS-FMT-S5C-UYVY-JPEG-1X8:
7829
7830      - MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8
7831      - 0x5001
7832      - Interleaved raw UYVY and JPEG image format with embedded meta-data
7833	used by Samsung S3C73MX camera sensors.
7834