1.. Permission is granted to copy, distribute and/or modify this 2.. document under the terms of the GNU Free Documentation License, 3.. Version 1.1 or any later version published by the Free Software 4.. Foundation, with no Invariant Sections, no Front-Cover Texts 5.. and no Back-Cover Texts. A copy of the license is included at 6.. Documentation/media/uapi/fdl-appendix.rst. 7.. 8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 9 10.. _yuv-formats: 11 12*********** 13YUV Formats 14*********** 15 16YUV is the format native to TV broadcast and composite video signals. It 17separates the brightness information (Y) from the color information (U 18and V or Cb and Cr). The color information consists of red and blue 19*color difference* signals, this way the green component can be 20reconstructed by subtracting from the brightness component. See 21:ref:`colorspaces` for conversion examples. YUV was chosen because 22early television would only transmit brightness information. To add 23color in a way compatible with existing receivers a new signal carrier 24was added to transmit the color difference signals. Secondary in the YUV 25format the U and V components usually have lower resolution than the Y 26component. This is an analog video compression technique taking 27advantage of a property of the human visual system, being more sensitive 28to brightness information. 29 30 31.. toctree:: 32 :maxdepth: 1 33 34 pixfmt-packed-yuv 35 pixfmt-grey 36 pixfmt-y10 37 pixfmt-y12 38 pixfmt-y10b 39 pixfmt-y10p 40 pixfmt-y16 41 pixfmt-y16-be 42 pixfmt-y8i 43 pixfmt-y12i 44 pixfmt-uv8 45 pixfmt-yuyv 46 pixfmt-uyvy 47 pixfmt-yvyu 48 pixfmt-vyuy 49 pixfmt-y41p 50 pixfmt-yuv420 51 pixfmt-yuv420m 52 pixfmt-yuv422m 53 pixfmt-yuv444m 54 pixfmt-yuv410 55 pixfmt-yuv422p 56 pixfmt-yuv411p 57 pixfmt-nv12 58 pixfmt-nv12m 59 pixfmt-nv12mt 60 pixfmt-nv16 61 pixfmt-nv16m 62 pixfmt-nv24 63 pixfmt-m420 64