Hi,
I am using Blaze development board(4430) running gingerbread. I have created ndk built "cap_enc.so" which internal uses OMX.TI.DUCATI1.VIDEO.CAMERA and OMX.TI.DUCATI1.VIDEO.H264E.
When i load "cap_enc.so" as part my android app and do a jni API call to "cap_enc.so" which calls OMX_GetHandle on OMX.TI.DUCATI1.VIDEO.CAMERA it is crashing. I gave all the camera permissions in AndroidManifest.xml.(tried almost all permissions)
But when I did a ndk build of same code as executable and ran it from the adb shell as *root* it is able to capture and encode. But I dont want to root the device.
1) Is it possible to use the OMX components from ndk built .so which are running as part of android app?
2) What could be possible cause for the issue which I am facing.
3) if it is related to permissions, are there any permissions which can be given in the Manifest file
Crash dump
I/DEBUG ( 1833): #00 pc 00000000
I/DEBUG ( 1833): #01 pc 00001988 /system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
I/DEBUG ( 1833): #02 pc 00001e56 /system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so
I/DEBUG ( 1833): #03 pc 00002052 /system/lib/libOMX_Core.so
I/DEBUG ( 1833): #04 pc 0000dda2 /data/data/com.streamer/lib/libcap_enc.so.
When i tried with objectdump and trace it back it seems it has crashed in DCC_init.
Please suggest...
Regards,
Santosh