OpenMAX Bellagio 0.9.3
|
#include <OMX_Other.h>
Data Fields | |
OMX_U32 | nSize |
OMX_VERSIONTYPE | nVersion |
OMX_U32 | nPortIndex |
OMX_PTR | pClientPrivate |
OMX_TICKS | nMediaTimestamp |
OMX_TICKS | nOffset |
Structure representing a media time request to the clock component.
A client component sends this structure to the Clock Component via a SetConfig on its client port to specify a media timestamp the Clock Component should emit. The Clock Component should fulfill the request by sending a OMX_TIME_MEDIATIMETYPE when its media clock matches the requested timestamp.
The client may require a media time request be fulfilled slightly earlier than the media time specified. In this case the client specifies an offset which is equal to the difference between wall time corresponding to the requested media time and the wall time when it will be fulfilled.
A client component may uses these requests and the OMX_TIME_MEDIATIMETYPE to time events according to timestamps. If a client must perform an operation O at a time T (e.g. deliver a video frame at its corresponding timestamp), it makes a media time request at T (perhaps specifying an offset to ensure the request fulfillment is a little early). When the clock component passes the resulting OMX_TIME_MEDIATIMETYPE structure back to the client component, the client may perform operation O (perhaps having to wait a slight amount more time itself as specified by the return values).
Definition at line 175 of file OMX_Other.h.
OMX_TICKS OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nMediaTimestamp |
Media timestamp requested.
Definition at line 184 of file OMX_Other.h.
Referenced by omx_clocksrc_component_SetConfig(), and omx_video_scheduler_component_ClockPortHandleFunction().
OMX_TICKS OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nOffset |
Amount of wall clock time by which this request should be fulfilled early
Definition at line 185 of file OMX_Other.h.
Referenced by base_clock_port_Constructor(), omx_clocksrc_component_SetConfig(), and omx_video_scheduler_component_ClockPortHandleFunction().
OMX_U32 OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nPortIndex |
port that this structure applies to
Definition at line 178 of file OMX_Other.h.
Referenced by base_clock_port_Constructor(), omx_clocksrc_component_SetConfig(), and omx_video_scheduler_component_ClockPortHandleFunction().
OMX_U32 OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nSize |
size of the structure in bytes
Definition at line 176 of file OMX_Other.h.
OMX_VERSIONTYPE OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nVersion |
OMX specification version information
Definition at line 177 of file OMX_Other.h.
OMX_PTR OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::pClientPrivate |
Client private data to disabiguate this media time from others (e.g. the number of the frame to deliver). Duplicated in the media time structure that fulfills this request. A value of zero is reserved for time scale updates.
Definition at line 179 of file OMX_Other.h.
Referenced by base_clock_port_Constructor(), and omx_video_scheduler_component_ClockPortHandleFunction().