Merge remote-tracking branch 'mac80211-next/master'
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-y41p.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-Y41P:
4
5 **************************
6 V4L2_PIX_FMT_Y41P ('Y41P')
7 **************************
8
9
10 Format with ΒΌ horizontal chroma resolution, also known as YUV 4:1:1
11
12
13 Description
14 ===========
15
16 In this format each 12 bytes is eight pixels. In the twelve bytes are
17 two CbCr pairs and eight Y's. The first CbCr pair goes with the first
18 four Y's, and the second CbCr pair goes with the other four Y's. The Cb
19 and Cr components have one fourth the horizontal resolution of the Y
20 component.
21
22 Do not confuse this format with
23 :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived
24 from "YUV 4:1:1 *packed*", while YUV411P stands for "YUV 4:1:1
25 *planar*".
26
27 **Byte Order.**
28 Each cell is one byte.
29
30
31
32
33 .. flat-table::
34 :header-rows: 0
35 :stub-columns: 0
36
37
38 - .. row 1
39
40 - start + 0:
41
42 - Cb\ :sub:`00`
43
44 - Y'\ :sub:`00`
45
46 - Cr\ :sub:`00`
47
48 - Y'\ :sub:`01`
49
50 - Cb\ :sub:`01`
51
52 - Y'\ :sub:`02`
53
54 - Cr\ :sub:`01`
55
56 - Y'\ :sub:`03`
57
58 - Y'\ :sub:`04`
59
60 - Y'\ :sub:`05`
61
62 - Y'\ :sub:`06`
63
64 - Y'\ :sub:`07`
65
66 - .. row 2
67
68 - start + 12:
69
70 - Cb\ :sub:`10`
71
72 - Y'\ :sub:`10`
73
74 - Cr\ :sub:`10`
75
76 - Y'\ :sub:`11`
77
78 - Cb\ :sub:`11`
79
80 - Y'\ :sub:`12`
81
82 - Cr\ :sub:`11`
83
84 - Y'\ :sub:`13`
85
86 - Y'\ :sub:`14`
87
88 - Y'\ :sub:`15`
89
90 - Y'\ :sub:`16`
91
92 - Y'\ :sub:`17`
93
94 - .. row 3
95
96 - start + 24:
97
98 - Cb\ :sub:`20`
99
100 - Y'\ :sub:`20`
101
102 - Cr\ :sub:`20`
103
104 - Y'\ :sub:`21`
105
106 - Cb\ :sub:`21`
107
108 - Y'\ :sub:`22`
109
110 - Cr\ :sub:`21`
111
112 - Y'\ :sub:`23`
113
114 - Y'\ :sub:`24`
115
116 - Y'\ :sub:`25`
117
118 - Y'\ :sub:`26`
119
120 - Y'\ :sub:`27`
121
122 - .. row 4
123
124 - start + 36:
125
126 - Cb\ :sub:`30`
127
128 - Y'\ :sub:`30`
129
130 - Cr\ :sub:`30`
131
132 - Y'\ :sub:`31`
133
134 - Cb\ :sub:`31`
135
136 - Y'\ :sub:`32`
137
138 - Cr\ :sub:`31`
139
140 - Y'\ :sub:`33`
141
142 - Y'\ :sub:`34`
143
144 - Y'\ :sub:`35`
145
146 - Y'\ :sub:`36`
147
148 - Y'\ :sub:`37`
149
150
151 **Color Sample Location..**
152
153 .. flat-table::
154 :header-rows: 0
155 :stub-columns: 0
156
157
158 - .. row 1
159
160 -
161 - 0
162
163 - 1
164
165 -
166 - 2
167
168 - 3
169
170 - 4
171
172 - 5
173
174 -
175 - 6
176
177 - 7
178
179 - .. row 2
180
181 - 0
182
183 - Y
184
185 - Y
186
187 - C
188
189 - Y
190
191 - Y
192
193 - Y
194
195 - Y
196
197 - C
198
199 - Y
200
201 - Y
202
203 - .. row 3
204
205 - 1
206
207 - Y
208
209 - Y
210
211 - C
212
213 - Y
214
215 - Y
216
217 - Y
218
219 - Y
220
221 - C
222
223 - Y
224
225 - Y
226
227 - .. row 4
228
229 - 2
230
231 - Y
232
233 - Y
234
235 - C
236
237 - Y
238
239 - Y
240
241 - Y
242
243 - Y
244
245 - C
246
247 - Y
248
249 - Y
250
251 - .. row 5
252
253 - 3
254
255 - Y
256
257 - Y
258
259 - C
260
261 - Y
262
263 - Y
264
265 - Y
266
267 - Y
268
269 - C
270
271 - Y
272
273 - Y
This page took 0.035946 seconds and 5 git commands to generate.