OpenMAXBellagio 0.9.3
omx_base_filter.h
Go to the documentation of this file.
00001 
00029 #ifndef __OMX_BASE_FILTER_H__
00030 #define __OMX_BASE_FILTER_H__
00031 
00032 #include <OMX_Types.h>
00033 #include <OMX_Component.h>
00034 #include <OMX_Core.h>
00035 #include "omx_base_component.h"
00036 
00039 #define OMX_BASE_FILTER_INPUTPORT_INDEX 0
00040 
00043 #define OMX_BASE_FILTER_OUTPUTPORT_INDEX 1
00044 
00047 #define OMX_BASE_FILTER_ALLPORT_INDEX -1
00048 
00051 DERIVEDCLASS(omx_base_filter_PrivateType, omx_base_component_PrivateType)
00052 #define omx_base_filter_PrivateType_FIELDS omx_base_component_PrivateType_FIELDS \
00053  \
00054   OMX_BUFFERHEADERTYPE* pPendingOutputBuffer; \
00055  \
00056   void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* inputbuffer, OMX_BUFFERHEADERTYPE* outputbuffer);
00057 ENDCLASS(omx_base_filter_PrivateType)
00058 
00059 
00067 OSCL_IMPORT_REF OMX_ERRORTYPE omx_base_filter_Constructor(OMX_COMPONENTTYPE *openmaxStandComp,OMX_STRING cComponentName);
00068 
00073 OSCL_IMPORT_REF OMX_ERRORTYPE omx_base_filter_Destructor(OMX_COMPONENTTYPE *openmaxStandComp);
00074 
00080 void* omx_base_filter_BufferMgmtFunction(void* param);
00081 
00082 #endif