libgpac
Documentation of the core library of GPAC
vobsub.h File Reference
#include <gpac/tools.h>
#include <gpac/list.h>
+ Include dependency graph for vobsub.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  vobsub_pos
 
struct  vobsub_lang
 
struct  vobsub_file
 

Macros

#define VOBSUBIDXVER   7
 

Functions

s32 vobsub_lang_name (u16 id)
 
char * vobsub_lang_id (char *name)
 
GF_Err vobsub_read_idx (FILE *file, vobsub_file *vobsub, int *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)
 

Data Structure Documentation

◆ vobsub_pos

struct vobsub_pos
Data Fields
u64 filepos
u64 start
u64 stop

◆ vobsub_lang

struct vobsub_lang
Data Fields
u32 id
char * name
GF_List * subpos
u32 idx
u32 current
Bool is_seek
u64 last_dts

◆ vobsub_file

struct vobsub_file
+ Collaboration diagram for vobsub_file:
Data Fields
u32 width
u32 height
u8 palette[16][4]
u32 num_langs
vobsub_lang langs[32]

Macro Definition Documentation

◆ VOBSUBIDXVER

#define VOBSUBIDXVER   7

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:

◆ vobsub_read_idx()

GF_Err vobsub_read_idx ( FILE *  file,
vobsub_file vobsub,
int *  version 
)
+ Here is the caller 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: