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
mpd.c File Reference
#include <gpac/internal/mpd.h>
#include <gpac/download.h>
#include <gpac/internal/m3u8.h>
#include <gpac/network.h>
#include <time.h>
+ Include dependency graph for mpd.c:

Functions

static Bool gf_mpd_parse_bool (char *attr)
 
static char * gf_mpd_parse_string (char *attr)
 
static Bool gf_mpd_valid_child (GF_MPD *mpd, GF_XMLNode *child)
 
static char * gf_mpd_parse_text_content (GF_XMLNode *child)
 
static u32 gf_mpd_parse_int (char *attr)
 
static u64 gf_mpd_parse_long_int (char *attr)
 
static Double gf_mpd_parse_double (char *attr)
 
static GF_MPD_Fractionalgf_mpd_parse_frac (char *attr)
 
static u64 gf_mpd_parse_date (char *attr)
 
static u32 gf_mpd_parse_duration (char *duration)
 
static GF_MPD_ByteRangegf_mpd_parse_byte_range (char *attr)
 
static GF_Err gf_mpd_parse_location (GF_MPD *mpd, GF_XMLNode *child)
 
static GF_Err gf_mpd_parse_metrics (GF_MPD *mpd, GF_XMLNode *child)
 
GF_Err gf_mpd_parse_base_url (GF_List *container, GF_XMLNode *node)
 
static GF_Err gf_mpd_parse_program_info (GF_MPD *mpd, GF_XMLNode *root)
 
static GF_MPD_URLgf_mpd_parse_url (GF_XMLNode *root)
 
static void gf_mpd_parse_segment_base_generic (GF_MPD *mpd, GF_MPD_SegmentBase *seg, GF_XMLNode *root)
 
static GF_MPD_SegmentTimelinegf_mpd_parse_segment_timeline (GF_MPD *mpd, GF_XMLNode *root)
 
static GF_MPD_SegmentBasegf_mpd_parse_segment_base (GF_MPD *mpd, GF_XMLNode *root)
 
void gf_mpd_parse_multiple_segment_base (GF_MPD *mpd, GF_MPD_MultipleSegmentBase *seg, GF_XMLNode *root)
 
static void gf_mpd_parse_segment_url (GF_List *container, GF_XMLNode *root)
 
static GF_MPD_SegmentListgf_mpd_parse_segment_list (GF_MPD *mpd, GF_XMLNode *root)
 
static GF_MPD_SegmentTemplategf_mpd_parse_segment_template (GF_MPD *mpd, GF_XMLNode *root)
 
static GF_Err gf_mpd_parse_content_component (GF_List *container, GF_XMLNode *root)
 
static GF_Err gf_mpd_parse_descriptor (GF_List *container, GF_XMLNode *root)
 
static void gf_mpd_parse_common_representation (GF_MPD *mpd, GF_MPD_CommonAttributes *com, GF_XMLNode *root)
 
static void gf_mpd_init_common_attributes (GF_MPD_CommonAttributes *com)
 
static GF_Err gf_mpd_parse_representation (GF_MPD *mpd, GF_List *container, GF_XMLNode *root)
 
static GF_Err gf_mpd_parse_adaptation_set (GF_MPD *mpd, GF_List *container, GF_XMLNode *root)
 
static GF_Err gf_mpd_parse_period (GF_MPD *mpd, GF_XMLNode *root)
 
GF_MPDgf_mpd_new ()
 
static void gf_mpd_del_list (GF_List *list, void(*__destructor)(void *), Bool reset_only)
 
void gf_mpd_base_url_free (void *_item)
 
void gf_mpd_url_free (void *_item)
 
void gf_mpd_string_free (void *_item)
 
void gf_mpd_prog_info_free (void *_item)
 
void gf_mpd_segment_url_free (void *_ptr)
 
void gf_mpd_segment_base_free (void *_item)
 
void gf_mpd_segment_entry_free (void *_item)
 
void gf_mpd_segment_timeline_free (void *_item)
 
void gf_mpd_segment_list_free (void *_item)
 
void gf_mpd_segment_template_free (void *_item)
 
void gf_mpd_descriptor_free (void *item)
 
void gf_mpd_content_component_free (void *item)
 
void gf_mpd_common_attributes_free (GF_MPD_CommonAttributes *ptr)
 
