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
text_to_bifs.c File Reference
#include <gpac/constants.h>
#include <gpac/utf.h>
#include <gpac/xml.h>
#include <gpac/internal/media_dev.h>
#include <gpac/scene_manager.h>
+ Include dependency graph for text_to_bifs.c:

Macros

#define REM_TRAIL_MARKS(__str, __sep)
 

Enumerations

enum  {
  GF_TEXT_IMPORT_NONE = 0, GF_TEXT_IMPORT_SRT, GF_TEXT_IMPORT_SUB, GF_TEXT_IMPORT_TTXT,
  GF_TEXT_IMPORT_TEXML
}
 

Functions

static GF_Err gf_text_guess_format (char *filename, u32 *fmt)
 
static GF_Err gf_text_import_srt_bifs (GF_SceneManager *ctx, GF_ESD *src, GF_MuxInfo *mux)
 
static GF_Err gf_text_import_sub_bifs (GF_SceneManager *ctx, GF_ESD *src, GF_MuxInfo *mux)
 
GF_Err gf_sm_import_bifs_subtitle (GF_SceneManager *ctx, GF_ESD *src, GF_MuxInfo *mux)
 

Macro Definition Documentation

#define REM_TRAIL_MARKS (   __str,
  __sep 
)
Value:
while (1) { \
u32 _len = (u32) strlen(__str); \
if (!_len) break; \
_len--; \
if (strchr(__sep, __str[_len])) __str[_len] = 0; \
else break; \
} \
uint32_t u32
Definition: setup.h:246

Enumeration Type Documentation

anonymous enum
Enumerator
GF_TEXT_IMPORT_NONE 
GF_TEXT_IMPORT_SRT 
GF_TEXT_IMPORT_SUB 
GF_TEXT_IMPORT_TTXT 
GF_TEXT_IMPORT_TEXML 

Function Documentation

static GF_Err gf_text_guess_format ( char *  filename,
u32 fmt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_text_import_srt_bifs ( GF_SceneManager ctx,
GF_ESD src,
GF_MuxInfo mux 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gf_text_import_sub_bifs ( GF_SceneManager ctx,
GF_ESD src,
GF_MuxInfo mux 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sm_import_bifs_subtitle ( GF_SceneManager ctx,
GF_ESD src,
GF_MuxInfo mux 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: