On Dec 2, 6:06 pm, Mathias Agopian <[EMAIL PROTECTED]> wrote: > On Tue, Dec 2, 2008 at 2:55 PM, <[EMAIL PROTECTED]> wrote: > > > We are considering rendering video into video planes/layers supported > > by the OMAP3430. Does Android have infrastructure in place for > > supporting hardware video planes separate from the graphics plane? > > I've looked around SurfaceFlinger and believe the answer is "no", but > > wanted to double-check. If anyone has done something similar we'd love > > to hear about your experience and suggestions. > > SurfaceFlinger's architecture would fit pretty well with such a > feature, however, there is nothing like that implemented at the > moment. It would also require new native and dalvik APIs. > > mathias
Thanks, mathias. It appears that there are two primary ways to achieve this goal. 1) Implement the ISurface interface and implement this video plane functionality close to SurfaceFlinger. This would hopefully leave OpenCORE's AndroidSurfaceOutput mechanism largely unchanged passing decoded video data to the video-plane-aware ISurface object. ISurface itself seems easy to implement, but living in the context of SurfaceFlinger may be more complex than anticipated. 2) Disconnect OpenCORE's AndroidSurfaceOutput and output to another sink inside of OpenCORE without much involvement from SurfaceFlinger. This seems simpler, but may not get all of the size and orientation changes needed without further extension. Would you have any thoughts on these approaches or suggestions for other approaches? Thanks again, Andrew --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [EMAIL PROTECTED] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
