| 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... | |
| attribute_deprecated AVPicture | pict | 
| 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 3699 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), decode_dvd_subtitles(), display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), gen_sub_bitmap(), sub2video_copy_rect(), subtitle_thread(), and xsub_encode().
| int AVSubtitleRect::y | 
top left corner of pict, undefined when pict is not set
Definition at line 3700 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), decode_dvd_subtitles(), display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), gen_sub_bitmap(), sub2video_copy_rect(), subtitle_thread(), and xsub_encode().
| int AVSubtitleRect::w | 
width of pict, undefined when pict is not set
Definition at line 3701 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), gen_sub_bitmap(), sub2video_copy_rect(), subtitle_thread(), and xsub_encode().
| int AVSubtitleRect::h | 
height of pict, undefined when pict is not set
Definition at line 3702 of file avcodec.h.
Referenced by blend_subrect(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), gen_sub_bitmap(), sub2video_copy_rect(), subtitle_thread(), and xsub_encode().
| int AVSubtitleRect::nb_colors | 
number of colors in pict, undefined when pict is not set
Definition at line 3703 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().
| attribute_deprecated AVPicture AVSubtitleRect::pict | 
Definition at line 3710 of file avcodec.h.
Referenced by decode_dvd_subtitles(), display_end_segment(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), sub2video_copy_rect(), teletext_decode_frame(), and xsub_encode().
| 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 3716 of file avcodec.h.
Referenced by avsubtitle_free(), blend_subrect(), compute_default_clut(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), decode_rle(), display_end_segment(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), fix_transparency(), frame_queue_unref_item(), gen_sub_bitmap(), reset_rects(), subtitle_thread(), teletext_decode_frame(), and xsub_encode().
| int AVSubtitleRect::linesize[4] | 
Definition at line 3717 of file avcodec.h.
Referenced by blend_subrect(), compute_default_clut(), copy_rectangle(), count_colors(), decode_dvd_subtitles(), display_end_segment(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), fix_transparency(), gen_sub_bitmap(), subtitle_thread(), teletext_decode_frame(), and xsub_encode().
| enum AVSubtitleType AVSubtitleRect::type | 
Definition at line 3719 of file avcodec.h.
Referenced by ass_encode_frame(), decode_dvd_subtitles(), display_end_segment(), encode_dvd_subtitles(), encode_frame(), ff_ass_add_rect(), gen_sub_bitmap(), gen_sub_text(), mov_text_encode_frame(), sub2video_copy_rect(), teletext_decode_frame(), and webvtt_encode_frame().
| char* AVSubtitleRect::text | 
0 terminated plain UTF-8 text
Definition at line 3721 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 3728 of file avcodec.h.
Referenced by ass_encode_frame(), avcodec_decode_subtitle2(), avsubtitle_free(), encode_frame(), ff_ass_add_rect(), gen_sub_text(), mov_text_encode_frame(), and webvtt_encode_frame().
| int AVSubtitleRect::flags | 
Definition at line 3730 of file avcodec.h.
Referenced by decode_dvd_subtitles(), display_end_segment(), dvdsub_decode(), and encode_dvd_subtitles().
 1.8.6
 1.8.6