Data Fields | |
| const AVClass * | class |
| uint8_t * | fontfile |
| font to be used | |
| uint8_t * | text |
| text to be drawn | |
| uint8_t * | expanded_text |
| used to contain the strftime()-expanded text | |
| size_t | expanded_text_size |
| size in bytes of the expanded_text buffer | |
| 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 | |
| unsigned int | x |
| x position to start drawing text | |
| unsigned int | y |
| y position to start drawing text | |
| int | shadowx |
| int | shadowy |
| unsigned int | fontsize |
| font size to use | |
| char * | fontcolor_string |
| font color as string | |
| char * | boxcolor_string |
| box color as string | |
| char * | shadowcolor_string |
| shadow color as string | |
| uint8_t | fontcolor [4] |
| foreground color | |
| uint8_t | boxcolor [4] |
| background color | |
| uint8_t | shadowcolor [4] |
| shadow color | |
| uint8_t | fontcolor_rgba [4] |
| foreground color in RGBA | |
| uint8_t | boxcolor_rgba [4] |
| background color in RGBA | |
| uint8_t | shadowcolor_rgba [4] |
| shadow color in RGBA | |
| short int | draw_box |
| draw box around text - true or false | |
| int | use_kerning |
| font kerning is used - true/false | |
| int | tabsize |
| tab size | |
| FT_Library | library |
| freetype font library handle | |
| FT_Face | face |
| freetype font face handle | |
| struct AVTreeNode * | glyphs |
| rendered glyphs, stored using the UTF-32 char code | |
| int | hsub |
| int | vsub |
| chroma subsampling values | |
| int | is_packed_rgb |
| int | pixel_step [4] |
| distance in bytes between the component of each pixel | |
| uint8_t | rgba_map [4] |
| map RGBA offsets to the positions in the packed RGBA format | |
| uint8_t * | box_line [4] |
| line used for filling the box background | |
Definition at line 48 of file vf_drawtext.c.
| uint8_t* DrawTextContext::box_line[4] |
line used for filling the box background
Definition at line 83 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and uninit().
| uint8_t DrawTextContext::boxcolor[4] |
background color
Definition at line 66 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
| uint8_t DrawTextContext::boxcolor_rgba[4] |
background color in RGBA
Definition at line 69 of file vf_drawtext.c.
Referenced by config_input(), and init().
| const AVClass* DrawTextContext::class |
| short int DrawTextContext::draw_box |
draw box around text - true or false
Definition at line 72 of file vf_drawtext.c.
Referenced by draw_text().
| uint8_t* DrawTextContext::expanded_text |
used to contain the strftime()-expanded text
Definition at line 52 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), and uninit().
size in bytes of the expanded_text buffer
Definition at line 53 of file vf_drawtext.c.
Referenced by draw_text().
| FT_Face DrawTextContext::face |
freetype font face handle
Definition at line 77 of file vf_drawtext.c.
Referenced by draw_text(), init(), load_glyph(), and uninit().
| uint8_t DrawTextContext::fontcolor[4] |
foreground color
Definition at line 65 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 68 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and init().
| uint8_t* DrawTextContext::fontfile |
| unsigned int DrawTextContext::fontsize |
flags used for loading fonts, see FT_LOAD_*
Definition at line 54 of file vf_drawtext.c.
Referenced by load_glyph().
struct AVTreeNode* DrawTextContext::glyphs [read] |
rendered glyphs, stored using the UTF-32 char code
Definition at line 78 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), load_glyph(), and uninit().
Definition at line 79 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
Definition at line 80 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
| FT_Library DrawTextContext::library |
number of elements of positions array
Definition at line 56 of file vf_drawtext.c.
Referenced by draw_text().
| int DrawTextContext::pixel_step[4] |
distance in bytes between the component of each pixel
Definition at line 81 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), draw_text(), and uninit().
| FT_Vector* DrawTextContext::positions |
positions for each element in the text
Definition at line 55 of file vf_drawtext.c.
Referenced by 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 82 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
| uint8_t DrawTextContext::shadowcolor[4] |
shadow color
Definition at line 67 of file vf_drawtext.c.
Referenced by config_input(), and draw_text().
| uint8_t DrawTextContext::shadowcolor_rgba[4] |
shadow color in RGBA
Definition at line 70 of file vf_drawtext.c.
Referenced by config_input(), draw_text(), and init().
| uint8_t* DrawTextContext::text |
text to be drawn
Definition at line 51 of file vf_drawtext.c.
Referenced by draw_glyphs(), draw_text(), init(), and uninit().
font kerning is used - true/false
Definition at line 73 of file vf_drawtext.c.
Referenced by draw_text(), and init().
chroma subsampling values
Definition at line 79 of file vf_drawtext.c.
Referenced by config_input(), draw_glyphs(), and draw_text().
| unsigned int DrawTextContext::x |
x position to start drawing text
Definition at line 58 of file vf_drawtext.c.
Referenced by draw_text().
| unsigned int DrawTextContext::y |
y position to start drawing text
Definition at line 59 of file vf_drawtext.c.
Referenced by draw_text().
1.5.8