[android-porting] Re: Making the graphic layer transparent, for video playback

2010-10-06 Thread Sunil Deshpande
Hi Anil/Deva, I am working on QualComm based chip set and I am trying to port the froyo to the new qc board. My video playback is working. Now I am getting the issue in progressive bar and control key's like pause, stop, seek. Video playback is overlapping these bar and controls. Could you please

Re: [android-porting] Re: Making the graphic layer transparent, for video playback

2010-09-30 Thread Anil Sasidharan
Hi, I would appreciate someone could provide some hints on this. Warm Regards, Anil On Wed, Sep 29, 2010 at 10:32 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Deva, For one of our ongoing projects, I've been trying to get alpha blending work in Android on

Re: [android-porting] Re: Making the graphic layer transparent, for video playback

2010-09-28 Thread Anil Sasidharan
Hi Deva, For one of our ongoing projects, I've been trying to get alpha blending work in Android on OMAP3EVM. For this we have implemented a simple Activity in Android that plays a video (on the video1 plane) and displays an image on the GFX plane. The image is rendered using drawable

[android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-10 Thread Svetozar Miuchin
Yes, but what I need to do is make all of the Android's surfaces beneath (and including) the video surface transparent, but leave the global alpha as is for the possible player's media controls. Any ideas? On May 6, 5:20 pm, Deva R r.deva...@gmail.com wrote: you can chose the transparency level

Re: [android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-10 Thread Deva R
hi, i havent tried per fb or video device level., but should be possible.. can you check with local alpha flags, local to framebuffer and overlay devices? V4L2_FBUF_FLAG_LOCAL_ALPHA, V4L2_FBUF_FLAG_LOCAL_INV_ALPHA On Mon, May 10, 2010 at 12:37 PM, Svetozar Miuchin svetozar.miuc...@gmail.com

[android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-06 Thread Svetozar Miuchin
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 r.deva...@gmail.com wrote: You can enable alpha blending in your display driver, so both graphics and

Re: [android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-06 Thread Deva R
you can chose the transparency level by tuning alpha blend.. on enabling global alpha blending, the final ouptput pixel will be arrived as, output = (framebuffer pixel * alpha + video pixel * (255 - alpha)) / 255 you need to set this alpha field with below ioctl commands.. ret =