Go to the documentation of this file.
27 #ifndef _OMX_CLOCKSRC_COMPONENT_H_
28 #define _OMX_CLOCKSRC_COMPONENT_H_
38 #define CLOCK_COMP_NAME "OMX.st.clocksrc"
39 #define CLOCK_COMP_ROLE "clocksrc"
40 #define MAX_CLOCK_COMPONENTS 20
43 #define MAX_CLOCK_PORTS 8
59 #define omx_clocksrc_component_PrivateType_FIELDS omx_base_source_PrivateType_FIELDS \
60 OMX_TIME_CONFIG_CLOCKSTATETYPE sClockState; \
61 OMX_TIME_CONFIG_ACTIVEREFCLOCKTYPE sRefClock; \
62 tsem_t* startTimeSem; \
63 tsem_t* clockEventSem; \
64 tsem_t* clockEventCompleteSem; \
65 OMX_TICKS WallTimeBase; \
66 OMX_TICKS MediaTimeBase; \
67 OMX_TIME_UPDATETYPE eUpdateType; \
68 OMX_TIME_CONFIG_TIMESTAMPTYPE sMinStartTime; \
69 OMX_TIME_CONFIG_SCALETYPE sConfigScale;
70 ENDCLASS(omx_clocksrc_component_PrivateType)
83 OMX_PTR ComponentParameterStructure);
88 OMX_PTR ComponentParameterStructure);
93 OMX_PTR pComponentConfigStructure);
98 OMX_PTR pComponentConfigStructure);
OMX_ERRORTYPE omx_clocksrc_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_clocksrc_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_ERRORTYPE omx_clocksrc_component_GetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
void omx_clocksrc_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer)
OMX_ERRORTYPE omx_clocksrc_component_SetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
void * omx_clocksrc_BufferMgmtFunction(void *param)
OMX_ERRORTYPE omx_clocksrc_component_GetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE clocksrc_port_FlushProcessingBuffers(omx_base_PortType *openmaxStandPort)
Releases buffers under processing. This function must be implemented in the derived classes,...
OMX_ERRORTYPE omx_clocksrc_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
#define DERIVEDCLASS(a, b)
OMX_ERRORTYPE omx_clocksrc_component_SendCommand(OMX_HANDLETYPE hComponent, OMX_COMMANDTYPE Cmd, OMX_U32 nParam, OMX_PTR pCmdData)
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1