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/userspace-api/media/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-y14 39 pixfmt-y10b 40 pixfmt-y10p 41 pixfmt-y16 42 pixfmt-y16-be 43 pixfmt-y8i 44 pixfmt-y12i 45 pixfmt-uv8 46 pixfmt-yuyv 47 pixfmt-uyvy 48 pixfmt-yvyu 49 pixfmt-vyuy 50 pixfmt-y41p 51 pixfmt-yuv420 52 pixfmt-yuv420m 53 pixfmt-yuv422m 54 pixfmt-yuv444m 55 pixfmt-yuv410 56 pixfmt-yuv422p 57 pixfmt-yuv411p 58 pixfmt-nv12 59 pixfmt-nv12m 60 pixfmt-nv12mt 61 pixfmt-nv16 62 pixfmt-nv16m 63 pixfmt-nv24 64 pixfmt-m420 65