opencore:
omx_sharedlibrary文件将core中的API和MasterCore中的API链接起来
PVOMXInterface()
{
// set the pointers to the omx core methods
pOMX_Init = OMX_Init;
pOMX_Deinit = OMX_Deinit;
pOMX_ComponentNameEnum = OMX_ComponentNameEnum;
pOMX_GetHandle = OMX_GetHandle;
pOMX_FreeHandle = OMX_FreeHandle;
pOMX_GetComponentsOfRole = OMX_GetComponentsOfRole;
pOMX_GetRolesOfComponent = OMX_GetRolesOfComponent;
pOMX_SetupTunnel = OMX_SetupTunnel;
pOMX_GetContentPipe = OMX_GetContentPipe;
pOMXConfigParser = OMXConfigParser;
};
类型:
class OMXGlobalData,类似于mastercore中的OMXMasterCoreGlobalData
{
……………
uint32 iInstanceCount;
OMX_U32 iNumBaseInstance;