FFmpeg
|
Data Fields | |
const AVClass * | class |
enum expansion_mode | 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 | |
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 | |
unsigned int | fontsize |
font size to use | |
short int | draw_box |
draw box around text - true or false | |
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 AVTreeNode * | glyphs |
rendered glyphs, stored using the UTF-32 char code | |
char * | x_expr |
expression for x position | |
char * | y_expr |
expression for y position | |
AVExpr * | x_pexpr |
AVExpr * | y_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 * | draw_expr |
expression for draw | |
AVExpr * | draw_pexpr |
parsed expression for draw | |
int | draw |
set to zero to prevent drawing | |
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 | |
AVDictionary * | metadata |
Definition at line 124 of file vf_drawtext.c.
const AVClass* DrawTextContext::class |
Definition at line 125 of file vf_drawtext.c.
enum expansion_mode DrawTextContext::exp_mode |
expansion mode to use for the text
Definition at line 126 of file vf_drawtext.c.
Referenced by draw_text(), and init().
int DrawTextContext::reinit |
tells if the filter is being reinited
Definition at line 127 of file vf_drawtext.c.
Referenced by command().
uint8_t* DrawTextContext::fontfile |
font to be used
Definition at line 128 of file vf_drawtext.c.
Referenced by init(), and load_font().
uint8_t* DrawTextContext::text |
text to be drawn
Definition at line 129 of file vf_drawtext.c.
Referenced by draw_text(), expand_text(), init(), and load_textfile().
AVBPrint DrawTextContext::expanded_text |
used to contain the expanded text
Definition at line 130 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), expand_text(), init(), and uninit().
int DrawTextContext::ft_load_flags |
flags used for loading fonts, see FT_LOAD_*
Definition at line 131 of file vf_drawtext.c.
Referenced by load_glyph().
FT_Vector* DrawTextContext::positions |
positions for each element in the text
Definition at line 132 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), and uninit().
size_t DrawTextContext::nb_positions |
number of elements of positions array
Definition at line 133 of file vf_drawtext.c.
Referenced by draw_text(), and uninit().
char* DrawTextContext::textfile |
file with text to be drawn
Definition at line 134 of file vf_drawtext.c.
Referenced by init(), and load_textfile().
int DrawTextContext::x |
x position to start drawing text
Definition at line 135 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), and filter_frame().
int DrawTextContext::y |
y position to start drawing text
Definition at line 136 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), and filter_frame().
int DrawTextContext::max_glyph_w |
int DrawTextContext::max_glyph_h |
int DrawTextContext::shadowx |
Definition at line 139 of file vf_drawtext.c.
Referenced by draw_text().
int DrawTextContext::shadowy |
Definition at line 139 of file vf_drawtext.c.
Referenced by draw_text().
int DrawTextContext::borderw |
border width
Definition at line 140 of file vf_drawtext.c.
Referenced by draw_text(), init(), and load_glyph().
unsigned int DrawTextContext::fontsize |
short int DrawTextContext::draw_box |
draw box around text - true or false
Definition at line 143 of file vf_drawtext.c.
Referenced by draw_text().
int DrawTextContext::use_kerning |
font kerning is used - true/false
Definition at line 144 of file vf_drawtext.c.
Referenced by draw_text(), and init().
int DrawTextContext::tabsize |
int DrawTextContext::fix_bounds |
do we let it go out of frame bounds - t/f
Definition at line 146 of file vf_drawtext.c.
FFDrawContext DrawTextContext::dc |
Definition at line 148 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
FFDrawColor DrawTextContext::fontcolor |
foreground color
Definition at line 149 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
FFDrawColor DrawTextContext::shadowcolor |
shadow color
Definition at line 150 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
FFDrawColor DrawTextContext::bordercolor |
border color
Definition at line 151 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
FFDrawColor DrawTextContext::boxcolor |
background color
Definition at line 152 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
FT_Library DrawTextContext::library |
freetype font library handle
Definition at line 154 of file vf_drawtext.c.
Referenced by init(), load_font_file(), and uninit().
FT_Face DrawTextContext::face |
freetype font face handle
Definition at line 155 of file vf_drawtext.c.
Referenced by draw_text(), init(), load_font_file(), load_glyph(), and uninit().
FT_Stroker DrawTextContext::stroker |
freetype stroker handle
Definition at line 156 of file vf_drawtext.c.
Referenced by init(), load_glyph(), and uninit().
struct AVTreeNode* DrawTextContext::glyphs |
rendered glyphs, stored using the UTF-32 char code
Definition at line 157 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), load_glyph(), and uninit().
char* DrawTextContext::x_expr |
expression for x position
Definition at line 158 of file vf_drawtext.c.
Referenced by config_input().
char* DrawTextContext::y_expr |
expression for y position
Definition at line 159 of file vf_drawtext.c.
Referenced by config_input().
AVExpr* DrawTextContext::x_pexpr |
Definition at line 160 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and uninit().
AVExpr * DrawTextContext::y_pexpr |
parsed expressions for x and y
Definition at line 160 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and uninit().
int64_t DrawTextContext::basetime |
base pts time in the real world for display
Definition at line 161 of file vf_drawtext.c.
Referenced by draw_text().
double DrawTextContext::var_values[VAR_VARS_NB] |
Definition at line 162 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), filter_frame(), func_eval_expr(), func_frame_num(), func_pict_type(), and func_pts().
char* DrawTextContext::draw_expr |
expression for draw
Definition at line 164 of file vf_drawtext.c.
Referenced by config_input(), and init().
AVExpr* DrawTextContext::draw_pexpr |
parsed expression for draw
Definition at line 165 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and uninit().
int DrawTextContext::draw |
set to zero to prevent drawing
Definition at line 166 of file vf_drawtext.c.
Referenced by draw_text().
AVLFG DrawTextContext::prng |
random
Definition at line 168 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and func_eval_expr().
char* DrawTextContext::tc_opt_string |
specified timecode option string
Definition at line 169 of file vf_drawtext.c.
Referenced by draw_text(), and init().
AVRational DrawTextContext::tc_rate |
AVTimecode DrawTextContext::tc |
timecode context
Definition at line 171 of file vf_drawtext.c.
Referenced by draw_text(), and init().
int DrawTextContext::tc24hmax |
1 if timecode is wrapped to 24 hours, 0 otherwise
Definition at line 172 of file vf_drawtext.c.
Referenced by init().
int DrawTextContext::reload |
reload text file for each frame
Definition at line 173 of file vf_drawtext.c.
Referenced by filter_frame(), and init().
int DrawTextContext::start_number |
starting frame number for n/frame_num var
Definition at line 174 of file vf_drawtext.c.
Referenced by filter_frame().
AVDictionary* DrawTextContext::metadata |
Definition at line 175 of file vf_drawtext.c.
Referenced by filter_frame(), and func_metadata().