How i.MX6 IPU converts YUV422 data to YUV420?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How i.MX6 IPU converts YUV422 data to YUV420?

跳至解决方案
1,515 次查看
satoshishimoda
Senior Contributor I

Hi community,

I want to confirm the algorithm about i.MX6DQ IPU YUV422 -> YUV420 conversion.

I think IPU thins out the data for YUV422 -> YUV420 conversion.

Which of the following algorithm is correct?

Y Y Y Y Y Y                Y Y Y Y Y Y

CbCrCbCrCbCr    →     CbCrCbCrCbCr

Y Y Y Y Y Y                Y Y Y Y Y Y

CbCrCbCrCbCr

or

Y Y Y Y Y Y               Y Y Y Y Y Y

CbCrCbCrCbCr    →

Y Y Y Y Y Y               Y Y Y Y Y Y

CbCrCbCrCbCr           CbCrCbCrCbCr

If both are incorrect, could you let me know how IPU thins out the data?

Best Regards,

Satoshi Shimoda

标签 (4)
标记 (1)
0 项奖励
1 解答
815 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

IPU used pixel mode to handle the data, when it read YUV422 data from memory to IPU internal, each pixel will have its Y,U,V data, then output to memory in YUV420 format, it also follows the specification to process the pixel one by one. The YUV420 format can be NV12, I420 and so on, it depends on IDMAC parameters setting.

So you can think, the data in IPU internal is always in YUV444 format.

在原帖中查看解决方案

0 项奖励
3 回复数
815 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Satoshi,

Have you solved your problem? If yes would help click correct answer or Help answer. Thanks a lot~~

Best Regards

Dan

0 项奖励
816 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

IPU used pixel mode to handle the data, when it read YUV422 data from memory to IPU internal, each pixel will have its Y,U,V data, then output to memory in YUV420 format, it also follows the specification to process the pixel one by one. The YUV420 format can be NV12, I420 and so on, it depends on IDMAC parameters setting.

So you can think, the data in IPU internal is always in YUV444 format.

0 项奖励
815 次查看
XiaoPong
NXP Employee
NXP Employee

Hi, Shimoda San,

     Have you read i.MX6Q Reference Manual? It should have answers you need.

Best Regards,

Wilson