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
isom_store.c File Reference
+ Include dependency graph for isom_store.c:

Data Structures

struct  TrackWriter
 
struct  MovieWriter
 

Macros

#define GPAC_ISOM_CPRT_NOTICE   "IsoMedia File Produced with GPAC "GPAC_FULL_VERSION
 

Functions

static GF_Err gf_isom_insert_copyright (GF_ISOFile *movie)
 
void CleanWriters (GF_List *writers)
 
void ResetWriters (GF_List *writers)
 
GF_Err SetupWriters (MovieWriter *mw, GF_List *writers, u8 interleaving)
 
static void ShiftMetaOffset (GF_MetaBox *meta, u64 offset)
 
static GF_Err ShiftOffset (GF_ISOFile *file, GF_List *writers, u64 offset)
 
static GF_Err WriteMoovAndMeta (GF_ISOFile *movie, GF_List *writers, GF_BitStream *bs)
 
u64 GetMoovAndMetaSize (GF_ISOFile *movie, GF_List *writers)
 
GF_Err WriteSample (MovieWriter *mw, u32 size, u64 offset, u8 isEdited, GF_BitStream *bs)
 
GF_Err DoWriteMeta (GF_ISOFile *file, GF_MetaBox *meta, GF_BitStream *bs, Bool Emulation, u64 baseOffset, u64 *mdatSize)
 
GF_Err DoWrite (MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset)
 
GF_Err WriteFlat (MovieWriter *mw, u8 moovFirst, GF_BitStream *bs)
 
GF_Err DoFullInterleave (MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset)
 
GF_Err DoInterleave (MovieWriter *mw, GF_List *writers, GF_BitStream *bs, u8 Emulation, u64 StartOffset, Bool drift_inter)
 
static GF_Err WriteInterleaved (MovieWriter *mw, GF_BitStream *bs, Bool drift_inter)
 
GF_Err WriteToFile (GF_ISOFile *movie)
 

Variables

u32 default_write_buffering_size
 

Data Structure Documentation

struct TrackWriter
+ Collaboration diagram for TrackWriter:
Data Fields
u32 sampleNumber
u32 timeScale
u32 chunkDur
u64 DTSprev
u8 isDone
u64 prev_offset
GF_MediaBox * mdia
GF_SampleToChunkBox * stsc
GF_Box * stco
struct MovieWriter
+ Collaboration diagram for MovieWriter:
Data Fields
char * buffer
u32 size
GF_ISOFile * movie
u32 total_samples
u32 nb_done

Macro Definition Documentation

#define GPAC_ISOM_CPRT_NOTICE   "IsoMedia File Produced with GPAC "GPAC_FULL_VERSION

Function Documentation

static GF_Err gf_isom_insert_copyright ( GF_ISOFile *  movie)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CleanWriters ( GF_List *  writers)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ResetWriters ( GF_List *  writers)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err SetupWriters ( MovieWriter mw,
GF_List *  writers,
u8  interleaving 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ShiftMetaOffset ( GF_MetaBox meta,
u64  offset 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err ShiftOffset ( GF_ISOFile *  file,
GF_List *  writers,
u64  offset 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err WriteMoovAndMeta ( GF_ISOFile *  movie,
GF_List *  writers,
GF_BitStream *  bs 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u64 GetMoovAndMetaSize ( GF_ISOFile *  movie,
GF_List *  writers 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err WriteSample ( MovieWriter mw,
u32  size,
u64  offset,
u8  isEdited,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DoWriteMeta ( GF_ISOFile *  file,
GF_MetaBox meta,
GF_BitStream *  bs,
Bool  Emulation,
u64  baseOffset,
u64 mdatSize 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DoWrite ( MovieWriter mw,
GF_List *  writers,
GF_BitStream *  bs,
u8  Emulation,
u64  StartOffset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err WriteFlat ( MovieWriter mw,
u8  moovFirst,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DoFullInterleave ( MovieWriter mw,
GF_List *  writers,
GF_BitStream *  bs,
u8  Emulation,
u64  StartOffset 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err DoInterleave ( MovieWriter mw,
GF_List *  writers,
GF_BitStream *  bs,
u8  Emulation,
u64  StartOffset,
Bool  drift_inter 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err WriteInterleaved ( MovieWriter mw,
GF_BitStream *  bs,
Bool  drift_inter 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err WriteToFile ( GF_ISOFile *  movie)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

u32 default_write_buffering_size