omx_base_sink.h

Go to the documentation of this file.
00001 
00032 #ifndef _OMX_BASE_SINK_COMPONENT_H_
00033 #define _OMX_BASE_SINK_COMPONENT_H_
00034 
00035 #include <OMX_Types.h>
00036 #include <OMX_Component.h>
00037 #include <OMX_Core.h>
00038 #include <pthread.h>
00039 #include <omx_base_component.h>
00040 #include <stdlib.h>
00041 
00042 
00043 #define OMX_BASE_SINK_INPUTPORT_INDEX   0     /* The index of the input port for the derived components */
00044 #define OMX_BASE_SINK_CLOCKPORT_INDEX   1     /* The index of the clock port for the dervied components */
00045 
00048 #define OMX_BASE_SINK_ALLPORT_INDEX -1
00049 
00052 DERIVEDCLASS(omx_base_sink_PrivateType, omx_base_component_PrivateType)
00053 #define omx_base_sink_PrivateType_FIELDS omx_base_component_PrivateType_FIELDS \
00054  \
00055   void (*BufferMgmtCallback)(OMX_COMPONENTTYPE* openmaxStandComp, OMX_BUFFERHEADERTYPE* inputbuffer);
00056 ENDCLASS(omx_base_sink_PrivateType)
00057 
00058 
00060 OMX_ERRORTYPE omx_base_sink_Constructor(OMX_COMPONENTTYPE *openmaxStandComp,OMX_STRING cComponentName);
00061 
00064 OMX_ERRORTYPE omx_base_sink_Destructor(OMX_COMPONENTTYPE *openmaxStandComp);
00065 
00071 void* omx_base_sink_BufferMgmtFunction(void* param);
00072 
00073 #endif

Generated for OpenMAX Bellagio rel. 0.9.0 by  doxygen 1.5.1
SourceForge.net Logo