|
VLC 4.0.0-dev
|
Data Structures | |
| struct | subpicture_private_t |
| struct | subpicture_region_private_t |
Typedefs | |
| typedef struct subpicture_region_private_t | subpicture_region_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, unsigned display_width, unsigned display_height, vlc_tick_t i_ts) |
| This function will update the content of a subpicture created with a non NULL subpicture_updater_t. | |
| const video_format_t * | subpicture_region_cache_GetFormat (const subpicture_region_t *p_region) |
| picture_t * | subpicture_region_cache_GetPicture (subpicture_region_t *p_region) |
| bool | subpicture_region_cache_IsValid (const subpicture_region_t *p_region) |
| void | subpicture_region_cache_Invalidate (subpicture_region_t *p_region) |
| int | subpicture_region_cache_Assign (subpicture_region_t *p_region, picture_t *p_picture) |
| 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 (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. | |
| typedef struct subpicture_region_private_t subpicture_region_private_t |
| int subpicture_region_cache_Assign | ( | subpicture_region_t * | p_region, |
| picture_t * | p_picture | ||
| ) |
References container_of, subpicture_region_private_t::fmt, picture_t::format, subpicture_region_private_t::p_picture, video_format_Copy(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by SpuRenderRegion().
| const video_format_t * subpicture_region_cache_GetFormat | ( | const subpicture_region_t * | p_region | ) |
References container_of, and subpicture_region_private_t::fmt.
Referenced by SpuRenderRegion().
| picture_t * subpicture_region_cache_GetPicture | ( | subpicture_region_t * | p_region | ) |
References container_of, and subpicture_region_private_t::p_picture.
Referenced by SpuRenderRegion().
| void subpicture_region_cache_Invalidate | ( | subpicture_region_t * | p_region | ) |
References container_of, subpicture_region_private_t::fmt, subpicture_region_private_t::p_picture, picture_Release(), video_format_Clean(), and video_format_Init().
Referenced by SpuRenderRegion(), and subpicture_region_Delete().
| bool subpicture_region_cache_IsValid | ( | const subpicture_region_t * | p_region | ) |
References container_of, subpicture_region_private_t::fmt, and video_format_t::i_chroma.
Referenced by spu_PutSubpicture(), and SpuRenderRegion().
|
static |
References subpicture_region_t::b_absolute, subpicture_region_t::b_in_window, subpicture_region_t::i_alpha, subpicture_region_t::i_x, subpicture_region_t::i_y, subpicture_region_private_t::region, and unlikely.
Referenced by subpicture_region_ForPicture(), subpicture_region_New(), and subpicture_region_NewText().