libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/internal/isomedia_dev.h>
#include <gpac/utf.h>
#include <gpac/nodes_mpeg4.h>
#include <gpac/internal/compositor_dev.h>
Data Structures | |
struct | GF_TTXTDec |
struct | TTDTextChunk |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_TTXTDec, _n) |
Functions | |
static void | ttd_set_blink_fraction (GF_Node *node, GF_Route *route) |
static void | ttd_set_scroll_fraction (GF_Node *node, GF_Route *route) |
static void | ttd_reset_display (GF_TTXTDec *ctx) |
static void | ttd_setup_scene (GF_TTXTDec *ctx) |
static void | ttd_toggle_display (GF_TTXTDec *ctx) |
static void | ttd_update_size_info (GF_TTXTDec *ctx) |
static GFINLINE void | ttd_add_child (GF_Node *n1, GF_Node *par) |
static GFINLINE GF_Node * | ttd_create_node (GF_TTXTDec *ttd, u32 tag, const char *def_name) |
static GF_Err | ttd_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static void | ttd_reset_scene (GF_TTXTDec *ctx) |
static char * | ttd_find_font (GF_TextSampleDescriptor *tsd, u32 ID) |
static void | ttd_add_item (M_Form *form) |
static void | ttd_add_line (M_Form *form) |
static void | ttd_new_text_chunk (GF_TTXTDec *ctx, GF_TextSampleDescriptor *tsd, M_Form *form, u16 *utf16_txt, u32 utf_alloc_size, TTDTextChunk *tc) |
static void | ttd_split_chunks (GF_TextSample *txt, u32 nb_chars, GF_List *chunks, GF_Box *mod) |
static void | ttd_apply_sample (GF_TTXTDec *ctx, GF_TextSample *txt, u32 sample_desc_index, Bool is_utf_16, u32 sample_duration) |
static Bool | ttd_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GF_Err | ttd_render_simple_text (GF_TTXTDec *ctx, const char *pck_data, u32 pck_size, u32 sample_duration) |
static GF_Err | ttd_process (GF_Filter *filter) |
static GF_Err | ttd_initialize (GF_Filter *filter) |
void | ttd_finalize (GF_Filter *filter) |
const GF_FilterRegister * | ttxtdec_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterArgs | TTXTDecArgs [] |
static const GF_FilterCapability | TTXTDecCaps [] |
GF_FilterRegister | TTXTDecRegister |
struct GF_TTXTDec |
Data Fields | ||
---|---|---|
Bool | texture | |
Bool | outline | |
u32 | txtw | |
u32 | txth | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
GF_ObjectManager * | odm | |
GF_Scene * | scene | |
u32 | dsi_crc | |
Bool | is_tx3g | |
Bool | is_playing | |
Bool | graph_registered | |
Bool | is_eos | |
u32 | timescale | |
s64 | delay | |
GF_TextConfig * | cfg | |
GF_BitStream * | bs_r | |
GF_SceneGraph * | scenegraph | |
M_Transform2D * | tr_track | |
M_Transform2D * | tr_box | |
M_Transform2D * | tr_scroll | |
M_Material2D * | mat_track | |
M_Material2D * | mat_box | |
M_Layer2D * | dlist | |
M_Rectangle * | rec_box | |
M_Rectangle * | rec_track | |
M_TimeSensor * | ts_blink | |
M_TimeSensor * | ts_scroll | |
M_ScalarInterpolator * | process_blink | |
M_ScalarInterpolator * | process_scroll | |
GF_Route * | time_route | |
GF_List * | blink_nodes | |
u32 | scroll_type | |
u32 | scroll_mode | |
Fixed | scroll_time | |
Fixed | scroll_delay | |
Bool | timer_active | |
Bool | simple_text | |
u8 * | static_text | |
u32 | txt_static_alloc | |
u64 | sample_end | |
u32 | forced_sub |
struct TTDTextChunk |
Data Fields | ||
---|---|---|
u32 | start_char | |
u32 | end_char | |
GF_StyleRecord * | srec | |
Bool | is_highlight | |
u32 | highlight_col | |
GF_TextHyperTextBox * | hlink | |
Bool | has_blink |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_TTXTDec, _n) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void ttd_finalize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* ttxtdec_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister TTXTDecRegister |