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.


static av_always_inline void fill_rectangle (void *vp, int w, int h, int stride, uint32_t val, int size)
 fill a rectangle.

Detailed Description

useful rectangle filling function

Michael Niedermayer <>

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.

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.

Generated on Fri Oct 26 02:46:10 2012 for FFmpeg by  doxygen 1.5.8