00001 00030 #include "omx_classmagic.h" 00031 #include "omx_base_port.h" 00032 00033 #ifndef __OMX_BASE_CLOCK_PORT_H__ 00034 #define __OMX_BASE_CLOCK_PORT_H__ 00035 00046 DERIVEDCLASS(omx_base_clock_PortType, omx_base_PortType) 00047 #define omx_base_clock_PortType_FIELDS omx_base_PortType_FIELDS \ 00048 OMX_TIME_CONFIG_TIMESTAMPTYPE sTimeStamp; \ 00049 OMX_TIME_MEDIATIMETYPE sMediaTime; \ 00050 OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE sMediaTimeRequest; \ 00051 OMX_OTHER_PARAM_PORTFORMATTYPE sOtherParam; 00052 ENDCLASS(omx_base_clock_PortType) 00053 00070 OMX_ERRORTYPE base_clock_port_Constructor( 00071 OMX_COMPONENTTYPE *openmaxStandComp, 00072 omx_base_PortType **openmaxStandPort, 00073 OMX_U32 nPortIndex, 00074 OMX_BOOL isInput); 00075 00088 OMX_ERRORTYPE base_clock_port_Destructor( 00089 omx_base_PortType *openmaxStandPort); 00090 00091 OMX_ERRORTYPE base_clock_port_SendBufferFunction( 00092 omx_base_PortType *openmaxStandPort, 00093 OMX_BUFFERHEADERTYPE* pBuffer); 00094 00095 #endif