1 .. -*- coding: utf-8; mode: rst -*-
6 ******************************************************
7 V4L2_PIX_FMT_NV16 ('NV16'), V4L2_PIX_FMT_NV61 ('NV61')
8 ******************************************************
11 Formats with ½ horizontal chroma resolution, also known as YUV 4:2:2.
12 One luminance and one chrominance plane with alternating chroma samples
13 as opposed to ``V4L2_PIX_FMT_YVU420``
19 These are two-plane versions of the YUV 4:2:2 format. The three
20 components are separated into two sub-images or planes. The Y plane is
21 first. The Y plane has one byte per pixel. For ``V4L2_PIX_FMT_NV16``, a
22 combined CbCr plane immediately follows the Y plane in memory. The CbCr
23 plane is the same width and height, in bytes, as the Y plane (and of the
24 image). Each CbCr pair belongs to two pixels. For example,
25 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`.
26 ``V4L2_PIX_FMT_NV61`` is the same except the Cb and Cr bytes are
27 swapped, the CrCb plane starts with a Cr byte.
29 If the Y plane has pad bytes after each row, then the CbCr plane has as
30 many pad bytes after its rows.
33 Each cell is one byte.
82 **Color Sample Location..**