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

Functions

GF_Err stbl_findEntryForTime (GF_SampleTableBox *stbl, u64 DTS, u8 useCTS, u32 *sampleNumber, u32 *prevSampleNumber)
 
GF_Err stbl_GetSampleSize (GF_SampleSizeBox *stsz, u32 SampleNumber, u32 *Size)
 
GF_Err stbl_GetSampleCTS (GF_CompositionOffsetBox *ctts, u32 SampleNumber, s32 *CTSoffset)
 
GF_Err stbl_GetSampleDTS_and_Duration (GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS, u32 *duration)
 
GF_Err stbl_GetSampleDTS (GF_TimeToSampleBox *stts, u32 SampleNumber, u64 *DTS)
 
GF_Err stbl_GetSampleRAP (GF_SyncSampleBox *stss, u32 SampleNumber, GF_ISOSAPType *IsRAP, u32 *prevRAP, u32 *nextRAP)
 
GF_Err stbl_SearchSAPs (GF_SampleTableBox *stbl, u32 SampleNumber, GF_ISOSAPType *IsRAP, u32 *prevRAP, u32 *nextRAP)
 
void GetGhostNum (GF_StscEntry *ent, u32 EntryIndex, u32 count, GF_SampleTableBox *stbl)
 
GF_Err stbl_GetSampleInfos (GF_SampleTableBox *stbl, u32 sampleNumber, u64 *offset, u32 *chunkNumber, u32 *descIndex, GF_StscEntry **out_ent)
 
GF_Err stbl_GetSampleShadow (GF_ShadowSyncBox *stsh, u32 *sampleNumber, u32 *syncNum)
 
GF_Err stbl_GetPaddingBits (GF_PaddingBitsBox *padb, u32 SampleNumber, u8 *PadBits)
 
GF_Err stbl_GetSampleDepType (GF_SampleDependencyTypeBox *sdep, u32 SampleNumber, u32 *isLeading, u32 *dependsOn, u32 *dependedOn, u32 *redundant)
 

Function Documentation

◆ stbl_findEntryForTime()

GF_Err stbl_findEntryForTime ( GF_SampleTableBox stbl,
u64  DTS,
u8  useCTS,
u32 sampleNumber,
u32 prevSampleNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stbl_GetSampleSize()

GF_Err stbl_GetSampleSize ( GF_SampleSizeBox stsz,
u32  SampleNumber,
u32 Size 
)
+ Here is the caller graph for this function:

◆ stbl_GetSampleCTS()

GF_Err stbl_GetSampleCTS ( GF_CompositionOffsetBox ctts,
u32  SampleNumber,
s32 CTSoffset 
)
+ Here is the caller graph for this function:

◆ stbl_GetSampleDTS_and_Duration()

GF_Err stbl_GetSampleDTS_and_Duration ( GF_TimeToSampleBox stts,
u32  SampleNumber,
u64 DTS,
u32 duration 
)
+ Here is the caller graph for this function:

◆ stbl_GetSampleDTS()

GF_Err stbl_GetSampleDTS ( GF_TimeToSampleBox stts,
u32  SampleNumber,
u64 DTS 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stbl_GetSampleRAP()

GF_Err stbl_GetSampleRAP ( GF_SyncSampleBox stss,
u32  SampleNumber,
GF_ISOSAPType IsRAP,
u32 prevRAP,
u32 nextRAP 
)
+ Here is the caller graph for this function:

◆ stbl_SearchSAPs()

GF_Err stbl_SearchSAPs ( GF_SampleTableBox stbl,
u32  SampleNumber,
GF_ISOSAPType IsRAP,
u32 prevRAP,
u32 nextRAP 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGhostNum()

void GetGhostNum ( GF_StscEntry ent,
u32  EntryIndex,
u32  count,
GF_SampleTableBox stbl 
)
+ Here is the caller graph for this function:

◆ stbl_GetSampleInfos()

GF_Err stbl_GetSampleInfos ( GF_SampleTableBox stbl,
u32  sampleNumber,
u64 offset,
u32 chunkNumber,
u32 descIndex,
GF_StscEntry **  out_ent 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stbl_GetSampleShadow()

GF_Err stbl_GetSampleShadow ( GF_ShadowSyncBox stsh,
u32 sampleNumber,
u32 syncNum 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stbl_GetPaddingBits()

GF_Err stbl_GetPaddingBits ( GF_PaddingBitsBox padb,
u32  SampleNumber,
u8 PadBits 
)
+ Here is the caller graph for this function:

◆ stbl_GetSampleDepType()

GF_Err stbl_GetSampleDepType ( GF_SampleDependencyTypeBox sdep,
u32  SampleNumber,
u32 isLeading,
u32 dependsOn,
u32 dependedOn,
u32 redundant 
)
+ Here is the caller graph for this function: