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

Data Structures

struct  SHVCTrackInfo
 
struct  GF_TrackFragmenter
 

Functions

GF_Err gf_media_change_par (GF_ISOFile *file, u32 track, s32 ar_num, s32 ar_den)
 
GF_Err gf_media_get_file_hash (const char *file, u8 hash[20])
 
GF_Err gf_media_make_isma (GF_ISOFile *mp4file, Bool keepESIDs, Bool keepImage, Bool no_ocr)
 
GF_Err gf_media_make_3gpp (GF_ISOFile *mp4file)
 
GF_Err gf_media_make_psp (GF_ISOFile *mp4)
 
GF_ESDgf_media_map_esd (GF_ISOFile *mp4, u32 track)
 
static s32 gf_get_DQId (GF_ISOFile *file, u32 track)
 
static Bool gf_isom_has_svc_explicit (GF_ISOFile *file, u32 track)
 
static u32 gf_isom_get_track_id_max (GF_ISOFile *file)
 
GF_Err gf_media_split_svc (GF_ISOFile *file, u32 track, Bool splitAll)
 
GF_Err gf_media_merge_svc (GF_ISOFile *file, u32 track, Bool mergeAll)
 
static GF_HEVCParamArrayalloc_hevc_param_array (GF_HEVCConfig *hevc_cfg, u8 type)
 
GF_Err gf_media_split_shvc (GF_ISOFile *file, u32 track, Bool splitAll, Bool use_extractors)
 
GF_Err gf_media_change_pl (GF_ISOFile *file, u32 track, u32 profile, u32 level)
 
GF_Err gf_media_split_hevc_tiles (GF_ISOFile *file)
 
GF_Err gf_media_fragment_file (GF_ISOFile *input, const char *output_file, Double max_duration_sec)
 
GF_Err gf_media_split_tiles (GF_ISOFile *file)
 

Variables

static const u32 ISMA_VIDEO_OD_ID = 20
 
static const u32 ISMA_AUDIO_OD_ID = 10
 
static const u32 ISMA_VIDEO_ES_ID = 201
 
static const u32 ISMA_AUDIO_ES_ID = 101
 
static const char ISMA_BIFS_CONFIG [] = {0x00, 0x00, 0x60 }
 
static const u8 ISMA_BIFS_AUDIO []
 
static const u8 ISMA_GF_BIFS_VIDEO []
 
static const u8 ISMA_BIFS_AV []
 
static const u8 ISMA_BIFS_IMAGE []
 
static const u8 ISMA_BIFS_AI []
 

Data Structure Documentation

struct SHVCTrackInfo
+ Collaboration diagram for SHVCTrackInfo:
Data Fields
u32 track_num
u32 layer_id
GF_HEVCConfig * shvccfg
GF_BitStream * bs
u32 data_offset
u32 data_size
u32 temporal_id
struct GF_TrackFragmenter
+ Collaboration diagram for GF_TrackFragmenter:
Data Fields
u32 TrackID
u32 SampleNum
u32 SampleCount
u32 FragmentLength
u32 OriginalTrack
u32 TimeScale
u32 MediaType
u32 DefaultDuration

Function Documentation

GF_Err gf_media_change_par ( GF_ISOFile *  file,
u32  track,
s32  ar_num,
s32  ar_den 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_get_file_hash ( const char *  file,
u8  hash[20] 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_make_isma ( GF_ISOFile *  mp4file,
Bool  keepESIDs,
Bool  keepImage,
Bool  no_ocr 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_make_3gpp ( GF_ISOFile *  mp4file)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_make_psp ( GF_ISOFile *  mp4)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_ESD* gf_media_map_esd ( GF_ISOFile *  mp4,
u32  track 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static s32 gf_get_DQId ( GF_ISOFile *  file,
u32  track 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool gf_isom_has_svc_explicit ( GF_ISOFile *  file,
u32  track 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 gf_isom_get_track_id_max ( GF_ISOFile *  file)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_split_svc ( GF_ISOFile *  file,
u32  track,
Bool  splitAll 
)

+ Here is the caller graph for this function:

GF_Err gf_media_merge_svc ( GF_ISOFile *  file,
u32  track,
Bool  mergeAll 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_HEVCParamArray* alloc_hevc_param_array ( GF_HEVCConfig hevc_cfg,
u8  type 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_split_shvc ( GF_ISOFile *  file,
u32  track,
Bool  splitAll,
Bool  use_extractors 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_change_pl ( GF_ISOFile *  file,
u32  track,
u32  profile,
u32  level 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_split_hevc_tiles ( GF_ISOFile *  file)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_fragment_file ( GF_ISOFile *  input,
const char *  output_file,
Double  max_duration_sec 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_media_split_tiles ( GF_ISOFile *  file)

+ Here is the call graph for this function:

Variable Documentation

const u32 ISMA_VIDEO_OD_ID = 20
static
const u32 ISMA_AUDIO_OD_ID = 10
static
const u32 ISMA_VIDEO_ES_ID = 201
static
const u32 ISMA_AUDIO_ES_ID = 101
static
const char ISMA_BIFS_CONFIG[] = {0x00, 0x00, 0x60 }
static
const u8 ISMA_BIFS_AUDIO[]
static
Initial value:
=
{
0xC0, 0x10, 0x12, 0x81, 0x30, 0x2A, 0x05, 0x7C
}
const u8 ISMA_GF_BIFS_VIDEO[]
static
Initial value:
=
{
0xC0, 0x10, 0x12, 0x60, 0x42, 0x82, 0x28, 0x29,
0xD0, 0x4F, 0x00
}
const u8 ISMA_BIFS_AV[]
static
Initial value:
=
{
0xC0, 0x10, 0x12, 0x81, 0x30, 0x2A, 0x05, 0x72,
0x60, 0x42, 0x82, 0x28, 0x29, 0xD0, 0x4F, 0x00
}
const u8 ISMA_BIFS_IMAGE[]
static
Initial value:
=
{
0xC0, 0x11, 0xA4, 0xCD, 0x53, 0x6A, 0x0A, 0x44,
0x13, 0x00
}
const u8 ISMA_BIFS_AI[]
static
Initial value:
=
{
0xC0, 0x11, 0xA5, 0x02, 0x60, 0x54, 0x0A, 0xE4,
0xCD, 0x53, 0x6A, 0x0A, 0x44, 0x13, 0x00
}