|
OpenMAXBellagio 0.9.3
|
00001 00026 #ifndef __ST_STATIC_COMPONENT_LOADER_H__ 00027 #define __ST_STATIC_COMPONENT_LOADER_H__ 00028 00029 #include "omxcore.h" 00030 #include "extension_struct.h" 00031 00039 typedef struct steLoaderComponentType{ 00040 OMX_VERSIONTYPE componentVersion; 00041 char* name; 00042 unsigned int name_specific_length; 00043 char** name_specific; 00044 char** role_specific; 00045 char* name_requested; 00046 OMX_ERRORTYPE (*constructor)(OMX_COMPONENTTYPE*,OMX_STRING cComponentName); 00047 OMX_U32 nqualitylevels; 00048 multiResourceDescriptor** multiResourceLevel; 00049 } steLoaderComponentType; 00050 00053 void st_static_setup_component_loader(BOSA_COMPONENTLOADER * st_static_loader); 00054 00062 OMX_ERRORTYPE BOSA_STE_InitComponentLoader(BOSA_COMPONENTLOADER *loader); 00063 00068 OMX_ERRORTYPE BOSA_STE_DeInitComponentLoader(BOSA_COMPONENTLOADER *loader); 00069 00077 OMX_ERRORTYPE BOSA_STE_CreateComponent( 00078 BOSA_COMPONENTLOADER *loader, 00079 OMX_HANDLETYPE* pHandle, 00080 OMX_STRING cComponentName, 00081 OMX_PTR pAppData, 00082 OMX_CALLBACKTYPE* pCallBacks); 00083 00087 OMX_ERRORTYPE BOSA_STE_DestroyComponent( 00088 BOSA_COMPONENTLOADER *loader, 00089 OMX_HANDLETYPE hComponent); 00090 00096 OMX_ERRORTYPE BOSA_STE_ComponentNameEnum( 00097 BOSA_COMPONENTLOADER *loader, 00098 OMX_STRING cComponentName, 00099 OMX_U32 nNameLength, 00100 OMX_U32 nIndex); 00101 00108 OMX_ERRORTYPE BOSA_STE_GetRolesOfComponent( 00109 BOSA_COMPONENTLOADER *loader, 00110 OMX_STRING compName, 00111 OMX_U32 *pNumRoles, 00112 OMX_U8 **roles); 00113 00120 OMX_ERRORTYPE BOSA_STE_GetComponentsOfRole ( 00121 BOSA_COMPONENTLOADER *loader, 00122 OMX_STRING role, 00123 OMX_U32 *pNumComps, 00124 OMX_U8 **compNames); 00125 00126 #endif