PIX FMT YUV420P: Difference between revisions

From MultimediaWiki
Jump to navigation Jump to search
m (initial versoin)
 
m (fixed category link)
Line 18: Line 18:


[[Category:Pixel Formats]]
[[Category:Pixel Formats]]
[[Category:FFMpeg Pixel Formats]]
[[Category:FFmpeg Pixel Formats]]

Revision as of 08:03, 3 June 2007

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.