Video Subpictures
[Video Output]

Collaboration diagram for Video Subpictures:
Subpictures are pictures that should be displayed on top of the video, like subtitles and OSD. More...

Data Structures

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

Defines

#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.

Functions

subpicture_region_tsubpicture_region_New (const video_format_t *p_fmt)
 This function will create a new subpicture region.
void subpicture_region_Delete (subpicture_region_t *p_region)
 This function will destroy a subpicture region allocated by subpicture_region_New.
void subpicture_region_ChainDelete (subpicture_region_t *p_head)
 This function will destroy a list of subpicture regions allocated by subpicture_region_New.
subpicture_tsubpicture_New (void)
 This function create a new empty subpicture.
void subpicture_Delete (subpicture_t *p_subpic)
 This function delete a subpicture created by subpicture_New.
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.

Detailed Description

Subpictures are pictures that should be displayed on top of the video, like subtitles and OSD.


Define Documentation

#define SUBPICTURE_ALIGN_BOTTOM   0x8

#define SUBPICTURE_ALIGN_LEFT   0x1

#define SUBPICTURE_ALIGN_MASK

#define SUBPICTURE_ALIGN_RIGHT   0x2

#define SUBPICTURE_ALIGN_TOP   0x4


Typedef Documentation

Video subtitle region spu core private.


Function Documentation

void subpicture_Delete ( subpicture_t p_subpic  ) 

subpicture_t* subpicture_New ( void   ) 

subpicture_t* subpicture_NewFromPicture ( vlc_object_t ,
picture_t ,
vlc_fourcc_t  i_chroma 
)

void subpicture_region_ChainDelete ( subpicture_region_t p_head  ) 

This function will destroy a list of subpicture regions allocated by subpicture_region_New.

Provided for convenience.

References subpicture_region_t::p_next, and subpicture_region_Delete().

Referenced by Filter(), subpicture_Delete(), and SubpictureReleaseRegions().

void subpicture_region_Delete ( subpicture_region_t p_region  ) 

subpicture_region_t* subpicture_region_New ( const video_format_t p_fmt  ) 


Generated on Sun Nov 22 08:06:05 2009 for VLC by  doxygen 1.5.6