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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

158 Views
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

 

 

Labels (2)
0 Kudos
2 Replies

61 Views
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 Kudos

109 Views
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 Kudos