![]() |
libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>#include <gpac/constants.h>#include <gpac/utf.h>#include <gpac/xml.h>#include <gpac/token.h>#include <gpac/color.h>#include <gpac/network.h>#include <gpac/internal/media_dev.h>#include <gpac/internal/isomedia_dev.h>#include <gpac/internal/swf_dev.h>#include <gpac/base_coding.h>
Include dependency graph for load_text.c:Data Structures | |
| struct | GF_TXTIn |
| struct | TTMLRes |
| struct | TTMLInterval |
| struct | GF_ISOFlusher |
| struct | Marker |
Macros | |
| #define | TTML_NAMESPACE "http://www.w3.org/ns/ttml" |
| #define | CHECK_STR(__str) |
| #define | REM_TRAIL_MARKS(__str, __sep) |
| #define | GET_MARKER_POS(_val, __isend) |
| #define | PROBE_OK(_score, _mime) |
| #define | OFFS(_n) #_n, offsetof(GF_TXTIn, _n) |
| #define | OFFS(_n) #_n, offsetof(GF_TXTIn, _n) |
| #define | OFFS(_n) #_n, offsetof(GF_TXTIn, _n) |
Typedefs | |
| typedef u32 | GF_TXTInTextStreamMode |
Enumerations | |
| enum | GF_TXTInTextStreamMode_t { STXT_MODE_STXT =0 , STXT_MODE_SBTT , STXT_MODE_TX3G , STXT_MODE_VTT , STXT_MODE_WEBVTT } |
| enum | { GF_TXTIN_MODE_NONE = 0 , GF_TXTIN_MODE_SRT , GF_TXTIN_MODE_SUB , GF_TXTIN_MODE_TTXT , GF_TXTIN_MODE_TEXML , GF_TXTIN_MODE_WEBVTT , GF_TXTIN_MODE_TTML , GF_TXTIN_MODE_SWF_SVG , GF_TXTIN_MODE_SSA , GF_TXTIN_MODE_SIMPLE , GF_TXTIN_MODE_PROBE } |
Functions | |
| s32 | gf_text_get_utf_type (GF_TXTIn *ctx, FILE *in_src) |
| static void | ttxt_dom_progress (void *cbk, u64 cur_samp, u64 count) |
| static Bool | txtin_check_blocking (GF_TXTIn *ctx) |
| static GF_Err | gf_text_guess_format (GF_TXTIn *ctx, const char *filename, u32 *fmt) |
| char * | gf_text_get_utf8_line (char *szLine, u32 lineSize, FILE *txt_in, s32 unicode_type, Bool *io_progress) |
| static void | txtin_probe_duration (GF_TXTIn *ctx) |
| static GF_Err | txtin_setup_srt (GF_Filter *filter, GF_TXTIn *ctx, Bool gen_dsi_only) |
| static void | txtin_process_send_text_sample (GF_TXTIn *ctx, GF_TextSample *txt_samp, u64 ts, u32 duration, Bool is_rap) |
| static GF_Err | parse_srt_line (GF_TXTIn *ctx, char *szLine, u32 *char_l, Bool *set_start_c, Bool *set_end_c) |
| static GF_Err | txtin_process_srt (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | gf_webvtt_import_report (void *user, GF_Err e, char *message, const char *line) |
| static void | gf_webvtt_import_header (void *user, const char *config) |
| static void | gf_webvtt_flush_sample (void *user, GF_WebVTTSample *samp) |
| static GF_Err | txtin_webvtt_setup (GF_Filter *filter, GF_TXTIn *ctx) |
| void | gf_webvtt_parser_not_done (GF_WebVTTParser *parser) |
| static GF_Err | txtin_process_webvtt (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static char * | ttxt_parse_string (char *str, Bool strip_lines) |
| static void | ebu_ttd_remove_samples (GF_XMLNode *root, GF_XMLNode **out_body_node) |
| u64 | ttml_get_timestamp_ex (char *value, u32 tick_rate, u32 *ttml_fps_num, u32 *ttml_fps_den, u32 *ttml_sfps) |
| static u64 | ttml_get_timestamp (GF_TXTIn *ctx, char *value) |
| static GF_Err | ttml_push_interval (GF_TXTIn *ctx, s64 begin, s64 end, TTMLInterval **out_interval) |
| static void | ttml_reset_intervals (GF_TXTIn *ctx) |
| static GF_Err | ttml_push_res (GF_TXTIn *ctx, TTMLInterval *interval, u8 *f_data, u32 f_size) |
| static GF_Err | ttml_push_resources (GF_TXTIn *ctx, TTMLInterval *interval, GF_XMLNode *node, GF_XMLNode *parent_source_node) |
| static GF_Err | ttml_rewrite_timestamp (GF_TXTIn *ctx, s64 ttml_zero, GF_XMLAttribute *att, s64 *value, Bool *drop) |
| static GF_Err | ttml_setup_intervals (GF_TXTIn *ctx) |
| GF_Err | ttml_parse_root (GF_XMLNode *root, const char **lang, u32 *tick_rate, u32 *ttml_fps_num, u32 *ttml_fps_den, u32 *ttml_sfps) |
| static GF_Err | gf_text_ttml_setup (GF_Filter *filter, GF_TXTIn *ctx) |
| static Bool | ttml_check_range (TTMLInterval *interval, s64 ts_begin, s64 ts_end) |
| static GF_Err | ttml_send_empty_sample (GF_TXTIn *ctx, u64 sample_start, u64 sample_end) |
| static GF_Err | gf_text_process_ttml (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | swf_svg_add_iso_sample (void *user, const u8 *data, u32 length, u64 timestamp, Bool isRap) |
| static GF_Err | swf_svg_add_iso_header (void *user, const u8 *data, u32 length, Bool isHeader) |
| static GF_Err | gf_text_swf_setup (GF_Filter *filter, GF_TXTIn *ctx) |
| static GF_Err | gf_text_process_swf (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | gf_text_process_sub (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | gf_text_process_ssa (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static u32 | ttxt_get_color (char *val) |
| static void | ttxt_parse_text_box (GF_XMLNode *n, GF_BoxRecord *box) |
| static void | ttxt_parse_text_style (GF_TXTIn *ctx, GF_XMLNode *n, GF_StyleRecord *style) |
| static GF_Err | txtin_setup_ttxt (GF_Filter *filter, GF_TXTIn *ctx) |
| static GF_Err | txtin_process_ttxt (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static u32 | tx3g_get_color (char *value) |
| static void | tx3g_parse_text_box (GF_XMLNode *n, GF_BoxRecord *box) |
| static GF_Err | txtin_texml_setup (GF_Filter *filter, GF_TXTIn *ctx) |
| static GF_Err | txtin_process_texml (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | txtin_process_simple (GF_Filter *filter, GF_TXTIn *ctx, GF_FilterPacket *ipck) |
| static GF_Err | txtin_configure_pid_ex (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove, u32 force_fmt) |
| static GF_Err | txtin_process (GF_Filter *filter) |
| static void | ttxtin_reset (GF_TXTIn *ctx) |
| static GF_Err | txtin_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
| static Bool | txtin_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
| GF_Err | txtin_initialize (GF_Filter *filter) |
| void | txtin_finalize (GF_Filter *filter) |
| static const char * | txtin_probe_data (const u8 *data, u32 data_size, GF_FilterProbeScore *score) |
| const GF_FilterRegister * | txtin_register (GF_FilterSession *session) |
| static GF_Err | vtt2tx3g_initialize (GF_Filter *filter) |
| const GF_FilterRegister * | vtt2tx3g_register (GF_FilterSession *session) |
| static GF_Err | rfsrt_initialize (GF_Filter *filter) |
| const GF_FilterRegister * | rfsrt_register (GF_FilterSession *session) |
Variables | |
| static const GF_FilterCapability | TXTInCaps [] |
| static const GF_FilterArgs | TXTInArgs [] |
| GF_FilterRegister | TXTInRegister |
| static const GF_FilterCapability | VTTTX3GCaps [] |
| static const GF_FilterArgs | VTTTX3GArgs [] |
| GF_FilterRegister | VTTTX3GRegister |
| static const GF_FilterCapability | RFSRTCaps [] |
| static const GF_FilterArgs | RFSRTArgs [] |
| GF_FilterRegister | RFSRTRegister |
| #define TTML_NAMESPACE "http://www.w3.org/ns/ttml" |
| #define CHECK_STR | ( | __str | ) |
| #define REM_TRAIL_MARKS | ( | __str, | |
| __sep | |||
| ) |
| #define GET_MARKER_POS | ( | _val, | |
| __isend | |||
| ) |
| #define PROBE_OK | ( | _score, | |
| _mime | |||
| ) |
| #define OFFS | ( | _n | ) | #_n, offsetof(GF_TXTIn, _n) |
| #define OFFS | ( | _n | ) | #_n, offsetof(GF_TXTIn, _n) |
| #define OFFS | ( | _n | ) | #_n, offsetof(GF_TXTIn, _n) |
| typedef u32 GF_TXTInTextStreamMode |
| anonymous enum |
| s32 gf_text_get_utf_type | ( | GF_TXTIn * | ctx, |
| FILE * | in_src | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| char * gf_text_get_utf8_line | ( | char * | szLine, |
| u32 | lineSize, | ||
| FILE * | txt_in, | ||
| s32 | unicode_type, | ||
| Bool * | io_progress | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_webvtt_parser_not_done | ( | GF_WebVTTParser * | parser | ) |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
state;
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| u64 ttml_get_timestamp_ex | ( | char * | value, |
| u32 | tick_rate, | ||
| u32 * | ttml_fps_num, | ||
| u32 * | ttml_fps_den, | ||
| u32 * | ttml_sfps | ||
| ) |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err ttml_parse_root | ( | GF_XMLNode * | root, |
| const char ** | lang, | ||
| u32 * | tick_rate, | ||
| u32 * | ttml_fps_num, | ||
| u32 * | ttml_fps_den, | ||
| u32 * | ttml_sfps | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
|
static |
Here is the call graph for this function:| GF_Err txtin_initialize | ( | GF_Filter * | filter | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void txtin_finalize | ( | GF_Filter * | filter | ) |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:| const GF_FilterRegister * txtin_register | ( | GF_FilterSession * | session | ) |
|
static |
Here is the call graph for this function:| const GF_FilterRegister * vtt2tx3g_register | ( | GF_FilterSession * | session | ) |
|
static |
Here is the call graph for this function:| const GF_FilterRegister * rfsrt_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
| GF_FilterRegister TXTInRegister |
|
static |
|
static |
| GF_FilterRegister VTTTX3GRegister |
|
static |
|
static |
| GF_FilterRegister RFSRTRegister |