libavcodec/rectangle.h File Reference
useful rectangle filling function
More...
#include <assert.h>
#include "config.h"
#include "libavutil/common.h"
#include "dsputil.h"
Go to the source code of this file.
Functions
fill a rectangle.
Detailed Description
useful rectangle filling function
- Author:
- Michael Niedermayer <michaelni@gmx.at>
Definition in file rectangle.h.
Function Documentation
static av_always_inline void fill_rectangle
(
void *
vp,
int
w,
int
h,
int
stride,
uint32_t
val,
int
size
)
[static]
fill a rectangle.
- Parameters:
-
h height of the rectangle, should be a constant
w width of the rectangle, should be a constant
size the size of val (1 or 4), should be a constant
Definition at line 42 of file rectangle.h.