iMX6Q: How to control alpha and color-key in fb1 & fb3

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

iMX6Q: How to control alpha and color-key in fb1 & fb3

1,258 Views
egremillion
Contributor III

My current board setup appears to use an alpha value of about 0.5 for video that goes into /dev/fb1 or /dev/fb3.  Is there any way to change this without using an ioctl?  I found this "Alpha Test on iMX6Q" post which looks like what I want to do - is this the only way to do it?  I'm using Yocto Dora if that's important or helps...  Thanks!

Labels (2)
0 Kudos
6 Replies

755 Views
egremillion
Contributor III

In the end, the patches didn't work for us (we are using a 24 bpp monitor depth).  So we recompiled the kernel with framebuffer support and used ioctl.

0 Kudos

755 Views
LeonardoSandova
Specialist I

what is the reason you want to avoid ioctl?

0 Kudos

755 Views
egremillion
Contributor III

Hi - any update or info on this?  It would be nice to know if this is possible or not.  Thanks!

0 Kudos

755 Views
EricNelson
Senior Contributor II

Hi Ernie,

Here are some patches for the mfw_v4lsink plugin that add global-alpha and color-key properties.

These only seem to function with a 32bpp frame-buffer, though, and I haven't spent any time digging into why.

755 Views
egremillion
Contributor III

Thanks, Eric. I'll give these a try and report back how they work out for me.

0 Kudos

755 Views
egremillion
Contributor III

Two reasons:

1. I'd like to do a quick test/proof-of-concept using gst-launch

2. The system I'm using doesn't appear to have Linux framebuffer support included and I don't want to have to add it if I don't have to

Thanks,

Ernie

0 Kudos