libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/bitstream.h>
#include <gpac/webvtt.h>
#include <gpac/internal/media_dev.h>
Data Structures | |
struct | GF_WebVTTMxCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_WebVTTMxCtx, _n) |
Functions | |
static void | vttmx_write_cue (void *ctx, GF_WebVTTCue *cue) |
GF_Err | vttmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
void | webvtt_write_cue (GF_WebVTTMxCtx *ctx, GF_WebVTTCue *cue, Bool write_srt) |
void | vttmx_parser_flush (GF_WebVTTMxCtx *ctx) |
static void | vttmx_flush_segment (GF_WebVTTMxCtx *ctx) |
GF_Err | vttmx_process (GF_Filter *filter) |
static void | vttmx_finalize (GF_Filter *filter) |
const GF_FilterRegister * | ufvtt_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | WebVTTMxCaps [] |
static const GF_FilterArgs | WebVTTMxArgs [] |
GF_FilterRegister | WebVTTMxRegister |
struct GF_WebVTTMxCtx |
Data Fields | ||
---|---|---|
Bool | exporter | |
Bool | merge_cues | |
Bool | noempty | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
u32 | codecid | |
u32 | timescale | |
GF_Fraction64 | duration | |
s64 | delay | |
u8 * | cues_buffer | |
u32 | cues_buffer_size | |
GF_WebVTTParser * | parser | |
GF_FilterPacket * | src_pck | |
Bool | dash_mode | |
Bool | first | |
u32 | seg_pck_in | |
u32 | seg_pck_out |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_WebVTTMxCtx, _n) |
|
static |
void webvtt_write_cue | ( | GF_WebVTTMxCtx * | ctx, |
GF_WebVTTCue * | cue, | ||
Bool | write_srt | ||
) |
void vttmx_parser_flush | ( | GF_WebVTTMxCtx * | ctx | ) |
|
static |
GF_Err vttmx_process | ( | GF_Filter * | filter | ) |
|
static |
const GF_FilterRegister* ufvtt_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister WebVTTMxRegister |