struct OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE |
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).
Public Attributes | |
---|---|
OMX_TICKS | nMediaTimestamp |
OMX_TICKS | nOffset |
OMX_U32 | nPortIndex |
OMX_U32 | nSize |
OMX_VERSIONTYPE | nVersion |
OMX_PTR | pClientPrivate |
OMX_TICKS | nOffset |
Amount of wall clock time by which this request should be fulfilled early
OMX_PTR | 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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.