GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
stbl_write.c File Reference
+ Include dependency graph for stbl_write.c:

Macros

#define ALLOC_INC(a)   a = ((a<10) ? 100 : (a*3)/2);
 

Functions

GF_Err stbl_AddDTS (GF_SampleTableBox *stbl, u64 DTS, u32 *sampleNumber, u32 LastAUDefDuration)
 
GF_Err AddCompositionOffset (GF_CompositionOffsetBox *ctts, u32 offset)
 
GF_Err stbl_AddCTS (GF_SampleTableBox *stbl, u32 sampleNumber, u32 CTSoffset)
 
GF_Err stbl_repackCTS (GF_CompositionOffsetBox *ctts)
 
GF_Err stbl_unpackCTS (GF_SampleTableBox *stbl)
 
GF_Err stbl_AddSize (GF_SampleSizeBox *stsz, u32 sampleNumber, u32 size)
 
GF_Err stbl_AddRAP (GF_SyncSampleBox *stss, u32 sampleNumber)
 
GF_Err stbl_AddRedundant (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_AddShadow (GF_ShadowSyncBox *stsh, u32 sampleNumber, u32 shadowNumber)
 
GF_Err stbl_AddChunkOffset (GF_MediaBox *mdia, u32 sampleNumber, u32 StreamDescIndex, u64 offset)
 
GF_Err stbl_SetChunkOffset (GF_MediaBox *mdia, u32 sampleNumber, u64 offset)
 
GF_Err stbl_SetSampleCTS (GF_SampleTableBox *stbl, u32 sampleNumber, u32 offset)
 
GF_Err stbl_SetSampleSize (GF_SampleSizeBox *stsz, u32 SampleNumber, u32 size)
 
GF_Err stbl_SetSampleRAP (GF_SyncSampleBox *stss, u32 SampleNumber, u8 isRAP)
 
GF_Err stbl_SetRedundant (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_SetSyncShadow (GF_ShadowSyncBox *stsh, u32 sampleNumber, u32 syncSample)
 
GF_Err stbl_RemoveDTS (GF_SampleTableBox *stbl, u32 sampleNumber, u32 LastAUDefDuration)
 
GF_Err stbl_RemoveCTS (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_RemoveSize (GF_SampleSizeBox *stsz, u32 sampleNumber)
 
GF_Err stbl_RemoveChunk (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_RemoveRAP (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_RemoveRedundant (GF_SampleTableBox *stbl, u32 SampleNumber)
 
GF_Err stbl_RemoveShadow (GF_ShadowSyncBox *stsh, u32 sampleNumber)
 
GF_Err stbl_SetPaddingBits (GF_SampleTableBox *stbl, u32 SampleNumber, u8 bits)
 
GF_Err stbl_RemovePaddingBits (GF_SampleTableBox *stbl, u32 SampleNumber)
 
GF_Err stbl_AddSampleFragment (GF_SampleTableBox *stbl, u32 sampleNumber, u16 size)
 
GF_Err stbl_RemoveSampleFragments (GF_SampleTableBox *stbl, u32 sampleNumber)
 
GF_Err stbl_SampleSizeAppend (GF_SampleSizeBox *stsz, u32 data_size)
 
void stbl_AppendTime (GF_SampleTableBox *stbl, u32 duration)
 
void stbl_AppendSize (GF_SampleTableBox *stbl, u32 size)
 
void stbl_AppendChunk (GF_SampleTableBox *stbl, u64 offset)
 
void stbl_AppendSampleToChunk (GF_SampleTableBox *stbl, u32 DescIndex, u32 samplesInChunk)
 
void stbl_AppendRAP (GF_SampleTableBox *stbl, u8 isRap)
 
void stbl_AppendPadding (GF_SampleTableBox *stbl, u8 padding)
 
void stbl_AppendCTSOffset (GF_SampleTableBox *stbl, u32 CTSOffset)
 
void stbl_AppendDegradation (GF_SampleTableBox *stbl, u16 DegradationPriority)
 
void stbl_AppendDepType (GF_SampleTableBox *stbl, u32 DepType)
 
GF_Err stbl_UnpackOffsets (GF_SampleTableBox *stbl)
 
static GF_Err stbl_AddOffset (GF_Box **a, u64 offset)
 
GF_Err stbl_SetChunkAndOffset (GF_SampleTableBox *stbl, u32 sampleNumber, u32 StreamDescIndex, GF_SampleToChunkBox *the_stsc, GF_Box **the_stco, u64 data_offset, u8 forceNewChunk)
 
GF_Err gf_isom_refresh_size_info (GF_ISOFile *file, u32 trackNumber)
 

Macro Definition Documentation

#define ALLOC_INC (   a)    a = ((a<10) ? 100 : (a*3)/2);

Function Documentation

GF_Err stbl_AddDTS ( GF_SampleTableBox stbl,
u64  DTS,
u32 sampleNumber,
u32  LastAUDefDuration 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err AddCompositionOffset ( GF_CompositionOffsetBox ctts,
u32  offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddCTS ( GF_SampleTableBox stbl,
u32  sampleNumber,
u32  CTSoffset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_repackCTS ( GF_CompositionOffsetBox ctts)

+ Here is the caller graph for this function:

GF_Err stbl_unpackCTS ( GF_SampleTableBox stbl)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddSize ( GF_SampleSizeBox stsz,
u32  sampleNumber,
u32  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddRAP ( GF_SyncSampleBox stss,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddRedundant ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddShadow ( GF_ShadowSyncBox stsh,
u32  sampleNumber,
u32  shadowNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddChunkOffset ( GF_MediaBox mdia,
u32  sampleNumber,
u32  StreamDescIndex,
u64  offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetChunkOffset ( GF_MediaBox mdia,
u32  sampleNumber,
u64  offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetSampleCTS ( GF_SampleTableBox stbl,
u32  sampleNumber,
u32  offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetSampleSize ( GF_SampleSizeBox stsz,
u32  SampleNumber,
u32  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetSampleRAP ( GF_SyncSampleBox stss,
u32  SampleNumber,
u8  isRAP 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetRedundant ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetSyncShadow ( GF_ShadowSyncBox stsh,
u32  sampleNumber,
u32  syncSample 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveDTS ( GF_SampleTableBox stbl,
u32  sampleNumber,
u32  LastAUDefDuration 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveCTS ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveSize ( GF_SampleSizeBox stsz,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveChunk ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveRAP ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveRedundant ( GF_SampleTableBox stbl,
u32  SampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveShadow ( GF_ShadowSyncBox stsh,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetPaddingBits ( GF_SampleTableBox stbl,
u32  SampleNumber,
u8  bits 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemovePaddingBits ( GF_SampleTableBox stbl,
u32  SampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_AddSampleFragment ( GF_SampleTableBox stbl,
u32  sampleNumber,
u16  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_RemoveSampleFragments ( GF_SampleTableBox stbl,
u32  sampleNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SampleSizeAppend ( GF_SampleSizeBox stsz,
u32  data_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendTime ( GF_SampleTableBox stbl,
u32  duration 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendSize ( GF_SampleTableBox stbl,
u32  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendChunk ( GF_SampleTableBox stbl,
u64  offset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendSampleToChunk ( GF_SampleTableBox stbl,
u32  DescIndex,
u32  samplesInChunk 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendRAP ( GF_SampleTableBox stbl,
u8  isRap 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendPadding ( GF_SampleTableBox stbl,
u8  padding 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendCTSOffset ( GF_SampleTableBox stbl,
u32  CTSOffset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendDegradation ( GF_SampleTableBox stbl,
u16  DegradationPriority 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stbl_AppendDepType ( GF_SampleTableBox stbl,
u32  DepType 
)

+ Here is the call graph for this function:

GF_Err stbl_UnpackOffsets ( GF_SampleTableBox stbl)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err stbl_AddOffset ( GF_Box **  a,
u64  offset 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err stbl_SetChunkAndOffset ( GF_SampleTableBox stbl,
u32  sampleNumber,
u32  StreamDescIndex,
GF_SampleToChunkBox the_stsc,
GF_Box **  the_stco,
u64  data_offset,
u8  forceNewChunk 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_refresh_size_info ( GF_ISOFile *  file,
u32  trackNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: