Libav
|
Data Fields | |
const AVClass * | class |
uint8_t * | fontfile |
font to be used More... | |
uint8_t * | text |
text to be drawn More... | |
uint8_t * | expanded_text |
used to contain the strftime()-expanded text More... | |
size_t | expanded_text_size |
size in bytes of the expanded_text buffer More... | |
int | ft_load_flags |
flags used for loading fonts, see FT_LOAD_* More... | |
FT_Vector * | positions |
positions for each element in the text More... | |
size_t | nb_positions |
number of elements of positions array More... | |
char * | textfile |
file with text to be drawn More... | |
int | x |
int | y |
position to start drawing text More... | |
int | w |
int | h |
dimension of the text block More... | |
int | shadowx |
int | shadowy |
unsigned int | fontsize |
font size to use More... | |
char * | fontcolor_string |
font color as string More... | |
char * | boxcolor_string |
box color as string More... | |
char * | shadowcolor_string |
shadow color as string More... | |
uint8_t | fontcolor [4] |
foreground color More... | |
uint8_t | boxcolor [4] |
background color More... | |
uint8_t | shadowcolor [4] |
shadow color More... | |
uint8_t | fontcolor_rgba [4] |
foreground color in RGBA More... | |
uint8_t | boxcolor_rgba [4] |
background color in RGBA More... | |
uint8_t | shadowcolor_rgba [4] |
shadow color in RGBA More... | |
short int | draw_box |
draw box around text - true or false More... | |
int | use_kerning |
font kerning is used - true/false More... | |
int | tabsize |
tab size More... | |
int | fix_bounds |
do we let it go out of frame bounds - t/f More... | |
FT_Library | library |
freetype font library handle More... | |
FT_Face | face |
freetype font face handle More... | |
struct AVTreeNode * | glyphs |
rendered glyphs, stored using the UTF-32 char code More... | |
int | hsub |
int | vsub |
chroma subsampling values More... | |
int | is_packed_rgb |
int | pixel_step [4] |
distance in bytes between the component of each pixel More... | |
uint8_t | rgba_map [4] |
map RGBA offsets to the positions in the packed RGBA format More... | |
uint8_t * | box_line [4] |
line used for filling the box background More... | |
char * | x_expr |
char * | y_expr |
AVExpr * | x_pexpr |
AVExpr * | y_pexpr |
parsed expressions for x and y More... | |
double | var_values [VAR_VARS_NB] |
char * | d_expr |
AVExpr * | d_pexpr |
int | draw |
set to zero to prevent drawing More... | |
AVLFG | prng |
random More... | |
Definition at line 108 of file vf_drawtext.c.
const AVClass* DrawTextContext::class |
Definition at line 109 of file vf_drawtext.c.
uint8_t* DrawTextContext::fontfile |
font to be used
Definition at line 113 of file vf_drawtext.c.
Referenced by init(), and parse_font().
uint8_t* DrawTextContext::text |
text to be drawn
Definition at line 114 of file vf_drawtext.c.
Referenced by draw_glyphs(), dtext_prepare_text(), and init().
uint8_t* DrawTextContext::expanded_text |
used to contain the strftime()-expanded text
Definition at line 115 of file vf_drawtext.c.
Referenced by draw_glyphs(), dtext_prepare_text(), and uninit().
size_t DrawTextContext::expanded_text_size |
size in bytes of the expanded_text buffer
Definition at line 116 of file vf_drawtext.c.
Referenced by dtext_prepare_text().
int DrawTextContext::ft_load_flags |
flags used for loading fonts, see FT_LOAD_*
Definition at line 117 of file vf_drawtext.c.
Referenced by load_glyph().
FT_Vector* DrawTextContext::positions |
positions for each element in the text
Definition at line 118 of file vf_drawtext.c.
Referenced by draw_glyphs(), dtext_prepare_text(), and uninit().
size_t DrawTextContext::nb_positions |
number of elements of positions array
Definition at line 119 of file vf_drawtext.c.
Referenced by dtext_prepare_text().
char* DrawTextContext::textfile |
int DrawTextContext::x |
Definition at line 121 of file vf_drawtext.c.
Referenced by draw_text(), dtext_prepare_text(), and filter_frame().
int DrawTextContext::y |
position to start drawing text
Definition at line 121 of file vf_drawtext.c.
Referenced by draw_text(), dtext_prepare_text(), and filter_frame().
int DrawTextContext::w |
Definition at line 122 of file vf_drawtext.c.
Referenced by draw_text(), dtext_prepare_text(), and filter_frame().
int DrawTextContext::h |
dimension of the text block
Definition at line 122 of file vf_drawtext.c.
Referenced by draw_text(), dtext_prepare_text(), and filter_frame().
int DrawTextContext::shadowx |
Definition at line 123 of file vf_drawtext.c.
Referenced by draw_text().
int DrawTextContext::shadowy |
Definition at line 123 of file vf_drawtext.c.
Referenced by draw_text().
unsigned int DrawTextContext::fontsize |
font size to use
Definition at line 124 of file vf_drawtext.c.
Referenced by init(), and parse_font().
char* DrawTextContext::fontcolor_string |
char* DrawTextContext::boxcolor_string |
char* DrawTextContext::shadowcolor_string |
uint8_t DrawTextContext::fontcolor[4] |
foreground color
Definition at line 128 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
uint8_t DrawTextContext::boxcolor[4] |
background color
Definition at line 129 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
uint8_t DrawTextContext::shadowcolor[4] |
shadow color
Definition at line 130 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
uint8_t DrawTextContext::fontcolor_rgba[4] |
foreground color in RGBA
Definition at line 131 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and init().
uint8_t DrawTextContext::boxcolor_rgba[4] |
background color in RGBA
Definition at line 132 of file vf_drawtext.c.
Referenced by config_input(), and init().
uint8_t DrawTextContext::shadowcolor_rgba[4] |
shadow color in RGBA
Definition at line 133 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and init().
short int DrawTextContext::draw_box |
draw box around text - true or false
Definition at line 135 of file vf_drawtext.c.
Referenced by draw_text().
int DrawTextContext::use_kerning |
font kerning is used - true/false
Definition at line 136 of file vf_drawtext.c.
Referenced by dtext_prepare_text(), and init().
int DrawTextContext::tabsize |
tab size
Definition at line 137 of file vf_drawtext.c.
Referenced by dtext_prepare_text(), and init().
int DrawTextContext::fix_bounds |
do we let it go out of frame bounds - t/f
Definition at line 138 of file vf_drawtext.c.
Referenced by filter_frame().
FT_Library DrawTextContext::library |
freetype font library handle
Definition at line 140 of file vf_drawtext.c.
FT_Face DrawTextContext::face |
freetype font face handle
Definition at line 141 of file vf_drawtext.c.
Referenced by dtext_prepare_text(), init(), load_glyph(), and uninit().
struct AVTreeNode* DrawTextContext::glyphs |
rendered glyphs, stored using the UTF-32 char code
Definition at line 142 of file vf_drawtext.c.
Referenced by draw_glyphs(), dtext_prepare_text(), load_glyph(), and uninit().
int DrawTextContext::hsub |
Definition at line 143 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), draw_text(), and filter_frame().
int DrawTextContext::vsub |
chroma subsampling values
Definition at line 143 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), draw_text(), and filter_frame().
int DrawTextContext::is_packed_rgb |
Definition at line 144 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
int DrawTextContext::pixel_step[4] |
distance in bytes between the component of each pixel
Definition at line 145 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), draw_text(), and uninit().
uint8_t DrawTextContext::rgba_map[4] |
map RGBA offsets to the positions in the packed RGBA format
Definition at line 146 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
uint8_t* DrawTextContext::box_line[4] |
line used for filling the box background
Definition at line 147 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and uninit().
char* DrawTextContext::x_expr |
Definition at line 148 of file vf_drawtext.c.
Referenced by config_input().
char * DrawTextContext::y_expr |
Definition at line 148 of file vf_drawtext.c.
Referenced by config_input().
AVExpr* DrawTextContext::x_pexpr |
Definition at line 149 of file vf_drawtext.c.
Referenced by config_input(), filter_frame(), and uninit().
AVExpr * DrawTextContext::y_pexpr |
parsed expressions for x and y
Definition at line 149 of file vf_drawtext.c.
Referenced by config_input(), filter_frame(), and uninit().
double DrawTextContext::var_values[VAR_VARS_NB] |
Definition at line 150 of file vf_drawtext.c.
Referenced by config_input(), dtext_prepare_text(), and filter_frame().
char* DrawTextContext::d_expr |
Definition at line 151 of file vf_drawtext.c.
Referenced by config_input().
AVExpr* DrawTextContext::d_pexpr |
Definition at line 152 of file vf_drawtext.c.
Referenced by config_input(), filter_frame(), and uninit().
int DrawTextContext::draw |
set to zero to prevent drawing
Definition at line 153 of file vf_drawtext.c.
Referenced by config_input(), and filter_frame().
AVLFG DrawTextContext::prng |
random
Definition at line 154 of file vf_drawtext.c.
Referenced by config_input(), and filter_frame().