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

Functions

GF_Err gf_isom_base_sample_entry_read (GF_SampleEntryBox *ptr, GF_BitStream *bs)
 
void gf_isom_sample_entry_predestroy (GF_SampleEntryBox *ptr)
 
void gf_isom_sample_entry_init (GF_SampleEntryBox *ent)
 
void gf_isom_video_sample_entry_init (GF_VisualSampleEntryBox *ent)
 
GF_Err gf_isom_video_sample_entry_read (GF_VisualSampleEntryBox *ptr, GF_BitStream *bs)
 
void gf_isom_video_sample_entry_write (GF_VisualSampleEntryBox *ptr, GF_BitStream *bs)
 
void gf_isom_video_sample_entry_size (GF_VisualSampleEntryBox *ent)
 
void gf_isom_audio_sample_entry_init (GF_AudioSampleEntryBox *ptr)
 
GF_Err gf_isom_audio_sample_entry_read (GF_AudioSampleEntryBox *ptr, GF_BitStream *bs)
 
GF_Boxgf_isom_audio_sample_get_audio_codec_cfg_box (GF_AudioSampleEntryBox *ptr)
 
void gf_isom_audio_sample_entry_write (GF_AudioSampleEntryBox *ptr, GF_BitStream *bs)
 
void gf_isom_audio_sample_entry_size (GF_AudioSampleEntryBox *ptr)
 
GF_EXPORT GF_3GPConfiggf_isom_3gp_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_AC3Configgf_isom_ac3_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_flac_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, u8 **dsi, u32 *dsi_size)
 
GF_EXPORT GF_Err gf_isom_truehd_config_get (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, u32 *format_info, u32 *peak_data_rate)
 
