Alpha / Blending overlay framebuffer fb1

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

Alpha / Blending overlay framebuffer fb1

Jump to solution
3,385 Views
jtis
Contributor I

Hello,

I'm trying to build a system headless but I'm facing many questions. I'm using imx6-dual + GPU VIV GC2000.

I try to use fb1 to overlay a QT window on top of a gstreamer pipeline.

When I enable the fb1 there is a default alpha value making anything coming from QT translucide. Through other post in this forum I understand the value MXCFB_SET_GBL_ALPHA is set somewhere between 0 to 255 but I don't how to set it my self ?

I want to remove this global alpha on fb1 set by default to make my overlay QT window being opaque on the top of my video.

I built my system using Yocto-fido so with drivers : imx-gpu-viv_5.0.11.p4.5. It seems that I don't have access to any define to set the alpha values my self.

Please any help is welcome.

Jérôme.

Labels (4)
0 Kudos
1 Solution
1,433 Views
jtis
Contributor I

Solved with this link :

[meta-freescale] Enabling transparency on overlay surface 

(Thanks to Jason and Eric !)

Jérôme.

View solution in original post

0 Kudos
2 Replies
1,433 Views
yyuan
Contributor III

please

how to do qt to fb1,video to fb0.

i want to set qt above video

thank you  

0 Kudos
1,434 Views
jtis
Contributor I

Solved with this link :

[meta-freescale] Enabling transparency on overlay surface 

(Thanks to Jason and Eric !)

Jérôme.

0 Kudos