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 105 of file drawutils.c.
Definition at line 127 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 149 of file drawutils.c.
Referenced by config_input(), config_props(), and ff_draw_supported_pixel_formats().
Prepare a color.
Definition at line 191 of file drawutils.c.
Referenced by config_input(), config_props(), 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 231 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 253 of file drawutils.c.
Referenced by draw_blank_frame(), and filter_frame().
Blend a rectangle with an uniform color.
Definition at line 348 of file drawutils.c.
Referenced by draw_text().
Blend an alpha mask with an uniform color.
Definition at line 446 of file drawutils.c.
Referenced by draw_glyphs(), and overlay_ass_image().
Round a dimension according to subsampling.
Definition at line 506 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 518 of file drawutils.c.
Referenced by query_formats().