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);