]>
Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _V4L2-PIX-FMT-YUV444M: | |
4 | ||
5 | ************************************************************ | |
6 | V4L2_PIX_FMT_YUV444M ('YM24'), V4L2_PIX_FMT_YVU444M ('YM42') | |
7 | ************************************************************ | |
8 | ||
9 | *man V4L2_PIX_FMT_YUV444M(2)* | |
10 | ||
11 | V4L2_PIX_FMT_YVU444M | |
12 | Planar formats with full horizontal resolution, also known as YUV and | |
13 | YVU 4:4:4 | |
14 | ||
15 | ||
16 | Description | |
17 | =========== | |
18 | ||
19 | This is a multi-planar format, as opposed to a packed format. The three | |
20 | components are separated into three sub-images or planes. | |
21 | ||
22 | The Y plane is first. The Y plane has one byte per pixel. For | |
23 | ``V4L2_PIX_FMT_YUV444M`` the Cb data constitutes the second plane which | |
24 | is the same width and height as the Y plane (and as the image). The Cr | |
25 | data, just like the Cb plane, is in the third plane. | |
26 | ||
27 | ``V4L2_PIX_FMT_YVU444M`` is the same except the Cr data is stored in the | |
28 | second plane and the Cb data in the third plane. | |
29 | ||
30 | If the Y plane has pad bytes after each row, then the Cb and Cr planes | |
31 | have the same number of pad bytes after their rows. | |
32 | ||
33 | ``V4L2_PIX_FMT_YUV444M`` and ``V4L2_PIX_FMT_YUV444M`` are intended to be | |
34 | used only in drivers and applications that support the multi-planar API, | |
35 | described in :ref:`planar-apis`. | |
36 | ||
37 | **Byte Order..** | |
38 | ||
39 | Each cell is one byte. | |
40 | ||
41 | ||
42 | ||
43 | .. flat-table:: | |
44 | :header-rows: 0 | |
45 | :stub-columns: 0 | |
46 | :widths: 2 1 1 1 1 | |
47 | ||
48 | ||
49 | - .. row 1 | |
50 | ||
51 | - start0 + 0: | |
52 | ||
53 | - Y'\ :sub:`00` | |
54 | ||
55 | - Y'\ :sub:`01` | |
56 | ||
57 | - Y'\ :sub:`02` | |
58 | ||
59 | - Y'\ :sub:`03` | |
60 | ||
61 | - .. row 2 | |
62 | ||
63 | - start0 + 4: | |
64 | ||
65 | - Y'\ :sub:`10` | |
66 | ||
67 | - Y'\ :sub:`11` | |
68 | ||
69 | - Y'\ :sub:`12` | |
70 | ||
71 | - Y'\ :sub:`13` | |
72 | ||
73 | - .. row 3 | |
74 | ||
75 | - start0 + 8: | |
76 | ||
77 | - Y'\ :sub:`20` | |
78 | ||
79 | - Y'\ :sub:`21` | |
80 | ||
81 | - Y'\ :sub:`22` | |
82 | ||
83 | - Y'\ :sub:`23` | |
84 | ||
85 | - .. row 4 | |
86 | ||
87 | - start0 + 12: | |
88 | ||
89 | - Y'\ :sub:`30` | |
90 | ||
91 | - Y'\ :sub:`31` | |
92 | ||
93 | - Y'\ :sub:`32` | |
94 | ||
95 | - Y'\ :sub:`33` | |
96 | ||
97 | - .. row 5 | |
98 | ||
99 | - | |
100 | ||
101 | - .. row 6 | |
102 | ||
103 | - start1 + 0: | |
104 | ||
105 | - Cb\ :sub:`00` | |
106 | ||
107 | - Cb\ :sub:`01` | |
108 | ||
109 | - Cb\ :sub:`02` | |
110 | ||
111 | - Cb\ :sub:`03` | |
112 | ||
113 | - .. row 7 | |
114 | ||
115 | - start1 + 4: | |
116 | ||
117 | - Cb\ :sub:`10` | |
118 | ||
119 | - Cb\ :sub:`11` | |
120 | ||
121 | - Cb\ :sub:`12` | |
122 | ||
123 | - Cb\ :sub:`13` | |
124 | ||
125 | - .. row 8 | |
126 | ||
127 | - start1 + 8: | |
128 | ||
129 | - Cb\ :sub:`20` | |
130 | ||
131 | - Cb\ :sub:`21` | |
132 | ||
133 | - Cb\ :sub:`22` | |
134 | ||
135 | - Cb\ :sub:`23` | |
136 | ||
137 | - .. row 9 | |
138 | ||
139 | - start1 + 12: | |
140 | ||
141 | - Cb\ :sub:`20` | |
142 | ||
143 | - Cb\ :sub:`21` | |
144 | ||
145 | - Cb\ :sub:`32` | |
146 | ||
147 | - Cb\ :sub:`33` | |
148 | ||
149 | - .. row 10 | |
150 | ||
151 | - | |
152 | ||
153 | - .. row 11 | |
154 | ||
155 | - start2 + 0: | |
156 | ||
157 | - Cr\ :sub:`00` | |
158 | ||
159 | - Cr\ :sub:`01` | |
160 | ||
161 | - Cr\ :sub:`02` | |
162 | ||
163 | - Cr\ :sub:`03` | |
164 | ||
165 | - .. row 12 | |
166 | ||
167 | - start2 + 4: | |
168 | ||
169 | - Cr\ :sub:`10` | |
170 | ||
171 | - Cr\ :sub:`11` | |
172 | ||
173 | - Cr\ :sub:`12` | |
174 | ||
175 | - Cr\ :sub:`13` | |
176 | ||
177 | - .. row 13 | |
178 | ||
179 | - start2 + 8: | |
180 | ||
181 | - Cr\ :sub:`20` | |
182 | ||
183 | - Cr\ :sub:`21` | |
184 | ||
185 | - Cr\ :sub:`22` | |
186 | ||
187 | - Cr\ :sub:`23` | |
188 | ||
189 | - .. row 14 | |
190 | ||
191 | - start2 + 12: | |
192 | ||
193 | - Cr\ :sub:`30` | |
194 | ||
195 | - Cr\ :sub:`31` | |
196 | ||
197 | - Cr\ :sub:`32` | |
198 | ||
199 | - Cr\ :sub:`33` | |
200 | ||
201 | ||
202 | **Color Sample Location..** | |
203 | ||
204 | ||
205 | ||
206 | .. flat-table:: | |
207 | :header-rows: 0 | |
208 | :stub-columns: 0 | |
209 | ||
210 | ||
211 | - .. row 1 | |
212 | ||
213 | - | |
214 | - 0 | |
215 | ||
216 | - | |
217 | - 1 | |
218 | ||
219 | - | |
220 | - 2 | |
221 | ||
222 | - | |
223 | - 3 | |
224 | ||
225 | - .. row 2 | |
226 | ||
227 | - 0 | |
228 | ||
229 | - YC | |
230 | ||
231 | - | |
232 | - YC | |
233 | ||
234 | - | |
235 | - YC | |
236 | ||
237 | - | |
238 | - YC | |
239 | ||
240 | - .. row 3 | |
241 | ||
242 | - 1 | |
243 | ||
244 | - YC | |
245 | ||
246 | - | |
247 | - YC | |
248 | ||
249 | - | |
250 | - YC | |
251 | ||
252 | - | |
253 | - YC | |
254 | ||
255 | - .. row 4 | |
256 | ||
257 | - 2 | |
258 | ||
259 | - YC | |
260 | ||
261 | - | |
262 | - YC | |
263 | ||
264 | - | |
265 | - YC | |
266 | ||
267 | - | |
268 | - YC | |
269 | ||
270 | - .. row 5 | |
271 | ||
272 | - 3 | |
273 | ||
274 | - YC | |
275 | ||
276 | - | |
277 | - YC | |
278 | ||
279 | - | |
280 | - YC | |
281 | ||
282 | - | |
283 | - YC | |
284 | ||
285 | ||
286 | ||
287 | ||
288 | .. ------------------------------------------------------------------------------ | |
289 | .. This file was automatically converted from DocBook-XML with the dbxml | |
290 | .. library (https://github.com/return42/sphkerneldoc). The origin XML comes | |
291 | .. from the linux kernel, refer to: | |
292 | .. | |
293 | .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook | |
294 | .. ------------------------------------------------------------------------------ |