VLC 4.0.0-dev
|
Data Structures | |
struct | subpicture_private_t |
Functions | |
subpicture_t * | subpicture_New (const subpicture_updater_t *p_upd) |
This function create a new empty subpicture. | |
void | subpicture_Delete (subpicture_t *p_subpic) |
This function delete a subpicture created by subpicture_New. | |
vlc_render_subpicture * | vlc_render_subpicture_New (void) |
Create a vlc_render_subpicture. | |
void | vlc_render_subpicture_Delete (vlc_render_subpicture *p_subpic) |
Destroy a vlc_render_subpicture. | |
subpicture_t * | subpicture_NewFromPicture (vlc_object_t *p_obj, picture_t *p_picture, vlc_fourcc_t i_chroma) |
This function will create a subpicture having one region in the requested chroma showing the given picture. | |
void | subpicture_Update (subpicture_t *p_subpicture, const video_format_t *p_fmt_src, const video_format_t *p_fmt_dst, vlc_tick_t i_ts) |
This function will update the content of a subpicture created with a non NULL subpicture_updater_t. | |
subpicture_region_private_t * | subpicture_region_private_New (video_format_t *p_fmt) |
void | subpicture_region_private_Delete (subpicture_region_private_t *p_private) |
static subpicture_region_t * | subpicture_region_NewInternal (void) |
subpicture_region_t * | subpicture_region_New (const video_format_t *p_fmt) |
This function will create a new subpicture region. | |
subpicture_region_t * | subpicture_region_NewText (void) |
This function will create a new text subpicture region. | |
subpicture_region_t * | subpicture_region_ForPicture (const video_format_t *p_fmt, picture_t *pic) |
Create a subpicture region containing the picture. | |
void | subpicture_region_Delete (subpicture_region_t *p_region) |
This function will destroy a subpicture region allocated by subpicture_region_New. | |
void | vlc_spu_regions_Clear (vlc_spu_regions *regions) |
This function will clear a list of subpicture regions allocated by subpicture_region_New. | |
unsigned | picture_BlendSubpicture (picture_t *dst, vlc_blender_t *blend, vlc_render_subpicture *src) |
This function will blend a given subpicture onto a picture. | |
|
static |
References subpicture_region_t::i_alpha, subpicture_region_t::i_x, subpicture_region_t::i_y, and unlikely.
Referenced by subpicture_region_ForPicture(), subpicture_region_New(), and subpicture_region_NewText().
void subpicture_region_private_Delete | ( | subpicture_region_private_t * | p_private | ) |
References subpicture_region_private_t::fmt, subpicture_region_private_t::p_picture, picture_Release(), and video_format_Clean().
Referenced by SpuRenderRegion(), and subpicture_region_Delete().
subpicture_region_private_t * subpicture_region_private_New | ( | video_format_t * | p_fmt | ) |
References subpicture_region_private_t::fmt, subpicture_region_private_t::p_picture, video_format_Copy(), and VLC_SUCCESS.
Referenced by SpuRenderRegion().