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

Data Structures

struct  VTTIn
 

Functions

static u32 VTT_RegisterMimeTypes (const GF_InputService *plug)
 
static Bool VTT_CanHandleURL (GF_InputService *plug, const char *url)
 
static Bool VTT_is_local (const char *url)
 
void VTT_NetIO (void *cbk, GF_NETIO_Parameter *param)
 
void VTT_download_file (GF_InputService *plug, const char *url)
 
static GF_Err VTT_ConnectService (GF_InputService *plug, GF_ClientService *serv, const char *url)
 
static GF_Err VTT_CloseService (GF_InputService *plug)
 
static GF_DescriptorVTT_GetServiceDesc (GF_InputService *plug, u32 expect_type, const char *sub_url)
 
static GF_Err VTT_ConnectChannel (GF_InputService *plug, LPNETCHANNEL channel, const char *url, Bool upstream)
 
static GF_Err VTT_DisconnectChannel (GF_InputService *plug, LPNETCHANNEL channel)
 
static GF_Err VTT_ServiceCommand (GF_InputService *plug, GF_NetworkCommand *com)
 
static GF_Err VTT_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 VTT_ChannelReleaseSLP (GF_InputService *plug, LPNETCHANNEL channel)
 
static void * NewVTTInput ()
 
void DeleteVTTInput (void *ifce)
 
void * NewVTTDec ()
 
void DeleteVTTDec (GF_BaseDecoder *plug)
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 
const u32QueryInterfaces ()
 

Variables

const char * VTT_MIME_TYPES []
 

Data Structure Documentation

struct VTTIn
+ Collaboration diagram for VTTIn:
Data Fields
GF_ClientService * service
LPNETCHANNEL channel
GF_DownloadSession * dnload
Bool needs_connection
GF_SLHeader sl_hdr

Function Documentation

static u32 VTT_RegisterMimeTypes ( const GF_InputService plug)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool VTT_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 VTT_is_local ( const char *  url)
static

+ Here is the caller graph for this function:

void VTT_NetIO ( void *  cbk,
GF_NETIO_Parameter param 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void VTT_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 VTT_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 VTT_CloseService ( GF_InputService plug)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Descriptor* VTT_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 VTT_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 VTT_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 VTT_ServiceCommand ( GF_InputService plug,
GF_NetworkCommand com 
)
static

+ Here is the caller graph for this function:

static GF_Err VTT_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

fetching es data/

+ Here is the caller graph for this function:

static GF_Err VTT_ChannelReleaseSLP ( GF_InputService plug,
LPNETCHANNEL  channel 
)
static

+ Here is the caller graph for this function:

static void* NewVTTInput ( )
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteVTTInput ( void *  ifce)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* NewVTTDec ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteVTTDec ( GF_BaseDecoder plug)

+ 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 ( )

Variable Documentation

const char* VTT_MIME_TYPES[]
Initial value:
= {
"text/vtt", "vtt", "VTT SubTitles",
0
}