AVSubtitleRect Struct Reference

#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.

Detailed Description

Definition at line 2522 of file avcodec.h.


Field Documentation

0 terminated ASS/SSA compatible event line.

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

Definition at line 2543 of file avcodec.h.

height of pict, undefined when pict is not set

Definition at line 2526 of file avcodec.h.

Referenced by blend_subrect(), decode_dvd_subtitles(), decode_frame(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), and find_smallest_bounding_rectangle().

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

Definition at line 2527 of file avcodec.h.

Referenced by decode_dvd_subtitles(), decode_frame(), encode_dvb_subtitles(), find_smallest_bounding_rectangle(), and subtitle_thread().

data+linesize for the bitmap of this subtitle.

can be set for text/ass as well once they where rendered

Definition at line 2533 of file avcodec.h.

Referenced by blend_subrect(), decode_dvd_subtitles(), decode_frame(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), find_smallest_bounding_rectangle(), free_subpicture(), output_packet(), and subtitle_thread().

0 terminated plain UTF-8 text

Definition at line 2536 of file avcodec.h.

Definition at line 2534 of file avcodec.h.

width of pict, undefined when pict is not set

Definition at line 2525 of file avcodec.h.

Referenced by blend_subrect(), decode_dvd_subtitles(), decode_frame(), dvdsub_decode(), encode_dvb_subtitles(), encode_dvd_subtitles(), and find_smallest_bounding_rectangle().

top left corner of pict, undefined when pict is not set

Definition at line 2523 of file avcodec.h.

Referenced by blend_subrect(), decode_dvd_subtitles(), decode_frame(), dvbsub_display_end_segment(), encode_dvb_subtitles(), encode_dvd_subtitles(), and find_smallest_bounding_rectangle().

top left corner of pict, undefined when pict is not set

Definition at line 2524 of file avcodec.h.

Referenced by blend_subrect(), decode_dvd_subtitles(), decode_frame(), encode_dvb_subtitles(), encode_dvd_subtitles(), and find_smallest_bounding_rectangle().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 16 17:05:50 2011 for ffmpeg by  doxygen 1.6.3