VLC  3.0.15
Data Structures | Macros | Typedefs | Functions
vlc_subpicture.h File Reference
Include dependency graph for vlc_subpicture.h:

Go to the source code of this file.

Data Structures

struct  subpicture_region_t
 Video subtitle region. More...
 
struct  subpicture_updater_t
 
struct  subpicture_t
 Video subtitle. More...
 

Macros

#define SUBPICTURE_ALIGN_LEFT   0x1
 
#define SUBPICTURE_ALIGN_RIGHT   0x2
 
#define SUBPICTURE_ALIGN_TOP   0x4
 
#define SUBPICTURE_ALIGN_BOTTOM   0x8
 
#define SUBPICTURE_ALIGN_MASK
 

Typedefs

typedef struct subpicture_region_private_t subpicture_region_private_t
 Video subtitle region spu core private. More...
 
typedef struct subpicture_updater_sys_t subpicture_updater_sys_t
 
typedef struct subpicture_private_t subpicture_private_t
 

Functions

subpicture_region_tsubpicture_region_New (const video_format_t *p_fmt)
 This function will create a new subpicture region. More...
 
void subpicture_region_Delete (subpicture_region_t *p_region)
 This function will destroy a subpicture region allocated by subpicture_region_New. More...
 
void subpicture_region_ChainDelete (subpicture_region_t *p_head)
 This function will destroy a list of subpicture regions allocated by subpicture_region_New. More...
 
subpicture_region_tsubpicture_region_Copy (subpicture_region_t *p_region)
 This function will copy a subpicture region to a new allocated one and transfer all the properties. More...
 
subpicture_tsubpicture_New (const subpicture_updater_t *)
 This function create a new empty subpicture. More...
 
void subpicture_Delete (subpicture_t *p_subpic)
 This function delete a subpicture created by subpicture_New. More...
 
subpicture_tsubpicture_NewFromPicture (vlc_object_t *, picture_t *, vlc_fourcc_t i_chroma)
 This function will create a subpicture having one region in the requested chroma showing the given picture. More...
 
void subpicture_Update (subpicture_t *, const video_format_t *src, const video_format_t *, mtime_t)
 This function will update the content of a subpicture created with a non NULL subpicture_updater_t. More...
 
unsigned picture_BlendSubpicture (picture_t *, filter_t *p_blend, subpicture_t *)
 This function will blend a given subpicture onto a picture. More...
 

Detailed Description

Subpictures functions