GNU Linux-libre 5.10.217-gnu1
[releases.git] / Documentation / userspace-api / media / v4l / yuv-formats.rst
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _yuv-formats:
4
5 ***********
6 YUV Formats
7 ***********
8
9 YUV is the format native to TV broadcast and composite video signals. It
10 separates the brightness information (Y) from the color information (U
11 and V or Cb and Cr). The color information consists of red and blue
12 *color difference* signals, this way the green component can be
13 reconstructed by subtracting from the brightness component. See
14 :ref:`colorspaces` for conversion examples. YUV was chosen because
15 early television would only transmit brightness information. To add
16 color in a way compatible with existing receivers a new signal carrier
17 was added to transmit the color difference signals. Secondary in the YUV
18 format the U and V components usually have lower resolution than the Y
19 component. This is an analog video compression technique taking
20 advantage of a property of the human visual system, being more sensitive
21 to brightness information.
22
23
24 .. toctree::
25     :maxdepth: 1
26
27     pixfmt-packed-yuv
28     pixfmt-grey
29     pixfmt-y10
30     pixfmt-y12
31     pixfmt-y14
32     pixfmt-y10b
33     pixfmt-y10p
34     pixfmt-y16
35     pixfmt-y16-be
36     pixfmt-y8i
37     pixfmt-y12i
38     pixfmt-uv8
39     pixfmt-yuyv
40     pixfmt-uyvy
41     pixfmt-yvyu
42     pixfmt-vyuy
43     pixfmt-y41p
44     pixfmt-yuv420
45     pixfmt-yuv420m
46     pixfmt-yuv422m
47     pixfmt-yuv444m
48     pixfmt-yuv410
49     pixfmt-yuv422p
50     pixfmt-yuv411p
51     pixfmt-nv12
52     pixfmt-nv12m
53     pixfmt-nv12mt
54     pixfmt-nv16
55     pixfmt-nv16m
56     pixfmt-nv24
57     pixfmt-m420