#include <string.h>#include "libavutil/avutil.h"#include "libavutil/colorspace.h"#include "libavutil/mem.h"#include "libavutil/pixdesc.h"#include "drawutils.h"Go to the source code of this file.
Enumerations | |
| enum | { RED = 0, GREEN, BLUE, ALPHA } |
Functions | |
| int | ff_fill_line_with_color (uint8_t *line[4], int pixel_step[4], int w, uint8_t dst_color[4], enum AVPixelFormat pix_fmt, uint8_t rgba_color[4], int *is_packed_rgba, uint8_t rgba_map_ptr[4]) |
| void | ff_draw_rectangle (uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int pixelstep[4], int hsub, int vsub, int x, int y, int w, int h) |
| void | ff_copy_rectangle (uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int src_linesize[4], int pixelstep[4], int hsub, int vsub, int x, int y, int y2, int w, int h) |
| anonymous enum |
| Enumerator | |
|---|---|
| RED | |
| GREEN | |
| BLUE | |
| ALPHA | |
Definition at line 27 of file drawutils.c.
| void ff_copy_rectangle | ( | uint8_t * | dst[4], |
| int | dst_linesize[4], | ||
| uint8_t * | src[4], | ||
| int | src_linesize[4], | ||
| int | pixelstep[4], | ||
| int | hsub, | ||
| int | vsub, | ||
| int | x, | ||
| int | y, | ||
| int | y2, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 102 of file drawutils.c.
Referenced by filter_frame().
| void ff_draw_rectangle | ( | uint8_t * | dst[4], |
| int | dst_linesize[4], | ||
| uint8_t * | src[4], | ||
| int | pixelstep[4], | ||
| int | hsub, | ||
| int | vsub, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 82 of file drawutils.c.
Referenced by color_request_frame(), drawbox(), and filter_frame().
| int ff_fill_line_with_color | ( | uint8_t * | line[4], |
| int | pixel_step[4], | ||
| int | w, | ||
| uint8_t | dst_color[4], | ||
| enum AVPixelFormat | pix_fmt, | ||
| uint8_t | rgba_color[4], | ||
| int * | is_packed_rgba, | ||
| uint8_t | rgba_map_ptr[4] | ||
| ) |
Definition at line 29 of file drawutils.c.
Referenced by color_config_props(), and config_input().