Plugins for accessing camera and VPU encoding in Android on imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Plugins for accessing camera and VPU encoding in Android on imx6

909 Views
varsmolta
Contributor V

Gstreamer plugins for the mxc camera and vpuenc and vpudec are availiable in linux. My question is: what is the equivalent of this in android. For instance, in linux I could use gstreamer appsrc/appsink to inject data into the gstreamer pipeline from an external application to encode/decode using hardware encoder. How would I do this in android? I've heard of "OpenMAX" but don't quite know how this works. Is there sample code in the Freescale sources which show how to inject data into the VPU and read from it from an external Android application? Does this go through HAL like OpenMAX and where can I find this HAL code? Thanks

Labels (4)
0 Kudos
1 Reply

444 Views
LeonardoSandova
Specialist I

FYI, OpenMax is a thin layer which abstract codecs, so (in theory) user space apps can make calls to the standard interface and these work no matter the SoC.

Leo