mw::mo::moflex::TimelineEntry Structure

Syntax


struct TimelineEntry
{
    u32 m_FrameNumber;
    u32 m_Padding;
    s64 m_FrameTimeStamp;
    s64 m_FrameSyncroBlockOffset;
};

Structure Fields

Names Description
m_FrameNumber The frame number of the keyframe that the timeline entry indexes.
m_Padding Padding, used to have 64bits alignment of the following data.
m_FrameTimeStamp The timestamp (in microseconds) of the keyframe that the timeline entry indexes.
m_FrameSyncroBlockOffset The position from the beginning of the Moflex content of the Moflex synchro block used by the indexed keyframe.

Description

Structure that is used to store information on how to seek to an indexed keyframe in a Moflex content.

The stages to perform seeking are as follows:

- Seek to 'm_FrameSyncroBlockOffset' position in Moflex content by using mw::mo::moflex::Demuxer::SetContentPosition method.

- Retrieve frames of the indexed stream using mw::mo::moflex::Demuxer::GetStreamFrameData method until its timestamp is equal to 'm_FrameTimeStamp' and its frame type is mw::mo::moflex::FRAME_TYPE_IFRAME.

Revision History

2010/07/15
Initial version.