Public Types | |
enum | Type |
Public Member Functions | |
AP4_Track (Type type, AP4_SampleTable *sample_table, AP4_UI32 track_id, AP4_UI32 movie_time_scale, AP4_UI32 media_time_scale, AP4_UI32 media_duration, const char *language, AP4_UI32 width, AP4_UI32 height) | |
AP4_Track (AP4_TrakAtom &atom, AP4_ByteStream &sample_stream, AP4_UI32 movie_time_scale) | |
virtual | ~AP4_Track () |
AP4_Track::Type | GetType () |
AP4_UI32 | GetDuration () |
AP4_Duration | GetDurationMs () |
AP4_Cardinal | GetSampleCount () |
AP4_Result | GetSample (AP4_Ordinal index, AP4_Sample &sample) |
AP4_Result | ReadSample (AP4_Ordinal index, AP4_Sample &sample, AP4_DataBuffer &data) |
AP4_Result | GetSampleIndexForTimeStampMs (AP4_TimeStamp ts, AP4_Ordinal &index) |
AP4_SampleDescription * | GetSampleDescription (AP4_Ordinal index) |
AP4_UI32 | GetId () |
AP4_Result | SetId (AP4_UI32 track_id) |
AP4_TrakAtom * | GetTrakAtom () |
AP4_Result | SetMovieTimeScale (AP4_UI32 time_scale) |
AP4_UI32 | GetMediaTimeScale () |
AP4_String | GetTrackName () |
AP4_String | GetTrackLanguage () |
Protected Attributes | |
AP4_TrakAtom * | m_TrakAtom |
bool | m_TrakAtomIsOwned |
Type | m_Type |
AP4_SampleTable * | m_SampleTable |
bool | m_SampleTableIsOwned |
AP4_UI32 | m_MovieTimeScale |
AP4_UI32 | m_MediaTimeScale |
Definition at line 58 of file Ap4Track.h.