void gf_mpd_representation_free (void *_item)
 
void gf_mpd_adaptation_set_free (void *_item)
 
void gf_mpd_period_free (void *_item)
 
void gf_mpd_del (GF_MPD *mpd)
 
GF_Err gf_mpd_init_from_dom (GF_XMLNode *root, GF_MPD *mpd, const char *default_base_url)
 
GF_Err gf_m3u8_to_mpd (const char *m3u8_file, const char *base_url, const char *mpd_file, u32 reload_count, char *mimeTypeForM3U8Segments, Bool do_import, Bool use_mpd_templates, GF_FileDownload *getter)
 

Function Documentation

static Bool gf_mpd_parse_bool ( char *  attr)
static

+ Here is the caller graph for this function:

static char* gf_mpd_parse_string ( char *  attr)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool gf_mpd_valid_child ( GF_MPD mpd,
GF_XMLNode child 
)
static

+ Here is the caller graph for this function:

static char* gf_mpd_parse_text_content ( GF_XMLNode child)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 gf_mpd_parse_int ( char *  attr)
static

+ Here is the caller graph for this function:

static u64 gf_mpd_parse_long_int ( char *  attr)
static

+ Here is the caller graph for this function:

static Double gf_mpd_parse_double ( char *  attr)
static

+ Here is the caller graph for this function:

static GF_MPD_Fractional* gf_mpd_parse_frac ( char *  attr)
static

+ Here is the caller graph for this function:

static u64 gf_mpd_parse_date ( char *  attr)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 gf_mpd_parse_duration ( char *  duration)
static

+ Here is the caller graph for this function:

static GF_MPD_ByteRange* gf_mpd_parse_byte_range ( char *  attr)
static

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_location ( GF_MPD mpd,
GF_XMLNode child 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_metrics ( GF_MPD mpd,
GF_XMLNode child 
)
static

+ Here is the caller graph for this function:

GF_Err gf_mpd_parse_base_url ( GF_List *  container,
GF_XMLNode node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_program_info ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_MPD_URL* gf_mpd_parse_url ( GF_XMLNode root)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_mpd_parse_segment_base_generic ( GF_MPD mpd,
GF_MPD_SegmentBase seg,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_MPD_SegmentTimeline* gf_mpd_parse_segment_timeline ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_MPD_SegmentBase* gf_mpd_parse_segment_base ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_parse_multiple_segment_base ( GF_MPD mpd,
GF_MPD_MultipleSegmentBase seg,
GF_XMLNode root 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_mpd_parse_segment_url ( GF_List *  container,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_MPD_SegmentList* gf_mpd_parse_segment_list ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_MPD_SegmentTemplate* gf_mpd_parse_segment_template ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_content_component ( GF_List *  container,
GF_XMLNode root 
)
static

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_descriptor ( GF_List *  container,
GF_XMLNode root 
)
static

+ Here is the caller graph for this function:

static void gf_mpd_parse_common_representation ( GF_MPD mpd,
GF_MPD_CommonAttributes com,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void gf_mpd_init_common_attributes ( GF_MPD_CommonAttributes com)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_representation ( GF_MPD mpd,
GF_List *  container,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_adaptation_set ( GF_MPD mpd,
GF_List *  container,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_mpd_parse_period ( GF_MPD mpd,
GF_XMLNode root 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_MPD* gf_mpd_new ( )

+ Here is the caller graph for this function:

static void gf_mpd_del_list ( GF_List *  list,
void(*)(void *)  __destructor,
Bool  reset_only 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_base_url_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_url_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_string_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_prog_info_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_url_free ( void *  _ptr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_base_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_entry_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_timeline_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_list_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_segment_template_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_descriptor_free ( void *  item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_content_component_free ( void *  item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_common_attributes_free ( GF_MPD_CommonAttributes ptr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_representation_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_adaptation_set_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_period_free ( void *  _item)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_mpd_del ( GF_MPD mpd)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_mpd_init_from_dom ( GF_XMLNode root,
GF_MPD mpd,
const char *  default_base_url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_m3u8_to_mpd ( const char *  m3u8_file,
const char *  base_url,
const char *  mpd_file,
u32  reload_count,
char *  mimeTypeForM3U8Segments,
Bool  do_import,
Bool  use_mpd_templates,
GF_FileDownload *  getter 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: