FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rectangle.h File Reference

useful rectangle filling function More...

#include "config.h"
#include "libavutil/common.h"
#include "libavutil/avassert.h"

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. More...
 

Detailed Description

useful rectangle filling function

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.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
hheight of the rectangle, should be a constant
wwidth of the rectangle, should be a constant
sizethe size of val (1, 2 or 4), should be a constant

Definition at line 41 of file rectangle.h.