IMX6 How to exchange with fb1 and fb0 ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX6 How to exchange with fb1 and fb0 ?

跳至解决方案
2,272 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,378 次查看
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.

在原帖中查看解决方案

2 回复数
1,379 次查看
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.

1,378 次查看
zhangdendzh
Contributor I

Problem has been resolved. Thanks

0 项奖励
回复