Just to show I've got the RK3288 video processor (VPU) working on linux -both decoder and encoder-:
Technically I use
- Android's libraries: for access to the vpu device driver and for memory management – both encoding and decoding h264 byte-streams
- libhybris: to access these libraries on linux/ubuntu
- rga2 device driver for 2D HW accelerated blitting and converting frames (yuv/nv21 <=> rgb)
- ARMs OpenGL library, driver and examples (fbdev) to render rotated images using the GPU
- raw framebuffer device access to blit full-screen (full-screen player and recorder)
- avlib to demux movie containers (mp4/mov) to bytestreams (player) and vice versa (recorder)
- Movies from blender projects: http://archive.blender.org/features-gallery/movies/
Due to a clean low-level interface it should be quite easy to add video acceleration to xbmc, avlib-tools, gstreamer, vlc, … Also all hw supported formats should be supported (including HEVC).
Basically this should also work on RK3188 devices, as Androids libs are almost identical and libhybris is also working (my next project...)
Cheers!
- - MAC
Comment