1 <refentry id="V4L2-PIX-FMT-YUV411P">
3 <refentrytitle>V4L2_PIX_FMT_YUV411P ('411P')</refentrytitle>
7 <refname><constant>V4L2_PIX_FMT_YUV411P</constant></refname>
8 <refpurpose>Format with ¼ horizontal chroma resolution,
9 also known as YUV 4:1:1. Planar layout as opposed to
10 <constant>V4L2_PIX_FMT_Y41P</constant></refpurpose>
13 <title>Description</title>
15 <para>This format is not commonly used. This is a planar
16 format similar to the 4:2:2 planar format except with half as many
17 chroma. The three components are separated into three sub-images or
18 planes. The Y plane is first. The Y plane has one byte per pixel. The
19 Cb plane immediately follows the Y plane in memory. The Cb plane is
20 ¼ the width of the Y plane (and of the image). Each Cb belongs
21 to 4 pixels all on the same row. For example,
22 Cb<subscript>0</subscript> belongs to Y'<subscript>00</subscript>,
23 Y'<subscript>01</subscript>, Y'<subscript>02</subscript> and
24 Y'<subscript>03</subscript>. Following the Cb plane is the Cr plane,
25 just like the Cb plane.</para>
27 <para>If the Y plane has pad bytes after each row, then the Cr
28 and Cb planes have ¼ as many pad bytes after their rows. In
29 other words, four C x rows (including padding) is exactly as long as
30 one Y row (including padding).</para>
33 <title><constant>V4L2_PIX_FMT_YUV411P</constant> 4 × 4
37 <title>Byte Order.</title>
38 <para>Each cell is one byte.
39 <informaltable frame="none">
40 <tgroup cols="5" align="center">
41 <colspec align="left" colwidth="2*" />
44 <entry>start + 0:</entry>
45 <entry>Y'<subscript>00</subscript></entry>
46 <entry>Y'<subscript>01</subscript></entry>
47 <entry>Y'<subscript>02</subscript></entry>
48 <entry>Y'<subscript>03</subscript></entry>
51 <entry>start + 4:</entry>
52 <entry>Y'<subscript>10</subscript></entry>
53 <entry>Y'<subscript>11</subscript></entry>
54 <entry>Y'<subscript>12</subscript></entry>
55 <entry>Y'<subscript>13</subscript></entry>
58 <entry>start + 8:</entry>
59 <entry>Y'<subscript>20</subscript></entry>
60 <entry>Y'<subscript>21</subscript></entry>
61 <entry>Y'<subscript>22</subscript></entry>
62 <entry>Y'<subscript>23</subscript></entry>
65 <entry>start + 12:</entry>
66 <entry>Y'<subscript>30</subscript></entry>
67 <entry>Y'<subscript>31</subscript></entry>
68 <entry>Y'<subscript>32</subscript></entry>
69 <entry>Y'<subscript>33</subscript></entry>
72 <entry>start + 16:</entry>
73 <entry>Cb<subscript>00</subscript></entry>
76 <entry>start + 17:</entry>
77 <entry>Cb<subscript>10</subscript></entry>
80 <entry>start + 18:</entry>
81 <entry>Cb<subscript>20</subscript></entry>
84 <entry>start + 19:</entry>
85 <entry>Cb<subscript>30</subscript></entry>
88 <entry>start + 20:</entry>
89 <entry>Cr<subscript>00</subscript></entry>
92 <entry>start + 21:</entry>
93 <entry>Cr<subscript>10</subscript></entry>
96 <entry>start + 22:</entry>
97 <entry>Cr<subscript>20</subscript></entry>
100 <entry>start + 23:</entry>
101 <entry>Cr<subscript>30</subscript></entry>
110 <title>Color Sample Location.</title>
112 <informaltable frame="none">
113 <tgroup cols="7" align="center">
117 <entry>0</entry><entry></entry><entry>1</entry><entry></entry>
118 <entry>2</entry><entry></entry><entry>3</entry>
122 <entry>Y</entry><entry></entry><entry>Y</entry><entry>C</entry>
123 <entry>Y</entry><entry></entry><entry>Y</entry>
127 <entry>Y</entry><entry></entry><entry>Y</entry><entry>C</entry>
128 <entry>Y</entry><entry></entry><entry>Y</entry>
132 <entry>Y</entry><entry></entry><entry>Y</entry><entry>C</entry>
133 <entry>Y</entry><entry></entry><entry>Y</entry>
137 <entry>Y</entry><entry></entry><entry>Y</entry><entry>C</entry>
138 <entry>Y</entry><entry></entry><entry>Y</entry>
152 sgml-parent-document: "v4l2.sgml"
153 indent-tabs-mode: nil