libgpac
Documentation of the core library of GPAC
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 (u8 *_data, u32 psize, u32 dsize, u32 *duration)
 
GF_Err vobsub_packetize_subpicture (FILE *fsub, u64 pts, u8 *data, u32 dataSize)
 

Variables

static lang_type lang_table []
 

Data Structure Documentation

◆ lang_type

struct lang_type
Data Fields
char id[3]
char lang[4]

Function Documentation

◆ vobsub_lang_name()

s32 vobsub_lang_name ( u16  id)
+ Here is the caller graph for this function:

◆ vobsub_lang_id()

char* vobsub_lang_id ( char *  name)
+ Here is the caller graph for this function:

◆ strltrim()

static char* strltrim ( char *  str)
static
+ Here is the caller graph for this function:

◆ strrtrim()

static char* strrtrim ( char *  str)
static
+ Here is the caller graph for this function:

◆ strtrim()

static char* strtrim ( char *  str)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vobsub_read_idx()

GF_Err vobsub_read_idx ( FILE *  file,
vobsub_file vobsub,
s32 version 
)
+ Here is the call graph for this function:

◆ vobsub_free()

void vobsub_free ( vobsub_file vobsub)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vobsub_get_subpic_duration()

GF_Err vobsub_get_subpic_duration ( u8 _data,
u32  psize,
u32  dsize,
u32 duration 
)
+ Here is the caller graph for this function:

◆ vobsub_packetize_subpicture()

GF_Err vobsub_packetize_subpicture ( FILE *  fsub,
u64  pts,
u8 data,
u32  dataSize 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ lang_table

lang_type lang_table[]
static