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