libgpac
Documentation of the core library of GPAC
xml_bin_custom.c File Reference
#include <gpac/xml.h>
#include <gpac/internal/isomedia_dev.h>
#include <gpac/base_coding.h>
#include <gpac/network.h>
+ Include dependency graph for xml_bin_custom.c:

Macros

#define XML_SCAN_INT(_fmt, _value)
 
#define WRITE_CMD_LEN()
 

Functions

static void xml_scte35_parse_splice_time (GF_XMLNode *root, GF_BitStream *bs)
 
static void xml_scte35_parse_break_duration (GF_XMLNode *root, GF_BitStream *bs)
 
static void xml_scte35_parse_time_signal (GF_XMLNode *root, GF_BitStream *bs)
 
static void xml_scte35_parse_segmentation_descriptor (GF_XMLNode *root, GF_BitStream *bs)
 
static void xml_scte35_parse_splice_insert (GF_XMLNode *root, GF_BitStream *bs)
 
static void xml_scte35_parse_splice_info (GF_XMLNode *root, GF_BitStream *bs)
 
void xml_scte35_parse (GF_XMLNode *root, GF_BitStream *bs)
 
void xml_emeb_parse (GF_XMLNode *root, GF_BitStream *bs)
 
void xml_emib_parse (GF_XMLNode *root, GF_BitStream *bs)
 
GF_EXPORT GF_Err gf_xml_parse_bit_sequence_bs (GF_XMLNode *bsroot, const char *parent_url, const char *base_media_file, GF_BitStream *bs_orig)
 bit-sequence XML parser More...
 
GF_EXPORT GF_Err gf_xml_parse_bit_sequence (GF_XMLNode *bsroot, const char *parent_url, u8 **data, u32 *data_size)
 bit-sequence XML parser More...
 

Macro Definition Documentation

◆ XML_SCAN_INT

#define XML_SCAN_INT (   _fmt,
  _value 
)
Value:
{\
if (strstr(att->value, "0x")) { u32 __i; sscanf(att->value+2, "%x", &__i); _value = __i; }\
else if (strstr(att->value, "0X")) { u32 __i; sscanf(att->value+2, "%X", &__i); _value = __i; }\
else sscanf(att->value, _fmt, &_value); \
}\
uint32_t u32
Definition: setup.h:326

◆ WRITE_CMD_LEN

#define WRITE_CMD_LEN ( )
Value:
{ \
u64 pos = gf_bs_get_position(bs); \
u32 splice_command_length = (u32) (pos - splice_command_length_pos - 3); \
gf_bs_seek(bs, splice_command_length_pos + 1); \
gf_bs_write_u8(bs, splice_command_length); \
gf_bs_seek(bs, pos); \
}
u64 gf_bs_get_position(GF_BitStream *bs)
position query
Definition: bitstream.c:1654

Function Documentation

◆ xml_scte35_parse_splice_time()

static void xml_scte35_parse_splice_time ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse_break_duration()

static void xml_scte35_parse_break_duration ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse_time_signal()

static void xml_scte35_parse_time_signal ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse_segmentation_descriptor()

static void xml_scte35_parse_segmentation_descriptor ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse_splice_insert()

static void xml_scte35_parse_splice_insert ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse_splice_info()

static void xml_scte35_parse_splice_info ( GF_XMLNode root,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_scte35_parse()

void xml_scte35_parse ( GF_XMLNode root,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_emeb_parse()

void xml_emeb_parse ( GF_XMLNode root,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ xml_emib_parse()

void xml_emib_parse ( GF_XMLNode root,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: