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

Functions

Bool gf_isom_is_nalu_based_entry (GF_MediaBox *mdia, GF_SampleEntryBox *_entry)
 
static void rewrite_nalus_list (GF_List *nalus, GF_BitStream *bs, Bool rewrite_start_codes, u32 nal_unit_size_field)
 
static GF_Err process_extractor (GF_ISOFile *file, u32 sampleNumber, u32 nal_size, u16 nal_hdr, u32 nal_unit_size_field, Bool is_hevc, Bool rewrite_ps, Bool rewrite_start_codes, GF_BitStream *src_bs, GF_BitStream *dst_bs, u32 extractor_mode)
 
static Bool is_sample_idr (GF_ISOSample *sample, GF_MPEGVisualSampleEntryBox *entry)
 
GF_Err gf_isom_nalu_sample_rewrite (GF_MediaBox *mdia, GF_ISOSample *sample, u32 sampleNumber, GF_MPEGVisualSampleEntryBox *entry)
 
GF_HEVCConfigHEVC_DuplicateConfig (GF_HEVCConfig *cfg)
 
static GF_AVCConfigAVC_DuplicateConfig (GF_AVCConfig *cfg)
 
void AVC_RewriteESDescriptor (GF_MPEGVisualSampleEntryBox *avc)
 
void HEVC_RewriteESDescriptor (GF_MPEGVisualSampleEntryBox *hevc)
 
GF_Err AVC_HEVC_UpdateESD (GF_MPEGVisualSampleEntryBox *avc, GF_ESD *esd)
 
GF_Err gf_isom_avc_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_AVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
 
static GF_Err gf_isom_avc_config_update_ex (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_AVCConfig *cfg, u32 op_type)
 
