FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vf_sab.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include "config.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
 

Functions

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)
 

Variables

const vf_info_t ff_vf_info_sab
 

Function Documentation

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

Definition at line 67 of file vf_sab.c.

Referenced by config().

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

Definition at line 95 of file vf_sab.c.

Referenced by config().

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 140 of file vf_sab.c.

Referenced by vf_open().

static void freeBuffers ( FilterParam f)
static

Definition at line 154 of file vf_sab.c.

Referenced by uninit().

static void uninit ( struct vf_instance *  vf)
static

Definition at line 165 of file vf_sab.c.

Referenced by vf_open().

static void blur ( uint8_t dst,
uint8_t src,
int  w,
int  h,
int  dstStride,
int  srcStride,
FilterParam fp 
)
inlinestatic

Definition at line 175 of file vf_sab.c.

Referenced by put_image().

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

Definition at line 243 of file vf_sab.c.

Referenced by vf_open().

static int query_format ( struct vf_instance *  vf,
unsigned int  fmt 
)
static

Definition at line 262 of file vf_sab.c.

Referenced by vf_open().

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

Definition at line 277 of file vf_sab.c.

Variable Documentation

const vf_info_t ff_vf_info_sab
Initial value:
= {
"shape adaptive blur",
"sab",
"Michael Niedermayer",
"",
}

Definition at line 314 of file vf_sab.c.