What am I supposed to guide you on? I did not find a question in your post.
-Ravi On Oct 23, 2:30 am, guru <guru.nav...@gmail.com> wrote: > Hi RaviY, > > I went through the document that you refered. Here is my > understanding: > > 1. Initially we need to have shared library (OMX core + OMX core > wrapper + configuration parser API). > 2. we have to record OMX core library in the configuration file in > pvplayer.cfg ( or other file with .cfg extention). Then > pv_omxmastercore loads all omx cores registered in .cfg files while > OMX_Init() is invoked. This pv_omxmastermore is wrapper layer which > helps in loading all cores and their compoents. > when i googled, i got some points about integration: > 3. steps to integrate opencore codec > In general, the steps to add a new OMX codec would be: > (i) Add the required format, if not present, in pvmi/pvmf/include/ > pvmf_format_type.h. > (ii) Add the mime type in the capability of PVMFOMXAudioDecNode()or > PVMFOMXVideoDecNode() [see the constructor]. > > if you are going to use the OpenCORE OMX-core ... > (iii) Register the component in the omx registry - codecs_v2/omx/ > omx_common/src/pv_omxregistry.cpp. ---> [in this for each decoder he > has one function ( example : AacRegister). Whether we have to write > our own?] > or if you are going to provide your own OMX-core ... > (iii) Have your OMX-core register this new component. ---> [How to > achieve this one?] > (iv) Have your OMX-core dynamically loadable. ---> [steps is > provided in the OMX core integration Guide] > > apart from these steps whether I have follow any other steps. I read > about parser node and file parser. one author told me that we can use > these and no need to write again. > > Please guide me or give some reference to follow. > > Regards > Gururaja > > On Oct 22, 4:46 pm, RaviY <yend...@pv.com> wrote: > > >http://android.git.kernel.org/?p=platform/external/opencore.git;a=blo... > > > On Oct 22, 5:49 am, guru <guru.nav...@gmail.com> wrote: > > > > HI All, > > > > I am trying to integrate decoder to OpenCORE. Below is my > > > understanding after going through code base: > > > > OMX_Init() is called by player driver (Playerdriver.cpp) > > > > pv_omxmastercore.cpp --> OMX_Init()-->_OMX_Init() > > > | > > > pv_omxcore.cpp ---> OMX_Init > > > () _OMX_Init()--> AacRegister(); > > > > pv_omxregistry.cpp AacRegister() --> ComponentRegister() > > > > from this what I observed is , in order to register our component we > > > have to write our own function and call ComponentRegister! > > > > Please let me know is that my understanding is correct. I will be a > > > great help. > > > > Thanks > > > Gururaja B O- Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---