libgpac
Documentation of the core library of GPAC
track.c File Reference
+ Include dependency graph for track.c:

Functions

GF_TrackBoxGetTrackbyID (GF_MovieBox *moov, GF_ISOTrackID TrackID)
 
GF_TrackBoxgf_isom_get_track (GF_MovieBox *moov, u32 trackNumber)
 
u32 gf_isom_get_tracknum_from_id (GF_MovieBox *moov, GF_ISOTrackID trackID)
 
GF_Err GetESD (GF_MovieBox *moov, GF_ISOTrackID trackID, u32 StreamDescIndex, GF_ESD **outESD)
 
GF_Err GetESDForTime (GF_MovieBox *moov, GF_ISOTrackID trackID, u64 CTS, GF_ESD **outESD)
 
GF_Err Track_FindRef (GF_TrackBox *trak, u32 ReferenceType, GF_TrackReferenceTypeBox **dpnd)
 
Bool Track_IsMPEG4Stream (u32 HandlerType)
 
GF_Err SetTrackDurationEx (GF_TrackBox *trak, Bool keep_utc)
 
GF_Err SetTrackDuration (GF_TrackBox *trak)
 
static u32 saio_get_index (GF_TrackFragmentBox *traf, u32 sample_idx)
 
GF_Err MergeTrack (GF_TrackBox *trak, GF_TrackFragmentBox *traf, GF_MovieFragmentBox *moof_box, u64 moof_offset, s32 compressed_diff, u64 *cumulated_offset)
 
u8 RequestTrack (GF_MovieBox *moov, GF_ISOTrackID TrackID)
 
GF_Err Track_RemoveRef (GF_TrackBox *trak, u32 ReferenceType)
 
GF_Err NewMedia (GF_MediaBox **mdia, u32 MediaType, u32 TimeScale)
 
GF_Err Track_SetStreamDescriptor (GF_TrackBox *trak, u32 StreamDescriptionIndex, u32 DataReferenceIndex, GF_ESD *esd, u32 *outStreamIndex)
 

Function Documentation

◆ GetTrackbyID()

GF_TrackBox* GetTrackbyID ( GF_MovieBox moov,
GF_ISOTrackID  TrackID 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_track()

GF_TrackBox* gf_isom_get_track ( GF_MovieBox moov,
u32  trackNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_tracknum_from_id()

u32 gf_isom_get_tracknum_from_id ( GF_MovieBox moov,
GF_ISOTrackID  trackID 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetESD()

GF_Err GetESD ( GF_MovieBox moov,
GF_ISOTrackID  trackID,
u32  StreamDescIndex,
GF_ESD **  outESD 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetESDForTime()

GF_Err GetESDForTime ( GF_MovieBox moov,
GF_ISOTrackID  trackID,
u64  CTS,
GF_ESD **  outESD 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Track_FindRef()

GF_Err Track_FindRef ( GF_TrackBox trak,
u32  ReferenceType,
GF_TrackReferenceTypeBox **  dpnd 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Track_IsMPEG4Stream()

Bool Track_IsMPEG4Stream ( u32  HandlerType)
+ Here is the caller graph for this function:

◆ SetTrackDurationEx()

GF_Err SetTrackDurationEx ( GF_TrackBox trak,
Bool  keep_utc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTrackDuration()

GF_Err SetTrackDuration ( GF_TrackBox trak)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saio_get_index()

static u32 saio_get_index ( GF_TrackFragmentBox traf,
u32  sample_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MergeTrack()

GF_Err MergeTrack ( GF_TrackBox trak,
GF_TrackFragmentBox traf,
GF_MovieFragmentBox moof_box,
u64  moof_offset,
s32  compressed_diff,
u64 cumulated_offset 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RequestTrack()

u8 RequestTrack ( GF_MovieBox moov,
GF_ISOTrackID  TrackID 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Track_RemoveRef()

GF_Err Track_RemoveRef ( GF_TrackBox trak,
u32  ReferenceType 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NewMedia()

GF_Err NewMedia ( GF_MediaBox **  mdia,
u32  MediaType,
u32  TimeScale 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Track_SetStreamDescriptor()

GF_Err Track_SetStreamDescriptor ( GF_TrackBox trak,
u32  StreamDescriptionIndex,
u32  DataReferenceIndex,
GF_ESD esd,
u32 outStreamIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: