Difference between revisions of "YUV"
Jump to navigation
Jump to search
(Created page with "= Planar = == I420 == In I420, you have luma "luminance" planes '''''Y''''' and chroma samples '''''U''''' '''''V'''''. In I420, chroma planes (blue and red) are subsampled in …") |
(→Planar) |
||
Line 8: | Line 8: | ||
For a 2x2 group of pixels, you have 4 Y samples and 1 U, 1 V sample. | For a 2x2 group of pixels, you have 4 Y samples and 1 U, 1 V sample. | ||
+ | == YV12 == | ||
+ | YV12 is exactly like I420, but with '''U''' and '''V''' reversed. | ||
= Packed = | = Packed = |
Revision as of 20:23, 18 May 2011
Planar
I420
In I420, you have luma "luminance" planes Y and chroma samples U V.
In I420, chroma planes (blue and red) are subsampled in both the horizontal and vertical dimensions by a factor of 2.
For a 2x2 group of pixels, you have 4 Y samples and 1 U, 1 V sample.
YV12
YV12 is exactly like I420, but with U and V reversed.