GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
timedtext_dec.c File Reference
+ Include dependency graph for timedtext_dec.c:

Data Structures

struct  TTDPriv
 
struct  TTDTextChunk
 

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_ResetDisplay (TTDPriv *priv)
 
static void TTD_UpdateSizeInfo (TTDPriv *priv)
 
static GF_Err TTD_GetCapabilities (GF_BaseDecoder *plug, GF_CodecCapability *capability)
 
static GF_Err TTD_SetCapabilities (GF_BaseDecoder *plug, const GF_CodecCapability capability)
 
GF_Err TTD_AttachScene (GF_SceneDecoder *plug, GF_Scene *scene, Bool is_scene_decoder)
 
GF_Err TTD_ReleaseScene (GF_SceneDecoder *plug)
 
static void add_child (GF_Node *n1, GF_Node *par)
 
static GF_Nodettd_create_node (TTDPriv *ttd, u32 tag, const char *def_name)
 
static GF_Err TTD_AttachStream (GF_BaseDecoder *plug, GF_ESD *esd)
 
static GF_Err TTD_DetachStream (GF_BaseDecoder *plug, u16 ES_ID)
 
char * TTD_FindFont (GF_TextSampleDescriptor *tsd, u32 ID)
 
static void ttd_add_item (M_Form *form)
 
static void ttd_add_line (M_Form *form)
 
static void TTD_NewTextChunk (TTDPriv *priv, GF_TextSampleDescriptor *tsd, M_Form *form, u16 *utf16_txt, TTDTextChunk *tc)
 
void TTD_SplitChunks (GF_TextSample *txt, u32 nb_chars, GF_List *chunks, GF_Box *mod)
 
static void TTD_ApplySample (TTDPriv *priv, GF_TextSample *txt, u32 sdi, Bool is_utf_16, u32 sample_duration)
 
static GF_Err TTD_ProcessData (GF_SceneDecoder *plug, const char *inBuffer, u32 inBufferLength, u16 ES_ID, u32 AU_time, u32 mmlevel)
 
static u32 TTD_CanHandleStream (GF_BaseDecoder *ifce, u32 StreamType, GF_ESD *esd, u8 PL)
 
void DeleteTimedTextDec (GF_BaseDecoder *plug)
 
GF_BaseDecoderNewTimedTextDec ()
 
void DeleteTTReader (void *ifce)
 
void * NewTTReader ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 
const u32QueryInterfaces ()
 

Data Structure Documentation

struct TTDPriv
+ Collaboration diagram for TTDPriv:
Data Fields
GF_Scene * inlineScene
GF_Terminal * app
u32 nb_streams
GF_TextConfig * cfg
GF_SceneGraph * sg
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 is_active
Bool use_texture
Bool outline
struct TTDTextChunk
+ Collaboration diagram for TTDTextChunk:
Data Fields
u32 start_char
u32 end_char
GF_StyleRecord * srec
Bool is_hilight
u32 hilight_col
GF_TextHyperTextBox * hlink
Bool has_blink

Function Documentation

static void ttd_set_blink_fraction ( GF_Node node,
GF_Route *  route 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ttd_set_scroll_fraction ( GF_Node node,
GF_Route *  route 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TTD_ResetDisplay ( TTDPriv priv)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TTD_UpdateSizeInfo ( TTDPriv priv)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTD_GetCapabilities ( GF_BaseDecoder plug,
GF_CodecCapability capability 
)
static

+ Here is the caller graph for this function:

static GF_Err TTD_SetCapabilities ( GF_BaseDecoder plug,
const GF_CodecCapability  capability 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err TTD_AttachScene ( GF_SceneDecoder plug,
GF_Scene *  scene,
Bool  is_scene_decoder 
)

+ Here is the caller graph for this function:

GF_Err TTD_ReleaseScene ( GF_SceneDecoder plug)

+ Here is the caller graph for this function:

static void add_child ( GF_Node n1,
GF_Node par 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Node* ttd_create_node ( TTDPriv ttd,
u32  tag,
const char *  def_name 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTD_AttachStream ( GF_BaseDecoder plug,
GF_ESD esd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTD_DetachStream ( GF_BaseDecoder plug,
u16  ES_ID 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* TTD_FindFont ( GF_TextSampleDescriptor tsd,
u32  ID 
)

+ Here is the caller graph for this function:

static void ttd_add_item ( M_Form form)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ttd_add_line ( M_Form form)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TTD_NewTextChunk ( TTDPriv priv,
GF_TextSampleDescriptor tsd,
M_Form form,
u16 utf16_txt,
TTDTextChunk tc 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TTD_SplitChunks ( GF_TextSample *  txt,
u32  nb_chars,
GF_List *  chunks,
GF_Box mod 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TTD_ApplySample ( TTDPriv priv,
GF_TextSample *  txt,
u32  sdi,
Bool  is_utf_16,
u32  sample_duration 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTD_ProcessData ( GF_SceneDecoder plug,
const char *  inBuffer,
u32  inBufferLength,
u16  ES_ID,
u32  AU_time,
u32  mmlevel 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 TTD_CanHandleStream ( GF_BaseDecoder ifce,
u32  StreamType,
GF_ESD esd,
u8  PL 
)
static

+ Here is the caller graph for this function:

void DeleteTimedTextDec ( GF_BaseDecoder plug)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_BaseDecoder* NewTimedTextDec ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteTTReader ( void *  ifce)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* NewTTReader ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function:

const u32* QueryInterfaces ( )

defined(GPAC_DISABLE_VRML) && !defined(GPAC_DISABLE_ISOM)