|
OpenMAXBellagio 0.9.3
|
00001 00028 #ifndef _OMX_BASE_SOURCE_COMPONENT_H_ 00029 #define _OMX_BASE_SOURCE_COMPONENT_H_ 00030 00031 #include <OMX_Types.h> 00032 #include <OMX_Component.h> 00033 #include <OMX_Core.h> 00034 #include "omx_base_component.h" 00035 00038 #define OMX_BASE_SOURCE_OUTPUTPORT_INDEX 0 00039 00042 #define OMX_BASE_SOURCE_OUTPUTPORT_INDEX_1 1 00043 00046 #define OMX_BASE_SOURCE_ALLPORT_INDEX -1 00047 00050 DERIVEDCLASS(omx_base_source_PrivateType, omx_base_component_PrivateType) 00051 #define omx_base_source_PrivateType_FIELDS omx_base_component_PrivateType_FIELDS \ 00052 \ 00053 void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* outputbuffer); 00054 ENDCLASS(omx_base_source_PrivateType) 00055 00056 00058 OMX_ERRORTYPE omx_base_source_Constructor(OMX_COMPONENTTYPE *openmaxStandComp,OMX_STRING cComponentName); 00059 00062 OMX_ERRORTYPE omx_base_source_Destructor(OMX_COMPONENTTYPE *openmaxStandComp); 00063 00069 void* omx_base_source_BufferMgmtFunction(void* param); 00070 00077 void* omx_base_source_twoport_BufferMgmtFunction (void* param); 00078 00079 #endif 00080