Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-y41p.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-Y41P:
4
5**************************
6V4L2_PIX_FMT_Y41P ('Y41P')
7**************************
8
5377d91f
MH
9
10Format with ΒΌ horizontal chroma resolution, also known as YUV 4:1:1
11
12
13Description
14===========
15
16In this format each 12 bytes is eight pixels. In the twelve bytes are
17two CbCr pairs and eight Y's. The first CbCr pair goes with the first
18four Y's, and the second CbCr pair goes with the other four Y's. The Cb
19and Cr components have one fourth the horizontal resolution of the Y
20component.
21
22Do not confuse this format with
23:ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived
24from "YUV 4:1:1 *packed*", while YUV411P stands for "YUV 4:1:1
25*planar*".
26
27**Byte Order.**
5377d91f
MH
28Each cell is one byte.
29
30
31
5bd4bb78 32
5377d91f
MH
33.. flat-table::
34 :header-rows: 0
35 :stub-columns: 0
5377d91f
MH
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
5377d91f
MH
153.. flat-table::
154 :header-rows: 0
155 :stub-columns: 0
156
157
158 - .. row 1
159
0579e6e3 160 -
5377d91f
MH
161 - 0
162
5377d91f
MH
163 - 1
164
0579e6e3 165 -
5377d91f
MH
166 - 2
167
5377d91f
MH
168 - 3
169
5377d91f
MH
170 - 4
171
5377d91f
MH
172 - 5
173
0579e6e3 174 -
5377d91f
MH
175 - 6
176
5377d91f
MH
177 - 7
178
179 - .. row 2
180
181 - 0
182
183 - Y
184
5377d91f
MH
185 - Y
186
187 - C
188
189 - Y
190
5377d91f
MH
191 - Y
192
5377d91f
MH
193 - Y
194
5377d91f
MH
195 - Y
196
197 - C
198
199 - Y
200
5377d91f
MH
201 - Y
202
203 - .. row 3
204
205 - 1
206
207 - Y
208
5377d91f
MH
209 - Y
210
211 - C
212
213 - Y
214
5377d91f
MH
215 - Y
216
5377d91f
MH
217 - Y
218
5377d91f
MH
219 - Y
220
221 - C
222
223 - Y
224
5377d91f
MH
225 - Y
226
227 - .. row 4
228
229 - 2
230
231 - Y
232
5377d91f
MH
233 - Y
234
235 - C
236
237 - Y
238
5377d91f
MH
239 - Y
240
5377d91f
MH
241 - Y
242
5377d91f
MH
243 - Y
244
245 - C
246
247 - Y
248
5377d91f
MH
249 - Y
250
251 - .. row 5
252
253 - 3
254
255 - Y
256
5377d91f
MH
257 - Y
258
259 - C
260
261 - Y
262
5377d91f
MH
263 - Y
264
5377d91f
MH
265 - Y
266
5377d91f
MH
267 - Y
268
269 - C
270
271 - Y
272
5377d91f 273 - Y
This page took 0.053903 seconds and 5 git commands to generate.