libavfilter/libmpcodecs/vf_smartblur.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include "mp_msg.h"
#include "libavutil/avutil.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libswscale/swscale.h"
#include "vf_scale.h"

Go to the source code of this file.

Data Structures

struct  FilterParam
struct  vf_priv_s
 Stores persistant variables. More...


static void getSubSampleFactors (int *h, int *v, int format)
static int allocStuff (FilterParam *f, int width, int height)
static int config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
static void freeBuffers (FilterParam *f)
static void uninit (struct vf_instance *vf)
static void blur (uint8_t *dst, uint8_t *src, int w, int h, int dstStride, int srcStride, FilterParam *fp)
static int put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
static int query_format (struct vf_instance *vf, unsigned int fmt)
static int vf_open (vf_instance_t *vf, char *args)


const vf_info_t vf_info_smartblur

Function Documentation

static int allocStuff ( FilterParam f,
int  width,
int  height 
) [static]

Definition at line 82 of file vf_smartblur.c.

static void blur ( uint8_t *  dst,
uint8_t *  src,
int  w,
int  h,
int  dstStride,
int  srcStride,
FilterParam fp 
) [inline, static]

Definition at line 128 of file vf_smartblur.c.

static int config ( struct vf_instance vf,
int  width,
int  height,
int  d_width,
int  d_height,
unsigned int  flags,
unsigned int  outfmt 
) [static]

Definition at line 99 of file vf_smartblur.c.

static void freeBuffers ( FilterParam f  )  [static]

Definition at line 113 of file vf_smartblur.c.

static void getSubSampleFactors ( int *  h,
int *  v,
int  format 
) [static]

Definition at line 54 of file vf_smartblur.c.

static int put_image ( struct vf_instance vf,
mp_image_t mpi,
double  pts 
) [static]

Definition at line 185 of file vf_smartblur.c.

static int query_format ( struct vf_instance vf,
unsigned int  fmt 
) [static]

Definition at line 206 of file vf_smartblur.c.

static void uninit ( struct vf_instance vf  )  [static]

Definition at line 118 of file vf_smartblur.c.

static int vf_open ( vf_instance_t vf,
char *  args 
) [static]

Definition at line 221 of file vf_smartblur.c.

Variable Documentation

Initial value:

    "smart blur",
    "Michael Niedermayer",

Definition at line 255 of file vf_smartblur.c.

Generated on Fri Oct 26 02:43:51 2012 for FFmpeg by  doxygen 1.5.8