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
tx3g.c File Reference
+ Include dependency graph for tx3g.c:

Macros

#define SAMPLE_INDEX_OFFSET   129
 

Functions

GF_Err gf_isom_update_text_description (GF_ISOFile *movie, u32 trackNumber, u32 descriptionIndex, GF_TextSampleDescriptor *desc)
 
GF_Err gf_isom_new_text_description (GF_ISOFile *movie, u32 trackNumber, GF_TextSampleDescriptor *desc, char *URLname, char *URNname, u32 *outDescriptionIndex)
 
GF_Err gf_isom_text_add_text (GF_TextSample *samp, char *text_data, u32 text_len)
 
GF_Err gf_isom_text_set_utf16_marker (GF_TextSample *samp)
 
GF_Err gf_isom_text_add_style (GF_TextSample *samp, GF_StyleRecord *rec)
 
GF_Err gf_isom_text_add_highlight (GF_TextSample *samp, u16 start_char, u16 end_char)
 
GF_Err gf_isom_text_set_highlight_color (GF_TextSample *samp, u8 r, u8 g, u8 b, u8 a)
 
GF_Err gf_isom_text_set_highlight_color_argb (GF_TextSample *samp, u32 argb)
 
GF_Err gf_isom_text_add_karaoke (GF_TextSample *samp, u32 start_time)
 
GF_Err gf_isom_text_set_karaoke_segment (GF_TextSample *samp, u32 end_time, u16 start_char, u16 end_char)
 
GF_Err gf_isom_text_set_scroll_delay (GF_TextSample *samp, u32 scroll_delay)
 
GF_Err gf_isom_text_add_hyperlink (GF_TextSample *samp, char *URL, char *altString, u16 start_char, u16 end_char)
 
GF_Err gf_isom_text_set_box (GF_TextSample *samp, s16 top, s16 left, s16 bottom, s16 right)
 
GF_Err gf_isom_text_add_blink (GF_TextSample *samp, u16 start_char, u16 end_char)
 
GF_Err gf_isom_text_set_wrap (GF_TextSample *samp, u8 wrap_flags)
 
static GF_Err gpp_write_modifier (GF_BitStream *bs, GF_Box *a)
 
GF_ISOSamplegf_isom_text_to_sample (GF_TextSample *samp)
 
GF_Err gf_isom_text_has_similar_description (GF_ISOFile *movie, u32 trackNumber, GF_TextSampleDescriptor *desc, u32 *outDescIdx, Bool *same_box, Bool *same_styles)
 
GF_TextSample * gf_isom_new_text_sample ()
 
GF_Err gf_isom_text_reset_styles (GF_TextSample *samp)
 
GF_Err gf_isom_text_reset (GF_TextSample *samp)
 
void gf_isom_delete_text_sample (GF_TextSample *tx_samp)
 
GF_TextSample * gf_isom_parse_texte_sample (GF_BitStream *bs)
 
GF_TextSample * gf_isom_parse_texte_sample_from_data (char *data, u32 dataLength)
 
static void gf_isom_write_tx3g (GF_Tx3gSampleEntryBox *a, GF_BitStream *bs, u32 sidx, u32 sidx_offset)
 
GF_Err gf_isom_get_ttxt_esd (GF_MediaBox *mdia, GF_ESD **out_esd)
 
GF_Err gf_isom_rewrite_text_sample (GF_ISOSample *samp, u32 sampleDescriptionIndex, u32 sample_dur)
 
GF_Err gf_isom_text_get_encoded_tx3g (GF_ISOFile *file, u32 track, u32 sidx, u32 sidx_offset, char **tx3g, u32 *tx3g_size)
 

Macro Definition Documentation

#define SAMPLE_INDEX_OFFSET   129

Function Documentation

GF_Err gf_isom_update_text_description ( GF_ISOFile *  movie,
u32  trackNumber,
u32  descriptionIndex,
GF_TextSampleDescriptor desc 
)

+ Here is the call graph for this function:

GF_Err gf_isom_new_text_description ( GF_ISOFile *  movie,
u32  trackNumber,
GF_TextSampleDescriptor desc,
char *  URLname,
char *  URNname,
u32 outDescriptionIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_add_text ( GF_TextSample *  samp,
char *  text_data,
u32  text_len 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_utf16_marker ( GF_TextSample *  samp)

+ Here is the call graph for this function:

GF_Err gf_isom_text_add_style ( GF_TextSample *  samp,
GF_StyleRecord rec 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_add_highlight ( GF_TextSample *  samp,
u16  start_char,
u16  end_char 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_highlight_color ( GF_TextSample *  samp,
u8  r,
u8  g,
u8  b,
u8  a 
)

+ Here is the call graph for this function:

GF_Err gf_isom_text_set_highlight_color_argb ( GF_TextSample *  samp,
u32  argb 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_add_karaoke ( GF_TextSample *  samp,
u32  start_time 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_karaoke_segment ( GF_TextSample *  samp,
u32  end_time,
u16  start_char,
u16  end_char 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_scroll_delay ( GF_TextSample *  samp,
u32  scroll_delay 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_add_hyperlink ( GF_TextSample *  samp,
char *  URL,
char *  altString,
u16  start_char,
u16  end_char 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_box ( GF_TextSample *  samp,
s16  top,
s16  left,
s16  bottom,
s16  right 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_add_blink ( GF_TextSample *  samp,
u16  start_char,
u16  end_char 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_set_wrap ( GF_TextSample *  samp,
u8  wrap_flags 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gpp_write_modifier ( GF_BitStream *  bs,
GF_Box a 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_ISOSample* gf_isom_text_to_sample ( GF_TextSample *  samp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_has_similar_description ( GF_ISOFile *  movie,
u32  trackNumber,
GF_TextSampleDescriptor desc,
u32 outDescIdx,
Bool same_box,
Bool same_styles 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_TextSample* gf_isom_new_text_sample ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_reset_styles ( GF_TextSample *  samp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_reset ( GF_TextSample *  samp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_isom_delete_text_sample ( GF_TextSample *  tx_samp)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_TextSample* gf_isom_parse_texte_sample ( GF_BitStream *  bs)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_TextSample* gf_isom_parse_texte_sample_from_data ( char *  data,
u32  dataLength 
)

+ Here is the call graph for this function:

static void gf_isom_write_tx3g ( GF_Tx3gSampleEntryBox a,
GF_BitStream *  bs,
u32  sidx,
u32  sidx_offset 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_get_ttxt_esd ( GF_MediaBox mdia,
GF_ESD **  out_esd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_rewrite_text_sample ( GF_ISOSample samp,
u32  sampleDescriptionIndex,
u32  sample_dur 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_isom_text_get_encoded_tx3g ( GF_ISOFile *  file,
u32  track,
u32  sidx,
u32  sidx_offset,
char **  tx3g,
u32 tx3g_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: