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 2696 of file avcodec.h.


Field Documentation

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

Definition at line 2698 of file avcodec.h.

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

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

Definition at line 2701 of file avcodec.h.

Referenced by decode_dvd_subtitles(), 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 2707 of file avcodec.h.

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

Definition at line 2708 of file avcodec.h.

Referenced by decode_dvd_subtitles(), and display_end_segment().

0 terminated plain UTF-8 text

Definition at line 2710 of file avcodec.h.

0 terminated ASS/SSA compatible event line.

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

Definition at line 2717 of file avcodec.h.


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

Generated on Tue Apr 20 17:40:03 2010 for FFmpeg by  doxygen 1.5.6