PIX FMT YUYV422

From MultimediaWiki
Jump to navigation Jump to search

PIX_FMT_YUYV422 refers to data stored as Y' Cb' Cr'. The original stream has been subsampled so that for every 2 luminance (Y') values, there is one chrominance value. The human eye is more sensitive to luminance than chrominance, so the loss of chrominance samples does not have a significant impact on picture quality.

An example stream containing 4 pixels:

 Y' Cb Y' Cr Y' Cb Y' Cr.
 __ @@ __ ** __ @@ __ **.

This stream contains:

  • 4 Luminance values (Y').
  • 2 Chrominance blue values (Cb).
  • 2 Chrominance red values (Cr).

4 pixels are stored as 8 bytes.