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