[Libva] VASurface to OpenGL surface

JohnGu at s3graphics.com JohnGu at s3graphics.com
Mon Jan 16 00:54:54 PST 2012


I have a similar use case like Sergey Omelchenko proposed weeks ago:

 

Is it possible to copy decoded VASurface to OpenGL surface, from both
driver's and application's perspective?

 

This use case actually comes from Android 3.0 / 4.0. What I want to do
is building OpenMAX IL hardware video decoding components on top of VA
API. From Android 3.0 on, Android will send a GraphicBuffer (OGL surface
in the end) to OMX component and OMX component are required to fill that
GraphicBuffer. The actual rendering are done by Android
AwesomeNativeWindowRenderer which are out of vendors' or OMX components'
hand.

 

To my understanding, though VA-API is Window-indepent, but VA driver
implementations are still in charge of the actual rendering. So another
way of saying my question is:

 

Can VA-API be implemented and utilized for accelerated processing
hardware only rather that with display?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20120116/e1be0c94/attachment.htm>


More information about the Libva mailing list