IMX6 How to exchange with fb1 and fb0 ?

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

IMX6 How to exchange with fb1 and fb0 ?

Jump to solution
1,467 Views
zhangdendzh
Contributor I

IMX6  How to exchange with fb1 and fb0 ? Now display the UI in fb0 , The fb1(/dev/video17) display video.   I want to  make the UI cover video?

Labels (1)
0 Kudos
1 Solution
573 Views
joanxie
NXP TechSupport
NXP TechSupport

normally, we set fb0 as graphics and set fb1 as foregroud,

if You must play video as background and graphics as overlay, you need to open fb0 for your video playback and fb1 as your graphics in your set up. You can set your alpha either local or global based on your needs.

I send a sample code for alpha blending, hope helpful for you.

View solution in original post

2 Replies
574 Views
joanxie
NXP TechSupport
NXP TechSupport

normally, we set fb0 as graphics and set fb1 as foregroud,

if You must play video as background and graphics as overlay, you need to open fb0 for your video playback and fb1 as your graphics in your set up. You can set your alpha either local or global based on your needs.

I send a sample code for alpha blending, hope helpful for you.

573 Views
zhangdendzh
Contributor I

Problem has been resolved. Thanks

0 Kudos