1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-YUV422P:
5 *****************************
6 V4L2_PIX_FMT_YUV422P ('422P')
7 *****************************
9 *man V4L2_PIX_FMT_YUV422P(2)*
11 Format with ½ horizontal chroma resolution, also known as YUV 4:2:2.
12 Planar layout as opposed to ``V4L2_PIX_FMT_YUYV``
18 This format is not commonly used. This is a planar version of the YUYV
19 format. The three components are separated into three sub-images or
20 planes. The Y plane is first. The Y plane has one byte per pixel. The Cb
21 plane immediately follows the Y plane in memory. The Cb plane is half
22 the width of the Y plane (and of the image). Each Cb belongs to two
23 pixels. For example, Cb\ :sub:`0` belongs to Y'\ :sub:`00`,
24 Y'\ :sub:`01`. Following the Cb plane is the Cr plane, just like the Cb
27 If the Y plane has pad bytes after each row, then the Cr and Cb planes
28 have half as many pad bytes after their rows. In other words, two Cx
29 rows (including padding) is exactly as long as one Y row (including
33 Each cell is one byte.
156 **Color Sample Location..**