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/media/uapi/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _V4L2-PIX-FMT-NV16M:
11 .. _v4l2-pix-fmt-nv61m:
13 ********************************************************
14 V4L2_PIX_FMT_NV16M ('NM16'), V4L2_PIX_FMT_NV61M ('NM61')
15 ********************************************************
18 Variation of ``V4L2_PIX_FMT_NV16`` and ``V4L2_PIX_FMT_NV61`` with planes
19 non contiguous in memory.
25 This is a multi-planar, two-plane version of the YUV 4:2:2 format. The
26 three components are separated into two sub-images or planes.
27 ``V4L2_PIX_FMT_NV16M`` differs from ``V4L2_PIX_FMT_NV16`` in that the
28 two planes are non-contiguous in memory, i.e. the chroma plane does not
29 necessarily immediately follow the luma plane. The luminance data
30 occupies the first plane. The Y plane has one byte per pixel. In the
31 second plane there is chrominance data with alternating chroma samples.
32 The CbCr plane is the same width and height, in bytes, as the Y plane.
33 Each CbCr pair belongs to two pixels. For example,
34 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`.
35 ``V4L2_PIX_FMT_NV61M`` is the same as ``V4L2_PIX_FMT_NV16M`` except the
36 Cb and Cr bytes are swapped, the CrCb plane starts with a Cr byte.
38 ``V4L2_PIX_FMT_NV16M`` and ``V4L2_PIX_FMT_NV61M`` are intended to be
39 used only in drivers and applications that support the multi-planar API,
40 described in :ref:`planar-apis`.
43 Each cell is one byte.
93 **Color Sample Location:**