VLC  4.0.0-dev
Data Fields
subpicture_region_t Struct Reference

Video subtitle region. More...

Collaboration diagram for subpicture_region_t:
Collaboration graph

Data Fields

video_format_t fmt
 format of the picture More...
 picture comprising this region More...
int i_x
 position of region, relative to alignment More...
int i_y
 position of region, relative to alignment More...
int i_align
 alignment flags of region More...
int i_alpha
 transparency More...
 subtitle text, made of a list of segments More...
int i_text_align
 alignment flags of region content More...
bool b_noregionbg
 render background under text only More...
bool b_gridmode
bool b_balanced_text
 if the decoder sends row/cols based output More...
int i_max_width
 try to balance wrapped text lines More...
int i_max_height
 horizontal rendering/cropping target/limit More...
vlc_rational_t zoom_h
 vertical rendering/cropping target/limit More...
vlc_rational_t zoom_v
 next region in the list More...
 Private data for spu_t only More...

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

◆ b_balanced_text

bool subpicture_region_t::b_balanced_text

if the decoder sends row/cols based output

Referenced by subpicture_region_NewInternal(), and vout_OSDTextRegion().

◆ b_gridmode

bool subpicture_region_t::b_gridmode

◆ b_noregionbg

bool subpicture_region_t::b_noregionbg

render background under text only

◆ fmt

video_format_t subpicture_region_t::fmt

◆ i_align

int subpicture_region_t::i_align

◆ i_alpha

int subpicture_region_t::i_alpha

◆ 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

try to balance wrapped text lines

Referenced by SpuRenderRegion(), and vout_OSDRegionConstrain().

◆ i_text_align

int subpicture_region_t::i_text_align

alignment flags of region content

Referenced by OSDTextUpdate(), and vout_OSDTextRegion().

◆ i_x

int subpicture_region_t::i_x

◆ i_y

int subpicture_region_t::i_y

◆ p_next

subpicture_region_t* subpicture_region_t::p_next

◆ p_picture

picture_t* subpicture_region_t::p_picture

◆ p_private

subpicture_region_private_t* subpicture_region_t::p_private

Private data for spu_t only

Referenced by 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_Copy(), subpicture_region_Delete(), and vout_OSDTextRegion().

◆ zoom_h

vlc_rational_t subpicture_region_t::zoom_h

vertical rendering/cropping target/limit

Referenced by subpicture_region_NewInternal().

◆ zoom_v

vlc_rational_t subpicture_region_t::zoom_v

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