FFmpeg
Public Attributes | List of all members
DrawTextContext Struct Reference

Public Attributes

const AVClassclass
 
int exp_mode
 expansion mode to use for the text
 
int reinit
 tells if the filter is being reinited
 
uint8_t * fontfile
 font to be used
 
uint8_t * text
 text to be drawn
 
AVBPrint expanded_text
 used to contain the expanded text
 
uint8_t * fontcolor_expr
 fontcolor expression to evaluate
 
AVBPrint expanded_fontcolor
 used to contain the expanded fontcolor spec
 
int ft_load_flags
 flags used for loading fonts, see FT_LOAD_*
 
FT_Vector * positions
 positions for each element in the text
 
size_t nb_positions
 number of elements of positions array
 
char * textfile
 file with text to be drawn
 
int x
 x position to start drawing text
 
int y
 y position to start drawing text
 
int max_glyph_w
 max glyph width
 
int max_glyph_h
 max glyph height
 
int shadowx
 
int shadowy
 
int borderw
 border width
 
char * fontsize_expr
 expression for fontsize
 
AVExprfontsize_pexpr
 parsed expressions for fontsize
 
unsigned int fontsize
 font size to use
 
unsigned int default_fontsize
 default font size to use
 
int line_spacing
 lines spacing in pixels
 
short int draw_box
 draw box around text - true or false
 
int boxborderw
 box border width
 
int use_kerning
 font kerning is used - true/false
 
int tabsize
 tab size
 
int fix_bounds
 do we let it go out of frame bounds - t/f
 
FFDrawContext dc
 
FFDrawColor fontcolor
 foreground color
 
FFDrawColor shadowcolor
 shadow color
 
FFDrawColor bordercolor
 border color
 
FFDrawColor boxcolor
 background color
 
FT_Library library
 freetype font library handle
 
FT_Face face
 freetype font face handle
 
FT_Stroker stroker
 freetype stroker handle
 
struct AVTreeNodeglyphs
 rendered glyphs, stored using the UTF-32 char code
 
char * x_expr
 expression for x position
 
char * y_expr
 expression for y position
 
AVExprx_pexpr
 
AVExpry_pexpr
 parsed expressions for x and y
 
int64_t basetime
 base pts time in the real world for display
 
double var_values [VAR_VARS_NB]
 
char * a_expr
 
AVExpra_pexpr
 
int alpha
 
AVLFG prng
 random
 
char * tc_opt_string
 specified timecode option string
 
AVRational tc_rate
 frame rate for timecode
 
AVTimecode tc
 timecode context
 
int tc24hmax
 1 if timecode is wrapped to 24 hours, 0 otherwise
 
int reload
 reload text file for each frame
 
int start_number
 starting frame number for n/frame_num var
 
AVDictionarymetadata
 

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