How i.MX6 IPU converts YUV422 data to YUV420?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How i.MX6 IPU converts YUV422 data to YUV420?

ソリューションへジャンプ
1,513件の閲覧回数
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 解決策
813件の閲覧回数
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 返答(返信)
813件の閲覧回数
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 件の賞賛
814件の閲覧回数
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 件の賞賛
813件の閲覧回数
XiaoPong
NXP Employee
NXP Employee

Hi, Shimoda San,

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

Best Regards,

Wilson