[Home]Color Space/YUV

YUV (4:2:0)

This is actually YV12 or Y420 with 1+1/2 byte per pixel. It is a planar format meaning first all Y data then Cr and then Cb. The memory layout is
 __________________ ...  ______  ...  _____
|__Y__|__Y__|__Y__| ... |__Cr_|  ... |__Cb_| ....
 \___/ \___/ \___/     
 (0,0) (1,0) (2,0)

There are Width*Height Y bytes, Width*Height/4 Cr bytes and Width*Height/4 Cb bytes. The size of the image is Width*Height*3/2


Transcode Wiki | Color Space | Recent Changes | Preferences
Password required to edit | View other revisions
Last edited August 26, 2005 1:21 pm by Monroe (diff)
Search: