I only find openmax_il in imx8m Android 13.0.0_1.0.0 (L5.15.71_2.2.0 BSP).
But the functions defined in OMX_Core.h are not implemented inside.
Where is the source code of OMX CORE and libstagfrighthw ?
Solved! Go to Solution.
Hi @xiayanfire,
I hope you are doing well.
we haven't used openmax_il in Android 13
From android10, google has introduced codec 2 api to replace openmax il for vpu decoder/encoder component, we have implement codec2 decoder/encoder component and its location is android13/vendor/nxp/imx_android_mm/codec2
Thanks & Regards,
Dhruvit Vasavada
Hi @xiayanfire,
I hope you are doing well.
OpenMAX Integration Layer (IL) - The OpenMAX IL provides a standardized way for Stagefright to recognize and use custom hardware-based multimedia codecs called components. You must provide an OpenMAX plugin in the form of a shared library named libstagefrighthw.so. This plugin links Stagefright with your custom codec components, which must be implemented according to the OpenMAX IL component standard
i.MX OMX Codecs
Binary: device/fsl-codec/lib/
Source: external/fsl_imx_omx/
Please refer to this link
https://community.nxp.com/
I hope this helps!
Thanks & Regards,
Dhruvit Vasavada
Thanks for reply.
I got the Android 13.0.0 source code as the README showed below:
imx-manifest/README at imx-android-13 · nxp-imx/imx-manifest · GitHub
And imx-android-13.0.0_1.0.0.tar.gz is download from the link:
But I did not find the pathes:
Binary: device/fsl-codec/lib/ Source: external/fsl_imx_omx/
Did I got the code wrong, or does the Android 13 code no longer contain this part of code.
Thanks & Regards,
xiayanfire
Hi @xiayanfire,
I hope you are doing well.
Please accept my apology for the inconvenience.
Please find the libstagefright and OMX CORE source code given below locations.
frameworks/av/media/
hardware/qcom/sdm845/media/
hardware/qcom/media/msm8974/
I hope this helps!
Thanks for your reply.
But the codes in the fold hardware/qcom/ are copyrighted by QUALCOMM Inc not NXP.
These codes can not call into the NXP vdec driver.
Thanks & Regards,
xiayanfire
Hi @xiayanfire,
I hope you are doing well.
I hope you have found the source code, if the issue is solved, can I close the thread?
Thanks & Regards,
Dhruvit Vasavada
I'm afraid it didn't solve my problem
Because the codes in the fold hardware/qcom/ are copyrighted by QUALCOMM Inc not by NXP.
These codes can not call into the NXP vdec driver.I need code that can interface to the NXP vdec driver
Hi @xiayanfire,
I hope you are doing well.
we haven't used openmax_il in Android 13
From android10, google has introduced codec 2 api to replace openmax il for vpu decoder/encoder component, we have implement codec2 decoder/encoder component and its location is android13/vendor/nxp/imx_android_mm/codec2
Thanks & Regards,
Dhruvit Vasavada
Thank you very much for your patient and professional reply, which cleared up my doubts, and according to you I have found the code of nxp's omx core in the code repository of AN 9.
Thanks for your reply.
I have found the ppt you mentioned in the forum before.But I did not find those two pathes in my code:
Binary: device/fsl-codec/lib/
Source: external/fsl_imx_omx/
Maybe the path is different on Android 13?
I got the Android 13 code as the README saied:
imx-manifest/README at imx-android-13 · nxp-imx/imx-manifest · GitHub
$: tar xvf imx-android-13.0.0_1.0.0.tar.gz |
$: source ./imx-android-13.0.0_1.0.0/imx_android_setup.sh |
Thanks & Regards,
xiayanfire