Hi,
I am trying to get native rendering in AM 335 using OMX.google.android.index.useAndroidNativeBuffer2. Did anyone try this? If so can some one post sample code for this?
Regards,
Febin
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am trying to get native rendering in AM 335 using OMX.google.android.index.useAndroidNativeBuffer2. Did anyone try this? If so can some one post sample code for this?
Regards,
Febin
Hi Febin,
Try with the attached patch.
Hi Pankaj,
Thanks for the patch.
But unfortunately the patch did not work. Lock and unlock fails in the patch. I was getting both the logs that you have enable for the failure use case.
W/GraphicBufferMapper( 3401): lock(...) failed -22 (Invalid argument)
E/OMXNodeInstance( 3401): graphicBuffer->lock Failed --------
In SoftwareRender.cpp , it uses a mapper to do the lock. Is this required here also?
Regards,
Febin
Hi Pankaj,
Sorry for the wrong update. I was doing some silly mistake.
Even now nothing get displayed on screen. Fill buffer done is successful. I will check and get back with more information for your opinion.
Thanks a lot.
Regards,
Febin