Hardware Video Plane/Layer Support

15 views
Skip to first unread message

andyg...@hotmail.com

unread,
Dec 2, 2008, 5:55:29 PM12/2/08
to android-porting
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.

Thanks,
Andrew

Mathias Agopian

unread,
Dec 2, 2008, 6:06:07 PM12/2/08
to android...@googlegroups.com

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

andyg...@hotmail.com

unread,
Dec 2, 2008, 6:57:12 PM12/2/08
to android-porting
On Dec 2, 6:06 pm, Mathias Agopian <pixelflin...@google.com> wrote:
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
Reply all
Reply to author
Forward
0 new messages