YCbCr 4:2:2

From MultimediaWiki
Revision as of 14:25, 3 June 2006 by Multimedia Mike (talk | contribs) (naming trivia)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • FourCCs: YUY2, UYVY

YUV 4:2:2 is a packed YUV format in which a pair of consecutive pixels is represented by 1 Y sample each but share a U sample and a V sample.

This type of data may be packaged in a container format with a a FourCC of YUY2 which indicates the following byte formatting:

 Y0 U Y1 V

The first pixel is a a function of (Y0, U, V) and the second pixel is a function of (Y1, U, V). Alternately, the FourCC UYVY is used to indicate YUV 4:2:2 data with a byteswapped order:

 U Y0 V Y1

For trivia, the 2 in YUY2 most likely refers to the number of bytes needed to represent a single pixel. Since 4 bytes represent 2 pixels, an average of 2 bytes are required to represent a single pixel in this scheme.