How i.MX6 IPU converts YUV422 data to YUV420?

cancel
Showing results for 
Search instead for 
Did you mean: 

How i.MX6 IPU converts YUV422 data to YUV420?

Jump to solution
799 Views
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

Labels (4)
Tags (1)
0 Kudos
1 Solution
99 Views
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.

View solution in original post

0 Kudos
3 Replies
99 Views
b45499
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 Kudos
100 Views
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.

View solution in original post

0 Kudos
99 Views
XiaoPong
NXP Employee
NXP Employee

Hi, Shimoda San,

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

Best Regards,

Wilson