libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/list.h>
#include <gpac/mpd.h>
#include <gpac/bitstream.h>
#include <gpac/base_coding.h>
#include <gpac/network.h>
Data Structures | |
struct | GHISegInfo |
struct | GHIStream |
struct | GHIDmxCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GHIDmxCtx, _n) |
Enumerations | |
enum | { GHI_GM_NONE =0 , GHI_GM_ALL , GHI_GM_MAIN , GHI_GM_CHILD , GHI_GM_INIT } |
Functions | |
static void | set_opids_props (GHIDmxCtx *ctx, GHIStream *st) |
static void | ghi_dmx_send_seg_times (GHIDmxCtx *ctx, GHIStream *st, GF_FilterPid *opid) |
GF_Err | ghi_dmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static Bool | ghi_dmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static Bool | ghi_dmx_on_filter_setup_error (GF_Filter *failed_filter, void *udta, GF_Err err) |
static void | ghi_dmx_declare_opid_xml (GF_Filter *filter, GHIDmxCtx *ctx, GHIStream *st) |
static void | ghi_dmx_declare_opid_bin (GF_Filter *filter, GHIDmxCtx *ctx, GHIStream *st, GF_BitStream *bs) |
static void | ghi_dmx_unmark_muxed (GHIDmxCtx *ctx) |
static Bool | ghi_dmx_check_mux (GHIDmxCtx *ctx, GHIStream *st) |
void | ghi_dmx_parse_seg (GHIDmxCtx *ctx, GF_BitStream *bs, GHIStream *st, s32 num_seg) |
GF_Err | ghi_dmx_init_bin (GF_Filter *filter, GHIDmxCtx *ctx, GF_BitStream *bs) |
GF_Err | ghi_dmx_init_xml (GF_Filter *filter, GHIDmxCtx *ctx, const u8 *data) |
GF_Err | ghi_dmx_init (GF_Filter *filter, GHIDmxCtx *ctx) |
GF_Err | ghi_dmx_process (GF_Filter *filter) |
GF_Err | ghi_dmx_initialize (GF_Filter *filter) |
void | ghi_dmx_finalize (GF_Filter *filter) |
static const char * | ghi_dmx_probe_data (const u8 *data, u32 data_size, GF_FilterProbeScore *score) |
const GF_FilterRegister * | ghidmx_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterArgs | GHIDmxArgs [] |
static const GF_FilterCapability | GHIDmxCaps [] |
GF_FilterRegister | GHIDXDmxRegister |
struct GHISegInfo |
struct GHIStream |
Data Fields | ||
---|---|---|
GF_FilterPid * | ipid | |
GF_List * | opids | |
GHISegInfo | seg_info | |
u32 | nb_pck | |
Bool | first_sent | |
u32 | starts_with_sap | |
u32 | seg_num | |
Bool | inactive | |
Bool | empty_seg | |
u32 | active_mux_base_plus_one | |
GF_PropStringList | mux_dst | |
GF_List * | segs_xml | |
GF_List * | x_children | |
u32 | bitrate | |
u32 | delay | |
Bool | use_offsets | |
GF_List * | segs_bin | |
GF_Filter * | filter_src | |
char * | rep_id | |
char * | res_url | |
char * | check_res_url | |
u32 | track_id | |
u32 | pid_timescale | |
u32 | mpd_timescale | |
u32 | sample_duration | |
u32 | first_frag_start_offset | |
s32 | first_cts_offset | |
u32 | props_size | |
u32 | props_offset | |
u32 | rep_flags | |
u32 | nb_segs |
struct GHIDmxCtx |
Data Fields | ||
---|---|---|
u32 | gm | |
Bool | force | |
GF_PropStringList | mux | |
char * | rep | |
char * | out | |
u32 | sn | |
GF_FilterPid * | ipid | |
Bool | init | |
GF_List * | streams | |
u32 | segment_duration | |
u64 | max_segment_duration | |
u64 | media_presentation_duration | |
u64 | period_duration | |
char * | segment_template | |
u64 | min_ts_plus_one | |
u32 | min_ts_timescale | |
u64 | min_offset_plus_one | |
u64 | max_end_start_offset_plus_one |
|
static |
|
static |
|
static |
|
static |
GF_Err ghi_dmx_process | ( | GF_Filter * | filter | ) |
GF_Err ghi_dmx_initialize | ( | GF_Filter * | filter | ) |
void ghi_dmx_finalize | ( | GF_Filter * | filter | ) |
|
static |
const GF_FilterRegister* ghidmx_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister GHIDXDmxRegister |