libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/bitstream.h>
#include <gpac/network.h>
#include <gpac/internal/media_dev.h>
#include <gpac/crypt.h>
Data Structures | |
struct | GSF_PacketFragment |
struct | GSF_Packet |
struct | GSF_Stream |
struct | GSF_DemuxCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GSF_DemuxCtx, _n) |
Functions | |
static void | gsfdmx_stream_del (GSF_DemuxCtx *ctx, GSF_Stream *gst, Bool is_flush) |
GF_Err | gsfdmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static Bool | gsfdmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static void | gsfdmx_decrypt (GSF_DemuxCtx *ctx, char *data, u32 size) |
static GFINLINE u32 | gsfdmx_read_vlen (GF_BitStream *bs) |
static GF_Err | gsfdmx_read_prop (GF_BitStream *bs, GF_PropertyValue *p) |
static GSF_Stream * | gsfdmx_get_stream (GF_Filter *filter, GSF_DemuxCtx *ctx, u32 idx, u32 pkt_type) |
static GF_Err | gsfdmx_parse_pid_info (GF_Filter *filter, GSF_DemuxCtx *ctx, GSF_Stream *gst, GSF_Packet *pck, Bool is_info_update) |
static GF_Err | gsfdmx_tune (GF_Filter *filter, GSF_DemuxCtx *ctx, char *pck_data, u32 pck_size, Bool is_crypted) |
static GFINLINE void | gsfdmx_pck_reset (GSF_Packet *pck) |
static GFINLINE GSF_Packet * | gsfdmx_get_packet (GSF_DemuxCtx *ctx, GSF_Stream *gst, Bool pck_frag, s32 frame_sn, u8 pkt_type, u32 frame_size) |
static void | gsfdmx_packet_append_frag (GSF_Packet *pck, u32 size, u32 offset) |
GF_Err | gsfdmx_read_data_pck (GSF_DemuxCtx *ctx, GSF_Stream *gst, GSF_Packet *gpck, u32 pck_len, Bool full_pck, GF_BitStream *bs) |
static const char * | gsfdmx_pck_name (u32 pck_type) |
static GF_Err | gsfdmx_process_packets (GF_Filter *filter, GSF_DemuxCtx *ctx, GSF_Stream *gst) |
static GF_Err | gsfdmx_demux (GF_Filter *filter, GSF_DemuxCtx *ctx, char *data, u32 data_size) |
GF_Err | gsfdmx_process (GF_Filter *filter) |
static const char * | gsfdmx_probe_data (const u8 *data, u32 data_size, GF_FilterProbeScore *score) |
static void | gsfdmx_not_enough_bytes (void *par) |
static GF_Err | gsfdmx_initialize (GF_Filter *filter) |
static void | gsfdmx_finalize (GF_Filter *filter) |
const GF_FilterRegister * | gsfdmx_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | GSFDemuxCaps [] |
static const GF_FilterArgs | GSFDemuxArgs [] |
GF_FilterRegister | GSFDemuxRegister |
struct GSF_Packet |
struct GSF_Stream |
struct GSF_DemuxCtx |
Data Fields | ||
---|---|---|
const char * | magic | |
GF_PropData | key | |
u32 | pad | |
u32 | mq | |
GF_FilterPid * | ipid | |
GF_List * | streams | |
bin128 | crypt_IV | |
GF_Crypt * | crypt | |
u16 | crypt_blocks | |
u16 | skip_blocks | |
u32 | nb_playing | |
Double | start_range | |
Bool | is_file | |
u64 | file_pos | |
u64 | file_size | |
GF_Fraction64 | duration | |
Bool | initial_play_done | |
GF_BitStream * | bs_r | |
GF_BitStream * | bs_pck | |
GSF_Stream * | signal_st | |
char * | buffer | |
u32 | alloc_size | |
u32 | buf_size | |
u32 | missing_bytes | |
Bool | tuned | |
Bool | tune_error | |
Bool | use_seq_num | |
Bool | wait_for_play | |
GF_List * | pck_res | |
Bool | buffer_too_small | |
Bool | corrupted | |
Bool | file_pids | |
Bool | stop_pending | |
Bool | pid_pending |
#define OFFS | ( | _n | ) | #_n, offsetof(GSF_DemuxCtx, _n) |
enum GSF_PacketType |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
GF_Err gsfdmx_read_data_pck | ( | GSF_DemuxCtx * | ctx, |
GSF_Stream * | gst, | ||
GSF_Packet * | gpck, | ||
u32 | pck_len, | ||
Bool | full_pck, | ||
GF_BitStream * | bs | ||
) |
|
static |
|
static |
|
static |
GF_Err gsfdmx_process | ( | GF_Filter * | filter | ) |
|
static |
|
static |
|
static |
|
static |
const GF_FilterRegister* gsfdmx_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister GSFDemuxRegister |