libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/bitstream.h>
#include <gpac/internal/isomedia_dev.h>
#include <gpac/internal/media_dev.h>
#include <gpac/color.h>
Data Structures | |
struct | TX3GMxCtx |
Macros | |
#define | TTML_NAMESPACE "http://www.w3.org/ns/ttml" |
#define | OFFS(_n) #_n, offsetof(TX3GMxCtx, _n) |
Functions | |
static void | tx3gmx_write_config (TX3GMxCtx *ctx) |
GF_Err | tx3gmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
void | dump_ttxt_header (FILE *dump, GF_Tx3gSampleEntryBox *txt_e, u32 def_width, u32 def_height) |
static void | tx3gmx_get_stsd (GF_TextSampleDescriptor *ent, GF_Tx3gSampleEntryBox *samp_ent, GF_FontTableBox *font_ent) |
void | dump_ttxt_sample (FILE *dump, GF_TextSample *s_txt, u64 ts, u32 timescale, u32 di, Bool box_dump) |
char * | tx3g_format_time (u64 ts, u32 timescale, char *szDur, Bool is_srt) |
GF_Err | dump_ttxt_sample_srt (FILE *dump, GF_TextSample *txt, GF_Tx3gSampleEntryBox *txtd, Bool vtt_dump) |
static GF_Err | dump_ttxt_sample_ttml (TX3GMxCtx *ctx, FILE *dump, GF_TextSample *txt, GF_Tx3gSampleEntryBox *txtd, u64 start_ts, u64 end_ts) |
GF_Err | tx3gmx_process (GF_Filter *filter) |
static GF_Err | tx3gmx_initialize (GF_Filter *filter) |
static void | tx3gmx_finalize (GF_Filter *filter) |
const GF_FilterRegister * | ufttxt_register (GF_FilterSession *session) |
static GF_Err | tx3g2srt_initialize (GF_Filter *filter) |
const GF_FilterRegister * | tx3g2srt_register (GF_FilterSession *session) |
static GF_Err | tx3g2vtt_initialize (GF_Filter *filter) |
const GF_FilterRegister * | tx3g2vtt_register (GF_FilterSession *session) |
static GF_Err | tx3g2ttml_initialize (GF_Filter *filter) |
const GF_FilterRegister * | tx3g2ttml_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | TX3GMxCaps [] |
static const GF_FilterArgs | TX3GMxArgs [] |
GF_FilterRegister | TTXTMxRegister |
static const GF_FilterCapability | TX3G2SRTCaps [] |
GF_FilterRegister | TX3G2SRTRegister |
static const GF_FilterCapability | TX3G2VTTCaps [] |
GF_FilterRegister | TTX2VTTRegister |
static const GF_FilterCapability | TX3G2TTMLCaps [] |
GF_FilterRegister | TX3G2TTMLRegister |
struct TX3GMxCtx |
Data Fields | ||
---|---|---|
Bool | exporter | |
Bool | merge | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
GF_BitStream * | bs_r | |
u32 | codecid | |
GF_Fraction64 | duration | |
s64 | delay | |
GF_TextConfig * | cfg | |
u32 | dsi_crc | |
Bool | is_tx3g | |
u32 | dump_type | |
u32 | cur_frame |
#define TTML_NAMESPACE "http://www.w3.org/ns/ttml" |
|
static |
void dump_ttxt_header | ( | FILE * | dump, |
GF_Tx3gSampleEntryBox * | txt_e, | ||
u32 | def_width, | ||
u32 | def_height | ||
) |
|
static |
void dump_ttxt_sample | ( | FILE * | dump, |
GF_TextSample * | s_txt, | ||
u64 | ts, | ||
u32 | timescale, | ||
u32 | di, | ||
Bool | box_dump | ||
) |
GF_Err dump_ttxt_sample_srt | ( | FILE * | dump, |
GF_TextSample * | txt, | ||
GF_Tx3gSampleEntryBox * | txtd, | ||
Bool | vtt_dump | ||
) |
|
static |
GF_Err tx3gmx_process | ( | GF_Filter * | filter | ) |
|
static |
|
static |
const GF_FilterRegister* ufttxt_register | ( | GF_FilterSession * | session | ) |
|
static |
const GF_FilterRegister* tx3g2srt_register | ( | GF_FilterSession * | session | ) |
|
static |
const GF_FilterRegister* tx3g2vtt_register | ( | GF_FilterSession * | session | ) |
|
static |
const GF_FilterRegister* tx3g2ttml_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister TTXTMxRegister |
|
static |
GF_FilterRegister TX3G2SRTRegister |
|
static |
GF_FilterRegister TTX2VTTRegister |
|
static |
GF_FilterRegister TX3G2TTMLRegister |