FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVSubtitleRect Struct Reference

#include <avcodec.h>

Data Fields

int x
 top left corner of pict, undefined when pict is not set More...
 
int y
 top left corner of pict, undefined when pict is not set More...
 
int w
 width of pict, undefined when pict is not set More...
 
int h
 height of pict, undefined when pict is not set More...
 
int nb_colors
 number of colors in pict, undefined when pict is not set More...
 
AVPicture pict
 data+linesize for the bitmap of this subtitle. More...
 
enum AVSubtitleType type
 
char * text
 0 terminated plain UTF-8 text More...
 
char * ass
 0 terminated ASS/SSA compatible event line. More...
 
int flags
 

Detailed Description

Definition at line 3773 of file avcodec.h.

Field Documentation

int AVSubtitleRect::x
int AVSubtitleRect::y
int AVSubtitleRect::w
int AVSubtitleRect::h
int AVSubtitleRect::nb_colors

number of colors in pict, undefined when pict is not set

Definition at line 3778 of file avcodec.h.

Referenced by decode_dvd_subtitles(), display_end_segment(), encode_dvb_subtitles(), find_smallest_bounding_rectangle(), gen_sub_bitmap(), and xsub_encode().

AVPicture AVSubtitleRect::pict
enum AVSubtitleType AVSubtitleRect::type
char* AVSubtitleRect::text

0 terminated plain UTF-8 text

Definition at line 3787 of file avcodec.h.

Referenced by avsubtitle_free().

char* AVSubtitleRect::ass

0 terminated ASS/SSA compatible event line.

The presentation of this is unaffected by the other values in this struct.

Definition at line 3794 of file avcodec.h.

Referenced by ass_encode_frame(), avcodec_decode_subtitle2(), avsubtitle_free(), ff_ass_add_rect(), gen_sub_text(), mov_text_encode_frame(), srt_encode_frame(), and webvtt_encode_frame().

int AVSubtitleRect::flags

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