Component Registration

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

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