您的位置:首页 > 其它

YUV Format Conclusion

2015-12-11 10:54 375 查看
What’s YUV ?

A kind of color format coding which can divide color into two parts: chroma and luma.

Calculate YUV

Change between YUV and RGB.



YUV Representation

From JM or HEVC, we can find this:



YUV422 Planar



YUV420 Planar



(1)

Increasing Memory Addresses

————————————————————————————->

| Y0 | Y1 | Y2 | Y3| ……

| U0 | U1 | ……

| V0 | V1 | ……

(2)

Increasing Memory Addresses

————————————————————————————->

| Y0 | Y1 | Y2 | Y3| ……

| V0 | V1 | ……

| U0 | U1 | ……

YUV422 Semi-Planar



YUV420 Semi-Planar



YUV422 Interleaved



YUY2:

| Y0 | V0 | Y1 | V0 | | Y2 | U1 | Y3 | V1 | | Y4 | U2 | Y5 | V2 | ……

UYVY:

| U0 | Y0 | V0 | Y1 | | U1 | Y2 | V1 | Y3 | | U2 | Y4 | V2 | Y5 | ……

One pixel is 16 bits.

http://www.cnblogs.com/watson/p/3788257.html

http://blog.csdn.net/jerrytong/article/details/5658818
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: