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
Solved! Go to Solution.
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.
Hi Satoshi,
Have you solved your problem? If yes would help click correct answer or Help answer. Thanks a lot~~
Best Regards
Dan
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.
Hi, Shimoda San,
Have you read i.MX6Q Reference Manual? It should have answers you need.
Best Regards,
Wilson