GF_Err gf_isom_truehd_config_new (GF_ISOFile *the_file, u32 trackNumber, char *URLname, char *URNname, u32 format, u32 peak_rate, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_opus_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_OpusConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
 
static GF_Err gf_isom_opus_config_get_internal (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, u8 **dsi, u32 *dsi_size, GF_OpusConfig *ocfg)
 
GF_EXPORT GF_Err gf_isom_opus_config_get (GF_ISOFile *isom_file, u32 trackNumber, u32 sampleDescriptionIndex, u8 **dsi, u32 *dsi_size)
 
GF_EXPORT GF_Err gf_isom_opus_config_get_desc (GF_ISOFile *isom_file, u32 trackNumber, u32 sampleDescriptionIndex, GF_OpusConfig *opcfg)
 
GF_EXPORT GF_Err gf_isom_3gp_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_3GPConfig *cfg, const char *URLname, const char *URNname, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_3gp_config_update (GF_ISOFile *the_file, u32 trackNumber, GF_3GPConfig *param, u32 DescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_ac3_config_new (GF_ISOFile *the_file, u32 trackNumber, GF_AC3Config *cfg, const char *URLname, const char *URNname, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_ac3_config_update (GF_ISOFile *the_file, u32 trackNumber, u32 sampleDescriptionIndex, GF_AC3Config *cfg)
 
GF_EXPORT GF_Err gf_isom_flac_config_new (GF_ISOFile *the_file, u32 trackNumber, u8 *metadata, u32 metadata_size, const char *URLname, const char *URNname, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_new_mj2k_description (GF_ISOFile *the_file, u32 trackNumber, const char *URLname, const char *URNname, u32 *outDescriptionIndex, u8 *dsi, u32 dsi_len)
 
GF_EXPORT GF_Err gf_isom_get_dims_description (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, GF_DIMSDescription *desc)
 
GF_EXPORT GF_Err gf_isom_new_dims_description (GF_ISOFile *movie, u32 trackNumber, GF_DIMSDescription *desc, const char *URLname, const char *URNname, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_get_udts_config (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, GF_UDTSConfig *cfg)
 
GF_Err LSR_UpdateESD (GF_LASeRSampleEntryBox *lsr, GF_ESD *esd)
 
GF_EXPORT GF_Err gf_isom_get_xml_metadata_description (GF_ISOFile *file, u32 track, u32 sampleDescription, const char **_namespace, const char **schema_loc, const char **content_encoding)
 
GF_Err gf_isom_new_xml_metadata_description (GF_ISOFile *movie, u32 trackNumber, const char *_namespace, const char *schema_loc, const char *content_encoding, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_xml_subtitle_get_description (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, const char **xmlnamespace, const char **xml_schema_loc, const char **mimes)
 
GF_EXPORT const char * gf_isom_subtitle_get_mime (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_subtitle_set_mime (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, const char *codec_params)
 
GF_EXPORT GF_Err gf_isom_new_xml_subtitle_description (GF_ISOFile *movie, u32 trackNumber, const char *xmlnamespace, const char *xml_schema_loc, const char *mimes, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_stxt_get_description (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, const char **mime, const char **encoding, const char **config)
 
GF_Err gf_isom_new_stxt_description (GF_ISOFile *movie, u32 trackNumber, u32 type, const char *mime, const char *encoding, const char *config, u32 *outDescriptionIndex)
 
GF_WebVTTSampleEntryBoxgf_webvtt_isom_get_description (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex)
 
GF_EXPORT const char * gf_isom_get_webvtt_config (GF_ISOFile *file, u32 track, u32 index)
 
GF_Err gf_isom_new_webvtt_description (GF_ISOFile *movie, u32 trackNumber, const char *URLname, const char *URNname, u32 *outDescriptionIndex, const char *config)
 
GF_BitRateBoxgf_isom_sample_entry_get_bitrate (GF_SampleEntryBox *ent, Bool create)
 
GF_EXPORT GF_Err gf_isom_update_bitrate (GF_ISOFile *movie, u32 trackNumber, u32 sampleDescriptionIndex, u32 average_bitrate, u32 max_bitrate, u32 decode_buffer_size)
 
GF_EXPORT GF_Err gf_isom_tmcd_config_new (GF_ISOFile *the_file, u32 trackNumber, u32 fps_num, u32 fps_den, s32 frames_per_counter_tick, Bool is_drop, Bool is_counter, u32 *outDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_evte_config_new (GF_ISOFile *the_file, u32 trackNumber, u32 *outDescriptionIndex)
 
GF_Err gf_isom_new_mpha_description (GF_ISOFile *movie, u32 trackNumber, const char *URLname, const char *URNname, u32 *outDescriptionIndex, u8 *dsi, u32 dsi_size, u32 mha_subtype)
 
GF_EXPORT GF_Err gf_isom_get_tmcd_config (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, u32 *tmcd_flags, u32 *tmcd_fps_num, u32 *tmcd_fps_den, u32 *tmcd_fpt)
 
GF_EXPORT GF_Err gf_isom_get_pcm_config (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, u32 *flags, u32 *pcm_size)
 
GF_EXPORT GF_Err gf_isom_get_lpcm_config (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, Double *sample_rate, u32 *nb_channels, u32 *flags, u32 *pcm_size)
 

Function Documentation

◆ gf_isom_base_sample_entry_read()

GF_Err gf_isom_base_sample_entry_read ( GF_SampleEntryBox ptr,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_sample_entry_predestroy()

void gf_isom_sample_entry_predestroy ( GF_SampleEntryBox ptr)
+ Here is the caller graph for this function:

◆ gf_isom_sample_entry_init()

void gf_isom_sample_entry_init ( GF_SampleEntryBox ent)
+ Here is the caller graph for this function:

◆ gf_isom_video_sample_entry_init()

void gf_isom_video_sample_entry_init ( GF_VisualSampleEntryBox ent)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_video_sample_entry_read()

GF_Err gf_isom_video_sample_entry_read ( GF_VisualSampleEntryBox ptr,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_video_sample_entry_write()

void gf_isom_video_sample_entry_write ( GF_VisualSampleEntryBox ptr,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_video_sample_entry_size()

void gf_isom_video_sample_entry_size ( GF_VisualSampleEntryBox ent)
+ Here is the caller graph for this function:

◆ gf_isom_audio_sample_entry_init()

void gf_isom_audio_sample_entry_init ( GF_AudioSampleEntryBox ptr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_audio_sample_entry_read()

GF_Err gf_isom_audio_sample_entry_read ( GF_AudioSampleEntryBox ptr,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_audio_sample_get_audio_codec_cfg_box()

GF_Box* gf_isom_audio_sample_get_audio_codec_cfg_box ( GF_AudioSampleEntryBox ptr)
+ Here is the caller graph for this function:

◆ gf_isom_audio_sample_entry_write()

void gf_isom_audio_sample_entry_write ( GF_AudioSampleEntryBox ptr,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_audio_sample_entry_size()

void gf_isom_audio_sample_entry_size ( GF_AudioSampleEntryBox ptr)
+ Here is the caller graph for this function:

◆ gf_isom_opus_config_get_internal()

static GF_Err gf_isom_opus_config_get_internal ( GF_ISOFile *  the_file,
u32  trackNumber,
u32  StreamDescriptionIndex,
u8 **  dsi,
u32 dsi_size,
GF_OpusConfig ocfg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LSR_UpdateESD()

GF_Err LSR_UpdateESD ( GF_LASeRSampleEntryBox lsr,
GF_ESD esd 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_webvtt_isom_get_description()

GF_WebVTTSampleEntryBox* gf_webvtt_isom_get_description ( GF_ISOFile *  movie,
u32  trackNumber,
u32  descriptionIndex 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_sample_entry_get_bitrate()

GF_BitRateBox* gf_isom_sample_entry_get_bitrate ( GF_SampleEntryBox ent,
Bool  create 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: