1 .. -*- coding: utf-8; mode: rst -*-
6 ******************************************************
7 V4L2_PIX_FMT_NV24 ('NV24'), V4L2_PIX_FMT_NV42 ('NV42')
8 ******************************************************
11 Formats with full horizontal and vertical chroma resolutions, also known
12 as YUV 4:4:4. One luminance and one chrominance plane with alternating
13 chroma samples as opposed to ``V4L2_PIX_FMT_YVU420``
19 These are two-plane versions of the YUV 4:4:4 format. The three
20 components are separated into two sub-images or planes. The Y plane is
21 first, with each Y sample stored in one byte per pixel. For
22 ``V4L2_PIX_FMT_NV24``, a combined CbCr plane immediately follows the Y
23 plane in memory. The CbCr plane has the same width and height, in
24 pixels, as the Y plane (and the image). Each line contains one CbCr pair
25 per pixel, with each Cb and Cr sample stored in one byte.
26 ``V4L2_PIX_FMT_NV42`` is the same except that the Cb and Cr samples are
27 swapped, the CrCb plane starts with a Cr sample.
29 If the Y plane has pad bytes after each row, then the CbCr plane has
30 twice as many pad bytes after its rows.
33 Each cell is one byte.