Hi,
I am trying to develop an Android application on the iMX8M Plus board. It is a camera-based application. I am able to display camera data to display using camera 2 API as well as using the GStreamer library. But my CPU usage is very high. Now I am considering using the HW encoder. Can someone please guide me? I would like to use the HW encoder when using Android camera API and the GStreamer API.
Here is my BoardConfig.mk (default) -
for your own application, you can refer to the Nuplayer, which uses VPU on android
Thank you for the reply. Is there anything specific I need to do to use imx specific VPU. Is there any library I need to include in the gradle file?
the source code of codecs in the android under:
•i.MX OMX Codecs
•Binary: device/fsl-codec/lib/
•Source: external/fsl_imx_omx/
so you can refer to nxp android source code about using vpu