3 <refentrytitle>V4L2_PIX_FMT_YVU410 ('YVU9'), V4L2_PIX_FMT_YUV410 ('YUV9')</refentrytitle>
7 <refname id="V4L2-PIX-FMT-YVU410"><constant>V4L2_PIX_FMT_YVU410</constant></refname>
8 <refname id="V4L2-PIX-FMT-YUV410"><constant>V4L2_PIX_FMT_YUV410</constant></refname>
9 <refpurpose>Planar formats with ¼ horizontal and
10 vertical chroma resolution, also known as YUV 4:1:0</refpurpose>
13 <title>Description</title>
15 <para>These are planar formats, as opposed to a packed format.
16 The three components are separated into three sub-images or planes.
17 The Y plane is first. The Y plane has one byte per pixel. For
18 <constant>V4L2_PIX_FMT_YVU410</constant>, the Cr plane immediately
19 follows the Y plane in memory. The Cr plane is ¼ the width and
20 ¼ the height of the Y plane (and of the image). Each Cr belongs
21 to 16 pixels, a four-by-four square of the image. Following the Cr
22 plane is the Cb plane, just like the Cr plane.
23 <constant>V4L2_PIX_FMT_YUV410</constant> is the same, except the Cb
24 plane comes first, then the Cr plane.</para>
26 <para>If the Y plane has pad bytes after each row, then the Cr
27 and Cb planes have ¼ as many pad bytes after their rows. In
28 other words, four Cx rows (including padding) are exactly as long as
29 one Y row (including padding).</para>
32 <title><constant>V4L2_PIX_FMT_YVU410</constant> 4 × 4
36 <title>Byte Order.</title>
37 <para>Each cell is one byte.
38 <informaltable frame="none">
39 <tgroup cols="5" align="center">
40 <colspec align="left" colwidth="2*" />
43 <entry>start + 0:</entry>
44 <entry>Y'<subscript>00</subscript></entry>
45 <entry>Y'<subscript>01</subscript></entry>
46 <entry>Y'<subscript>02</subscript></entry>
47 <entry>Y'<subscript>03</subscript></entry>
50 <entry>start + 4:</entry>
51 <entry>Y'<subscript>10</subscript></entry>
52 <entry>Y'<subscript>11</subscript></entry>
53 <entry>Y'<subscript>12</subscript></entry>
54 <entry>Y'<subscript>13</subscript></entry>
57 <entry>start + 8:</entry>
58 <entry>Y'<subscript>20</subscript></entry>
59 <entry>Y'<subscript>21</subscript></entry>
60 <entry>Y'<subscript>22</subscript></entry>
61 <entry>Y'<subscript>23</subscript></entry>
64 <entry>start + 12:</entry>
65 <entry>Y'<subscript>30</subscript></entry>
66 <entry>Y'<subscript>31</subscript></entry>
67 <entry>Y'<subscript>32</subscript></entry>
68 <entry>Y'<subscript>33</subscript></entry>
71 <entry>start + 16:</entry>
72 <entry>Cr<subscript>00</subscript></entry>
75 <entry>start + 17:</entry>
76 <entry>Cb<subscript>00</subscript></entry>
85 <title>Color Sample Location.</title>
87 <informaltable frame="none">
88 <tgroup cols="7" align="center">
92 <entry>0</entry><entry></entry><entry>1</entry><entry></entry>
93 <entry>2</entry><entry></entry><entry>3</entry>
97 <entry>Y</entry><entry></entry><entry>Y</entry><entry></entry>
98 <entry>Y</entry><entry></entry><entry>Y</entry>
105 <entry>Y</entry><entry></entry><entry>Y</entry><entry></entry>
106 <entry>Y</entry><entry></entry><entry>Y</entry>
110 <entry></entry><entry></entry><entry></entry><entry>C</entry>
111 <entry></entry><entry></entry><entry></entry>
115 <entry>Y</entry><entry></entry><entry>Y</entry><entry></entry>
116 <entry>Y</entry><entry></entry><entry>Y</entry>
123 <entry>Y</entry><entry></entry><entry>Y</entry><entry></entry>
124 <entry>Y</entry><entry></entry><entry>Y</entry>
138 sgml-parent-document: "pixfmt.sgml"
139 indent-tabs-mode: nil