libgpac
Documentation of the core library of GPAC
|
#include <gpac/avparse.h>
#include <gpac/constants.h>
#include <gpac/filters.h>
#include <gpac/utf.h>
Data Structures | |
struct | MP3Idx |
struct | GF_MP3DmxCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_MP3DmxCtx, _n) |
Functions | |
GF_Err | mp3_dmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static void | mp3_dmx_check_dur (GF_Filter *filter, GF_MP3DmxCtx *ctx) |
static void | id3dmx_set_string (GF_FilterPid *apid, char *name, u8 *buf, Bool is_dyn) |
void | id3dmx_flush (GF_Filter *filter, u8 *id3_buf, u32 id3_buf_size, GF_FilterPid *audio_pid, GF_FilterPid **video_pid_p) |
static void | mp3_dmx_flush_id3 (GF_Filter *filter, GF_MP3DmxCtx *ctx) |
static void | mp3_dmx_check_pid (GF_Filter *filter, GF_MP3DmxCtx *ctx) |
static Bool | mp3_dmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GFINLINE void | mp3_dmx_update_cts (GF_MP3DmxCtx *ctx) |
GF_Err | mp3_dmx_process (GF_Filter *filter) |
static GF_Err | mp3_dmx_initialize (GF_Filter *filter) |
static void | mp3_dmx_finalize (GF_Filter *filter) |
static const char * | mp3_dmx_probe_data (const u8 *data, u32 size, GF_FilterProbeScore *score) |
const GF_FilterRegister * | rfmp3_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | MP3DmxCaps [] |
static const GF_FilterArgs | MP3DmxArgs [] |
GF_FilterRegister | MP3DmxRegister |
struct GF_MP3DmxCtx |
Data Fields | ||
---|---|---|
Double | index | |
Bool | expart | |
Bool | forcemp3 | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
GF_BitStream * | bs | |
u64 | file_pos | |
u64 | cts | |
u64 | prev_cts | |
u32 | sr | |
u32 | nb_ch | |
u32 | codecid | |
GF_Fraction64 | duration | |
Double | start_range | |
Bool | in_seek | |
u32 | timescale | |
Bool | is_playing | |
Bool | is_file | |
Bool | initial_play_done | |
Bool | file_loaded | |
u32 | hdr | |
u8 * | mp3_buffer | |
u32 | mp3_buffer_size | |
u32 | mp3_buffer_alloc | |
u32 | resume_from | |
u64 | byte_offset | |
GF_FilterPacket * | src_pck | |
Bool | recompute_cts | |
MP3Idx * | indexes | |
u32 | index_alloc_size | |
u32 | index_size | |
u32 | tag_size | |
u8 * | id3_buffer | |
u32 | id3_buffer_size | |
u32 | id3_buffer_alloc | |
GF_FilterPid * | vpid | |
Bool | copy_props | |
Bool | is_sync |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_MP3DmxCtx, _n) |
|
static |
void id3dmx_flush | ( | GF_Filter * | filter, |
u8 * | id3_buf, | ||
u32 | id3_buf_size, | ||
GF_FilterPid * | audio_pid, | ||
GF_FilterPid ** | video_pid_p | ||
) |
|
static |
|
static |
|
static |
|
static |
GF_Err mp3_dmx_process | ( | GF_Filter * | filter | ) |
|
static |
|
static |
|
static |
const GF_FilterRegister* rfmp3_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister MP3DmxRegister |