You mean setting the global alpha to fully transparent? If so, I've
thought about that, but that destroys the possibility of having on-
screen media controls.. Right?

On May 6, 4:18 pm, Deva R <[email protected]> wrote:
> You can enable alpha blending in your display driver, so both graphics
> and video overlay blend..
>
> my call sequence for this are like (get fb handle, toggle alpha
> blending, set the fb options)
>
>         v4l2_ioctl(fd, VIDIOC_G_FBUF, &fbuf);
>         fbuf.flags |= V4L2_FBUF_FLAG_GLOBAL_ALPHA;
>         v4l2_ioctl(fd, VIDIOC_S_FBUF, &fbuf);
>
> more info:http://v4l2spec.bytesex.org/spec/r10595.htm-> framebuffer flags ->
> V4L2_FBUF_FLAG_GLOBAL_ALPHA
>
> On Thu, May 6, 2010 at 7:20 PM, Svetozar Miuchin
>
>
>
> <[email protected]> wrote:
> > Hi,
> > I'm porting Android to a board with hardware video decoding support.
> > The board hardware draws the video into a video layer beneath the
> > graphic layer. I've implemented a custom media player that passes the
> > calls to the hardware decoders, but I need to make Android's surfaces
> > transparent. Is there any way this is possible with the current
> > Android architecture? I'm using the Eclair version for MIPS
> > architectures.
> > Thanks in advance,
> >  Svetozar
>
> > --
> > unsubscribe: [email protected]
> > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: [email protected]
> website:http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to