Dueto a clean low-level interface it should be quite easy to add videoacceleration to xbmc, avlib-tools, gstreamer, vlc, … Also all hwsupported formats should be supported (including HEVC).
Basicallythis should also work on RK3188 devices, as Androids libs are almostidentical and libhybris is also working (my next project…)
@e97: The vpu actually decodes the input stream per frame-packet. In the full screen/ full speed example i use the max decoding speed for an h264 movie and i dont wait for anything. Not for vertical blank nor some timeout. Basically it is a loop of: 1) parse movie to h264 byte stream, 2) decode this to frame, 3) blit it to framebuffer (no rendering) using hw, and again; with a bit of multi-threading. Then i get about 50fps max for these movies, wouldn’t expect too much here.
Maybe a bit more efficient multi-threading can crank-up the fps a bit and also some other decoding format like hevc/h265, so 60fps might be do-able. Haven’t checked that.
Repo is not yet there. But will certainly share it. Currently my code is a bit experimental and a mess. I have to clean it up and especially find a way to “package” libhybris and a minimal recompiled android /system image that is essential.
"Update: i am now working on xbmc/kodi. Thanks to memeka I got his xbmc working based on hybris, android EGL/GLES and mediaplayer (not using the low-level libvpu i demo-ed), really thanks memeka! Runs both on rk3288 and rk3188. However sound is crap ,video not yet smooth (probably slow yuv2rgb shader and syncing issues) and some crashes. Now migrating to spmc of Koying as he has lots of rockchip support in his repos and keeps his stuff uptodate, maybe I can push to his repo later.
So still have to wait a bit, maybe a month or so. First a decent kodi version working and then a decent release (still looking for a decent way to package hybris)."
I want to directly call codec method, not through xbmc, how to do? or can obtain xbmc source code, reference codec is how to call the codec method by hyris.
I’m sincerely grateful for your article, it really stood out to me. The New APP ClaimCenter-Business-Analysts simulations test led to my promotion and salary increase. Today, I’m giving it away for free to help you too!
Your article has made a lasting impression, thank you for it. Upgrade your IT knowledge and access SPLK-1003 valid exam questions vce for free. Wishing you the best of luck!