~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/v4l/pixfmt-m420.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2 
  3 .. _V4L2-PIX-FMT-M420:
  4 
  5 **************************
  6 V4L2_PIX_FMT_M420 ('M420')
  7 **************************
  8 
  9 Format with ½ horizontal and vertical chroma resolution, also known as
 10 YUV 4:2:0. Hybrid plane line-interleaved layout.
 11 
 12 
 13 Description
 14 ===========
 15 
 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.
 19 
 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`.
 25 
 26 All line lengths are identical: if the Y lines include pad bytes so do
 27 the CbCr lines.
 28 
 29 **Byte Order.**
 30 Each cell is one byte.
 31 
 32 
 33 .. flat-table::
 34     :header-rows:  0
 35     :stub-columns: 0
 36 
 37     * - start + 0:
 38       - Y'\ :sub:`00`
 39       - Y'\ :sub:`01`
 40       - Y'\ :sub:`02`
 41       - Y'\ :sub:`03`
 42     * - start + 4:
 43       - Y'\ :sub:`10`
 44       - Y'\ :sub:`11`
 45       - Y'\ :sub:`12`
 46       - Y'\ :sub:`13`
 47     * - start + 8:
 48       - Cb\ :sub:`00`
 49       - Cr\ :sub:`00`
 50       - Cb\ :sub:`01`
 51       - Cr\ :sub:`01`
 52     * - start + 16:
 53       - Y'\ :sub:`20`
 54       - Y'\ :sub:`21`
 55       - Y'\ :sub:`22`
 56       - Y'\ :sub:`23`
 57     * - start + 20:
 58       - Y'\ :sub:`30`
 59       - Y'\ :sub:`31`
 60       - Y'\ :sub:`32`
 61       - Y'\ :sub:`33`
 62     * - start + 24:
 63       - Cb\ :sub:`10`
 64       - Cr\ :sub:`10`
 65       - Cb\ :sub:`11`
 66       - Cr\ :sub:`11`
 67 
 68 
 69 **Color Sample Location:**
 70 Chroma samples are :ref:`interstitially sited<yuv-chroma-centered>`
 71 horizontally and vertically.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php