Quantcast
Channel: Virtualisation
Viewing all articles
Browse latest Browse all 277

vaapi vaPutSurface appears to do nothing

$
0
0

I am successfully using vaapi on Intel linux machines (haswell i5) to decode h.264 video and display in an x window. I have ported this code to a native application on android 4.4.2 r1 ia1.

The decoding works as I can convert a frame to rgb and copy the bytes onto the native window, when I use vaPutSurface it returns 0 but nothing appears on the window. I do however get the 2 following lines of log output

11-18 16:52:45.396: D/MOS(9725): mm:Mos_InitInterface_Linux called

11-18 16:52:45.396: E/MOS(9725): Mos_InitInterface_Linux: Unable to initialize context

Can anyone provide me with some assistance
 

Thanks,

Richard


Viewing all articles
Browse latest Browse all 277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>