[media] v4l: Add media format codes for ARGB8888 and AYUV8888 on 32-bit busses
[linux-2.6.git] / Documentation / DocBook / media / v4l / subdev-formats.xml
blobf72c1cc93a9b0d6aa8b888afb7f80393620f9bda
1 <section id="v4l2-mbus-format">
2   <title>Media Bus Formats</title>
4   <table pgwide="1" frame="none" id="v4l2-mbus-framefmt">
5     <title>struct <structname>v4l2_mbus_framefmt</structname></title>
6     <tgroup cols="3">
7       &cs-str;
8       <tbody valign="top">
9         <row>
10           <entry>__u32</entry>
11           <entry><structfield>width</structfield></entry>
12           <entry>Image width, in pixels.</entry>
13         </row>
14         <row>
15           <entry>__u32</entry>
16           <entry><structfield>height</structfield></entry>
17           <entry>Image height, in pixels.</entry>
18         </row>
19         <row>
20           <entry>__u32</entry>
21           <entry><structfield>code</structfield></entry>
22           <entry>Format code, from &v4l2-mbus-pixelcode;.</entry>
23         </row>
24         <row>
25           <entry>__u32</entry>
26           <entry><structfield>field</structfield></entry>
27           <entry>Field order, from &v4l2-field;. See
28           <xref linkend="field-order" /> for details.</entry>
29         </row>
30         <row>
31           <entry>__u32</entry>
32           <entry><structfield>colorspace</structfield></entry>
33           <entry>Image colorspace, from &v4l2-colorspace;. See
34           <xref linkend="colorspaces" /> for details.</entry>
35         </row>
36         <row>
37           <entry>__u32</entry>
38           <entry><structfield>reserved</structfield>[7]</entry>
39           <entry>Reserved for future extensions. Applications and drivers must
40           set the array to zero.</entry>
41         </row>
42       </tbody>
43     </tgroup>
44   </table>
46   <section id="v4l2-mbus-pixelcode">
47     <title>Media Bus Pixel Codes</title>
49     <para>The media bus pixel codes describe image formats as flowing over
50     physical busses (both between separate physical components and inside SoC
51     devices). This should not be confused with the V4L2 pixel formats that
52     describe, using four character codes, image formats as stored in memory.
53     </para>
55     <para>While there is a relationship between image formats on busses and
56     image formats in memory (a raw Bayer image won't be magically converted to
57     JPEG just by storing it to memory), there is no one-to-one correspondance
58     between them.</para>
60     <section>
61       <title>Packed RGB Formats</title>
63       <para>Those formats transfer pixel data as red, green and blue components.
64       The format code is made of the following information.
65       <itemizedlist>
66         <listitem><para>The red, green and blue components order code, as encoded in a
67         pixel sample. Possible values are RGB and BGR.</para></listitem>
68         <listitem><para>The number of bits per component, for each component. The values
69         can be different for all components. Common values are 555 and 565.</para>
70         </listitem>
71         <listitem><para>The number of bus samples per pixel. Pixels that are wider than
72         the bus width must be transferred in multiple samples. Common values are
73         1 and 2.</para></listitem>
74         <listitem><para>The bus width.</para></listitem>
75         <listitem><para>For formats where the total number of bits per pixel is smaller
76         than the number of bus samples per pixel times the bus width, a padding
77         value stating if the bytes are padded in their most high order bits
78         (PADHI) or low order bits (PADLO).</para></listitem>
79         <listitem><para>For formats where the number of bus samples per pixel is larger
80         than 1, an endianness value stating if the pixel is transferred MSB first
81         (BE) or LSB first (LE).</para></listitem>
82       </itemizedlist>
83       </para>
85       <para>For instance, a format where pixels are encoded as 5-bits red, 5-bits
86       green and 5-bit blue values padded on the high bit, transferred as 2 8-bit
87       samples per pixel with the most significant bits (padding, red and half of
88       the green value) transferred first will be named
89       <constant>V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE</constant>.
90       </para>
92       <para>The following tables list existing packet RGB formats.</para>
94       <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-rgb">
95         <title>RGB formats</title>
96         <tgroup cols="27">
97           <colspec colname="id" align="left" />
98           <colspec colname="code" align="center"/>
99           <colspec colname="bit" />
100           <colspec colnum="4" colname="b31" align="center" />
101           <colspec colnum="5" colname="b20" align="center" />
102           <colspec colnum="6" colname="b29" align="center" />
103           <colspec colnum="7" colname="b28" align="center" />
104           <colspec colnum="8" colname="b27" align="center" />
105           <colspec colnum="9" colname="b26" align="center" />
106           <colspec colnum="10" colname="b25" align="center" />
107           <colspec colnum="11" colname="b24" align="center" />
108           <colspec colnum="12" colname="b23" align="center" />
109           <colspec colnum="13" colname="b22" align="center" />
110           <colspec colnum="14" colname="b21" align="center" />
111           <colspec colnum="15" colname="b20" align="center" />
112           <colspec colnum="16" colname="b19" align="center" />
113           <colspec colnum="17" colname="b18" align="center" />
114           <colspec colnum="18" colname="b17" align="center" />
115           <colspec colnum="19" colname="b16" align="center" />
116           <colspec colnum="20" colname="b15" align="center" />
117           <colspec colnum="21" colname="b14" align="center" />
118           <colspec colnum="22" colname="b13" align="center" />
119           <colspec colnum="23" colname="b12" align="center" />
120           <colspec colnum="24" colname="b11" align="center" />
121           <colspec colnum="25" colname="b10" align="center" />
122           <colspec colnum="26" colname="b09" align="center" />
123           <colspec colnum="27" colname="b08" align="center" />
124           <colspec colnum="28" colname="b07" align="center" />
125           <colspec colnum="29" colname="b06" align="center" />
126           <colspec colnum="30" colname="b05" align="center" />
127           <colspec colnum="31" colname="b04" align="center" />
128           <colspec colnum="32" colname="b03" align="center" />
129           <colspec colnum="33" colname="b02" align="center" />
130           <colspec colnum="34" colname="b01" align="center" />
131           <colspec colnum="35" colname="b00" align="center" />
132           <spanspec namest="b31" nameend="b00" spanname="b0" />
133           <thead>
134             <row>
135               <entry>Identifier</entry>
136               <entry>Code</entry>
137               <entry></entry>
138               <entry spanname="b0">Data organization</entry>
139             </row>
140             <row>
141               <entry></entry>
142               <entry></entry>
143               <entry>Bit</entry>
144               <entry>31</entry>
145               <entry>30</entry>
146               <entry>29</entry>
147               <entry>28</entry>
148               <entry>27</entry>
149               <entry>26</entry>
150               <entry>25</entry>
151               <entry>24</entry>
152               <entry>23</entry>
153               <entry>22</entry>
154               <entry>21</entry>
155               <entry>20</entry>
156               <entry>19</entry>
157               <entry>18</entry>
158               <entry>17</entry>
159               <entry>16</entry>
160               <entry>15</entry>
161               <entry>14</entry>
162               <entry>13</entry>
163               <entry>12</entry>
164               <entry>11</entry>
165               <entry>10</entry>
166               <entry>9</entry>
167               <entry>8</entry>
168               <entry>7</entry>
169               <entry>6</entry>
170               <entry>5</entry>
171               <entry>4</entry>
172               <entry>3</entry>
173               <entry>2</entry>
174               <entry>1</entry>
175               <entry>0</entry>
176             </row>
177           </thead>
178           <tbody valign="top">
179             <row id="V4L2-MBUS-FMT-RGB444-2X8-PADHI-BE">
180               <entry>V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE</entry>
181               <entry>0x1001</entry>
182               <entry></entry>
183               &dash-ent-24;
184               <entry>0</entry>
185               <entry>0</entry>
186               <entry>0</entry>
187               <entry>0</entry>
188               <entry>r<subscript>3</subscript></entry>
189               <entry>r<subscript>2</subscript></entry>
190               <entry>r<subscript>1</subscript></entry>
191               <entry>r<subscript>0</subscript></entry>
192             </row>
193             <row>
194               <entry></entry>
195               <entry></entry>
196               <entry></entry>
197               &dash-ent-24;
198               <entry>g<subscript>3</subscript></entry>
199               <entry>g<subscript>2</subscript></entry>
200               <entry>g<subscript>1</subscript></entry>
201               <entry>g<subscript>0</subscript></entry>
202               <entry>b<subscript>3</subscript></entry>
203               <entry>b<subscript>2</subscript></entry>
204               <entry>b<subscript>1</subscript></entry>
205               <entry>b<subscript>0</subscript></entry>
206             </row>
207             <row id="V4L2-MBUS-FMT-RGB444-2X8-PADHI-LE">
208               <entry>V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE</entry>
209               <entry>0x1002</entry>
210               <entry></entry>
211               &dash-ent-24;
212               <entry>g<subscript>3</subscript></entry>
213               <entry>g<subscript>2</subscript></entry>
214               <entry>g<subscript>1</subscript></entry>
215               <entry>g<subscript>0</subscript></entry>
216               <entry>b<subscript>3</subscript></entry>
217               <entry>b<subscript>2</subscript></entry>
218               <entry>b<subscript>1</subscript></entry>
219               <entry>b<subscript>0</subscript></entry>
220             </row>
221             <row>
222               <entry></entry>
223               <entry></entry>
224               <entry></entry>
225               &dash-ent-24;
226               <entry>0</entry>
227               <entry>0</entry>
228               <entry>0</entry>
229               <entry>0</entry>
230               <entry>r<subscript>3</subscript></entry>
231               <entry>r<subscript>2</subscript></entry>
232               <entry>r<subscript>1</subscript></entry>
233               <entry>r<subscript>0</subscript></entry>
234             </row>
235             <row id="V4L2-MBUS-FMT-RGB555-2X8-PADHI-BE">
236               <entry>V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE</entry>
237               <entry>0x1003</entry>
238               <entry></entry>
239               &dash-ent-24;
240               <entry>0</entry>
241               <entry>r<subscript>4</subscript></entry>
242               <entry>r<subscript>3</subscript></entry>
243               <entry>r<subscript>2</subscript></entry>
244               <entry>r<subscript>1</subscript></entry>
245               <entry>r<subscript>0</subscript></entry>
246               <entry>g<subscript>4</subscript></entry>
247               <entry>g<subscript>3</subscript></entry>
248             </row>
249             <row>
250               <entry></entry>
251               <entry></entry>
252               <entry></entry>
253               &dash-ent-24;
254               <entry>g<subscript>2</subscript></entry>
255               <entry>g<subscript>1</subscript></entry>
256               <entry>g<subscript>0</subscript></entry>
257               <entry>b<subscript>4</subscript></entry>
258               <entry>b<subscript>3</subscript></entry>
259               <entry>b<subscript>2</subscript></entry>
260               <entry>b<subscript>1</subscript></entry>
261               <entry>b<subscript>0</subscript></entry>
262             </row>
263             <row id="V4L2-MBUS-FMT-RGB555-2X8-PADHI-LE">
264               <entry>V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE</entry>
265               <entry>0x1004</entry>
266               <entry></entry>
267               &dash-ent-24;
268               <entry>g<subscript>2</subscript></entry>
269               <entry>g<subscript>1</subscript></entry>
270               <entry>g<subscript>0</subscript></entry>
271               <entry>b<subscript>4</subscript></entry>
272               <entry>b<subscript>3</subscript></entry>
273               <entry>b<subscript>2</subscript></entry>
274               <entry>b<subscript>1</subscript></entry>
275               <entry>b<subscript>0</subscript></entry>
276             </row>
277             <row>
278               <entry></entry>
279               <entry></entry>
280               <entry></entry>
281               &dash-ent-24;
282               <entry>0</entry>
283               <entry>r<subscript>4</subscript></entry>
284               <entry>r<subscript>3</subscript></entry>
285               <entry>r<subscript>2</subscript></entry>
286               <entry>r<subscript>1</subscript></entry>
287               <entry>r<subscript>0</subscript></entry>
288               <entry>g<subscript>4</subscript></entry>
289               <entry>g<subscript>3</subscript></entry>
290             </row>
291             <row id="V4L2-MBUS-FMT-BGR565-2X8-BE">
292               <entry>V4L2_MBUS_FMT_BGR565_2X8_BE</entry>
293               <entry>0x1005</entry>
294               <entry></entry>
295               &dash-ent-24;
296               <entry>b<subscript>4</subscript></entry>
297               <entry>b<subscript>3</subscript></entry>
298               <entry>b<subscript>2</subscript></entry>
299               <entry>b<subscript>1</subscript></entry>
300               <entry>b<subscript>0</subscript></entry>
301               <entry>g<subscript>5</subscript></entry>
302               <entry>g<subscript>4</subscript></entry>
303               <entry>g<subscript>3</subscript></entry>
304             </row>
305             <row>
306               <entry></entry>
307               <entry></entry>
308               <entry></entry>
309               &dash-ent-24;
310               <entry>g<subscript>2</subscript></entry>
311               <entry>g<subscript>1</subscript></entry>
312               <entry>g<subscript>0</subscript></entry>
313               <entry>r<subscript>4</subscript></entry>
314               <entry>r<subscript>3</subscript></entry>
315               <entry>r<subscript>2</subscript></entry>
316               <entry>r<subscript>1</subscript></entry>
317               <entry>r<subscript>0</subscript></entry>
318             </row>
319             <row id="V4L2-MBUS-FMT-BGR565-2X8-LE">
320               <entry>V4L2_MBUS_FMT_BGR565_2X8_LE</entry>
321               <entry>0x1006</entry>
322               <entry></entry>
323               &dash-ent-24;
324               <entry>g<subscript>2</subscript></entry>
325               <entry>g<subscript>1</subscript></entry>
326               <entry>g<subscript>0</subscript></entry>
327               <entry>r<subscript>4</subscript></entry>
328               <entry>r<subscript>3</subscript></entry>
329               <entry>r<subscript>2</subscript></entry>
330               <entry>r<subscript>1</subscript></entry>
331               <entry>r<subscript>0</subscript></entry>
332             </row>
333             <row>
334               <entry></entry>
335               <entry></entry>
336               <entry></entry>
337               &dash-ent-24;
338               <entry>b<subscript>4</subscript></entry>
339               <entry>b<subscript>3</subscript></entry>
340               <entry>b<subscript>2</subscript></entry>
341               <entry>b<subscript>1</subscript></entry>
342               <entry>b<subscript>0</subscript></entry>
343               <entry>g<subscript>5</subscript></entry>
344               <entry>g<subscript>4</subscript></entry>
345               <entry>g<subscript>3</subscript></entry>
346             </row>
347             <row id="V4L2-MBUS-FMT-RGB565-2X8-BE">
348               <entry>V4L2_MBUS_FMT_RGB565_2X8_BE</entry>
349               <entry>0x1007</entry>
350               <entry></entry>
351               &dash-ent-24;
352               <entry>r<subscript>4</subscript></entry>
353               <entry>r<subscript>3</subscript></entry>
354               <entry>r<subscript>2</subscript></entry>
355               <entry>r<subscript>1</subscript></entry>
356               <entry>r<subscript>0</subscript></entry>
357               <entry>g<subscript>5</subscript></entry>
358               <entry>g<subscript>4</subscript></entry>
359               <entry>g<subscript>3</subscript></entry>
360             </row>
361             <row>
362               <entry></entry>
363               <entry></entry>
364               <entry></entry>
365               &dash-ent-24;
366               <entry>g<subscript>2</subscript></entry>
367               <entry>g<subscript>1</subscript></entry>
368               <entry>g<subscript>0</subscript></entry>
369               <entry>b<subscript>4</subscript></entry>
370               <entry>b<subscript>3</subscript></entry>
371               <entry>b<subscript>2</subscript></entry>
372               <entry>b<subscript>1</subscript></entry>
373               <entry>b<subscript>0</subscript></entry>
374             </row>
375             <row id="V4L2-MBUS-FMT-RGB565-2X8-LE">
376               <entry>V4L2_MBUS_FMT_RGB565_2X8_LE</entry>
377               <entry>0x1008</entry>
378               <entry></entry>
379               &dash-ent-24;
380               <entry>g<subscript>2</subscript></entry>
381               <entry>g<subscript>1</subscript></entry>
382               <entry>g<subscript>0</subscript></entry>
383               <entry>b<subscript>4</subscript></entry>
384               <entry>b<subscript>3</subscript></entry>
385               <entry>b<subscript>2</subscript></entry>
386               <entry>b<subscript>1</subscript></entry>
387               <entry>b<subscript>0</subscript></entry>
388             </row>
389             <row>
390               <entry></entry>
391               <entry></entry>
392               <entry></entry>
393               &dash-ent-24;
394               <entry>r<subscript>4</subscript></entry>
395               <entry>r<subscript>3</subscript></entry>
396               <entry>r<subscript>2</subscript></entry>
397               <entry>r<subscript>1</subscript></entry>
398               <entry>r<subscript>0</subscript></entry>
399               <entry>g<subscript>5</subscript></entry>
400               <entry>g<subscript>4</subscript></entry>
401               <entry>g<subscript>3</subscript></entry>
402             </row>
403             <row id="V4L2-MBUS-FMT-RGB666-1X18">
404               <entry>V4L2_MBUS_FMT_RGB666_1X18</entry>
405               <entry>0x1009</entry>
406               <entry></entry>
407               &dash-ent-14;
408               <entry>r<subscript>5</subscript></entry>
409               <entry>r<subscript>4</subscript></entry>
410               <entry>r<subscript>3</subscript></entry>
411               <entry>r<subscript>2</subscript></entry>
412               <entry>r<subscript>1</subscript></entry>
413               <entry>r<subscript>0</subscript></entry>
414               <entry>g<subscript>5</subscript></entry>
415               <entry>g<subscript>4</subscript></entry>
416               <entry>g<subscript>3</subscript></entry>
417               <entry>g<subscript>2</subscript></entry>
418               <entry>g<subscript>1</subscript></entry>
419               <entry>g<subscript>0</subscript></entry>
420               <entry>b<subscript>5</subscript></entry>
421               <entry>b<subscript>4</subscript></entry>
422               <entry>b<subscript>3</subscript></entry>
423               <entry>b<subscript>2</subscript></entry>
424               <entry>b<subscript>1</subscript></entry>
425               <entry>b<subscript>0</subscript></entry>
426             </row>
427             <row id="V4L2-MBUS-FMT-RGB888-1X24">
428               <entry>V4L2_MBUS_FMT_RGB888_1X24</entry>
429               <entry>0x100a</entry>
430               <entry></entry>
431               &dash-ent-8;
432               <entry>r<subscript>7</subscript></entry>
433               <entry>r<subscript>6</subscript></entry>
434               <entry>r<subscript>5</subscript></entry>
435               <entry>r<subscript>4</subscript></entry>
436               <entry>r<subscript>3</subscript></entry>
437               <entry>r<subscript>2</subscript></entry>
438               <entry>r<subscript>1</subscript></entry>
439               <entry>r<subscript>0</subscript></entry>
440               <entry>g<subscript>7</subscript></entry>
441               <entry>g<subscript>6</subscript></entry>
442               <entry>g<subscript>5</subscript></entry>
443               <entry>g<subscript>4</subscript></entry>
444               <entry>g<subscript>3</subscript></entry>
445               <entry>g<subscript>2</subscript></entry>
446               <entry>g<subscript>1</subscript></entry>
447               <entry>g<subscript>0</subscript></entry>
448               <entry>b<subscript>7</subscript></entry>
449               <entry>b<subscript>6</subscript></entry>
450               <entry>b<subscript>5</subscript></entry>
451               <entry>b<subscript>4</subscript></entry>
452               <entry>b<subscript>3</subscript></entry>
453               <entry>b<subscript>2</subscript></entry>
454               <entry>b<subscript>1</subscript></entry>
455               <entry>b<subscript>0</subscript></entry>
456             </row>
457             <row id="V4L2-MBUS-FMT-RGB888-2X12-BE">
458               <entry>V4L2_MBUS_FMT_RGB888_2X12_BE</entry>
459               <entry>0x100b</entry>
460               <entry></entry>
461               &dash-ent-20;
462               <entry>r<subscript>7</subscript></entry>
463               <entry>r<subscript>6</subscript></entry>
464               <entry>r<subscript>5</subscript></entry>
465               <entry>r<subscript>4</subscript></entry>
466               <entry>r<subscript>3</subscript></entry>
467               <entry>r<subscript>2</subscript></entry>
468               <entry>r<subscript>1</subscript></entry>
469               <entry>r<subscript>0</subscript></entry>
470               <entry>g<subscript>7</subscript></entry>
471               <entry>g<subscript>6</subscript></entry>
472               <entry>g<subscript>5</subscript></entry>
473               <entry>g<subscript>4</subscript></entry>
474             </row>
475             <row>
476               <entry></entry>
477               <entry></entry>
478               <entry></entry>
479               &dash-ent-20;
480               <entry>g<subscript>3</subscript></entry>
481               <entry>g<subscript>2</subscript></entry>
482               <entry>g<subscript>1</subscript></entry>
483               <entry>g<subscript>0</subscript></entry>
484               <entry>b<subscript>7</subscript></entry>
485               <entry>b<subscript>6</subscript></entry>
486               <entry>b<subscript>5</subscript></entry>
487               <entry>b<subscript>4</subscript></entry>
488               <entry>b<subscript>3</subscript></entry>
489               <entry>b<subscript>2</subscript></entry>
490               <entry>b<subscript>1</subscript></entry>
491               <entry>b<subscript>0</subscript></entry>
492             </row>
493             <row id="V4L2-MBUS-FMT-RGB888-2X12-LE">
494               <entry>V4L2_MBUS_FMT_RGB888_2X12_LE</entry>
495               <entry>0x100c</entry>
496               <entry></entry>
497               &dash-ent-20;
498               <entry>g<subscript>3</subscript></entry>
499               <entry>g<subscript>2</subscript></entry>
500               <entry>g<subscript>1</subscript></entry>
501               <entry>g<subscript>0</subscript></entry>
502               <entry>b<subscript>7</subscript></entry>
503               <entry>b<subscript>6</subscript></entry>
504               <entry>b<subscript>5</subscript></entry>
505               <entry>b<subscript>4</subscript></entry>
506               <entry>b<subscript>3</subscript></entry>
507               <entry>b<subscript>2</subscript></entry>
508               <entry>b<subscript>1</subscript></entry>
509               <entry>b<subscript>0</subscript></entry>
510             </row>
511             <row>
512               <entry></entry>
513               <entry></entry>
514               <entry></entry>
515               &dash-ent-20;
516               <entry>r<subscript>7</subscript></entry>
517               <entry>r<subscript>6</subscript></entry>
518               <entry>r<subscript>5</subscript></entry>
519               <entry>r<subscript>4</subscript></entry>
520               <entry>r<subscript>3</subscript></entry>
521               <entry>r<subscript>2</subscript></entry>
522               <entry>r<subscript>1</subscript></entry>
523               <entry>r<subscript>0</subscript></entry>
524               <entry>g<subscript>7</subscript></entry>
525               <entry>g<subscript>6</subscript></entry>
526               <entry>g<subscript>5</subscript></entry>
527               <entry>g<subscript>4</subscript></entry>
528             </row>
529             <row id="V4L2-MBUS-FMT-ARGB888-1X32">
530               <entry>V4L2_MBUS_FMT_ARGB888_1X32</entry>
531               <entry>0x100d</entry>
532               <entry></entry>
533               <entry>a<subscript>7</subscript></entry>
534               <entry>a<subscript>6</subscript></entry>
535               <entry>a<subscript>5</subscript></entry>
536               <entry>a<subscript>4</subscript></entry>
537               <entry>a<subscript>3</subscript></entry>
538               <entry>a<subscript>2</subscript></entry>
539               <entry>a<subscript>1</subscript></entry>
540               <entry>a<subscript>0</subscript></entry>
541               <entry>r<subscript>7</subscript></entry>
542               <entry>r<subscript>6</subscript></entry>
543               <entry>r<subscript>5</subscript></entry>
544               <entry>r<subscript>4</subscript></entry>
545               <entry>r<subscript>3</subscript></entry>
546               <entry>r<subscript>2</subscript></entry>
547               <entry>r<subscript>1</subscript></entry>
548               <entry>r<subscript>0</subscript></entry>
549               <entry>g<subscript>7</subscript></entry>
550               <entry>g<subscript>6</subscript></entry>
551               <entry>g<subscript>5</subscript></entry>
552               <entry>g<subscript>4</subscript></entry>
553               <entry>g<subscript>3</subscript></entry>
554               <entry>g<subscript>2</subscript></entry>
555               <entry>g<subscript>1</subscript></entry>
556               <entry>g<subscript>0</subscript></entry>
557               <entry>b<subscript>7</subscript></entry>
558               <entry>b<subscript>6</subscript></entry>
559               <entry>b<subscript>5</subscript></entry>
560               <entry>b<subscript>4</subscript></entry>
561               <entry>b<subscript>3</subscript></entry>
562               <entry>b<subscript>2</subscript></entry>
563               <entry>b<subscript>1</subscript></entry>
564               <entry>b<subscript>0</subscript></entry>
565             </row>
566           </tbody>
567         </tgroup>
568       </table>
569     </section>
571     <section>
572       <title>Bayer Formats</title>
574       <para>Those formats transfer pixel data as red, green and blue components.
575       The format code is made of the following information.
576       <itemizedlist>
577         <listitem><para>The red, green and blue components order code, as encoded in a
578         pixel sample. The possible values are shown in <xref
579         linkend="bayer-patterns" />.</para></listitem>
580         <listitem><para>The number of bits per pixel component. All components are
581         transferred on the same number of bits. Common values are 8, 10 and 12.</para>
582         </listitem>
583         <listitem><para>The compression (optional). If the pixel components are
584         ALAW- or DPCM-compressed, a mention of the compression scheme and the
585         number of bits per compressed pixel component.</para></listitem>
586         <listitem><para>The number of bus samples per pixel. Pixels that are wider than
587         the bus width must be transferred in multiple samples. Common values are
588         1 and 2.</para></listitem>
589         <listitem><para>The bus width.</para></listitem>
590         <listitem><para>For formats where the total number of bits per pixel is smaller
591         than the number of bus samples per pixel times the bus width, a padding
592         value stating if the bytes are padded in their most high order bits
593         (PADHI) or low order bits (PADLO).</para></listitem>
594         <listitem><para>For formats where the number of bus samples per pixel is larger
595         than 1, an endianness value stating if the pixel is transferred MSB first
596         (BE) or LSB first (LE).</para></listitem>
597       </itemizedlist>
598       </para>
600       <para>For instance, a format with uncompressed 10-bit Bayer components
601       arranged in a red, green, green, blue pattern transferred as 2 8-bit
602       samples per pixel with the least significant bits transferred first will
603       be named <constant>V4L2_MBUS_FMT_SRGGB10_2X8_PADHI_LE</constant>.
604       </para>
606       <figure id="bayer-patterns">
607         <title>Bayer Patterns</title>
608         <mediaobject>
609           <imageobject>
610             <imagedata fileref="bayer.png" format="PNG" />
611           </imageobject>
612           <textobject>
613             <phrase>Bayer filter color patterns</phrase>
614           </textobject>
615         </mediaobject>
616       </figure>
618       <para>The following table lists existing packet Bayer formats. The data
619       organization is given as an example for the first pixel only.</para>
621       <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-bayer">
622         <title>Bayer Formats</title>
623         <tgroup cols="15">
624           <colspec colname="id" align="left" />
625           <colspec colname="code" align="center"/>
626           <colspec colname="bit" />
627           <colspec colnum="4" colname="b11" align="center" />
628           <colspec colnum="5" colname="b10" align="center" />
629           <colspec colnum="6" colname="b09" align="center" />
630           <colspec colnum="7" colname="b08" align="center" />
631           <colspec colnum="8" colname="b07" align="center" />
632           <colspec colnum="9" colname="b06" align="center" />
633           <colspec colnum="10" colname="b05" align="center" />
634           <colspec colnum="11" colname="b04" align="center" />
635           <colspec colnum="12" colname="b03" align="center" />
636           <colspec colnum="13" colname="b02" align="center" />
637           <colspec colnum="14" colname="b01" align="center" />
638           <colspec colnum="15" colname="b00" align="center" />
639           <spanspec namest="b11" nameend="b00" spanname="b0" />
640           <thead>
641             <row>
642               <entry>Identifier</entry>
643               <entry>Code</entry>
644               <entry></entry>
645               <entry spanname="b0">Data organization</entry>
646             </row>
647             <row>
648               <entry></entry>
649               <entry></entry>
650               <entry>Bit</entry>
651               <entry>11</entry>
652               <entry>10</entry>
653               <entry>9</entry>
654               <entry>8</entry>
655               <entry>7</entry>
656               <entry>6</entry>
657               <entry>5</entry>
658               <entry>4</entry>
659               <entry>3</entry>
660               <entry>2</entry>
661               <entry>1</entry>
662               <entry>0</entry>
663             </row>
664           </thead>
665           <tbody valign="top">
666             <row id="V4L2-MBUS-FMT-SBGGR8-1X8">
667               <entry>V4L2_MBUS_FMT_SBGGR8_1X8</entry>
668               <entry>0x3001</entry>
669               <entry></entry>
670               <entry>-</entry>
671               <entry>-</entry>
672               <entry>-</entry>
673               <entry>-</entry>
674               <entry>b<subscript>7</subscript></entry>
675               <entry>b<subscript>6</subscript></entry>
676               <entry>b<subscript>5</subscript></entry>
677               <entry>b<subscript>4</subscript></entry>
678               <entry>b<subscript>3</subscript></entry>
679               <entry>b<subscript>2</subscript></entry>
680               <entry>b<subscript>1</subscript></entry>
681               <entry>b<subscript>0</subscript></entry>
682             </row>
683             <row id="V4L2-MBUS-FMT-SGBRG8-1X8">
684               <entry>V4L2_MBUS_FMT_SGBRG8_1X8</entry>
685               <entry>0x3013</entry>
686               <entry></entry>
687               <entry>-</entry>
688               <entry>-</entry>
689               <entry>-</entry>
690               <entry>-</entry>
691               <entry>g<subscript>7</subscript></entry>
692               <entry>g<subscript>6</subscript></entry>
693               <entry>g<subscript>5</subscript></entry>
694               <entry>g<subscript>4</subscript></entry>
695               <entry>g<subscript>3</subscript></entry>
696               <entry>g<subscript>2</subscript></entry>
697               <entry>g<subscript>1</subscript></entry>
698               <entry>g<subscript>0</subscript></entry>
699             </row>
700             <row id="V4L2-MBUS-FMT-SGRBG8-1X8">
701               <entry>V4L2_MBUS_FMT_SGRBG8_1X8</entry>
702               <entry>0x3002</entry>
703               <entry></entry>
704               <entry>-</entry>
705               <entry>-</entry>
706               <entry>-</entry>
707               <entry>-</entry>
708               <entry>g<subscript>7</subscript></entry>
709               <entry>g<subscript>6</subscript></entry>
710               <entry>g<subscript>5</subscript></entry>
711               <entry>g<subscript>4</subscript></entry>
712               <entry>g<subscript>3</subscript></entry>
713               <entry>g<subscript>2</subscript></entry>
714               <entry>g<subscript>1</subscript></entry>
715               <entry>g<subscript>0</subscript></entry>
716             </row>
717             <row id="V4L2-MBUS-FMT-SRGGB8-1X8">
718               <entry>V4L2_MBUS_FMT_SRGGB8_1X8</entry>
719               <entry>0x3014</entry>
720               <entry></entry>
721               <entry>-</entry>
722               <entry>-</entry>
723               <entry>-</entry>
724               <entry>-</entry>
725               <entry>r<subscript>7</subscript></entry>
726               <entry>r<subscript>6</subscript></entry>
727               <entry>r<subscript>5</subscript></entry>
728               <entry>r<subscript>4</subscript></entry>
729               <entry>r<subscript>3</subscript></entry>
730               <entry>r<subscript>2</subscript></entry>
731               <entry>r<subscript>1</subscript></entry>
732               <entry>r<subscript>0</subscript></entry>
733             </row>
734             <row id="V4L2-MBUS-FMT-SBGGR10-ALAW8-1X8">
735               <entry>V4L2_MBUS_FMT_SBGGR10_ALAW8_1X8</entry>
736               <entry>0x3015</entry>
737               <entry></entry>
738               <entry>-</entry>
739               <entry>-</entry>
740               <entry>-</entry>
741               <entry>-</entry>
742               <entry>b<subscript>7</subscript></entry>
743               <entry>b<subscript>6</subscript></entry>
744               <entry>b<subscript>5</subscript></entry>
745               <entry>b<subscript>4</subscript></entry>
746               <entry>b<subscript>3</subscript></entry>
747               <entry>b<subscript>2</subscript></entry>
748               <entry>b<subscript>1</subscript></entry>
749               <entry>b<subscript>0</subscript></entry>
750             </row>
751             <row id="V4L2-MBUS-FMT-SGBRG10-ALAW8-1X8">
752               <entry>V4L2_MBUS_FMT_SGBRG10_ALAW8_1X8</entry>
753               <entry>0x3016</entry>
754               <entry></entry>
755               <entry>-</entry>
756               <entry>-</entry>
757               <entry>-</entry>
758               <entry>-</entry>
759               <entry>g<subscript>7</subscript></entry>
760               <entry>g<subscript>6</subscript></entry>
761               <entry>g<subscript>5</subscript></entry>
762               <entry>g<subscript>4</subscript></entry>
763               <entry>g<subscript>3</subscript></entry>
764               <entry>g<subscript>2</subscript></entry>
765               <entry>g<subscript>1</subscript></entry>
766               <entry>g<subscript>0</subscript></entry>
767             </row>
768             <row id="V4L2-MBUS-FMT-SGRBG10-ALAW8-1X8">
769               <entry>V4L2_MBUS_FMT_SGRBG10_ALAW8_1X8</entry>
770               <entry>0x3017</entry>
771               <entry></entry>
772               <entry>-</entry>
773               <entry>-</entry>
774               <entry>-</entry>
775               <entry>-</entry>
776               <entry>g<subscript>7</subscript></entry>
777               <entry>g<subscript>6</subscript></entry>
778               <entry>g<subscript>5</subscript></entry>
779               <entry>g<subscript>4</subscript></entry>
780               <entry>g<subscript>3</subscript></entry>
781               <entry>g<subscript>2</subscript></entry>
782               <entry>g<subscript>1</subscript></entry>
783               <entry>g<subscript>0</subscript></entry>
784             </row>
785             <row id="V4L2-MBUS-FMT-SRGGB10-ALAW8-1X8">
786               <entry>V4L2_MBUS_FMT_SRGGB10_ALAW8_1X8</entry>
787               <entry>0x3018</entry>
788               <entry></entry>
789               <entry>-</entry>
790               <entry>-</entry>
791               <entry>-</entry>
792               <entry>-</entry>
793               <entry>r<subscript>7</subscript></entry>
794               <entry>r<subscript>6</subscript></entry>
795               <entry>r<subscript>5</subscript></entry>
796               <entry>r<subscript>4</subscript></entry>
797               <entry>r<subscript>3</subscript></entry>
798               <entry>r<subscript>2</subscript></entry>
799               <entry>r<subscript>1</subscript></entry>
800               <entry>r<subscript>0</subscript></entry>
801             </row>
802             <row id="V4L2-MBUS-FMT-SBGGR10-DPCM8-1X8">
803               <entry>V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8</entry>
804               <entry>0x300b</entry>
805               <entry></entry>
806               <entry>-</entry>
807               <entry>-</entry>
808               <entry>-</entry>
809               <entry>-</entry>
810               <entry>b<subscript>7</subscript></entry>
811               <entry>b<subscript>6</subscript></entry>
812               <entry>b<subscript>5</subscript></entry>
813               <entry>b<subscript>4</subscript></entry>
814               <entry>b<subscript>3</subscript></entry>
815               <entry>b<subscript>2</subscript></entry>
816               <entry>b<subscript>1</subscript></entry>
817               <entry>b<subscript>0</subscript></entry>
818             </row>
819             <row id="V4L2-MBUS-FMT-SGBRG10-DPCM8-1X8">
820               <entry>V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8</entry>
821               <entry>0x300c</entry>
822               <entry></entry>
823               <entry>-</entry>
824               <entry>-</entry>
825               <entry>-</entry>
826               <entry>-</entry>
827               <entry>g<subscript>7</subscript></entry>
828               <entry>g<subscript>6</subscript></entry>
829               <entry>g<subscript>5</subscript></entry>
830               <entry>g<subscript>4</subscript></entry>
831               <entry>g<subscript>3</subscript></entry>
832               <entry>g<subscript>2</subscript></entry>
833               <entry>g<subscript>1</subscript></entry>
834               <entry>g<subscript>0</subscript></entry>
835             </row>
836             <row id="V4L2-MBUS-FMT-SGRBG10-DPCM8-1X8">
837               <entry>V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8</entry>
838               <entry>0x3009</entry>
839               <entry></entry>
840               <entry>-</entry>
841               <entry>-</entry>
842               <entry>-</entry>
843               <entry>-</entry>
844               <entry>g<subscript>7</subscript></entry>
845               <entry>g<subscript>6</subscript></entry>
846               <entry>g<subscript>5</subscript></entry>
847               <entry>g<subscript>4</subscript></entry>
848               <entry>g<subscript>3</subscript></entry>
849               <entry>g<subscript>2</subscript></entry>
850               <entry>g<subscript>1</subscript></entry>
851               <entry>g<subscript>0</subscript></entry>
852             </row>
853             <row id="V4L2-MBUS-FMT-SRGGB10-DPCM8-1X8">
854               <entry>V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8</entry>
855               <entry>0x300d</entry>
856               <entry></entry>
857               <entry>-</entry>
858               <entry>-</entry>
859               <entry>-</entry>
860               <entry>-</entry>
861               <entry>r<subscript>7</subscript></entry>
862               <entry>r<subscript>6</subscript></entry>
863               <entry>r<subscript>5</subscript></entry>
864               <entry>r<subscript>4</subscript></entry>
865               <entry>r<subscript>3</subscript></entry>
866               <entry>r<subscript>2</subscript></entry>
867               <entry>r<subscript>1</subscript></entry>
868               <entry>r<subscript>0</subscript></entry>
869             </row>
870             <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADHI-BE">
871               <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE</entry>
872               <entry>0x3003</entry>
873               <entry></entry>
874               <entry>-</entry>
875               <entry>-</entry>
876               <entry>-</entry>
877               <entry>-</entry>
878               <entry>0</entry>
879               <entry>0</entry>
880               <entry>0</entry>
881               <entry>0</entry>
882               <entry>0</entry>
883               <entry>0</entry>
884               <entry>b<subscript>9</subscript></entry>
885               <entry>b<subscript>8</subscript></entry>
886             </row>
887             <row>
888               <entry></entry>
889               <entry></entry>
890               <entry></entry>
891               <entry>-</entry>
892               <entry>-</entry>
893               <entry>-</entry>
894               <entry>-</entry>
895               <entry>b<subscript>7</subscript></entry>
896               <entry>b<subscript>6</subscript></entry>
897               <entry>b<subscript>5</subscript></entry>
898               <entry>b<subscript>4</subscript></entry>
899               <entry>b<subscript>3</subscript></entry>
900               <entry>b<subscript>2</subscript></entry>
901               <entry>b<subscript>1</subscript></entry>
902               <entry>b<subscript>0</subscript></entry>
903             </row>
904             <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADHI-LE">
905               <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE</entry>
906               <entry>0x3004</entry>
907               <entry></entry>
908               <entry>-</entry>
909               <entry>-</entry>
910               <entry>-</entry>
911               <entry>-</entry>
912               <entry>b<subscript>7</subscript></entry>
913               <entry>b<subscript>6</subscript></entry>
914               <entry>b<subscript>5</subscript></entry>
915               <entry>b<subscript>4</subscript></entry>
916               <entry>b<subscript>3</subscript></entry>
917               <entry>b<subscript>2</subscript></entry>
918               <entry>b<subscript>1</subscript></entry>
919               <entry>b<subscript>0</subscript></entry>
920             </row>
921             <row>
922               <entry></entry>
923               <entry></entry>
924               <entry></entry>
925               <entry>-</entry>
926               <entry>-</entry>
927               <entry>-</entry>
928               <entry>-</entry>
929               <entry>0</entry>
930               <entry>0</entry>
931               <entry>0</entry>
932               <entry>0</entry>
933               <entry>0</entry>
934               <entry>0</entry>
935               <entry>b<subscript>9</subscript></entry>
936               <entry>b<subscript>8</subscript></entry>
937             </row>
938             <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADLO-BE">
939               <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE</entry>
940               <entry>0x3005</entry>
941               <entry></entry>
942               <entry>-</entry>
943               <entry>-</entry>
944               <entry>-</entry>
945               <entry>-</entry>
946               <entry>b<subscript>9</subscript></entry>
947               <entry>b<subscript>8</subscript></entry>
948               <entry>b<subscript>7</subscript></entry>
949               <entry>b<subscript>6</subscript></entry>
950               <entry>b<subscript>5</subscript></entry>
951               <entry>b<subscript>4</subscript></entry>
952               <entry>b<subscript>3</subscript></entry>
953               <entry>b<subscript>2</subscript></entry>
954             </row>
955             <row>
956               <entry></entry>
957               <entry></entry>
958               <entry></entry>
959               <entry>-</entry>
960               <entry>-</entry>
961               <entry>-</entry>
962               <entry>-</entry>
963               <entry>b<subscript>1</subscript></entry>
964               <entry>b<subscript>0</subscript></entry>
965               <entry>0</entry>
966               <entry>0</entry>
967               <entry>0</entry>
968               <entry>0</entry>
969               <entry>0</entry>
970               <entry>0</entry>
971             </row>
972             <row id="V4L2-MBUS-FMT-SBGGR10-2X8-PADLO-LE">
973               <entry>V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE</entry>
974               <entry>0x3006</entry>
975               <entry></entry>
976               <entry>-</entry>
977               <entry>-</entry>
978               <entry>-</entry>
979               <entry>-</entry>
980               <entry>b<subscript>1</subscript></entry>
981               <entry>b<subscript>0</subscript></entry>
982               <entry>0</entry>
983               <entry>0</entry>
984               <entry>0</entry>
985               <entry>0</entry>
986               <entry>0</entry>
987               <entry>0</entry>
988             </row>
989             <row>
990               <entry></entry>
991               <entry></entry>
992               <entry></entry>
993               <entry>-</entry>
994               <entry>-</entry>
995               <entry>-</entry>
996               <entry>-</entry>
997               <entry>b<subscript>9</subscript></entry>
998               <entry>b<subscript>8</subscript></entry>
999               <entry>b<subscript>7</subscript></entry>
1000               <entry>b<subscript>6</subscript></entry>
1001               <entry>b<subscript>5</subscript></entry>
1002               <entry>b<subscript>4</subscript></entry>
1003               <entry>b<subscript>3</subscript></entry>
1004               <entry>b<subscript>2</subscript></entry>
1005             </row>
1006             <row id="V4L2-MBUS-FMT-SBGGR10-1X10">
1007               <entry>V4L2_MBUS_FMT_SBGGR10_1X10</entry>
1008               <entry>0x3007</entry>
1009               <entry></entry>
1010               <entry>-</entry>
1011               <entry>-</entry>
1012               <entry>b<subscript>9</subscript></entry>
1013               <entry>b<subscript>8</subscript></entry>
1014               <entry>b<subscript>7</subscript></entry>
1015               <entry>b<subscript>6</subscript></entry>
1016               <entry>b<subscript>5</subscript></entry>
1017               <entry>b<subscript>4</subscript></entry>
1018               <entry>b<subscript>3</subscript></entry>
1019               <entry>b<subscript>2</subscript></entry>
1020               <entry>b<subscript>1</subscript></entry>
1021               <entry>b<subscript>0</subscript></entry>
1022             </row>
1023             <row id="V4L2-MBUS-FMT-SGBRG10-1X10">
1024               <entry>V4L2_MBUS_FMT_SGBRG10_1X10</entry>
1025               <entry>0x300e</entry>
1026               <entry></entry>
1027               <entry>-</entry>
1028               <entry>-</entry>
1029               <entry>g<subscript>9</subscript></entry>
1030               <entry>g<subscript>8</subscript></entry>
1031               <entry>g<subscript>7</subscript></entry>
1032               <entry>g<subscript>6</subscript></entry>
1033               <entry>g<subscript>5</subscript></entry>
1034               <entry>g<subscript>4</subscript></entry>
1035               <entry>g<subscript>3</subscript></entry>
1036               <entry>g<subscript>2</subscript></entry>
1037               <entry>g<subscript>1</subscript></entry>
1038               <entry>g<subscript>0</subscript></entry>
1039             </row>
1040             <row id="V4L2-MBUS-FMT-SGRBG10-1X10">
1041               <entry>V4L2_MBUS_FMT_SGRBG10_1X10</entry>
1042               <entry>0x300a</entry>
1043               <entry></entry>
1044               <entry>-</entry>
1045               <entry>-</entry>
1046               <entry>g<subscript>9</subscript></entry>
1047               <entry>g<subscript>8</subscript></entry>
1048               <entry>g<subscript>7</subscript></entry>
1049               <entry>g<subscript>6</subscript></entry>
1050               <entry>g<subscript>5</subscript></entry>
1051               <entry>g<subscript>4</subscript></entry>
1052               <entry>g<subscript>3</subscript></entry>
1053               <entry>g<subscript>2</subscript></entry>
1054               <entry>g<subscript>1</subscript></entry>
1055               <entry>g<subscript>0</subscript></entry>
1056             </row>
1057             <row id="V4L2-MBUS-FMT-SRGGB10-1X10">
1058               <entry>V4L2_MBUS_FMT_SRGGB10_1X10</entry>
1059               <entry>0x300f</entry>
1060               <entry></entry>
1061               <entry>-</entry>
1062               <entry>-</entry>
1063               <entry>r<subscript>9</subscript></entry>
1064               <entry>r<subscript>8</subscript></entry>
1065               <entry>r<subscript>7</subscript></entry>
1066               <entry>r<subscript>6</subscript></entry>
1067               <entry>r<subscript>5</subscript></entry>
1068               <entry>r<subscript>4</subscript></entry>
1069               <entry>r<subscript>3</subscript></entry>
1070               <entry>r<subscript>2</subscript></entry>
1071               <entry>r<subscript>1</subscript></entry>
1072               <entry>r<subscript>0</subscript></entry>
1073             </row>
1074             <row id="V4L2-MBUS-FMT-SBGGR12-1X12">
1075               <entry>V4L2_MBUS_FMT_SBGGR12_1X12</entry>
1076               <entry>0x3008</entry>
1077               <entry></entry>
1078               <entry>b<subscript>11</subscript></entry>
1079               <entry>b<subscript>10</subscript></entry>
1080               <entry>b<subscript>9</subscript></entry>
1081               <entry>b<subscript>8</subscript></entry>
1082               <entry>b<subscript>7</subscript></entry>
1083               <entry>b<subscript>6</subscript></entry>
1084               <entry>b<subscript>5</subscript></entry>
1085               <entry>b<subscript>4</subscript></entry>
1086               <entry>b<subscript>3</subscript></entry>
1087               <entry>b<subscript>2</subscript></entry>
1088               <entry>b<subscript>1</subscript></entry>
1089               <entry>b<subscript>0</subscript></entry>
1090             </row>
1091             <row id="V4L2-MBUS-FMT-SGBRG12-1X12">
1092               <entry>V4L2_MBUS_FMT_SGBRG12_1X12</entry>
1093               <entry>0x3010</entry>
1094               <entry></entry>
1095               <entry>g<subscript>11</subscript></entry>
1096               <entry>g<subscript>10</subscript></entry>
1097               <entry>g<subscript>9</subscript></entry>
1098               <entry>g<subscript>8</subscript></entry>
1099               <entry>g<subscript>7</subscript></entry>
1100               <entry>g<subscript>6</subscript></entry>
1101               <entry>g<subscript>5</subscript></entry>
1102               <entry>g<subscript>4</subscript></entry>
1103               <entry>g<subscript>3</subscript></entry>
1104               <entry>g<subscript>2</subscript></entry>
1105               <entry>g<subscript>1</subscript></entry>
1106               <entry>g<subscript>0</subscript></entry>
1107             </row>
1108             <row id="V4L2-MBUS-FMT-SGRBG12-1X12">
1109               <entry>V4L2_MBUS_FMT_SGRBG12_1X12</entry>
1110               <entry>0x3011</entry>
1111               <entry></entry>
1112               <entry>g<subscript>11</subscript></entry>
1113               <entry>g<subscript>10</subscript></entry>
1114               <entry>g<subscript>9</subscript></entry>
1115               <entry>g<subscript>8</subscript></entry>
1116               <entry>g<subscript>7</subscript></entry>
1117               <entry>g<subscript>6</subscript></entry>
1118               <entry>g<subscript>5</subscript></entry>
1119               <entry>g<subscript>4</subscript></entry>
1120               <entry>g<subscript>3</subscript></entry>
1121               <entry>g<subscript>2</subscript></entry>
1122               <entry>g<subscript>1</subscript></entry>
1123               <entry>g<subscript>0</subscript></entry>
1124             </row>
1125             <row id="V4L2-MBUS-FMT-SRGGB12-1X12">
1126               <entry>V4L2_MBUS_FMT_SRGGB12_1X12</entry>
1127               <entry>0x3012</entry>
1128               <entry></entry>
1129               <entry>r<subscript>11</subscript></entry>
1130               <entry>r<subscript>10</subscript></entry>
1131               <entry>r<subscript>9</subscript></entry>
1132               <entry>r<subscript>8</subscript></entry>
1133               <entry>r<subscript>7</subscript></entry>
1134               <entry>r<subscript>6</subscript></entry>
1135               <entry>r<subscript>5</subscript></entry>
1136               <entry>r<subscript>4</subscript></entry>
1137               <entry>r<subscript>3</subscript></entry>
1138               <entry>r<subscript>2</subscript></entry>
1139               <entry>r<subscript>1</subscript></entry>
1140               <entry>r<subscript>0</subscript></entry>
1141             </row>
1142           </tbody>
1143         </tgroup>
1144       </table>
1145     </section>
1147     <section>
1148       <title>Packed YUV Formats</title>
1150       <para>Those data formats transfer pixel data as (possibly downsampled) Y, U
1151       and V components. Some formats include dummy bits in some of their samples
1152       and are collectively referred to as "YDYC" (Y-Dummy-Y-Chroma) formats.
1153       One cannot rely on the values of these dummy bits as those are undefined.
1154       </para>
1155       <para>The format code is made of the following information.
1156       <itemizedlist>
1157         <listitem><para>The Y, U and V components order code, as transferred on the
1158         bus. Possible values are YUYV, UYVY, YVYU and VYUY for formats with no
1159         dummy bit, and YDYUYDYV, YDYVYDYU, YUYDYVYD and YVYDYUYD for YDYC formats.
1160         </para></listitem>
1161         <listitem><para>The number of bits per pixel component. All components are
1162         transferred on the same number of bits. Common values are 8, 10 and 12.</para>
1163         </listitem>
1164         <listitem><para>The number of bus samples per pixel. Pixels that are wider than
1165         the bus width must be transferred in multiple samples. Common values are
1166         1, 1.5 (encoded as 1_5) and 2.</para></listitem>
1167         <listitem><para>The bus width. When the bus width is larger than the number of
1168         bits per pixel component, several components are packed in a single bus
1169         sample. The components are ordered as specified by the order code, with
1170         components on the left of the code transferred in the high order bits.
1171         Common values are 8 and 16.</para>
1172         </listitem>
1173       </itemizedlist>
1174       </para>
1176       <para>For instance, a format where pixels are encoded as 8-bit YUV values
1177       downsampled to 4:2:2 and transferred as 2 8-bit bus samples per pixel in the
1178       U, Y, V, Y order will be named <constant>V4L2_MBUS_FMT_UYVY8_2X8</constant>.
1179       </para>
1181         <para><xref linkend="v4l2-mbus-pixelcode-yuv8"/> list existing packet YUV
1182         formats and describes the organization of each pixel data in each sample.
1183         When a format pattern is split across multiple samples each of the samples
1184         in the pattern is described.</para>
1186         <para>The role of each bit transferred over the bus is identified by one
1187         of the following codes.</para>
1189         <itemizedlist>
1190            <listitem><para>y<subscript>x</subscript> for luma component bit number x</para></listitem>
1191            <listitem><para>u<subscript>x</subscript> for blue chroma component bit number x</para></listitem>
1192            <listitem><para>v<subscript>x</subscript> for red chroma component bit number x</para></listitem>
1193            <listitem><para>a<subscript>x</subscript> for alpha component bit number x</para></listitem>
1194            <listitem><para>- for non-available bits (for positions higher than the bus width)</para></listitem>
1195            <listitem><para>d for dummy bits</para></listitem>
1196         </itemizedlist>
1198       <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-yuv8">
1199         <title>YUV Formats</title>
1200         <tgroup cols="23">
1201           <colspec colname="id" align="left" />
1202           <colspec colname="code" align="center"/>
1203           <colspec colname="bit" />
1204           <colspec colnum="4" colname="b31" align="center" />
1205           <colspec colnum="5" colname="b20" align="center" />
1206           <colspec colnum="6" colname="b29" align="center" />
1207           <colspec colnum="7" colname="b28" align="center" />
1208           <colspec colnum="8" colname="b27" align="center" />
1209           <colspec colnum="9" colname="b26" align="center" />
1210           <colspec colnum="10" colname="b25" align="center" />
1211           <colspec colnum="11" colname="b24" align="center" />
1212           <colspec colnum="12" colname="b23" align="center" />
1213           <colspec colnum="13" colname="b22" align="center" />
1214           <colspec colnum="14" colname="b21" align="center" />
1215           <colspec colnum="15" colname="b20" align="center" />
1216           <colspec colnum="16" colname="b19" align="center" />
1217           <colspec colnum="17" colname="b18" align="center" />
1218           <colspec colnum="18" colname="b17" align="center" />
1219           <colspec colnum="19" colname="b16" align="center" />
1220           <colspec colnum="20" colname="b15" align="center" />
1221           <colspec colnum="21" colname="b14" align="center" />
1222           <colspec colnum="22" colname="b13" align="center" />
1223           <colspec colnum="23" colname="b12" align="center" />
1224           <colspec colnum="24" colname="b11" align="center" />
1225           <colspec colnum="25" colname="b10" align="center" />
1226           <colspec colnum="26" colname="b09" align="center" />
1227           <colspec colnum="27" colname="b08" align="center" />
1228           <colspec colnum="28" colname="b07" align="center" />
1229           <colspec colnum="29" colname="b06" align="center" />
1230           <colspec colnum="30" colname="b05" align="center" />
1231           <colspec colnum="31" colname="b04" align="center" />
1232           <colspec colnum="32" colname="b03" align="center" />
1233           <colspec colnum="33" colname="b02" align="center" />
1234           <colspec colnum="34" colname="b01" align="center" />
1235           <colspec colnum="35" colname="b00" align="center" />
1236           <spanspec namest="b31" nameend="b00" spanname="b0" />
1237           <thead>
1238             <row>
1239               <entry>Identifier</entry>
1240               <entry>Code</entry>
1241               <entry></entry>
1242               <entry spanname="b0">Data organization</entry>
1243             </row>
1244             <row>
1245               <entry></entry>
1246               <entry></entry>
1247               <entry>Bit</entry>
1248               <entry>31</entry>
1249               <entry>30</entry>
1250               <entry>29</entry>
1251               <entry>28</entry>
1252               <entry>27</entry>
1253               <entry>26</entry>
1254               <entry>25</entry>
1255               <entry>24</entry>
1256               <entry>23</entry>
1257               <entry>22</entry>
1258               <entry>21</entry>
1259               <entry>10</entry>
1260               <entry>19</entry>
1261               <entry>18</entry>
1262               <entry>17</entry>
1263               <entry>16</entry>
1264               <entry>15</entry>
1265               <entry>14</entry>
1266               <entry>13</entry>
1267               <entry>12</entry>
1268               <entry>11</entry>
1269               <entry>10</entry>
1270               <entry>9</entry>
1271               <entry>8</entry>
1272               <entry>7</entry>
1273               <entry>6</entry>
1274               <entry>5</entry>
1275               <entry>4</entry>
1276               <entry>3</entry>
1277               <entry>2</entry>
1278               <entry>1</entry>
1279               <entry>0</entry>
1280             </row>
1281           </thead>
1282           <tbody valign="top">
1283             <row id="V4L2-MBUS-FMT-Y8-1X8">
1284               <entry>V4L2_MBUS_FMT_Y8_1X8</entry>
1285               <entry>0x2001</entry>
1286               <entry></entry>
1287               &dash-ent-24;
1288               <entry>y<subscript>7</subscript></entry>
1289               <entry>y<subscript>6</subscript></entry>
1290               <entry>y<subscript>5</subscript></entry>
1291               <entry>y<subscript>4</subscript></entry>
1292               <entry>y<subscript>3</subscript></entry>
1293               <entry>y<subscript>2</subscript></entry>
1294               <entry>y<subscript>1</subscript></entry>
1295               <entry>y<subscript>0</subscript></entry>
1296             </row>
1297             <row id="V4L2-MBUS-FMT-UV8-1X8">
1298               <entry>V4L2_MBUS_FMT_UV8_1X8</entry>
1299               <entry>0x2015</entry>
1300               <entry></entry>
1301               &dash-ent-24;
1302               <entry>u<subscript>7</subscript></entry>
1303               <entry>u<subscript>6</subscript></entry>
1304               <entry>u<subscript>5</subscript></entry>
1305               <entry>u<subscript>4</subscript></entry>
1306               <entry>u<subscript>3</subscript></entry>
1307               <entry>u<subscript>2</subscript></entry>
1308               <entry>u<subscript>1</subscript></entry>
1309               <entry>u<subscript>0</subscript></entry>
1310             </row>
1311             <row>
1312               <entry></entry>
1313               <entry></entry>
1314               <entry></entry>
1315               &dash-ent-24;
1316               <entry>v<subscript>7</subscript></entry>
1317               <entry>v<subscript>6</subscript></entry>
1318               <entry>v<subscript>5</subscript></entry>
1319               <entry>v<subscript>4</subscript></entry>
1320               <entry>v<subscript>3</subscript></entry>
1321               <entry>v<subscript>2</subscript></entry>
1322               <entry>v<subscript>1</subscript></entry>
1323               <entry>v<subscript>0</subscript></entry>
1324             </row>
1325             <row id="V4L2-MBUS-FMT-UYVY8-1_5X8">
1326               <entry>V4L2_MBUS_FMT_UYVY8_1_5X8</entry>
1327               <entry>0x2002</entry>
1328               <entry></entry>
1329               &dash-ent-24;
1330               <entry>u<subscript>7</subscript></entry>
1331               <entry>u<subscript>6</subscript></entry>
1332               <entry>u<subscript>5</subscript></entry>
1333               <entry>u<subscript>4</subscript></entry>
1334               <entry>u<subscript>3</subscript></entry>
1335               <entry>u<subscript>2</subscript></entry>
1336               <entry>u<subscript>1</subscript></entry>
1337               <entry>u<subscript>0</subscript></entry>
1338             </row>
1339             <row>
1340               <entry></entry>
1341               <entry></entry>
1342               <entry></entry>
1343               &dash-ent-24;
1344               <entry>y<subscript>7</subscript></entry>
1345               <entry>y<subscript>6</subscript></entry>
1346               <entry>y<subscript>5</subscript></entry>
1347               <entry>y<subscript>4</subscript></entry>
1348               <entry>y<subscript>3</subscript></entry>
1349               <entry>y<subscript>2</subscript></entry>
1350               <entry>y<subscript>1</subscript></entry>
1351               <entry>y<subscript>0</subscript></entry>
1352             </row>
1353             <row>
1354               <entry></entry>
1355               <entry></entry>
1356               <entry></entry>
1357               &dash-ent-24;
1358               <entry>y<subscript>7</subscript></entry>
1359               <entry>y<subscript>6</subscript></entry>
1360               <entry>y<subscript>5</subscript></entry>
1361               <entry>y<subscript>4</subscript></entry>
1362               <entry>y<subscript>3</subscript></entry>
1363               <entry>y<subscript>2</subscript></entry>
1364               <entry>y<subscript>1</subscript></entry>
1365               <entry>y<subscript>0</subscript></entry>
1366             </row>
1367             <row>
1368               <entry></entry>
1369               <entry></entry>
1370               <entry></entry>
1371               &dash-ent-24;
1372               <entry>v<subscript>7</subscript></entry>
1373               <entry>v<subscript>6</subscript></entry>
1374               <entry>v<subscript>5</subscript></entry>
1375               <entry>v<subscript>4</subscript></entry>
1376               <entry>v<subscript>3</subscript></entry>
1377               <entry>v<subscript>2</subscript></entry>
1378               <entry>v<subscript>1</subscript></entry>
1379               <entry>v<subscript>0</subscript></entry>
1380             </row>
1381             <row>
1382               <entry></entry>
1383               <entry></entry>
1384               <entry></entry>
1385               &dash-ent-24;
1386               <entry>y<subscript>7</subscript></entry>
1387               <entry>y<subscript>6</subscript></entry>
1388               <entry>y<subscript>5</subscript></entry>
1389               <entry>y<subscript>4</subscript></entry>
1390               <entry>y<subscript>3</subscript></entry>
1391               <entry>y<subscript>2</subscript></entry>
1392               <entry>y<subscript>1</subscript></entry>
1393               <entry>y<subscript>0</subscript></entry>
1394             </row>
1395             <row>
1396               <entry></entry>
1397               <entry></entry>
1398               <entry></entry>
1399               &dash-ent-24;
1400               <entry>y<subscript>7</subscript></entry>
1401               <entry>y<subscript>6</subscript></entry>
1402               <entry>y<subscript>5</subscript></entry>
1403               <entry>y<subscript>4</subscript></entry>
1404               <entry>y<subscript>3</subscript></entry>
1405               <entry>y<subscript>2</subscript></entry>
1406               <entry>y<subscript>1</subscript></entry>
1407               <entry>y<subscript>0</subscript></entry>
1408             </row>
1409             <row id="V4L2-MBUS-FMT-VYUY8-1_5X8">
1410               <entry>V4L2_MBUS_FMT_VYUY8_1_5X8</entry>
1411               <entry>0x2003</entry>
1412               <entry></entry>
1413               &dash-ent-24;
1414               <entry>v<subscript>7</subscript></entry>
1415               <entry>v<subscript>6</subscript></entry>
1416               <entry>v<subscript>5</subscript></entry>
1417               <entry>v<subscript>4</subscript></entry>
1418               <entry>v<subscript>3</subscript></entry>
1419               <entry>v<subscript>2</subscript></entry>
1420               <entry>v<subscript>1</subscript></entry>
1421               <entry>v<subscript>0</subscript></entry>
1422             </row>
1423             <row>
1424               <entry></entry>
1425               <entry></entry>
1426               <entry></entry>
1427               &dash-ent-24;
1428               <entry>y<subscript>7</subscript></entry>
1429               <entry>y<subscript>6</subscript></entry>
1430               <entry>y<subscript>5</subscript></entry>
1431               <entry>y<subscript>4</subscript></entry>
1432               <entry>y<subscript>3</subscript></entry>
1433               <entry>y<subscript>2</subscript></entry>
1434               <entry>y<subscript>1</subscript></entry>
1435               <entry>y<subscript>0</subscript></entry>
1436             </row>
1437             <row>
1438               <entry></entry>
1439               <entry></entry>
1440               <entry></entry>
1441               &dash-ent-24;
1442               <entry>y<subscript>7</subscript></entry>
1443               <entry>y<subscript>6</subscript></entry>
1444               <entry>y<subscript>5</subscript></entry>
1445               <entry>y<subscript>4</subscript></entry>
1446               <entry>y<subscript>3</subscript></entry>
1447               <entry>y<subscript>2</subscript></entry>
1448               <entry>y<subscript>1</subscript></entry>
1449               <entry>y<subscript>0</subscript></entry>
1450             </row>
1451             <row>
1452               <entry></entry>
1453               <entry></entry>
1454               <entry></entry>
1455               &dash-ent-24;
1456               <entry>u<subscript>7</subscript></entry>
1457               <entry>u<subscript>6</subscript></entry>
1458               <entry>u<subscript>5</subscript></entry>
1459               <entry>u<subscript>4</subscript></entry>
1460               <entry>u<subscript>3</subscript></entry>
1461               <entry>u<subscript>2</subscript></entry>
1462               <entry>u<subscript>1</subscript></entry>
1463               <entry>u<subscript>0</subscript></entry>
1464             </row>
1465             <row>
1466               <entry></entry>
1467               <entry></entry>
1468               <entry></entry>
1469               &dash-ent-24;
1470               <entry>y<subscript>7</subscript></entry>
1471               <entry>y<subscript>6</subscript></entry>
1472               <entry>y<subscript>5</subscript></entry>
1473               <entry>y<subscript>4</subscript></entry>
1474               <entry>y<subscript>3</subscript></entry>
1475               <entry>y<subscript>2</subscript></entry>
1476               <entry>y<subscript>1</subscript></entry>
1477               <entry>y<subscript>0</subscript></entry>
1478             </row>
1479             <row>
1480               <entry></entry>
1481               <entry></entry>
1482               <entry></entry>
1483               &dash-ent-24;
1484               <entry>y<subscript>7</subscript></entry>
1485               <entry>y<subscript>6</subscript></entry>
1486               <entry>y<subscript>5</subscript></entry>
1487               <entry>y<subscript>4</subscript></entry>
1488               <entry>y<subscript>3</subscript></entry>
1489               <entry>y<subscript>2</subscript></entry>
1490               <entry>y<subscript>1</subscript></entry>
1491               <entry>y<subscript>0</subscript></entry>
1492             </row>
1493             <row id="V4L2-MBUS-FMT-YUYV8-1_5X8">
1494               <entry>V4L2_MBUS_FMT_YUYV8_1_5X8</entry>
1495               <entry>0x2004</entry>
1496               <entry></entry>
1497               &dash-ent-24;
1498               <entry>y<subscript>7</subscript></entry>
1499               <entry>y<subscript>6</subscript></entry>
1500               <entry>y<subscript>5</subscript></entry>
1501               <entry>y<subscript>4</subscript></entry>
1502               <entry>y<subscript>3</subscript></entry>
1503               <entry>y<subscript>2</subscript></entry>
1504               <entry>y<subscript>1</subscript></entry>
1505               <entry>y<subscript>0</subscript></entry>
1506             </row>
1507             <row>
1508               <entry></entry>
1509               <entry></entry>
1510               <entry></entry>
1511               &dash-ent-24;
1512               <entry>y<subscript>7</subscript></entry>
1513               <entry>y<subscript>6</subscript></entry>
1514               <entry>y<subscript>5</subscript></entry>
1515               <entry>y<subscript>4</subscript></entry>
1516               <entry>y<subscript>3</subscript></entry>
1517               <entry>y<subscript>2</subscript></entry>
1518               <entry>y<subscript>1</subscript></entry>
1519               <entry>y<subscript>0</subscript></entry>
1520             </row>
1521             <row>
1522               <entry></entry>
1523               <entry></entry>
1524               <entry></entry>
1525               &dash-ent-24;
1526               <entry>u<subscript>7</subscript></entry>
1527               <entry>u<subscript>6</subscript></entry>
1528               <entry>u<subscript>5</subscript></entry>
1529               <entry>u<subscript>4</subscript></entry>
1530               <entry>u<subscript>3</subscript></entry>
1531               <entry>u<subscript>2</subscript></entry>
1532               <entry>u<subscript>1</subscript></entry>
1533               <entry>u<subscript>0</subscript></entry>
1534             </row>
1535             <row>
1536               <entry></entry>
1537               <entry></entry>
1538               <entry></entry>
1539               &dash-ent-24;
1540               <entry>y<subscript>7</subscript></entry>
1541               <entry>y<subscript>6</subscript></entry>
1542               <entry>y<subscript>5</subscript></entry>
1543               <entry>y<subscript>4</subscript></entry>
1544               <entry>y<subscript>3</subscript></entry>
1545               <entry>y<subscript>2</subscript></entry>
1546               <entry>y<subscript>1</subscript></entry>
1547               <entry>y<subscript>0</subscript></entry>
1548             </row>
1549             <row>
1550               <entry></entry>
1551               <entry></entry>
1552               <entry></entry>
1553               &dash-ent-24;
1554               <entry>y<subscript>7</subscript></entry>
1555               <entry>y<subscript>6</subscript></entry>
1556               <entry>y<subscript>5</subscript></entry>
1557               <entry>y<subscript>4</subscript></entry>
1558               <entry>y<subscript>3</subscript></entry>
1559               <entry>y<subscript>2</subscript></entry>
1560               <entry>y<subscript>1</subscript></entry>
1561               <entry>y<subscript>0</subscript></entry>
1562             </row>
1563             <row>
1564               <entry></entry>
1565               <entry></entry>
1566               <entry></entry>
1567               &dash-ent-24;
1568               <entry>v<subscript>7</subscript></entry>
1569               <entry>v<subscript>6</subscript></entry>
1570               <entry>v<subscript>5</subscript></entry>
1571               <entry>v<subscript>4</subscript></entry>
1572               <entry>v<subscript>3</subscript></entry>
1573               <entry>v<subscript>2</subscript></entry>
1574               <entry>v<subscript>1</subscript></entry>
1575               <entry>v<subscript>0</subscript></entry>
1576             </row>
1577             <row id="V4L2-MBUS-FMT-YVYU8-1_5X8">
1578               <entry>V4L2_MBUS_FMT_YVYU8_1_5X8</entry>
1579               <entry>0x2005</entry>
1580               <entry></entry>
1581               &dash-ent-24;
1582               <entry>y<subscript>7</subscript></entry>
1583               <entry>y<subscript>6</subscript></entry>
1584               <entry>y<subscript>5</subscript></entry>
1585               <entry>y<subscript>4</subscript></entry>
1586               <entry>y<subscript>3</subscript></entry>
1587               <entry>y<subscript>2</subscript></entry>
1588               <entry>y<subscript>1</subscript></entry>
1589               <entry>y<subscript>0</subscript></entry>
1590             </row>
1591             <row>
1592               <entry></entry>
1593               <entry></entry>
1594               <entry></entry>
1595               &dash-ent-24;
1596               <entry>y<subscript>7</subscript></entry>
1597               <entry>y<subscript>6</subscript></entry>
1598               <entry>y<subscript>5</subscript></entry>
1599               <entry>y<subscript>4</subscript></entry>
1600               <entry>y<subscript>3</subscript></entry>
1601               <entry>y<subscript>2</subscript></entry>
1602               <entry>y<subscript>1</subscript></entry>
1603               <entry>y<subscript>0</subscript></entry>
1604             </row>
1605             <row>
1606               <entry></entry>
1607               <entry></entry>
1608               <entry></entry>
1609               &dash-ent-24;
1610               <entry>v<subscript>7</subscript></entry>
1611               <entry>v<subscript>6</subscript></entry>
1612               <entry>v<subscript>5</subscript></entry>
1613               <entry>v<subscript>4</subscript></entry>
1614               <entry>v<subscript>3</subscript></entry>
1615               <entry>v<subscript>2</subscript></entry>
1616               <entry>v<subscript>1</subscript></entry>
1617               <entry>v<subscript>0</subscript></entry>
1618             </row>
1619             <row>
1620               <entry></entry>
1621               <entry></entry>
1622               <entry></entry>
1623               &dash-ent-24;
1624               <entry>y<subscript>7</subscript></entry>
1625               <entry>y<subscript>6</subscript></entry>
1626               <entry>y<subscript>5</subscript></entry>
1627               <entry>y<subscript>4</subscript></entry>
1628               <entry>y<subscript>3</subscript></entry>
1629               <entry>y<subscript>2</subscript></entry>
1630               <entry>y<subscript>1</subscript></entry>
1631               <entry>y<subscript>0</subscript></entry>
1632             </row>
1633             <row>
1634               <entry></entry>
1635               <entry></entry>
1636               <entry></entry>
1637               &dash-ent-24;
1638               <entry>y<subscript>7</subscript></entry>
1639               <entry>y<subscript>6</subscript></entry>
1640               <entry>y<subscript>5</subscript></entry>
1641               <entry>y<subscript>4</subscript></entry>
1642               <entry>y<subscript>3</subscript></entry>
1643               <entry>y<subscript>2</subscript></entry>
1644               <entry>y<subscript>1</subscript></entry>
1645               <entry>y<subscript>0</subscript></entry>
1646             </row>
1647             <row>
1648               <entry></entry>
1649               <entry></entry>
1650               <entry></entry>
1651               &dash-ent-24;
1652               <entry>u<subscript>7</subscript></entry>
1653               <entry>u<subscript>6</subscript></entry>
1654               <entry>u<subscript>5</subscript></entry>
1655               <entry>u<subscript>4</subscript></entry>
1656               <entry>u<subscript>3</subscript></entry>
1657               <entry>u<subscript>2</subscript></entry>
1658               <entry>u<subscript>1</subscript></entry>
1659               <entry>u<subscript>0</subscript></entry>
1660             </row>
1661             <row id="V4L2-MBUS-FMT-UYVY8-2X8">
1662               <entry>V4L2_MBUS_FMT_UYVY8_2X8</entry>
1663               <entry>0x2006</entry>
1664               <entry></entry>
1665               &dash-ent-24;
1666               <entry>u<subscript>7</subscript></entry>
1667               <entry>u<subscript>6</subscript></entry>
1668               <entry>u<subscript>5</subscript></entry>
1669               <entry>u<subscript>4</subscript></entry>
1670               <entry>u<subscript>3</subscript></entry>
1671               <entry>u<subscript>2</subscript></entry>
1672               <entry>u<subscript>1</subscript></entry>
1673               <entry>u<subscript>0</subscript></entry>
1674             </row>
1675             <row>
1676               <entry></entry>
1677               <entry></entry>
1678               <entry></entry>
1679               &dash-ent-24;
1680               <entry>y<subscript>7</subscript></entry>
1681               <entry>y<subscript>6</subscript></entry>
1682               <entry>y<subscript>5</subscript></entry>
1683               <entry>y<subscript>4</subscript></entry>
1684               <entry>y<subscript>3</subscript></entry>
1685               <entry>y<subscript>2</subscript></entry>
1686               <entry>y<subscript>1</subscript></entry>
1687               <entry>y<subscript>0</subscript></entry>
1688             </row>
1689             <row>
1690               <entry></entry>
1691               <entry></entry>
1692               <entry></entry>
1693               &dash-ent-24;
1694               <entry>v<subscript>7</subscript></entry>
1695               <entry>v<subscript>6</subscript></entry>
1696               <entry>v<subscript>5</subscript></entry>
1697               <entry>v<subscript>4</subscript></entry>
1698               <entry>v<subscript>3</subscript></entry>
1699               <entry>v<subscript>2</subscript></entry>
1700               <entry>v<subscript>1</subscript></entry>
1701               <entry>v<subscript>0</subscript></entry>
1702             </row>
1703             <row>
1704               <entry></entry>
1705               <entry></entry>
1706               <entry></entry>
1707               &dash-ent-24;
1708               <entry>y<subscript>7</subscript></entry>
1709               <entry>y<subscript>6</subscript></entry>
1710               <entry>y<subscript>5</subscript></entry>
1711               <entry>y<subscript>4</subscript></entry>
1712               <entry>y<subscript>3</subscript></entry>
1713               <entry>y<subscript>2</subscript></entry>
1714               <entry>y<subscript>1</subscript></entry>
1715               <entry>y<subscript>0</subscript></entry>
1716             </row>
1717             <row id="V4L2-MBUS-FMT-VYUY8-2X8">
1718               <entry>V4L2_MBUS_FMT_VYUY8_2X8</entry>
1719               <entry>0x2007</entry>
1720               <entry></entry>
1721               &dash-ent-24;
1722               <entry>v<subscript>7</subscript></entry>
1723               <entry>v<subscript>6</subscript></entry>
1724               <entry>v<subscript>5</subscript></entry>
1725               <entry>v<subscript>4</subscript></entry>
1726               <entry>v<subscript>3</subscript></entry>
1727               <entry>v<subscript>2</subscript></entry>
1728               <entry>v<subscript>1</subscript></entry>
1729               <entry>v<subscript>0</subscript></entry>
1730             </row>
1731             <row>
1732               <entry></entry>
1733               <entry></entry>
1734               <entry></entry>
1735               &dash-ent-24;
1736               <entry>y<subscript>7</subscript></entry>
1737               <entry>y<subscript>6</subscript></entry>
1738               <entry>y<subscript>5</subscript></entry>
1739               <entry>y<subscript>4</subscript></entry>
1740               <entry>y<subscript>3</subscript></entry>
1741               <entry>y<subscript>2</subscript></entry>
1742               <entry>y<subscript>1</subscript></entry>
1743               <entry>y<subscript>0</subscript></entry>
1744             </row>
1745             <row>
1746               <entry></entry>
1747               <entry></entry>
1748               <entry></entry>
1749               &dash-ent-24;
1750               <entry>u<subscript>7</subscript></entry>
1751               <entry>u<subscript>6</subscript></entry>
1752               <entry>u<subscript>5</subscript></entry>
1753               <entry>u<subscript>4</subscript></entry>
1754               <entry>u<subscript>3</subscript></entry>
1755               <entry>u<subscript>2</subscript></entry>
1756               <entry>u<subscript>1</subscript></entry>
1757               <entry>u<subscript>0</subscript></entry>
1758             </row>
1759             <row>
1760               <entry></entry>
1761               <entry></entry>
1762               <entry></entry>
1763               &dash-ent-24;
1764               <entry>y<subscript>7</subscript></entry>
1765               <entry>y<subscript>6</subscript></entry>
1766               <entry>y<subscript>5</subscript></entry>
1767               <entry>y<subscript>4</subscript></entry>
1768               <entry>y<subscript>3</subscript></entry>
1769               <entry>y<subscript>2</subscript></entry>
1770               <entry>y<subscript>1</subscript></entry>
1771               <entry>y<subscript>0</subscript></entry>
1772             </row>
1773             <row id="V4L2-MBUS-FMT-YUYV8-2X8">
1774               <entry>V4L2_MBUS_FMT_YUYV8_2X8</entry>
1775               <entry>0x2008</entry>
1776               <entry></entry>
1777               &dash-ent-24;
1778               <entry>y<subscript>7</subscript></entry>
1779               <entry>y<subscript>6</subscript></entry>
1780               <entry>y<subscript>5</subscript></entry>
1781               <entry>y<subscript>4</subscript></entry>
1782               <entry>y<subscript>3</subscript></entry>
1783               <entry>y<subscript>2</subscript></entry>
1784               <entry>y<subscript>1</subscript></entry>
1785               <entry>y<subscript>0</subscript></entry>
1786             </row>
1787             <row>
1788               <entry></entry>
1789               <entry></entry>
1790               <entry></entry>
1791               &dash-ent-24;
1792               <entry>u<subscript>7</subscript></entry>
1793               <entry>u<subscript>6</subscript></entry>
1794               <entry>u<subscript>5</subscript></entry>
1795               <entry>u<subscript>4</subscript></entry>
1796               <entry>u<subscript>3</subscript></entry>
1797               <entry>u<subscript>2</subscript></entry>
1798               <entry>u<subscript>1</subscript></entry>
1799               <entry>u<subscript>0</subscript></entry>
1800             </row>
1801             <row>
1802               <entry></entry>
1803               <entry></entry>
1804               <entry></entry>
1805               &dash-ent-24;
1806               <entry>y<subscript>7</subscript></entry>
1807               <entry>y<subscript>6</subscript></entry>
1808               <entry>y<subscript>5</subscript></entry>
1809               <entry>y<subscript>4</subscript></entry>
1810               <entry>y<subscript>3</subscript></entry>
1811               <entry>y<subscript>2</subscript></entry>
1812               <entry>y<subscript>1</subscript></entry>
1813               <entry>y<subscript>0</subscript></entry>
1814             </row>
1815             <row>
1816               <entry></entry>
1817               <entry></entry>
1818               <entry></entry>
1819               &dash-ent-24;
1820               <entry>v<subscript>7</subscript></entry>
1821               <entry>v<subscript>6</subscript></entry>
1822               <entry>v<subscript>5</subscript></entry>
1823               <entry>v<subscript>4</subscript></entry>
1824               <entry>v<subscript>3</subscript></entry>
1825               <entry>v<subscript>2</subscript></entry>
1826               <entry>v<subscript>1</subscript></entry>
1827               <entry>v<subscript>0</subscript></entry>
1828             </row>
1829             <row id="V4L2-MBUS-FMT-YVYU8-2X8">
1830               <entry>V4L2_MBUS_FMT_YVYU8_2X8</entry>
1831               <entry>0x2009</entry>
1832               <entry></entry>
1833               &dash-ent-24;
1834               <entry>y<subscript>7</subscript></entry>
1835               <entry>y<subscript>6</subscript></entry>
1836               <entry>y<subscript>5</subscript></entry>
1837               <entry>y<subscript>4</subscript></entry>
1838               <entry>y<subscript>3</subscript></entry>
1839               <entry>y<subscript>2</subscript></entry>
1840               <entry>y<subscript>1</subscript></entry>
1841               <entry>y<subscript>0</subscript></entry>
1842             </row>
1843             <row>
1844               <entry></entry>
1845               <entry></entry>
1846               <entry></entry>
1847               &dash-ent-24;
1848               <entry>v<subscript>7</subscript></entry>
1849               <entry>v<subscript>6</subscript></entry>
1850               <entry>v<subscript>5</subscript></entry>
1851               <entry>v<subscript>4</subscript></entry>
1852               <entry>v<subscript>3</subscript></entry>
1853               <entry>v<subscript>2</subscript></entry>
1854               <entry>v<subscript>1</subscript></entry>
1855               <entry>v<subscript>0</subscript></entry>
1856             </row>
1857             <row>
1858               <entry></entry>
1859               <entry></entry>
1860               <entry></entry>
1861               &dash-ent-24;
1862               <entry>y<subscript>7</subscript></entry>
1863               <entry>y<subscript>6</subscript></entry>
1864               <entry>y<subscript>5</subscript></entry>
1865               <entry>y<subscript>4</subscript></entry>
1866               <entry>y<subscript>3</subscript></entry>
1867               <entry>y<subscript>2</subscript></entry>
1868               <entry>y<subscript>1</subscript></entry>
1869               <entry>y<subscript>0</subscript></entry>
1870             </row>
1871             <row>
1872               <entry></entry>
1873               <entry></entry>
1874               <entry></entry>
1875               &dash-ent-24;
1876               <entry>u<subscript>7</subscript></entry>
1877               <entry>u<subscript>6</subscript></entry>
1878               <entry>u<subscript>5</subscript></entry>
1879               <entry>u<subscript>4</subscript></entry>
1880               <entry>u<subscript>3</subscript></entry>
1881               <entry>u<subscript>2</subscript></entry>
1882               <entry>u<subscript>1</subscript></entry>
1883               <entry>u<subscript>0</subscript></entry>
1884             </row>
1885             <row id="V4L2-MBUS-FMT-Y10-1X10">
1886               <entry>V4L2_MBUS_FMT_Y10_1X10</entry>
1887               <entry>0x200a</entry>
1888               <entry></entry>
1889               &dash-ent-22;
1890               <entry>y<subscript>9</subscript></entry>
1891               <entry>y<subscript>8</subscript></entry>
1892               <entry>y<subscript>7</subscript></entry>
1893               <entry>y<subscript>6</subscript></entry>
1894               <entry>y<subscript>5</subscript></entry>
1895               <entry>y<subscript>4</subscript></entry>
1896               <entry>y<subscript>3</subscript></entry>
1897               <entry>y<subscript>2</subscript></entry>
1898               <entry>y<subscript>1</subscript></entry>
1899               <entry>y<subscript>0</subscript></entry>
1900             </row>
1901             <row id="V4L2-MBUS-FMT-YUYV10-2X10">
1902               <entry>V4L2_MBUS_FMT_YUYV10_2X10</entry>
1903               <entry>0x200b</entry>
1904               <entry></entry>
1905               &dash-ent-22;
1906               <entry>y<subscript>9</subscript></entry>
1907               <entry>y<subscript>8</subscript></entry>
1908               <entry>y<subscript>7</subscript></entry>
1909               <entry>y<subscript>6</subscript></entry>
1910               <entry>y<subscript>5</subscript></entry>
1911               <entry>y<subscript>4</subscript></entry>
1912               <entry>y<subscript>3</subscript></entry>
1913               <entry>y<subscript>2</subscript></entry>
1914               <entry>y<subscript>1</subscript></entry>
1915               <entry>y<subscript>0</subscript></entry>
1916             </row>
1917             <row>
1918               <entry></entry>
1919               <entry></entry>
1920               <entry></entry>
1921               &dash-ent-22;
1922               <entry>u<subscript>9</subscript></entry>
1923               <entry>u<subscript>8</subscript></entry>
1924               <entry>u<subscript>7</subscript></entry>
1925               <entry>u<subscript>6</subscript></entry>
1926               <entry>u<subscript>5</subscript></entry>
1927               <entry>u<subscript>4</subscript></entry>
1928               <entry>u<subscript>3</subscript></entry>
1929               <entry>u<subscript>2</subscript></entry>
1930               <entry>u<subscript>1</subscript></entry>
1931               <entry>u<subscript>0</subscript></entry>
1932             </row>
1933             <row>
1934               <entry></entry>
1935               <entry></entry>
1936               <entry></entry>
1937               &dash-ent-22;
1938               <entry>y<subscript>9</subscript></entry>
1939               <entry>y<subscript>8</subscript></entry>
1940               <entry>y<subscript>7</subscript></entry>
1941               <entry>y<subscript>6</subscript></entry>
1942               <entry>y<subscript>5</subscript></entry>
1943               <entry>y<subscript>4</subscript></entry>
1944               <entry>y<subscript>3</subscript></entry>
1945               <entry>y<subscript>2</subscript></entry>
1946               <entry>y<subscript>1</subscript></entry>
1947               <entry>y<subscript>0</subscript></entry>
1948             </row>
1949             <row>
1950               <entry></entry>
1951               <entry></entry>
1952               <entry></entry>
1953               &dash-ent-22;
1954               <entry>v<subscript>9</subscript></entry>
1955               <entry>v<subscript>8</subscript></entry>
1956               <entry>v<subscript>7</subscript></entry>
1957               <entry>v<subscript>6</subscript></entry>
1958               <entry>v<subscript>5</subscript></entry>
1959               <entry>v<subscript>4</subscript></entry>
1960               <entry>v<subscript>3</subscript></entry>
1961               <entry>v<subscript>2</subscript></entry>
1962               <entry>v<subscript>1</subscript></entry>
1963               <entry>v<subscript>0</subscript></entry>
1964             </row>
1965             <row id="V4L2-MBUS-FMT-YVYU10-2X10">
1966               <entry>V4L2_MBUS_FMT_YVYU10_2X10</entry>
1967               <entry>0x200c</entry>
1968               <entry></entry>
1969               &dash-ent-22;
1970               <entry>y<subscript>9</subscript></entry>
1971               <entry>y<subscript>8</subscript></entry>
1972               <entry>y<subscript>7</subscript></entry>
1973               <entry>y<subscript>6</subscript></entry>
1974               <entry>y<subscript>5</subscript></entry>
1975               <entry>y<subscript>4</subscript></entry>
1976               <entry>y<subscript>3</subscript></entry>
1977               <entry>y<subscript>2</subscript></entry>
1978               <entry>y<subscript>1</subscript></entry>
1979               <entry>y<subscript>0</subscript></entry>
1980             </row>
1981             <row>
1982               <entry></entry>
1983               <entry></entry>
1984               <entry></entry>
1985               &dash-ent-22;
1986               <entry>v<subscript>9</subscript></entry>
1987               <entry>v<subscript>8</subscript></entry>
1988               <entry>v<subscript>7</subscript></entry>
1989               <entry>v<subscript>6</subscript></entry>
1990               <entry>v<subscript>5</subscript></entry>
1991               <entry>v<subscript>4</subscript></entry>
1992               <entry>v<subscript>3</subscript></entry>
1993               <entry>v<subscript>2</subscript></entry>
1994               <entry>v<subscript>1</subscript></entry>
1995               <entry>v<subscript>0</subscript></entry>
1996             </row>
1997             <row>
1998               <entry></entry>
1999               <entry></entry>
2000               <entry></entry>
2001               &dash-ent-22;
2002               <entry>y<subscript>9</subscript></entry>
2003               <entry>y<subscript>8</subscript></entry>
2004               <entry>y<subscript>7</subscript></entry>
2005               <entry>y<subscript>6</subscript></entry>
2006               <entry>y<subscript>5</subscript></entry>
2007               <entry>y<subscript>4</subscript></entry>
2008               <entry>y<subscript>3</subscript></entry>
2009               <entry>y<subscript>2</subscript></entry>
2010               <entry>y<subscript>1</subscript></entry>
2011               <entry>y<subscript>0</subscript></entry>
2012             </row>
2013             <row>
2014               <entry></entry>
2015               <entry></entry>
2016               <entry></entry>
2017               &dash-ent-22;
2018               <entry>u<subscript>9</subscript></entry>
2019               <entry>u<subscript>8</subscript></entry>
2020               <entry>u<subscript>7</subscript></entry>
2021               <entry>u<subscript>6</subscript></entry>
2022               <entry>u<subscript>5</subscript></entry>
2023               <entry>u<subscript>4</subscript></entry>
2024               <entry>u<subscript>3</subscript></entry>
2025               <entry>u<subscript>2</subscript></entry>
2026               <entry>u<subscript>1</subscript></entry>
2027               <entry>u<subscript>0</subscript></entry>
2028             </row>
2029             <row id="V4L2-MBUS-FMT-Y12-1X12">
2030               <entry>V4L2_MBUS_FMT_Y12_1X12</entry>
2031               <entry>0x2013</entry>
2032               <entry></entry>
2033               &dash-ent-20;
2034               <entry>y<subscript>11</subscript></entry>
2035               <entry>y<subscript>10</subscript></entry>
2036               <entry>y<subscript>9</subscript></entry>
2037               <entry>y<subscript>8</subscript></entry>
2038               <entry>y<subscript>7</subscript></entry>
2039               <entry>y<subscript>6</subscript></entry>
2040               <entry>y<subscript>5</subscript></entry>
2041               <entry>y<subscript>4</subscript></entry>
2042               <entry>y<subscript>3</subscript></entry>
2043               <entry>y<subscript>2</subscript></entry>
2044               <entry>y<subscript>1</subscript></entry>
2045               <entry>y<subscript>0</subscript></entry>
2046             </row>
2047             <row id="V4L2-MBUS-FMT-UYVY8-1X16">
2048               <entry>V4L2_MBUS_FMT_UYVY8_1X16</entry>
2049               <entry>0x200f</entry>
2050               <entry></entry>
2051               &dash-ent-16;
2052               <entry>u<subscript>7</subscript></entry>
2053               <entry>u<subscript>6</subscript></entry>
2054               <entry>u<subscript>5</subscript></entry>
2055               <entry>u<subscript>4</subscript></entry>
2056               <entry>u<subscript>3</subscript></entry>
2057               <entry>u<subscript>2</subscript></entry>
2058               <entry>u<subscript>1</subscript></entry>
2059               <entry>u<subscript>0</subscript></entry>
2060               <entry>y<subscript>7</subscript></entry>
2061               <entry>y<subscript>6</subscript></entry>
2062               <entry>y<subscript>5</subscript></entry>
2063               <entry>y<subscript>4</subscript></entry>
2064               <entry>y<subscript>3</subscript></entry>
2065               <entry>y<subscript>2</subscript></entry>
2066               <entry>y<subscript>1</subscript></entry>
2067               <entry>y<subscript>0</subscript></entry>
2068             </row>
2069             <row>
2070               <entry></entry>
2071               <entry></entry>
2072               <entry></entry>
2073               &dash-ent-16;
2074               <entry>v<subscript>7</subscript></entry>
2075               <entry>v<subscript>6</subscript></entry>
2076               <entry>v<subscript>5</subscript></entry>
2077               <entry>v<subscript>4</subscript></entry>
2078               <entry>v<subscript>3</subscript></entry>
2079               <entry>v<subscript>2</subscript></entry>
2080               <entry>v<subscript>1</subscript></entry>
2081               <entry>v<subscript>0</subscript></entry>
2082               <entry>y<subscript>7</subscript></entry>
2083               <entry>y<subscript>6</subscript></entry>
2084               <entry>y<subscript>5</subscript></entry>
2085               <entry>y<subscript>4</subscript></entry>
2086               <entry>y<subscript>3</subscript></entry>
2087               <entry>y<subscript>2</subscript></entry>
2088               <entry>y<subscript>1</subscript></entry>
2089               <entry>y<subscript>0</subscript></entry>
2090             </row>
2091             <row id="V4L2-MBUS-FMT-VYUY8-1X16">
2092               <entry>V4L2_MBUS_FMT_VYUY8_1X16</entry>
2093               <entry>0x2010</entry>
2094               <entry></entry>
2095               &dash-ent-16;
2096               <entry>v<subscript>7</subscript></entry>
2097               <entry>v<subscript>6</subscript></entry>
2098               <entry>v<subscript>5</subscript></entry>
2099               <entry>v<subscript>4</subscript></entry>
2100               <entry>v<subscript>3</subscript></entry>
2101               <entry>v<subscript>2</subscript></entry>
2102               <entry>v<subscript>1</subscript></entry>
2103               <entry>v<subscript>0</subscript></entry>
2104               <entry>y<subscript>7</subscript></entry>
2105               <entry>y<subscript>6</subscript></entry>
2106               <entry>y<subscript>5</subscript></entry>
2107               <entry>y<subscript>4</subscript></entry>
2108               <entry>y<subscript>3</subscript></entry>
2109               <entry>y<subscript>2</subscript></entry>
2110               <entry>y<subscript>1</subscript></entry>
2111               <entry>y<subscript>0</subscript></entry>
2112             </row>
2113             <row>
2114               <entry></entry>
2115               <entry></entry>
2116               <entry></entry>
2117               &dash-ent-16;
2118               <entry>u<subscript>7</subscript></entry>
2119               <entry>u<subscript>6</subscript></entry>
2120               <entry>u<subscript>5</subscript></entry>
2121               <entry>u<subscript>4</subscript></entry>
2122               <entry>u<subscript>3</subscript></entry>
2123               <entry>u<subscript>2</subscript></entry>
2124               <entry>u<subscript>1</subscript></entry>
2125               <entry>u<subscript>0</subscript></entry>
2126               <entry>y<subscript>7</subscript></entry>
2127               <entry>y<subscript>6</subscript></entry>
2128               <entry>y<subscript>5</subscript></entry>
2129               <entry>y<subscript>4</subscript></entry>
2130               <entry>y<subscript>3</subscript></entry>
2131               <entry>y<subscript>2</subscript></entry>
2132               <entry>y<subscript>1</subscript></entry>
2133               <entry>y<subscript>0</subscript></entry>
2134             </row>
2135             <row id="V4L2-MBUS-FMT-YUYV8-1X16">
2136               <entry>V4L2_MBUS_FMT_YUYV8_1X16</entry>
2137               <entry>0x2011</entry>
2138               <entry></entry>
2139               &dash-ent-16;
2140               <entry>y<subscript>7</subscript></entry>
2141               <entry>y<subscript>6</subscript></entry>
2142               <entry>y<subscript>5</subscript></entry>
2143               <entry>y<subscript>4</subscript></entry>
2144               <entry>y<subscript>3</subscript></entry>
2145               <entry>y<subscript>2</subscript></entry>
2146               <entry>y<subscript>1</subscript></entry>
2147               <entry>y<subscript>0</subscript></entry>
2148               <entry>u<subscript>7</subscript></entry>
2149               <entry>u<subscript>6</subscript></entry>
2150               <entry>u<subscript>5</subscript></entry>
2151               <entry>u<subscript>4</subscript></entry>
2152               <entry>u<subscript>3</subscript></entry>
2153               <entry>u<subscript>2</subscript></entry>
2154               <entry>u<subscript>1</subscript></entry>
2155               <entry>u<subscript>0</subscript></entry>
2156             </row>
2157             <row>
2158               <entry></entry>
2159               <entry></entry>
2160               <entry></entry>
2161               &dash-ent-16;
2162               <entry>y<subscript>7</subscript></entry>
2163               <entry>y<subscript>6</subscript></entry>
2164               <entry>y<subscript>5</subscript></entry>
2165               <entry>y<subscript>4</subscript></entry>
2166               <entry>y<subscript>3</subscript></entry>
2167               <entry>y<subscript>2</subscript></entry>
2168               <entry>y<subscript>1</subscript></entry>
2169               <entry>y<subscript>0</subscript></entry>
2170               <entry>v<subscript>7</subscript></entry>
2171               <entry>v<subscript>6</subscript></entry>
2172               <entry>v<subscript>5</subscript></entry>
2173               <entry>v<subscript>4</subscript></entry>
2174               <entry>v<subscript>3</subscript></entry>
2175               <entry>v<subscript>2</subscript></entry>
2176               <entry>v<subscript>1</subscript></entry>
2177               <entry>v<subscript>0</subscript></entry>
2178             </row>
2179             <row id="V4L2-MBUS-FMT-YVYU8-1X16">
2180               <entry>V4L2_MBUS_FMT_YVYU8_1X16</entry>
2181               <entry>0x2012</entry>
2182               <entry></entry>
2183               &dash-ent-16;
2184               <entry>y<subscript>7</subscript></entry>
2185               <entry>y<subscript>6</subscript></entry>
2186               <entry>y<subscript>5</subscript></entry>
2187               <entry>y<subscript>4</subscript></entry>
2188               <entry>y<subscript>3</subscript></entry>
2189               <entry>y<subscript>2</subscript></entry>
2190               <entry>y<subscript>1</subscript></entry>
2191               <entry>y<subscript>0</subscript></entry>
2192               <entry>v<subscript>7</subscript></entry>
2193               <entry>v<subscript>6</subscript></entry>
2194               <entry>v<subscript>5</subscript></entry>
2195               <entry>v<subscript>4</subscript></entry>
2196               <entry>v<subscript>3</subscript></entry>
2197               <entry>v<subscript>2</subscript></entry>
2198               <entry>v<subscript>1</subscript></entry>
2199               <entry>v<subscript>0</subscript></entry>
2200             </row>
2201             <row>
2202               <entry></entry>
2203               <entry></entry>
2204               <entry></entry>
2205               &dash-ent-16;
2206               <entry>y<subscript>7</subscript></entry>
2207               <entry>y<subscript>6</subscript></entry>
2208               <entry>y<subscript>5</subscript></entry>
2209               <entry>y<subscript>4</subscript></entry>
2210               <entry>y<subscript>3</subscript></entry>
2211               <entry>y<subscript>2</subscript></entry>
2212               <entry>y<subscript>1</subscript></entry>
2213               <entry>y<subscript>0</subscript></entry>
2214               <entry>u<subscript>7</subscript></entry>
2215               <entry>u<subscript>6</subscript></entry>
2216               <entry>u<subscript>5</subscript></entry>
2217               <entry>u<subscript>4</subscript></entry>
2218               <entry>u<subscript>3</subscript></entry>
2219               <entry>u<subscript>2</subscript></entry>
2220               <entry>u<subscript>1</subscript></entry>
2221               <entry>u<subscript>0</subscript></entry>
2222             </row>
2223             <row id="V4L2-MBUS-FMT-YDYUYDYV8-1X16">
2224               <entry>V4L2_MBUS_FMT_YDYUYDYV8_1X16</entry>
2225               <entry>0x2014</entry>
2226               <entry></entry>
2227               &dash-ent-16;
2228               <entry>y<subscript>7</subscript></entry>
2229               <entry>y<subscript>6</subscript></entry>
2230               <entry>y<subscript>5</subscript></entry>
2231               <entry>y<subscript>4</subscript></entry>
2232               <entry>y<subscript>3</subscript></entry>
2233               <entry>y<subscript>2</subscript></entry>
2234               <entry>y<subscript>1</subscript></entry>
2235               <entry>y<subscript>0</subscript></entry>
2236               <entry>d</entry>
2237               <entry>d</entry>
2238               <entry>d</entry>
2239               <entry>d</entry>
2240               <entry>d</entry>
2241               <entry>d</entry>
2242               <entry>d</entry>
2243               <entry>d</entry>
2244             </row>
2245             <row>
2246               <entry></entry>
2247               <entry></entry>
2248               <entry></entry>
2249               &dash-ent-16;
2250               <entry>y<subscript>7</subscript></entry>
2251               <entry>y<subscript>6</subscript></entry>
2252               <entry>y<subscript>5</subscript></entry>
2253               <entry>y<subscript>4</subscript></entry>
2254               <entry>y<subscript>3</subscript></entry>
2255               <entry>y<subscript>2</subscript></entry>
2256               <entry>y<subscript>1</subscript></entry>
2257               <entry>y<subscript>0</subscript></entry>
2258               <entry>u<subscript>7</subscript></entry>
2259               <entry>u<subscript>6</subscript></entry>
2260               <entry>u<subscript>5</subscript></entry>
2261               <entry>u<subscript>4</subscript></entry>
2262               <entry>u<subscript>3</subscript></entry>
2263               <entry>u<subscript>2</subscript></entry>
2264               <entry>u<subscript>1</subscript></entry>
2265               <entry>u<subscript>0</subscript></entry>
2266             </row>
2267             <row>
2268               <entry></entry>
2269               <entry></entry>
2270               <entry></entry>
2271               &dash-ent-16;
2272               <entry>y<subscript>7</subscript></entry>
2273               <entry>y<subscript>6</subscript></entry>
2274               <entry>y<subscript>5</subscript></entry>
2275               <entry>y<subscript>4</subscript></entry>
2276               <entry>y<subscript>3</subscript></entry>
2277               <entry>y<subscript>2</subscript></entry>
2278               <entry>y<subscript>1</subscript></entry>
2279               <entry>y<subscript>0</subscript></entry>
2280               <entry>d</entry>
2281               <entry>d</entry>
2282               <entry>d</entry>
2283               <entry>d</entry>
2284               <entry>d</entry>
2285               <entry>d</entry>
2286               <entry>d</entry>
2287               <entry>d</entry>
2288             </row>
2289             <row>
2290               <entry></entry>
2291               <entry></entry>
2292               <entry></entry>
2293               &dash-ent-16;
2294               <entry>y<subscript>7</subscript></entry>
2295               <entry>y<subscript>6</subscript></entry>
2296               <entry>y<subscript>5</subscript></entry>
2297               <entry>y<subscript>4</subscript></entry>
2298               <entry>y<subscript>3</subscript></entry>
2299               <entry>y<subscript>2</subscript></entry>
2300               <entry>y<subscript>1</subscript></entry>
2301               <entry>y<subscript>0</subscript></entry>
2302               <entry>v<subscript>7</subscript></entry>
2303               <entry>v<subscript>6</subscript></entry>
2304               <entry>v<subscript>5</subscript></entry>
2305               <entry>v<subscript>4</subscript></entry>
2306               <entry>v<subscript>3</subscript></entry>
2307               <entry>v<subscript>2</subscript></entry>
2308               <entry>v<subscript>1</subscript></entry>
2309               <entry>v<subscript>0</subscript></entry>
2310             </row>
2311             <row id="V4L2-MBUS-FMT-YUYV10-1X20">
2312               <entry>V4L2_MBUS_FMT_YUYV10_1X20</entry>
2313               <entry>0x200d</entry>
2314               <entry></entry>
2315               &dash-ent-12;
2316               <entry>y<subscript>9</subscript></entry>
2317               <entry>y<subscript>8</subscript></entry>
2318               <entry>y<subscript>7</subscript></entry>
2319               <entry>y<subscript>6</subscript></entry>
2320               <entry>y<subscript>5</subscript></entry>
2321               <entry>y<subscript>4</subscript></entry>
2322               <entry>y<subscript>3</subscript></entry>
2323               <entry>y<subscript>2</subscript></entry>
2324               <entry>y<subscript>1</subscript></entry>
2325               <entry>y<subscript>0</subscript></entry>
2326               <entry>u<subscript>9</subscript></entry>
2327               <entry>u<subscript>8</subscript></entry>
2328               <entry>u<subscript>7</subscript></entry>
2329               <entry>u<subscript>6</subscript></entry>
2330               <entry>u<subscript>5</subscript></entry>
2331               <entry>u<subscript>4</subscript></entry>
2332               <entry>u<subscript>3</subscript></entry>
2333               <entry>u<subscript>2</subscript></entry>
2334               <entry>u<subscript>1</subscript></entry>
2335               <entry>u<subscript>0</subscript></entry>
2336             </row>
2337             <row>
2338               <entry></entry>
2339               <entry></entry>
2340               <entry></entry>
2341               &dash-ent-12;
2342               <entry>y<subscript>9</subscript></entry>
2343               <entry>y<subscript>8</subscript></entry>
2344               <entry>y<subscript>7</subscript></entry>
2345               <entry>y<subscript>6</subscript></entry>
2346               <entry>y<subscript>5</subscript></entry>
2347               <entry>y<subscript>4</subscript></entry>
2348               <entry>y<subscript>3</subscript></entry>
2349               <entry>y<subscript>2</subscript></entry>
2350               <entry>y<subscript>1</subscript></entry>
2351               <entry>y<subscript>0</subscript></entry>
2352               <entry>v<subscript>9</subscript></entry>
2353               <entry>v<subscript>8</subscript></entry>
2354               <entry>v<subscript>7</subscript></entry>
2355               <entry>v<subscript>6</subscript></entry>
2356               <entry>v<subscript>5</subscript></entry>
2357               <entry>v<subscript>4</subscript></entry>
2358               <entry>v<subscript>3</subscript></entry>
2359               <entry>v<subscript>2</subscript></entry>
2360               <entry>v<subscript>1</subscript></entry>
2361               <entry>v<subscript>0</subscript></entry>
2362             </row>
2363             <row id="V4L2-MBUS-FMT-YVYU10-1X20">
2364               <entry>V4L2_MBUS_FMT_YVYU10_1X20</entry>
2365               <entry>0x200e</entry>
2366               <entry></entry>
2367               &dash-ent-12;
2368               <entry>y<subscript>9</subscript></entry>
2369               <entry>y<subscript>8</subscript></entry>
2370               <entry>y<subscript>7</subscript></entry>
2371               <entry>y<subscript>6</subscript></entry>
2372               <entry>y<subscript>5</subscript></entry>
2373               <entry>y<subscript>4</subscript></entry>
2374               <entry>y<subscript>3</subscript></entry>
2375               <entry>y<subscript>2</subscript></entry>
2376               <entry>y<subscript>1</subscript></entry>
2377               <entry>y<subscript>0</subscript></entry>
2378               <entry>v<subscript>9</subscript></entry>
2379               <entry>v<subscript>8</subscript></entry>
2380               <entry>v<subscript>7</subscript></entry>
2381               <entry>v<subscript>6</subscript></entry>
2382               <entry>v<subscript>5</subscript></entry>
2383               <entry>v<subscript>4</subscript></entry>
2384               <entry>v<subscript>3</subscript></entry>
2385               <entry>v<subscript>2</subscript></entry>
2386               <entry>v<subscript>1</subscript></entry>
2387               <entry>v<subscript>0</subscript></entry>
2388             </row>
2389             <row>
2390               <entry></entry>
2391               <entry></entry>
2392               <entry></entry>
2393               &dash-ent-12;
2394               <entry>y<subscript>9</subscript></entry>
2395               <entry>y<subscript>8</subscript></entry>
2396               <entry>y<subscript>7</subscript></entry>
2397               <entry>y<subscript>6</subscript></entry>
2398               <entry>y<subscript>5</subscript></entry>
2399               <entry>y<subscript>4</subscript></entry>
2400               <entry>y<subscript>3</subscript></entry>
2401               <entry>y<subscript>2</subscript></entry>
2402               <entry>y<subscript>1</subscript></entry>
2403               <entry>y<subscript>0</subscript></entry>
2404               <entry>u<subscript>9</subscript></entry>
2405               <entry>u<subscript>8</subscript></entry>
2406               <entry>u<subscript>7</subscript></entry>
2407               <entry>u<subscript>6</subscript></entry>
2408               <entry>u<subscript>5</subscript></entry>
2409               <entry>u<subscript>4</subscript></entry>
2410               <entry>u<subscript>3</subscript></entry>
2411               <entry>u<subscript>2</subscript></entry>
2412               <entry>u<subscript>1</subscript></entry>
2413               <entry>u<subscript>0</subscript></entry>
2414             </row>
2415             <row id="V4L2-MBUS-FMT-YUV10-1X30">
2416               <entry>V4L2_MBUS_FMT_YUV10_1X30</entry>
2417               <entry>0x2016</entry>
2418               <entry></entry>
2419               <entry>-</entry>
2420               <entry>-</entry>
2421               <entry>y<subscript>9</subscript></entry>
2422               <entry>y<subscript>8</subscript></entry>
2423               <entry>y<subscript>7</subscript></entry>
2424               <entry>y<subscript>6</subscript></entry>
2425               <entry>y<subscript>5</subscript></entry>
2426               <entry>y<subscript>4</subscript></entry>
2427               <entry>y<subscript>3</subscript></entry>
2428               <entry>y<subscript>2</subscript></entry>
2429               <entry>y<subscript>1</subscript></entry>
2430               <entry>y<subscript>0</subscript></entry>
2431               <entry>u<subscript>9</subscript></entry>
2432               <entry>u<subscript>8</subscript></entry>
2433               <entry>u<subscript>7</subscript></entry>
2434               <entry>u<subscript>6</subscript></entry>
2435               <entry>u<subscript>5</subscript></entry>
2436               <entry>u<subscript>4</subscript></entry>
2437               <entry>u<subscript>3</subscript></entry>
2438               <entry>u<subscript>2</subscript></entry>
2439               <entry>u<subscript>1</subscript></entry>
2440               <entry>u<subscript>0</subscript></entry>
2441               <entry>v<subscript>9</subscript></entry>
2442               <entry>v<subscript>8</subscript></entry>
2443               <entry>v<subscript>7</subscript></entry>
2444               <entry>v<subscript>6</subscript></entry>
2445               <entry>v<subscript>5</subscript></entry>
2446               <entry>v<subscript>4</subscript></entry>
2447               <entry>v<subscript>3</subscript></entry>
2448               <entry>v<subscript>2</subscript></entry>
2449               <entry>v<subscript>1</subscript></entry>
2450               <entry>v<subscript>0</subscript></entry>
2451             </row>
2452             <row id="V4L2-MBUS-FMT-AYUV8-1X32">
2453               <entry>V4L2_MBUS_FMT_AYUV8_1X32</entry>
2454               <entry>0x2017</entry>
2455               <entry></entry>
2456               <entry>a<subscript>7</subscript></entry>
2457               <entry>a<subscript>6</subscript></entry>
2458               <entry>a<subscript>5</subscript></entry>
2459               <entry>a<subscript>4</subscript></entry>
2460               <entry>a<subscript>3</subscript></entry>
2461               <entry>a<subscript>2</subscript></entry>
2462               <entry>a<subscript>1</subscript></entry>
2463               <entry>a<subscript>0</subscript></entry>
2464               <entry>y<subscript>7</subscript></entry>
2465               <entry>y<subscript>6</subscript></entry>
2466               <entry>y<subscript>5</subscript></entry>
2467               <entry>y<subscript>4</subscript></entry>
2468               <entry>y<subscript>3</subscript></entry>
2469               <entry>y<subscript>2</subscript></entry>
2470               <entry>y<subscript>1</subscript></entry>
2471               <entry>y<subscript>0</subscript></entry>
2472               <entry>u<subscript>7</subscript></entry>
2473               <entry>u<subscript>6</subscript></entry>
2474               <entry>u<subscript>5</subscript></entry>
2475               <entry>u<subscript>4</subscript></entry>
2476               <entry>u<subscript>3</subscript></entry>
2477               <entry>u<subscript>2</subscript></entry>
2478               <entry>u<subscript>1</subscript></entry>
2479               <entry>u<subscript>0</subscript></entry>
2480               <entry>v<subscript>7</subscript></entry>
2481               <entry>v<subscript>6</subscript></entry>
2482               <entry>v<subscript>5</subscript></entry>
2483               <entry>v<subscript>4</subscript></entry>
2484               <entry>v<subscript>3</subscript></entry>
2485               <entry>v<subscript>2</subscript></entry>
2486               <entry>v<subscript>1</subscript></entry>
2487               <entry>v<subscript>0</subscript></entry>
2488             </row>
2489           </tbody>
2490         </tgroup>
2491       </table>
2492     </section>
2494     <section>
2495       <title>JPEG Compressed Formats</title>
2497       <para>Those data formats consist of an ordered sequence of 8-bit bytes
2498         obtained from JPEG compression process. Additionally to the
2499         <constant>_JPEG</constant> postfix the format code is made of
2500         the following information.
2501         <itemizedlist>
2502           <listitem><para>The number of bus samples per entropy encoded byte.</para></listitem>
2503           <listitem><para>The bus width.</para></listitem>
2504         </itemizedlist>
2505       </para>
2507       <para>For instance, for a JPEG baseline process and an 8-bit bus width
2508         the format will be named <constant>V4L2_MBUS_FMT_JPEG_1X8</constant>.
2509       </para>
2511       <para>The following table lists existing JPEG compressed formats.</para>
2513       <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-jpeg">
2514         <title>JPEG Formats</title>
2515         <tgroup cols="3">
2516           <colspec colname="id" align="left" />
2517           <colspec colname="code" align="left"/>
2518           <colspec colname="remarks" align="left"/>
2519           <thead>
2520             <row>
2521               <entry>Identifier</entry>
2522               <entry>Code</entry>
2523               <entry>Remarks</entry>
2524             </row>
2525           </thead>
2526           <tbody valign="top">
2527             <row id="V4L2-MBUS-FMT-JPEG-1X8">
2528               <entry>V4L2_MBUS_FMT_JPEG_1X8</entry>
2529               <entry>0x4001</entry>
2530               <entry>Besides of its usage for the parallel bus this format is
2531                 recommended for transmission of JPEG data over MIPI CSI bus
2532                 using the User Defined 8-bit Data types.
2533               </entry>
2534             </row>
2535           </tbody>
2536         </tgroup>
2537       </table>
2538     </section>
2540     <section id="v4l2-mbus-vendor-spec-fmts">
2541       <title>Vendor and Device Specific Formats</title>
2543       <note>
2544         <title>Experimental</title>
2545         <para>This is an <link linkend="experimental">experimental</link>
2546 interface and may change in the future.</para>
2547       </note>
2549       <para>This section lists complex data formats that are either vendor or
2550         device specific.
2551       </para>
2553       <para>The following table lists the existing vendor and device specific
2554         formats.</para>
2556       <table pgwide="0" frame="none" id="v4l2-mbus-pixelcode-vendor-specific">
2557         <title>Vendor and device specific formats</title>
2558         <tgroup cols="3">
2559           <colspec colname="id" align="left" />
2560           <colspec colname="code" align="left"/>
2561           <colspec colname="remarks" align="left"/>
2562           <thead>
2563             <row>
2564               <entry>Identifier</entry>
2565               <entry>Code</entry>
2566               <entry>Comments</entry>
2567             </row>
2568           </thead>
2569           <tbody valign="top">
2570             <row id="V4L2-MBUS-FMT-S5C-UYVY-JPEG-1X8">
2571               <entry>V4L2_MBUS_FMT_S5C_UYVY_JPEG_1X8</entry>
2572               <entry>0x5001</entry>
2573               <entry>
2574                 Interleaved raw UYVY and JPEG image format with embedded
2575                 meta-data used by Samsung S3C73MX camera sensors.
2576               </entry>
2577             </row>
2578           </tbody>
2579         </tgroup>
2580       </table>
2581     </section>
2583   </section>
2584 </section>