doc-rst: pixfmt-nv16: remove an empty column
[deliverable/linux.git] / Documentation / linux_tv / media / v4l / pixfmt-nv16.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-NV16:
4
5******************************************************
6V4L2_PIX_FMT_NV16 ('NV16'), V4L2_PIX_FMT_NV61 ('NV61')
7******************************************************
8
9*man V4L2_PIX_FMT_NV16(2)*
10
11V4L2_PIX_FMT_NV61
12Formats with ½ horizontal chroma resolution, also known as YUV 4:2:2.
13One luminance and one chrominance plane with alternating chroma samples
14as opposed to ``V4L2_PIX_FMT_YVU420``
15
16
17Description
18===========
19
20These are two-plane versions of the YUV 4:2:2 format. The three
21components are separated into two sub-images or planes. The Y plane is
22first. The Y plane has one byte per pixel. For ``V4L2_PIX_FMT_NV16``, a
23combined CbCr plane immediately follows the Y plane in memory. The CbCr
24plane is the same width and height, in bytes, as the Y plane (and of the
25image). Each CbCr pair belongs to two pixels. For example,
eba9e91c 26Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`.
5377d91f
MH
27``V4L2_PIX_FMT_NV61`` is the same except the Cb and Cr bytes are
28swapped, the CrCb plane starts with a Cr byte.
29
30If the Y plane has pad bytes after each row, then the CbCr plane has as
31many pad bytes after its rows.
32
ce0b746b 33**Byte Order.**
5377d91f
MH
34Each cell is one byte.
35
36
37
38.. flat-table::
39 :header-rows: 0
40 :stub-columns: 0
41 :widths: 2 1 1 1 1
42
43
44 - .. row 1
45
46 - start + 0:
47
48 - Y'\ :sub:`00`
49
50 - Y'\ :sub:`01`
51
52 - Y'\ :sub:`02`
53
54 - Y'\ :sub:`03`
55
56 - .. row 2
57
58 - start + 4:
59
60 - Y'\ :sub:`10`
61
62 - Y'\ :sub:`11`
63
64 - Y'\ :sub:`12`
65
66 - Y'\ :sub:`13`
67
68 - .. row 3
69
70 - start + 8:
71
72 - Y'\ :sub:`20`
73
74 - Y'\ :sub:`21`
75
76 - Y'\ :sub:`22`
77
78 - Y'\ :sub:`23`
79
80 - .. row 4
81
82 - start + 12:
83
84 - Y'\ :sub:`30`
85
86 - Y'\ :sub:`31`
87
88 - Y'\ :sub:`32`
89
90 - Y'\ :sub:`33`
91
92 - .. row 5
93
94 - start + 16:
95
96 - Cb\ :sub:`00`
97
98 - Cr\ :sub:`00`
99
100 - Cb\ :sub:`01`
101
102 - Cr\ :sub:`01`
103
104 - .. row 6
105
106 - start + 20:
107
108 - Cb\ :sub:`10`
109
110 - Cr\ :sub:`10`
111
112 - Cb\ :sub:`11`
113
114 - Cr\ :sub:`11`
115
116 - .. row 7
117
118 - start + 24:
119
120 - Cb\ :sub:`20`
121
122 - Cr\ :sub:`20`
123
124 - Cb\ :sub:`21`
125
126 - Cr\ :sub:`21`
127
128 - .. row 8
129
130 - start + 28:
131
132 - Cb\ :sub:`30`
133
134 - Cr\ :sub:`30`
135
136 - Cb\ :sub:`31`
137
138 - Cr\ :sub:`31`
139
140
141**Color Sample Location..**
142
143
144
145.. flat-table::
146 :header-rows: 0
147 :stub-columns: 0
148
149
150 - .. row 1
151
152 -
153 - 0
154
155 -
156 - 1
157
5377d91f
MH
158 - 2
159
160 -
161 - 3
162
163 - .. row 2
164
165 - 0
166
167 - Y
168
169 -
170 - Y
171
5377d91f
MH
172 - Y
173
174 -
175 - Y
176
177 - .. row 3
178
179 -
180 -
181 - C
182
5377d91f
MH
183 -
184 -
185 - C
186
187 -
188
189 - .. row 4
190
191 - 1
192
193 - Y
194
195 -
196 - Y
197
5377d91f
MH
198 - Y
199
200 -
201 - Y
202
203 - .. row 5
204
205 -
206 -
207 - C
208
5377d91f
MH
209 -
210 -
211 - C
212
213 -
214
215 - .. row 6
216
217 -
218
219 - .. row 7
220
221 - 2
222
223 - Y
224
225 -
226 - Y
227
5377d91f
MH
228 - Y
229
230 -
231 - Y
232
233 - .. row 8
234
235 -
236 -
237 - C
238
5377d91f
MH
239 -
240 -
241 - C
242
243 -
244
245 - .. row 9
246
247 - 3
248
249 - Y
250
251 -
252 - Y
253
5377d91f
MH
254 - Y
255
256 -
257 - Y
258
259 - .. row 10
260
261 -
262 -
263 - C
264
5377d91f
MH
265 -
266 -
267 - C
268
269 -
This page took 0.036628 seconds and 5 git commands to generate.