|
OpenMAXBellagio 0.9.3
|
00001 00027 #ifndef __COMPONENT_LOADER_H__ 00028 #define __COMPONENT_LOADER_H__ 00029 00030 #include <OMX_Core.h> 00031 00038 typedef struct BOSA_COMPONENTLOADER 00039 { 00050 OMX_ERRORTYPE (*BOSA_InitComponentLoader)(struct BOSA_COMPONENTLOADER *loader); 00051 00062 OMX_ERRORTYPE (*BOSA_DeInitComponentLoader)(struct BOSA_COMPONENTLOADER *loader); 00063 00084 OMX_ERRORTYPE (*BOSA_CreateComponent)( 00085 struct BOSA_COMPONENTLOADER *loader, 00086 OMX_HANDLETYPE* pHandle, 00087 OMX_STRING cComponentName, 00088 OMX_PTR pAppData, 00089 OMX_CALLBACKTYPE* pCallBacks); 00090 00111 OMX_ERRORTYPE (*BOSA_DestroyComponent)( 00112 struct BOSA_COMPONENTLOADER *loader, 00113 OMX_HANDLETYPE hComponent); 00114 00141 OMX_ERRORTYPE (*BOSA_ComponentNameEnum)( 00142 struct BOSA_COMPONENTLOADER *loader, 00143 OMX_STRING cComponentName, 00144 OMX_U32 nNameLength, 00145 OMX_U32 nIndex); 00146 00173 OMX_ERRORTYPE (*BOSA_GetRolesOfComponent)( 00174 struct BOSA_COMPONENTLOADER *loader, 00175 OMX_STRING compName, 00176 OMX_U32 *pNumRoles, 00177 OMX_U8 **roles); 00178 00208 OMX_ERRORTYPE (*BOSA_GetComponentsOfRole) ( 00209 struct BOSA_COMPONENTLOADER *loader, 00210 OMX_STRING role, 00211 OMX_U32 *pNumComps, 00212 OMX_U8 **compNames); 00213 00219 void *loaderPrivate; 00220 00221 } BOSA_COMPONENTLOADER; 00222 00223 #endif