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
vobsub.c File Reference
#include <gpac/list.h>
#include <gpac/internal/vobsub.h>
+ Include dependency graph for vobsub.c:

Data Structures

struct  lang_type
 

Functions

s32 vobsub_lang_name (u16 id)
 
char * vobsub_lang_id (char *name)
 
static char * strltrim (char *str)
 
static char * strrtrim (char *str)
 
static char * strtrim (char *str)
 
GF_Err vobsub_read_idx (FILE *file, vobsub_file *vobsub, s32 *version)
 
void vobsub_free (vobsub_file *vobsub)
 
GF_Err vobsub_get_subpic_duration (char *_data, u32 psize, u32 dsize, u32 *duration)
 
GF_Err vobsub_packetize_subpicture (FILE *fsub, u64 pts, char *data, u32 dataSize)
 

Variables

static lang_type lang_table []
 

Data Structure Documentation

struct lang_type
+ Collaboration diagram for lang_type:
Data Fields
char id[3]
char lang[4]

Function Documentation

s32 vobsub_lang_name ( u16  id)

+ Here is the caller graph for this function:

char* vobsub_lang_id ( char *  name)

+ Here is the caller graph for this function:

static char* strltrim ( char *  str)
static

+ Here is the caller graph for this function:

static char* strrtrim ( char *  str)
static

+ Here is the caller graph for this function:

static char* strtrim ( char *  str)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err vobsub_read_idx ( FILE *  file,
vobsub_file vobsub,
s32 version 
)

+ Here is the call graph for this function:

void vobsub_free ( vobsub_file vobsub)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err vobsub_get_subpic_duration ( char *  _data,
u32  psize,
u32  dsize,
u32 duration 
)

+ Here is the caller graph for this function:

GF_Err vobsub_packetize_subpicture ( FILE *  fsub,
u64  pts,
char *  data,
u32  dataSize 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

lang_type lang_table[]
static