Merge remote-tracking branches 'asoc/topic/ux500' and 'asoc/topic/wm8962' into asoc...
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-yvyu.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-YVYU:
4
5**************************
6V4L2_PIX_FMT_YVYU ('YVYU')
7**************************
8
9*man V4L2_PIX_FMT_YVYU(2)*
10
11Variation of ``V4L2_PIX_FMT_YUYV`` with different order of samples in
12memory
13
14
15Description
16===========
17
18In this format each four bytes is two pixels. Each four bytes is two
19Y's, a Cb and a Cr. Each Y goes to one of the pixels, and the Cb and Cr
20belong to both pixels. As you can see, the Cr and Cb components have
21half the horizontal resolution of the Y component.
22
056d2ee6 23**Byte Order.**
5377d91f
MH
24Each cell is one byte.
25
5377d91f
MH
26.. flat-table::
27 :header-rows: 0
28 :stub-columns: 0
29 :widths: 2 1 1 1 1 1 1 1 1
30
31
32 - .. row 1
33
34 - start + 0:
35
36 - Y'\ :sub:`00`
37
38 - Cr\ :sub:`00`
39
40 - Y'\ :sub:`01`
41
42 - Cb\ :sub:`00`
43
44 - Y'\ :sub:`02`
45
46 - Cr\ :sub:`01`
47
48 - Y'\ :sub:`03`
49
50 - Cb\ :sub:`01`
51
52 - .. row 2
53
54 - start + 8:
55
56 - Y'\ :sub:`10`
57
58 - Cr\ :sub:`10`
59
60 - Y'\ :sub:`11`
61
62 - Cb\ :sub:`10`
63
64 - Y'\ :sub:`12`
65
66 - Cr\ :sub:`11`
67
68 - Y'\ :sub:`13`
69
70 - Cb\ :sub:`11`
71
72 - .. row 3
73
74 - start + 16:
75
76 - Y'\ :sub:`20`
77
78 - Cr\ :sub:`20`
79
80 - Y'\ :sub:`21`
81
82 - Cb\ :sub:`20`
83
84 - Y'\ :sub:`22`
85
86 - Cr\ :sub:`21`
87
88 - Y'\ :sub:`23`
89
90 - Cb\ :sub:`21`
91
92 - .. row 4
93
94 - start + 24:
95
96 - Y'\ :sub:`30`
97
98 - Cr\ :sub:`30`
99
100 - Y'\ :sub:`31`
101
102 - Cb\ :sub:`30`
103
104 - Y'\ :sub:`32`
105
106 - Cr\ :sub:`31`
107
108 - Y'\ :sub:`33`
109
110 - Cb\ :sub:`31`
111
112
113**Color Sample Location..**
114
5377d91f
MH
115.. flat-table::
116 :header-rows: 0
117 :stub-columns: 0
118
119
120 - .. row 1
121
0579e6e3 122 -
5377d91f
MH
123 - 0
124
0579e6e3 125 -
5377d91f
MH
126 - 1
127
5377d91f
MH
128 - 2
129
0579e6e3 130 -
5377d91f
MH
131 - 3
132
133 - .. row 2
134
135 - 0
136
137 - Y
138
139 - C
140
141 - Y
142
5377d91f
MH
143 - Y
144
145 - C
146
147 - Y
148
149 - .. row 3
150
151 - 1
152
153 - Y
154
155 - C
156
157 - Y
158
5377d91f
MH
159 - Y
160
161 - C
162
163 - Y
164
165 - .. row 4
166
167 - 2
168
169 - Y
170
171 - C
172
173 - Y
174
5377d91f
MH
175 - Y
176
177 - C
178
179 - Y
180
181 - .. row 5
182
183 - 3
184
185 - Y
186
187 - C
188
189 - Y
190
5377d91f
MH
191 - Y
192
193 - C
194
195 - Y
This page took 0.065697 seconds and 5 git commands to generate.