How to change global alpha mode on the fly

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

How to change global alpha mode on the fly

Jump to solution
801 Views
ivyliu
Contributor IV

Hi All,

I am working on I.MX6 sabre board Quad now with a demo to display picture in picture with 2 camera inputs.

The demo is working and I even can swap the foreground and the background video on the fly.

But the foreground window is always transparent no matter which video input is from.

 

I used global alpha to make one video output to be opaque. But in this way, the other video output window is hidden when this one becomes the background.

Is there a way that I can change global alpha or turn off/on it on the fly?

The demo that I want to do is picture in picture, the foreground one is opaque, and swap the foreground and the background video on the fly.

 Thanks!!

Best Regards,

Ivy

1 Solution
660 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Please look at the IPU examples 

ipu-examples release notes - v0.1 

https://community.nxp.com/message/403343 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
661 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Please look at the IPU examples 

ipu-examples release notes - v0.1 

https://community.nxp.com/message/403343 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

0 Kudos
660 Views
ivyliu
Contributor IV

Hi Yuri,

I found a way to do it.

Thank you very much!!!

Best Regards,

Ivy

660 Views
ivyliu
Contributor IV

Hi Yuri,

For resize I mean resize the overlay screen, not the output screen.

Thanks and Best Regards,

Ivy

0 Kudos
660 Views
ivyliu
Contributor IV

Hi Yuri,

Thank you very much for your reply.

The IPU example is changing an overlay's alpha on the fly.

I tried to use this way. But it looks like I can not put another camera input as an overlay.

Can I put another camera input as an overlay? If I can, how can I resize it to a smaller window?

The way I already did to support Dual camera is to let one camera input display on video16, and another one on video17 without using overlay.

Is there a way to change global alpha on the fly without using overlay?

Thanks and Best Regards,

Ivy

0 Kudos