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