GF_Err gf_isom_avc_set_inband_config (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_Err gf_isom_avc_config_update (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_AVCConfig *cfg)
 
GF_Err gf_isom_svc_config_update (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_AVCConfig *cfg, Bool is_add)
 
GF_Err gf_isom_svc_config_del (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_Err gf_isom_set_ipod_compatible (GF_ISOFile *the_file, u32 trackNumber)
 
GF_Err gf_isom_svc_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_AVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
 
GF_Err gf_isom_hevc_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_HEVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
 
static GF_Err gf_isom_hevc_config_update_ex (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_HEVCConfig *cfg, u32 operand_type)
 
GF_Err gf_isom_hevc_config_update (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_HEVCConfig *cfg)
 
GF_Err gf_isom_hevc_set_inband_config (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_Err gf_isom_shvc_config_update (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex, GF_HEVCConfig *cfg, Bool is_add)
 
GF_AVCConfiggf_isom_avc_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_HEVCConfiggf_isom_hevc_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_AVCConfiggf_isom_svc_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
u32 gf_isom_get_avc_svc_type (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
u32 gf_isom_get_hevc_shvc_type (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_HEVCConfiggf_isom_shvc_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
void btrt_del (GF_Box *s)
 
GF_Err btrt_Read (GF_Box *s, GF_BitStream *bs)
 
GF_Boxbtrt_New ()
 
GF_Err btrt_Write (GF_Box *s, GF_BitStream *bs)
 
GF_Err btrt_Size (GF_Box *s)
 
void m4ds_del (GF_Box *s)
 
GF_Err m4ds_Read (GF_Box *s, GF_BitStream *bs)
 
GF_Boxm4ds_New ()
 
GF_Err m4ds_Write (GF_Box *s, GF_BitStream *bs)
 
GF_Err m4ds_Size (GF_Box *s)
 
void avcc_del (GF_Box *s)
 
GF_Err avcc_Read (GF_Box *s, GF_BitStream *bs)
 
GF_Boxavcc_New ()
 
GF_Err avcc_Write (GF_Box *s, GF_BitStream *bs)
 
GF_Err avcc_Size (GF_Box *s)
 
void hvcc_del (GF_Box *s)
 
GF_Err hvcc_Read (GF_Box *s, GF_BitStream *bs)
 
GF_Boxhvcc_New ()
 
GF_Err hvcc_Write (GF_Box *s, GF_BitStream *bs)
 
GF_Err hvcc_Size (GF_Box *s)
 

Function Documentation

Bool gf_isom_is_nalu_based_entry ( GF_MediaBox mdia,
GF_SampleEntryBox _entry 
)

+ Here is the caller graph for this function:

static void rewrite_nalus_list ( GF_List *  nalus,
GF_BitStream *  bs,
Bool  rewrite_start_codes,
u32  nal_unit_size_field 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err process_extractor ( GF_ISOFile *  file,
u32  sampleNumber,
u32  nal_size,
u16  nal_hdr,
u32  nal_unit_size_field,
Bool  is_hevc,
Bool  rewrite_ps,
Bool  rewrite_start_codes,
GF_BitStream *  src_bs,
GF_BitStream *  dst_bs,
u32  extractor_mode 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool is_sample_idr ( GF_ISOSample sample,
GF_MPEGVisualSampleEntryBox entry 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_nalu_sample_rewrite ( GF_MediaBox mdia,
GF_ISOSample sample,
u32  sampleNumber,
GF_MPEGVisualSampleEntryBox entry 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_HEVCConfig* HEVC_DuplicateConfig ( GF_HEVCConfig cfg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_AVCConfig* AVC_DuplicateConfig ( GF_AVCConfig cfg)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void AVC_RewriteESDescriptor ( GF_MPEGVisualSampleEntryBox avc)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HEVC_RewriteESDescriptor ( GF_MPEGVisualSampleEntryBox hevc)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err AVC_HEVC_UpdateESD ( GF_MPEGVisualSampleEntryBox avc,
GF_ESD esd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_avc_config_new ( GF_ISOFile *  the_file,
u32  trackNumber,
GF_AVCConfig cfg,
char *  URLname,
char *  URNname,
u32 outDescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_isom_avc_config_update_ex ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_AVCConfig cfg,
u32  op_type 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_avc_set_inband_config ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_avc_config_update ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_AVCConfig cfg 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_svc_config_update ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_AVCConfig cfg,
Bool  is_add 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_svc_config_del ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_set_ipod_compatible ( GF_ISOFile *  the_file,
u32  trackNumber 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_svc_config_new ( GF_ISOFile *  the_file,
u32  trackNumber,
GF_AVCConfig cfg,
char *  URLname,
char *  URNname,
u32 outDescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_hevc_config_new ( GF_ISOFile *  the_file,
u32  trackNumber,
GF_HEVCConfig cfg,
char *  URLname,
char *  URNname,
u32 outDescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_isom_hevc_config_update_ex ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_HEVCConfig cfg,
u32  operand_type 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_hevc_config_update ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_HEVCConfig cfg 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_hevc_set_inband_config ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_shvc_config_update ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex,
GF_HEVCConfig cfg,
Bool  is_add 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_AVCConfig* gf_isom_avc_config_get ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_HEVCConfig* gf_isom_hevc_config_get ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_AVCConfig* gf_isom_svc_config_get ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_isom_get_avc_svc_type ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_isom_get_hevc_shvc_type ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_HEVCConfig* gf_isom_shvc_config_get ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  DescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void btrt_del ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err btrt_Read ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Box* btrt_New ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err btrt_Write ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err btrt_Size ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void m4ds_del ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err m4ds_Read ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Box* m4ds_New ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err m4ds_Write ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err m4ds_Size ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void avcc_del ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err avcc_Read ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Box* avcc_New ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err avcc_Write ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err avcc_Size ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void hvcc_del ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err hvcc_Read ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Box* hvcc_New ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err hvcc_Write ( GF_Box s,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err hvcc_Size ( GF_Box s)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: