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

Data Structures

struct  TTIn
 

Functions

static u32 TTIN_RegisterMimeTypes (const GF_InputService *plug)
 
static Bool TTIn_CanHandleURL (GF_InputService *plug, const char *url)
 
static Bool TTIn_is_local (const char *url)
 
static GF_ESDtti_get_esd (TTIn *tti)
 
static void tti_setup_object (TTIn *tti)
 
GF_Err TTIn_LoadFile (GF_InputService *plug, const char *url, Bool is_cache)
 
void TTIn_NetIO (void *cbk, GF_NETIO_Parameter *param)
 
void TTIn_download_file (GF_InputService *plug, const char *url)
 
static GF_Err TTIn_ConnectService (GF_InputService *plug, GF_ClientService *serv, const char *url)
 
static GF_Err TTIn_CloseService (GF_InputService *plug)
 
static GF_DescriptorTTIn_GetServiceDesc (GF_InputService *plug, u32 expect_type, const char *sub_url)
 
static GF_Err TTIn_ConnectChannel (GF_InputService *plug, LPNETCHANNEL channel, const char *url, Bool upstream)
 
static GF_Err TTIn_DisconnectChannel (GF_InputService *plug, LPNETCHANNEL channel)
 
static GF_Err TTIn_ServiceCommand (GF_InputService *plug, GF_NetworkCommand *com)
 
static GF_Err TTIn_ChannelGetSLP (GF_InputService *plug, LPNETCHANNEL channel, char **out_data_ptr, u32 *out_data_size, GF_SLHeader *out_sl_hdr, Bool *sl_compressed, GF_Err *out_reception_status, Bool *is_new_data)
 
static GF_Err TTIn_ChannelReleaseSLP (GF_InputService *plug, LPNETCHANNEL channel)
 
void * NewTTReader ()
 
void DeleteTTReader (void *ifce)
 

Variables

const char * TTIN_MIME_TYPES []
 

Data Structure Documentation

struct TTIn
+ Collaboration diagram for TTIn:
Data Fields
GF_ClientService * service
Bool od_done
Bool needs_connection
u32 status
LPNETCHANNEL ch
GF_SLHeader sl_hdr
GF_ISOFile * mp4
char * szFile
u32 tt_track
GF_ISOSample * samp
u32 samp_num
u32 start_range
GF_DownloadSession * dnload

Function Documentation

static u32 TTIN_RegisterMimeTypes ( const GF_InputService plug)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool TTIn_CanHandleURL ( GF_InputService plug,
const char *  url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool TTIn_is_local ( const char *  url)
static

+ Here is the caller graph for this function:

static GF_ESD* tti_get_esd ( TTIn tti)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void tti_setup_object ( TTIn tti)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err TTIn_LoadFile ( GF_InputService plug,
const char *  url,
Bool  is_cache 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TTIn_NetIO ( void *  cbk,
GF_NETIO_Parameter param 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TTIn_download_file ( GF_InputService plug,
const char *  url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_ConnectService ( GF_InputService plug,
GF_ClientService *  serv,
const char *  url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_CloseService ( GF_InputService plug)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Descriptor* TTIn_GetServiceDesc ( GF_InputService plug,
u32  expect_type,
const char *  sub_url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_ConnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel,
const char *  url,
Bool  upstream 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_DisconnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_ServiceCommand ( GF_InputService plug,
GF_NetworkCommand com 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_ChannelGetSLP ( GF_InputService plug,
LPNETCHANNEL  channel,
char **  out_data_ptr,
u32 out_data_size,
GF_SLHeader out_sl_hdr,
Bool sl_compressed,
GF_Err out_reception_status,
Bool is_new_data 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err TTIn_ChannelReleaseSLP ( GF_InputService plug,
LPNETCHANNEL  channel 
)
static

+ 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:

void DeleteTTReader ( void *  ifce)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const char* TTIN_MIME_TYPES[]
Initial value:
= {
"x-subtitle/srt", "srt", "SRT SubTitles",
"x-subtitle/sub", "sub", "SUB SubTitles",
"x-subtitle/ttxt", "ttxt", "3GPP TimedText",
0
}