libavfilter/vf_decimate.c File Reference

#include "libavutil/pixdesc.h"
#include "libavutil/timestamp.h"
#include "libavcodec/dsputil.h"
#include "avfilter.h"
#include "internal.h"
#include "formats.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  DecimateContext

Functions

static int diff_planes (AVFilterContext *ctx, uint8_t *cur, uint8_t *ref, int linesize, int w, int h)
 Return 1 if the two planes are different, 0 otherwise.
static int decimate_frame (AVFilterContext *ctx, AVFilterBufferRef *cur, AVFilterBufferRef *ref)
 Tell if the frame should be decimated, for example if it is no much different with respect to the reference frame ref.
static av_cold int init (AVFilterContext *ctx, const char *args)
static av_cold void uninit (AVFilterContext *ctx)
static int query_formats (AVFilterContext *ctx)
static int config_input (AVFilterLink *inlink)
static int start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static int draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
static int end_frame (AVFilterLink *inlink)
static int request_frame (AVFilterLink *outlink)

Variables

AVFilter avfilter_vf_decimate


Function Documentation

static int config_input ( AVFilterLink inlink  )  [static]

Definition at line 179 of file vf_decimate.c.

static int decimate_frame ( AVFilterContext ctx,
AVFilterBufferRef cur,
AVFilterBufferRef ref 
) [static]

Tell if the frame should be decimated, for example if it is no much different with respect to the reference frame ref.

Definition at line 91 of file vf_decimate.c.

Referenced by end_frame().

static int diff_planes ( AVFilterContext ctx,
uint8_t cur,
uint8_t ref,
int  linesize,
int  w,
int  h 
) [static]

Return 1 if the two planes are different, 0 otherwise.

Definition at line 56 of file vf_decimate.c.

static int draw_slice ( AVFilterLink inlink,
int  y,
int  h,
int  slice_dir 
) [static]

Definition at line 192 of file vf_decimate.c.

static int end_frame ( AVFilterLink inlink  )  [static]

Definition at line 194 of file vf_decimate.c.

static av_cold int init ( AVFilterContext ctx,
const char *  args 
) [static]

Definition at line 116 of file vf_decimate.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 162 of file vf_decimate.c.

static int request_frame ( AVFilterLink outlink  )  [static]

Definition at line 225 of file vf_decimate.c.

static int start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
) [static]

Definition at line 190 of file vf_decimate.c.

static av_cold void uninit ( AVFilterContext ctx  )  [static]

Definition at line 154 of file vf_decimate.c.


Variable Documentation

Definition at line 238 of file vf_decimate.c.


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