libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/thread.h>
#include <gpac/list.h>
#include <gpac/bitstream.h>
#include <gpac/xml.h>
#include <gpac/network.h>
#include <gpac/isomedia.h>
#include <gpac/base_coding.h>
#include <gpac/avparse.h>
#include <zlib.h>
Data Structures | |
struct | GF_NHMLDmxCtx |
struct | XMLBreaker |
Macros | |
#define | ZLIB_COMPRESS_SAFE 4 |
#define | NHML_SCAN_INT(_fmt, _value) |
#define | OFFS(_n) #_n, offsetof(GF_NHMLDmxCtx, _n) |
Functions | |
GF_Err | nhmldmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static Bool | nhmldmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GF_XMLNode * | nhmldmx_get_prop_ref (GF_NHMLDmxCtx *ctx, GF_XMLNode *par, char *ID) |
static GF_XMLNode * | nhmldmx_get_props (GF_NHMLDmxCtx *ctx, char *ID) |
static void | nhmldmx_set_props (GF_NHMLDmxCtx *ctx, GF_XMLNode *props, GF_FilterPacket *pck) |
static void | nhml_node_start (void *sax_cbck, const char *node_name, const char *name_space, const GF_XMLAttribute *attributes, u32 nb_attributes) |
static void | nhml_node_end (void *sax_cbck, const char *node_name, const char *name_space) |
static GF_Err | nhml_sample_from_xml (GF_NHMLDmxCtx *ctx, char *xml_file, char *xmlFrom, char *xmlTo) |
static GF_Err | compress_sample_data (GF_NHMLDmxCtx *ctx, u32 compress_type, char **dict, u32 offset) |
static GF_Err | nhmldmx_config_output (GF_Filter *filter, GF_NHMLDmxCtx *ctx, GF_XMLNode *root) |
static GF_Err | nhmldmx_init_parsing (GF_Filter *filter, GF_NHMLDmxCtx *ctx) |
void | nhml_get_bs (GF_BitStream **bs, char *data, u32 size, u32 mode) |
static void | nhmldmx_set_subs (GF_NHMLDmxCtx *ctx, GF_XMLNode *node, GF_FilterPacket *pck) |
static GF_XMLNode * | nhmldmx_find_sai (GF_NHMLDmxCtx *ctx, char *id) |
static void | nhmldmx_set_sai (GF_NHMLDmxCtx *ctx, GF_XMLNode *node, GF_FilterPacket *pck) |
static GF_Err | nhmldmx_send_sample (GF_Filter *filter, GF_NHMLDmxCtx *ctx) |
GF_Err | nhmldmx_process (GF_Filter *filter) |
GF_Err | nhmldmx_initialize (GF_Filter *filter) |
void | nhmldmx_finalize (GF_Filter *filter) |
const GF_FilterRegister * | nhmlr_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterArgs | GF_NHMLDmxArgs [] |
static const GF_FilterCapability | NHMLDmxCaps [] |
GF_FilterRegister | NHMLDmxRegister |
struct GF_NHMLDmxCtx |
Data Fields | ||
---|---|---|
Bool | reframe | |
Double | index | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
Bool | is_dims | |
Double | start_range | |
u64 | first_dts | |
Bool | is_playing | |
GF_Fraction64 | duration | |
Bool | in_seek | |
u32 | timescale | |
u32 | sample_num | |
FILE * | mdia | |
char * | media_file | |
GF_DOMParser * | parser | |
GF_XMLNode * | root | |
u32 | parsing_state | |
u32 | current_child_idx | |
Bool | has_sap | |
u32 | compress_type | |
const char * | src_url | |
u64 | last_dts | |
u32 | dts_inc | |
u8 * | samp_buffer | |
u32 | samp_buffer_alloc | |
u32 | samp_buffer_size | |
char * | zlib_buffer | |
u32 | zlib_buffer_alloc | |
u32 | zlib_buffer_size | |
Bool | use_dict | |
char * | dictionary | |
u64 | media_done | |
Bool | is_img | |
u32 | header_end | |
GF_BitStream * | bs_w | |
GF_BitStream * | bs_r | |
GF_FileIO * | fio |
struct XMLBreaker |
#define ZLIB_COMPRESS_SAFE 4 |
#define NHML_SCAN_INT | ( | _fmt, | |
_value | |||
) |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_NHMLDmxCtx, _n) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
GF_Err nhmldmx_process | ( | GF_Filter * | filter | ) |
GF_Err nhmldmx_initialize | ( | GF_Filter * | filter | ) |
void nhmldmx_finalize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* nhmlr_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister NHMLDmxRegister |