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