PIX FMT YUV420P

From MultimediaWiki
Jump to: navigation, search

PIX_FMT_YUV420P contains three channels (or components):

The chrominance is subsampled using the 420 scheme:

Note: Be careful not to confuse this pixel format with PIX_FMT_YUVJ420P.

YCbCr 4:2:0 indicates a planar YCbCr colorspace where a 2x2 block of pixels in an image is represented by 4 Y samples, 1 for each pixel, but all 4 pixels share a Cb sample and a Cr sample.

Note: The P in YUV420P indicates planar not progressive or palette or packed.

It has the following characteristics:

  • YUV colorspace.
  • 12bits per pixel average.