useful rectangle filling function More...
Go to the source code of this file.
Functions | |
static av_always_inline void | fill_rectangle (void *vp, int w, int h, int stride, uint32_t val, int size) |
fill a rectangle. |
useful rectangle filling function
Definition in file rectangle.h.
static av_always_inline void fill_rectangle | ( | void * | vp, |
int | w, | ||
int | h, | ||
int | stride, | ||
uint32_t | val, | ||
int | size | ||
) | [static] |
fill a rectangle.
h | height of the rectangle, should be a constant |
w | width of the rectangle, should be a constant |
size | the size of val (1, 2 or 4), should be a constant |
Definition at line 42 of file rectangle.h.