VLC 4.0.0-dev
Loading...
Searching...
No Matches
subpicture_region_t Struct Reference

Video subtitle region. More...

#include <vlc_subpicture.h>

Collaboration diagram for subpicture_region_t:
[legend]

Data Fields

video_format_t fmt
 format of the picture
 
picture_tp_picture
 picture comprising this region
 
int i_x
 position of region, relative to alignment
 
int i_y
 position of region, relative to alignment
 
int i_align
 alignment flags of region
 
int i_alpha
 transparency
 
text_segment_tp_text
 subtitle text, made of a list of segments
 
int text_flags
 VLC_SUBPIC_TEXT_FLAG_xxx and SUBPICTURE_ALIGN_xxx.
 
int i_max_width
 
int i_max_height
 horizontal rendering/cropping target/limit
 
struct vlc_list node
 vertical rendering/cropping target/limit
 
subpicture_region_private_tp_private
 Private data for spu_t only
 

Detailed Description

Video subtitle region.

A subtitle region is defined by a picture (graphic) and its rendering coordinates. Subtitles contain a list of regions.

Field Documentation

◆ fmt

◆ i_align

int subpicture_region_t::i_align

◆ i_alpha

int subpicture_region_t::i_alpha

transparency

Referenced by SpuRenderRegion(), and subpicture_region_NewInternal().

◆ i_max_height

int subpicture_region_t::i_max_height

horizontal rendering/cropping target/limit

Referenced by SpuRenderRegion(), and vout_OSDRegionConstrain().

◆ i_max_width

int subpicture_region_t::i_max_width

◆ i_x

◆ i_y

◆ node

struct vlc_list subpicture_region_t::node

vertical rendering/cropping target/limit

for inclusion in a vlc_spu_regions

Referenced by spu_PrerenderText().

◆ p_picture

◆ p_private

subpicture_region_private_t* subpicture_region_t::p_private

Private data for spu_t only

Referenced by spu_PutSubpicture(), SpuRenderRegion(), and subpicture_region_Delete().

◆ p_text

text_segment_t* subpicture_region_t::p_text

subtitle text, made of a list of segments

Referenced by OSDTextUpdate(), SpuRenderText(), subpicture_region_Delete(), and vout_OSDTextRegion().

◆ text_flags

int subpicture_region_t::text_flags

VLC_SUBPIC_TEXT_FLAG_xxx and SUBPICTURE_ALIGN_xxx.

Referenced by OSDTextUpdate(), subpicture_region_NewText(), and vout_OSDTextRegion().


The documentation for this struct was generated from the following file: