filter_quickdnr.c File Reference

Go to the source code of this file.

Classes

struct  ThisFilter

Typedefs

typedef struct ThisFilter ThisFilter

Functions

static int alloc_avg (ThisFilter *filter, int size)
static int init_avg (ThisFilter *filter, VideoFrame *frame)
static void init_vars (ThisFilter *tf, VideoFrame *frame, int *thr1, int *thr2, int *height, uint8_t **avg, uint8_t **buf)
static int quickdnr (VideoFilter *f, VideoFrame *frame, int field)
static int quickdnr2 (VideoFilter *f, VideoFrame *frame, int field)
static int quickdnrMMX (VideoFilter *f, VideoFrame *frame, int field)
static int quickdnr2MMX (VideoFilter *f, VideoFrame *frame, int field)
static void cleanup (VideoFilter *vf)
static VideoFilternew_filter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, int *width, int *height, char *options, int threads)

Variables

static FmtConv FmtList []
ConstFilterInfo filter_table []

Typedef Documentation

typedef struct ThisFilter ThisFilter

Function Documentation

static int alloc_avg ( ThisFilter filter,
int  size 
) [static]

Definition at line 67 of file filter_quickdnr.c.

Referenced by init_avg().

static int init_avg ( ThisFilter filter,
VideoFrame frame 
) [static]

Definition at line 85 of file filter_quickdnr.c.

Referenced by quickdnr(), quickdnr2(), quickdnr2MMX(), and quickdnrMMX().

static void init_vars ( ThisFilter tf,
VideoFrame frame,
int *  thr1,
int *  thr2,
int *  height,
uint8_t **  avg,
uint8_t **  buf 
) [static]

Definition at line 105 of file filter_quickdnr.c.

Referenced by quickdnr(), quickdnr2(), quickdnr2MMX(), and quickdnrMMX().

static int quickdnr ( VideoFilter f,
VideoFrame frame,
int  field 
) [static]

Definition at line 130 of file filter_quickdnr.c.

Referenced by new_filter().

static int quickdnr2 ( VideoFilter f,
VideoFrame frame,
int  field 
) [static]

Definition at line 164 of file filter_quickdnr.c.

Referenced by new_filter().

static int quickdnrMMX ( VideoFilter f,
VideoFrame frame,
int  field 
) [static]

Definition at line 207 of file filter_quickdnr.c.

Referenced by new_filter().

static int quickdnr2MMX ( VideoFilter f,
VideoFrame frame,
int  field 
) [static]

Definition at line 314 of file filter_quickdnr.c.

Referenced by new_filter().

static void cleanup ( VideoFilter vf  )  [static]

Definition at line 444 of file filter_quickdnr.c.

static VideoFilter* new_filter ( VideoFrameType  inpixfmt,
VideoFrameType  outpixfmt,
int *  width,
int *  height,
char *  options,
int  threads 
) [static]

Definition at line 452 of file filter_quickdnr.c.


Variable Documentation

FmtConv FmtList[] [static]
Initial value:
{
    { FMT_YV12, FMT_YV12 },
    FMT_NULL
}

Definition at line 584 of file filter_quickdnr.c.

Initial value:
{
    {
        filter_init: &new_filter,
        name:       "quickdnr",
        descript:   "removes noise with a fast single/double thresholded average filter",
        formats:    FmtList,
        libname:    NULL
    },
    FILT_NULL
}

Definition at line 590 of file filter_quickdnr.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat May 26 06:41:48 2012 for MythTV by  doxygen 1.6.3