FFmpeg
|
#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... | |
uint8_t * | data [4] |
data+linesize for the bitmap of this subtitle. More... | |
int | linesize [4] |
enum AVSubtitleType | type |
char * | text |
0 terminated plain UTF-8 text More... | |
char * | ass |
0 terminated ASS/SSA compatible event line. More... | |
int | flags |
int AVSubtitleRect::x |
top left corner of pict, undefined when pict is not set
Definition at line 2242 of file avcodec.h.
Referenced by copy_av_subtitle(), copy_rectangle(), decode_dvd_subtitles(), encode_dvd_subtitles(), gen_sub_bitmap(), and video_image_display().
int AVSubtitleRect::y |
top left corner of pict, undefined when pict is not set
Definition at line 2243 of file avcodec.h.
Referenced by copy_av_subtitle(), copy_rectangle(), decode_dvd_subtitles(), encode_dvd_subtitles(), gen_sub_bitmap(), and video_image_display().
int AVSubtitleRect::w |
width of pict, undefined when pict is not set
Definition at line 2244 of file avcodec.h.
Referenced by copy_av_subtitle(), decode_dvd_subtitles(), encode_dvd_subtitles(), gen_sub_bitmap(), and video_image_display().
int AVSubtitleRect::h |
height of pict, undefined when pict is not set
Definition at line 2245 of file avcodec.h.
Referenced by copy_av_subtitle(), decode_dvd_subtitles(), encode_dvd_subtitles(), gen_sub_bitmap(), and video_image_display().
int AVSubtitleRect::nb_colors |
number of colors in pict, undefined when pict is not set
Definition at line 2246 of file avcodec.h.
Referenced by copy_av_subtitle(), decode_dvd_subtitles(), and gen_sub_bitmap().
uint8_t* AVSubtitleRect::data[4] |
data+linesize for the bitmap of this subtitle.
Can be set for text/ass as well once they are rendered.
Definition at line 2252 of file avcodec.h.
Referenced by aribcaption_trans_bitmap_subtitle(), copy_av_subtitle(), copy_rectangle(), decode_dvd_subtitles(), encode_dvd_subtitles(), fix_transparency(), gen_sub_bitmap(), and reset_rects().
int AVSubtitleRect::linesize[4] |
Definition at line 2253 of file avcodec.h.
Referenced by copy_av_subtitle(), copy_rectangle(), decode_dvd_subtitles(), encode_dvd_subtitles(), fix_transparency(), and gen_sub_bitmap().
enum AVSubtitleType AVSubtitleRect::type |
Definition at line 2255 of file avcodec.h.
Referenced by ass_decode_frame(), ass_encode_frame(), copy_av_subtitle(), decode_dvd_subtitles(), encode_frame(), gen_sub_ass(), gen_sub_bitmap(), gen_sub_text(), mov_text_encode_frame(), ttml_encode_frame(), and webvtt_encode_frame().
char* AVSubtitleRect::text |
0 terminated plain UTF-8 text
Definition at line 2257 of file avcodec.h.
Referenced by copy_av_subtitle().
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 2264 of file avcodec.h.
Referenced by aribcaption_trans_ass_subtitle(), ass_decode_frame(), ass_encode_frame(), avcodec_decode_subtitle2(), copy_av_subtitle(), encode_frame(), gen_sub_ass(), gen_sub_text(), mov_text_encode_frame(), ttml_encode_frame(), and webvtt_encode_frame().
int AVSubtitleRect::flags |
Definition at line 2266 of file avcodec.h.
Referenced by copy_av_subtitle(), decode_dvd_subtitles(), and dvdsub_decode().