DrawTextContext Struct Reference


Data Fields

const AVClass * class
tells if the filter is being reinited
font to be used
text to be drawn
used to contain the strftime()-expanded text
size in bytes of the expanded_text buffer
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
max glyph width
max glyph height
unsigned int fontsize
font size to use
font color as string
box color as string
shadow color as string
short int draw_box
draw box around text - true or false
font kerning is used - true/false
tab size
do we let it go out of frame bounds - t/f
foreground color
shadow color
background color
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
char * x_expr
expression for x position
char * y_expr
expression for y position
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
parsed expression for draw
set to zero to prevent drawing
random
char * tc_opt_string
specified timecode option string
frame rate for timecode
timecode context
1 if timecode is wrapped to 24 hours, 0 otherwise

Detailed Description

Definition at line 115 of file vf_drawtext.c.


Field Documentation

base pts time in the real world for display

Definition at line 152 of file vf_drawtext.c.

Referenced by draw_text().

background color

Definition at line 144 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and init().

box color as string

Definition at line 133 of file vf_drawtext.c.

Referenced by init().

Definition at line 116 of file vf_drawtext.c.

Referenced by init().

Definition at line 141 of file vf_drawtext.c.

Referenced by config_input(), draw_glyphs(), and draw_text().

set to zero to prevent drawing

Definition at line 156 of file vf_drawtext.c.

Referenced by draw_text().

draw box around text - true or false

Definition at line 136 of file vf_drawtext.c.

Referenced by draw_text().

expression for draw

Definition at line 154 of file vf_drawtext.c.

Referenced by config_input().

parsed expression for draw

Definition at line 155 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and uninit().

used to contain the strftime()-expanded text

Definition at line 120 of file vf_drawtext.c.

Referenced by draw_glyphs(), and draw_text().

size in bytes of the expanded_text buffer

Definition at line 121 of file vf_drawtext.c.

Referenced by draw_text().

freetype font face handle

Definition at line 147 of file vf_drawtext.c.

Referenced by draw_text(), init(), load_font_file(), load_glyph(), and uninit().

do we let it go out of frame bounds - t/f

Definition at line 139 of file vf_drawtext.c.

foreground color

Definition at line 142 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and init().

font color as string

Definition at line 132 of file vf_drawtext.c.

Referenced by init().

font to be used

Definition at line 118 of file vf_drawtext.c.

Referenced by init(), and load_font().

font size to use

Definition at line 131 of file vf_drawtext.c.

Referenced by init().

Definition at line 162 of file vf_drawtext.c.

Referenced by draw_text().

flags used for loading fonts, see FT_LOAD_*

Definition at line 122 of file vf_drawtext.c.

Referenced by load_glyph().

rendered glyphs, stored using the UTF-32 char code

Definition at line 148 of file vf_drawtext.c.

Referenced by draw_glyphs(), draw_text(), load_glyph(), and uninit().

freetype font library handle

Definition at line 146 of file vf_drawtext.c.

Referenced by init(), load_font_file(), and uninit().

max glyph height

Definition at line 129 of file vf_drawtext.c.

Referenced by draw_text().

max glyph width

Definition at line 128 of file vf_drawtext.c.

Referenced by draw_text().

number of elements of positions array

Definition at line 124 of file vf_drawtext.c.

Referenced by draw_text(), and uninit().

positions for each element in the text

Definition at line 123 of file vf_drawtext.c.

Referenced by draw_glyphs(), draw_text(), and uninit().

random

Definition at line 157 of file vf_drawtext.c.

Referenced by config_input(), and draw_text().

tells if the filter is being reinited

Definition at line 117 of file vf_drawtext.c.

Referenced by command(), and config_input().

shadow color

Definition at line 143 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and init().

shadow color as string

Definition at line 134 of file vf_drawtext.c.

Referenced by init().

Definition at line 130 of file vf_drawtext.c.

Referenced by draw_text().

Definition at line 130 of file vf_drawtext.c.

Referenced by draw_text().

tab size

Definition at line 138 of file vf_drawtext.c.

Referenced by draw_text(), and init().

timecode context

Definition at line 160 of file vf_drawtext.c.

Referenced by draw_text(), and init().

1 if timecode is wrapped to 24 hours, 0 otherwise

Definition at line 161 of file vf_drawtext.c.

Referenced by init().

specified timecode option string

Definition at line 158 of file vf_drawtext.c.

Referenced by draw_text(), and init().

frame rate for timecode

Definition at line 159 of file vf_drawtext.c.

Referenced by init().

text to be drawn

Definition at line 119 of file vf_drawtext.c.

Referenced by draw_text(), and init().

file with text to be drawn

Definition at line 125 of file vf_drawtext.c.

Referenced by init().

font kerning is used - true/false

Definition at line 137 of file vf_drawtext.c.

Referenced by draw_text(), and init().

double DrawTextContext::var_values[VAR_VARS_NB]

Definition at line 153 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and end_frame().

x position to start drawing text

Definition at line 126 of file vf_drawtext.c.

Referenced by draw_glyphs(), draw_text(), and end_frame().

expression for x position

Definition at line 149 of file vf_drawtext.c.

Referenced by config_input().

Definition at line 151 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and uninit().

y position to start drawing text

Definition at line 127 of file vf_drawtext.c.

Referenced by draw_glyphs(), draw_text(), and end_frame().

expression for y position

Definition at line 150 of file vf_drawtext.c.

Referenced by config_input().

parsed expressions for x and y

Definition at line 151 of file vf_drawtext.c.

Referenced by config_input(), draw_text(), and uninit().


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

Generated on Fri Oct 26 02:50:15 2012 for FFmpeg by doxygen 1.5.8

AltStyle によって変換されたページ (->オリジナル) /