Imx6 IPU IC combine and convert color 2xARGB32 =>NV12

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

Imx6 IPU IC combine and convert color 2xARGB32 =>NV12

365件の閲覧回数
Kanstantsin1
Contributor III

When I try to combine two ARGB image and convert them with IPU device I see wrong image.

Front image has right color. But Backend color has wrong color.

There is my  task struct:

Kanstantsin1_0-1713280582187.png

There is how it should be looking like (Red number, gray background):

Kanstantsin1_2-1713281119880.png

There is how it looks like (red number, wrong background):

Kanstantsin1_1-1713281073641.png

It looks like background was converted RGB->YUV twice. Ok. I have changed some code in kernel.

Kanstantsin1_3-1713281347154.png

It makes CSC1 RGB->RGB aka transparent.
So I have got:

Kanstantsin1_4-1713282972879.png


Color became normal but there is another problem occurred: vertical lines.

Maybe it is relater to the problem PXP with CSC2:

Kanstantsin1_5-1713283149656.png

 

 

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

268件の閲覧回数
Kanstantsin1
Contributor III

The errata describes PXP problems but I have problems with IPU.

Now I use workaround. Call ipu twice for the data. 

1. For combination images.

2. For color conversation of the combined image.
But now I have high load on MMDC (~90%). So I have low frame rate.

0 件の賞賛
返信

316件の閲覧回数
brian14
NXP TechSupport
NXP TechSupport

Hi @Kanstantsin1

Based on your description this is an expected behavior documented in the following Errata:
Chip Errata for the i.MX 6UltraLite (nxp.com)

I hope this information will be helpful.

Have a great day!

0 件の賞賛
返信