[media] docs-rst: add tabularcolumns to all tables
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-vyuy.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-VYUY:
4
5**************************
6V4L2_PIX_FMT_VYUY ('VYUY')
7**************************
8
9*man V4L2_PIX_FMT_VYUY(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
5bd4bb78
MCC
26.. tabularcolumns:: |p{3.5cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.4cm}|
27
5377d91f
MH
28.. flat-table::
29 :header-rows: 0
30 :stub-columns: 0
31 :widths: 2 1 1 1 1 1 1 1 1
32
33
34 - .. row 1
35
36 - start + 0:
37
38 - Cr\ :sub:`00`
39
40 - Y'\ :sub:`00`
41
42 - Cb\ :sub:`00`
43
44 - Y'\ :sub:`01`
45
46 - Cr\ :sub:`01`
47
48 - Y'\ :sub:`02`
49
50 - Cb\ :sub:`01`
51
52 - Y'\ :sub:`03`
53
54 - .. row 2
55
56 - start + 8:
57
58 - Cr\ :sub:`10`
59
60 - Y'\ :sub:`10`
61
62 - Cb\ :sub:`10`
63
64 - Y'\ :sub:`11`
65
66 - Cr\ :sub:`11`
67
68 - Y'\ :sub:`12`
69
70 - Cb\ :sub:`11`
71
72 - Y'\ :sub:`13`
73
74 - .. row 3
75
76 - start + 16:
77
78 - Cr\ :sub:`20`
79
80 - Y'\ :sub:`20`
81
82 - Cb\ :sub:`20`
83
84 - Y'\ :sub:`21`
85
86 - Cr\ :sub:`21`
87
88 - Y'\ :sub:`22`
89
90 - Cb\ :sub:`21`
91
92 - Y'\ :sub:`23`
93
94 - .. row 4
95
96 - start + 24:
97
98 - Cr\ :sub:`30`
99
100 - Y'\ :sub:`30`
101
102 - Cb\ :sub:`30`
103
104 - Y'\ :sub:`31`
105
106 - Cr\ :sub:`31`
107
108 - Y'\ :sub:`32`
109
110 - Cb\ :sub:`31`
111
112 - Y'\ :sub:`33`
113
114
115**Color Sample Location..**
116
5377d91f
MH
117.. flat-table::
118 :header-rows: 0
119 :stub-columns: 0
120
121
122 - .. row 1
123
0579e6e3 124 -
5377d91f
MH
125 - 0
126
0579e6e3 127 -
5377d91f
MH
128 - 1
129
0579e6e3 130 -
5377d91f
MH
131 - 2
132
5377d91f
MH
133 - 3
134
135 - .. row 2
136
137 - 0
138
139 - Y
140
141 - C
142
143 - Y
144
5377d91f
MH
145 - Y
146
147 - C
148
149 - Y
150
151 - .. row 3
152
153 - 1
154
155 - Y
156
157 - C
158
159 - Y
160
5377d91f
MH
161 - Y
162
163 - C
164
165 - Y
166
167 - .. row 4
168
169 - 2
170
171 - Y
172
173 - C
174
175 - Y
176
5377d91f
MH
177 - Y
178
179 - C
180
181 - Y
182
183 - .. row 5
184
185 - 3
186
187 - Y
188
189 - C
190
191 - Y
192
5377d91f
MH
193 - Y
194
195 - C
196
197 - Y
This page took 0.062462 seconds and 5 git commands to generate.