Plugins for accessing camera and VPU encoding in Android on imx6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Plugins for accessing camera and VPU encoding in Android on imx6

1,120 次查看
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

标签 (4)
0 项奖励
回复
1 回复

655 次查看
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