How i.MX6 IPU converts YUV422 data to YUV420?

cancel
Showing results for
Did you mean:
SOLVED

How i.MX6 IPU converts YUV422 data to YUV420?

799 Views
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)

• i.MX6S

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

3 Replies
99 Views
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

100 Views
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.

99 Views
NXP Employee

Hi, Shimoda San,

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

Best Regards,

Wilson