PDA

View Full Version : Component Registration



nikhil
08-13-2008, 10:53 PM
My doubt is about the registration of components.Can someone please tell me if it is the OMX_Init( ) function that registers the components (static or dynamic) or is it that the OMX_Init( ) function just intialises the registerd components.If it is so who is responsible for populating the OMX_ComponentRegistered[ ] array in case of static linking of components.

Thanks

rnixon
08-14-2008, 08:25 AM
My doubt is about the registration of components.Can someone please tell me if it is the OMX_Init( ) function that registers the components (static or dynamic) or is it that the OMX_Init( ) function just intialises the registerd components.If it is so who is responsible for populating the OMX_ComponentRegistered[ ] array in case of static linking of components.
For statically registered components, the array is populated at compile time.

It is undefined when dynamically linked components are discovered. All that is required is that they are visible through the relevant core calls.

Thanks,

Roger