1 .. -*- coding: utf-8; mode: rst -*-
5 ******************************************************
6 V4L2_PIX_FMT_NV16 ('NV16'), V4L2_PIX_FMT_NV61 ('NV61')
7 ******************************************************
9 *man V4L2_PIX_FMT_NV16(2)*
12 Formats with ½ horizontal chroma resolution, also known as YUV 4:2:2.
13 One luminance and one chrominance plane with alternating chroma samples
14 as opposed to ``V4L2_PIX_FMT_YVU420``
20 These are two-plane versions of the YUV 4:2:2 format. The three
21 components are separated into two sub-images or planes. The Y plane is
22 first. The Y plane has one byte per pixel. For ``V4L2_PIX_FMT_NV16``, a
23 combined CbCr plane immediately follows the Y plane in memory. The CbCr
24 plane is the same width and height, in bytes, as the Y plane (and of the
25 image). Each CbCr pair belongs to two pixels. For example,
26 Cb\ :sub:`0`/Cr:sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`.
27 ``V4L2_PIX_FMT_NV61`` is the same except the Cb and Cr bytes are
28 swapped, the CrCb plane starts with a Cr byte.
30 If the Y plane has pad bytes after each row, then the CbCr plane has as
31 many pad bytes after its rows.
35 Each cell is one byte.
142 **Color Sample Location..**
284 .. ------------------------------------------------------------------------------
285 .. This file was automatically converted from DocBook-XML with the dbxml
286 .. library (https://github.com/return42/sphkerneldoc). The origin XML comes
287 .. from the linux kernel, refer to:
289 .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
290 .. ------------------------------------------------------------------------------