1 .. -*- coding: utf-8; mode: rst -*-
5 **************************
6 V4L2_PIX_FMT_M420 ('M420')
7 **************************
9 Format with ½ horizontal and vertical chroma resolution, also known as
10 YUV 4:2:0. Hybrid plane line-interleaved layout.
16 M420 is a YUV format with ½ horizontal and vertical chroma subsampling
17 (YUV 4:2:0). Pixels are organized as interleaved luma and chroma planes.
18 Two lines of luma data are followed by one line of chroma data.
20 The luma plane has one byte per pixel. The chroma plane contains
21 interleaved CbCr pixels subsampled by ½ in the horizontal and vertical
22 directions. Each CbCr pair belongs to four pixels. For example,
23 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`,
24 Y'\ :sub:`10`, Y'\ :sub:`11`.
26 All line lengths are identical: if the Y lines include pad bytes so do
30 Each cell is one byte.
69 **Color Sample Location..**