Hi Anupama,

I look the code and unfortunately no. It seems the file /external/
opencore/codecs_v2/omx/omx_core_plugins/template/src/
pv_omx_interface.cpp is only an exemple, it is not build on G1. I
think the place where OMX componnent library are registred is external/
opencore/codecs_v2/omx/omx_mastercore/src/pv_omxmastercore.cpp

This code look inside all *.cfg file in /system/etc/ if a shared
library have OMX_INTERFACE_ID. If yes it register the interface inside
opencore player. The interface should have the same structure that
external/opencore/codecs_v2/omx/omx_core_plugins/template/src/
pv_omx_interface.cpp (exemple) or external/opencore/codecs_v2/omx/
omx_sharedlibrary/interface/src/pv_omx_interface.cpp (PV OMX
software).

I didn't do this job but I should do
1)create an interface like pv_omx_interface.cpp for my new OMX
componnent and create libmy_omx.so. This is equivalent to /vendor/qcom/
android-open/pvomx/proprietary/libqcomm_omx.so on G1

2)create a config file with OMX_INTERFACE_ID like my_omx.cfg. It
should contain

(0xa054369c,0x22c5,0x412e,0x19,0x17,0x87,0x4c,0x1a,
0x19,0xd4,0x5f),"libmy_omx.so"

3)put everything in your filesystem and wait crash ;)

report here if you success.

Jean-François

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to