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/mpegts.h>
Data Structures | |
struct | GF_M2TSSplit_SPTS |
struct | GF_M2TSSplitCtx |
struct | M2TSDurProber |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_M2TSSplitCtx, _n) |
#define | OFFS(_n) #_n, offsetof(GF_M2TSSplitCtx, _n) |
Functions | |
static void | m2tssplit_on_event (struct tag_m2ts_demux *ts, u32 evt_type, void *par) |
void | m2tssplit_send_packet (GF_M2TSSplitCtx *ctx, GF_M2TSSplit_SPTS *stream, u8 *data, u32 size, u64 pcr_plus_one) |
void | m2tssplit_flush (GF_M2TSSplitCtx *ctx) |
static void | m2tssplit_on_event_duration_probe (GF_M2TS_Demuxer *ts, u32 evt_type, void *param) |
void | m2ts_split_estimate_duration (GF_M2TSSplitCtx *ctx, GF_FilterPid *pid) |
GF_Err | m2tssplit_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static Bool | m2tssplit_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
GF_Err | m2tssplit_process (GF_Filter *filter) |
GF_Err | m2tssplit_initialize (GF_Filter *filter) |
void | m2tssplit_finalize (GF_Filter *filter) |
const GF_FilterRegister * | tssplit_register (GF_FilterSession *session) |
GF_Err | m2ts_gendts_initialize (GF_Filter *filter) |
const GF_FilterRegister * | tsgendts_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | M2TSSplitCaps [] |
static const GF_FilterArgs | M2TSSplitArgs [] |
GF_FilterRegister | M2TSSplitRegister |
static const GF_FilterCapability | M2TSGenDTSCaps [] |
static const GF_FilterArgs | M2TSGenDTSArgs [] |
GF_FilterRegister | M2TSRestampRegister |
struct GF_M2TSSplit_SPTS |
struct GF_M2TSSplitCtx |
Data Fields | ||
---|---|---|
Bool | dvb | |
s32 | mux_id | |
Bool | avonly | |
u32 | nb_pack | |
Bool | gendts | |
Bool | kpad | |
GF_Filter * | filter | |
GF_FilterPid * | ipid | |
GF_List * | streams | |
GF_M2TS_Demuxer * | dmx | |
u8 | tsbuf[192] | |
GF_BitStream * | bsw | |
GF_M2TSSplit_SPTS * | out | |
u64 | filesize | |
GF_Fraction64 | duration | |
Bool | initial_play_done |
struct M2TSDurProber |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_M2TSSplitCtx, _n) |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_M2TSSplitCtx, _n) |
|
static |
void m2tssplit_send_packet | ( | GF_M2TSSplitCtx * | ctx, |
GF_M2TSSplit_SPTS * | stream, | ||
u8 * | data, | ||
u32 | size, | ||
u64 | pcr_plus_one | ||
) |
void m2tssplit_flush | ( | GF_M2TSSplitCtx * | ctx | ) |
|
static |
void m2ts_split_estimate_duration | ( | GF_M2TSSplitCtx * | ctx, |
GF_FilterPid * | pid | ||
) |
|
static |
GF_Err m2tssplit_process | ( | GF_Filter * | filter | ) |
GF_Err m2tssplit_initialize | ( | GF_Filter * | filter | ) |
void m2tssplit_finalize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* tssplit_register | ( | GF_FilterSession * | session | ) |
GF_Err m2ts_gendts_initialize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* tsgendts_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister M2TSSplitRegister |
|
static |
|
static |
GF_FilterRegister M2TSRestampRegister |