1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _V4L2-PIX-FMT-NV16:
11 .. _V4L2-PIX-FMT-NV61:
13 ******************************************************
14 V4L2_PIX_FMT_NV16 ('NV16'), V4L2_PIX_FMT_NV61 ('NV61')
15 ******************************************************
18 Formats with ½ horizontal chroma resolution, also known as YUV 4:2:2.
19 One luminance and one chrominance plane with alternating chroma samples
20 as opposed to ``V4L2_PIX_FMT_YVU420``
26 These are two-plane versions of the YUV 4:2:2 format. The three
27 components are separated into two sub-images or planes. The Y plane is
28 first. The Y plane has one byte per pixel. For ``V4L2_PIX_FMT_NV16``, a
29 combined CbCr plane immediately follows the Y plane in memory. The CbCr
30 plane is the same width and height, in bytes, as the Y plane (and of the
31 image). Each CbCr pair belongs to two pixels. For example,
32 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`.
33 ``V4L2_PIX_FMT_NV61`` is the same except the Cb and Cr bytes are
34 swapped, the CrCb plane starts with a Cr byte.
36 If the Y plane has pad bytes after each row, then the CbCr plane has as
37 many pad bytes after its rows.
40 Each cell is one byte.
89 **Color Sample Location:**