#include <avcodec.h>
Data Fields | |
int | x |
top left corner of pict, undefined when pict is not set | |
int | y |
top left corner of pict, undefined when pict is not set | |
int | w |
width of pict, undefined when pict is not set | |
int | h |
height of pict, undefined when pict is not set | |
int | nb_colors |
number of colors in pict, undefined when pict is not set | |
AVPicture | pict |
data+linesize for the bitmap of this subtitle. | |
enum AVSubtitleType | type |
char * | text |
0 terminated plain UTF-8 text | |
char * | ass |
0 terminated ASS/SSA compatible event line. | |
int | forced |
1 indicates this subtitle is a forced subtitle. |
Definition at line 3328 of file avcodec.h.
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 3349 of file avcodec.h.
Referenced by ass_encode_frame(), avsubtitle_free(), ff_ass_add_rect(), mov_text_encode_frame(), and srt_encode_frame().
1 indicates this subtitle is a forced subtitle.
A forced subtitle should be displayed even when subtitles are hidden.
Definition at line 3355 of file avcodec.h.
Referenced by decode_dvd_subtitles(), and display_end_segment().
height of pict, undefined when pict is not set
Definition at line 3332 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), and xsub_encode().
number of colors in pict, undefined when pict is not set
Definition at line 3333 of file avcodec.h.
Referenced by decode_dvd_subtitles(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), find_smallest_bounding_rectangle(), subtitle_thread(), and xsub_encode().
data+linesize for the bitmap of this subtitle.
can be set for text/ass as well once they where rendered
Definition at line 3339 of file avcodec.h.
Referenced by avsubtitle_free(), blend_subrect(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), subtitle_thread(), and xsub_encode().
char* AVSubtitleRect::text |
0 terminated plain UTF-8 text
Definition at line 3342 of file avcodec.h.
Referenced by avsubtitle_free().
Definition at line 3340 of file avcodec.h.
Referenced by ass_encode_frame(), decode_dvd_subtitles(), display_end_segment(), dvbsub_display_end_segment(), encode_dvd_subtitles(), ff_ass_add_rect(), mov_text_encode_frame(), srt_encode_frame(), and sub2video_copy_rect().
width of pict, undefined when pict is not set
Definition at line 3331 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), and xsub_encode().
top left corner of pict, undefined when pict is not set
Definition at line 3329 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), decode_dvd_subtitles(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), and xsub_encode().
top left corner of pict, undefined when pict is not set
Definition at line 3330 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), decode_dvd_subtitles(), display_end_segment(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), and xsub_encode().