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

Functions

GF_Err Media_GetSampleDesc (GF_MediaBox *mdia, u32 SampleDescIndex, GF_SampleEntryBox **out_entry, u32 *dataRefIndex)
 
GF_Err Media_GetSampleDescIndex (GF_MediaBox *mdia, u64 DTS, u32 *sampleDescIndex)
 
static GF_Err gf_isom_get_3gpp_audio_esd (GF_SampleTableBox *stbl, u32 type, GF_GenericAudioSampleEntryBox *entry, GF_ESD **out_esd)
 
GF_Err Media_GetESD (GF_MediaBox *mdia, u32 sampleDescIndex, GF_ESD **out_esd, Bool true_desc_only)
 
Bool Media_IsSampleSyncShadow (GF_ShadowSyncBox *stsh, u32 sampleNumber)
 
GF_Err Media_GetSample (GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample **samp, u32 *sIDX, Bool no_data, u64 *out_offset, Bool ext_realloc)
 
GF_Err Media_CheckDataEntry (GF_MediaBox *mdia, u32 dataEntryIndex)
 
Bool Media_IsSelfContained (GF_MediaBox *mdia, u32 StreamDescIndex)
 
GF_ISOMDataRefAllType Media_SelfContainedType (GF_MediaBox *mdia)
 
GF_Err Media_FindSyncSample (GF_SampleTableBox *stbl, u32 searchFromSample, u32 *sampleNumber, u8 mode)
 
GF_Err Media_FindDataRef (GF_DataReferenceBox *dref, char *URLname, char *URNname, u32 *dataRefIndex)
 
GF_Err Media_SetDuration (GF_TrackBox *trak)
 
GF_Err Media_SetDrefURL (GF_DataEntryURLBox *dref_entry, const char *origName, const char *finalName)
 
GF_Err Media_CreateDataRef (GF_ISOFile *movie, GF_DataReferenceBox *dref, char *URLname, char *URNname, u32 *dataRefIndex)
 
GF_Err Media_AddSample (GF_MediaBox *mdia, u64 data_offset, const GF_ISOSample *sample, u32 StreamDescIndex, u32 syncShadowNumber)
 
static GF_Err UpdateSample (GF_MediaBox *mdia, u32 sampleNumber, u32 size, s32 CTS, u64 offset, u8 isRap)
 
GF_Err Media_UpdateSample (GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample *sample, Bool data_only)
 
GF_Err Media_UpdateSampleReference (GF_MediaBox *mdia, u32 sampleNumber, GF_ISOSample *sample, u64 data_offset)
 

Function Documentation

◆ Media_GetSampleDesc()

GF_Err Media_GetSampleDesc ( GF_MediaBox mdia,
u32  SampleDescIndex,
GF_SampleEntryBox **  out_entry,
u32 dataRefIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_GetSampleDescIndex()

GF_Err Media_GetSampleDescIndex ( GF_MediaBox mdia,
u64  DTS,
u32 sampleDescIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_3gpp_audio_esd()

static GF_Err gf_isom_get_3gpp_audio_esd ( GF_SampleTableBox stbl,
u32  type,
GF_GenericAudioSampleEntryBox entry,
GF_ESD **  out_esd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_GetESD()

GF_Err Media_GetESD ( GF_MediaBox mdia,
u32  sampleDescIndex,
GF_ESD **  out_esd,
Bool  true_desc_only 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_IsSampleSyncShadow()

Bool Media_IsSampleSyncShadow ( GF_ShadowSyncBox stsh,
u32  sampleNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_GetSample()

GF_Err Media_GetSample ( GF_MediaBox mdia,
u32  sampleNumber,
GF_ISOSample **  samp,
u32 sIDX,
Bool  no_data,
u64 out_offset,
Bool  ext_realloc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_CheckDataEntry()

GF_Err Media_CheckDataEntry ( GF_MediaBox mdia,
u32  dataEntryIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_IsSelfContained()

Bool Media_IsSelfContained ( GF_MediaBox mdia,
u32  StreamDescIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_SelfContainedType()

GF_ISOMDataRefAllType Media_SelfContainedType ( GF_MediaBox mdia)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_FindSyncSample()

GF_Err Media_FindSyncSample ( GF_SampleTableBox stbl,
u32  searchFromSample,
u32 sampleNumber,
u8  mode 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_FindDataRef()

GF_Err Media_FindDataRef ( GF_DataReferenceBox dref,
char *  URLname,
char *  URNname,
u32 dataRefIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_SetDuration()

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

◆ Media_SetDrefURL()

GF_Err Media_SetDrefURL ( GF_DataEntryURLBox dref_entry,
const char *  origName,
const char *  finalName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_CreateDataRef()

GF_Err Media_CreateDataRef ( GF_ISOFile *  movie,
GF_DataReferenceBox dref,
char *  URLname,
char *  URNname,
u32 dataRefIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_AddSample()

GF_Err Media_AddSample ( GF_MediaBox mdia,
u64  data_offset,
const GF_ISOSample sample,
u32  StreamDescIndex,
u32  syncShadowNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateSample()

static GF_Err UpdateSample ( GF_MediaBox mdia,
u32  sampleNumber,
u32  size,
s32  CTS,
u64  offset,
u8  isRap 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_UpdateSample()

GF_Err Media_UpdateSample ( GF_MediaBox mdia,
u32  sampleNumber,
GF_ISOSample sample,
Bool  data_only 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Media_UpdateSampleReference()

GF_Err Media_UpdateSampleReference ( GF_MediaBox mdia,
u32  sampleNumber,
GF_ISOSample sample,
u64  data_offset 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: