enable color_key in runtime

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

enable color_key in runtime

542 Views
alexv
Contributor II

Hello, I have an application that is responsible for viewing video with gstreamer.
The main application is shown in /dev/fb0 and the video in fb1.
I have configured fb0 to be the foreground and I also configure the color key to show the video that is in the background.
The problem is that I enable the color key only when I'm going to play video and I disable it when there is no video.
When I play the video I have the following Warning:

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000

What would be the right way to do this and avoid warnings?

This warning does not appear if I always leave enabled the color_key.

So I think the problem is to enable/disable the color_key in runtime.

Thanks!

Labels (1)
0 Kudos
1 Reply

498 Views
igorpadykov
NXP Employee
NXP Employee

Hi Alex

one can try with latest linux L4.14.98_2.0.0    link
linux-imx - i.MX Linux kernel 
NXP Linux documentation
i.MX Software | NXP 

In general issue may be caused by incorrect ipu initialization, recommended to

fully disable it then initialize with new configuration.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos