misc drawing utilities More...
Go to the source code of this file.
misc drawing utilities
Definition in file drawutils.h.
Definition at line 46 of file drawutils.h.
Definition at line 33 of file drawutils.c.
Referenced by config_input(), config_input_main(), config_input_overlay(), config_input_ref(), config_output(), config_props(), ff_draw_color(), and ff_fill_line_with_color().
Definition at line 62 of file drawutils.c.
Definition at line 112 of file drawutils.c.
Definition at line 134 of file drawutils.c.
Init a draw context.
Only a limited number of pixel formats are supported, if format is not supported the function will return an error. No flags currently defined.
Definition at line 156 of file drawutils.c.
Referenced by config_input(), config_props(), and ff_draw_supported_pixel_formats().
Prepare a color.
Definition at line 198 of file drawutils.c.
Referenced by config_input(), config_props(), draw_text(), and overlay_ass_image().
Copy a rectangle from an image to another.
The coordinates must be as even as the subsampling requires.
Definition at line 238 of file drawutils.c.
Referenced by filter_frame().
Fill a rectangle with an uniform color.
The coordinates must be as even as the subsampling requires. The color needs to be inited with ff_draw_color.
Definition at line 260 of file drawutils.c.
Referenced by draw_blank_frame(), and filter_frame().
Blend a rectangle with an uniform color.
Definition at line 355 of file drawutils.c.
Referenced by draw_text().
Blend an alpha mask with an uniform color.
Definition at line 453 of file drawutils.c.
Referenced by draw_glyphs(), and overlay_ass_image().
Round a dimension according to subsampling.
Definition at line 513 of file drawutils.c.
Referenced by config_input().
Return the list of pixel formats supported by the draw functions.
The flags are the same as ff_draw_init, i.e., none currently.
Definition at line 525 of file drawutils.c.
Referenced by query_formats().