filter_quickdnr.c File Reference

Go to the source code of this file.

Classes

struct  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)
int quickdnr (VideoFilter *f, VideoFrame *frame)
int quickdnr2 (VideoFilter *f, VideoFrame *frame)
int quickdnrMMX (VideoFilter *f, VideoFrame *frame)
int quickdnr2MMX (VideoFilter *f, VideoFrame *frame)
void cleanup (VideoFilter *vf)
VideoFilternew_filter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, int *width, int *height, char *options)

Variables

static FmtConv FmtList []
FilterInfo filter_table []


Function Documentation

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

Definition at line 66 of file filter_quickdnr.c.

Referenced by init_avg().

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

Definition at line 84 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 104 of file filter_quickdnr.c.

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

int quickdnr ( VideoFilter f,
VideoFrame frame 
)

Definition at line 129 of file filter_quickdnr.c.

Referenced by new_filter().

int quickdnr2 ( VideoFilter f,
VideoFrame frame 
)

Definition at line 162 of file filter_quickdnr.c.

Referenced by new_filter().

int quickdnrMMX ( VideoFilter f,
VideoFrame frame 
)

Definition at line 204 of file filter_quickdnr.c.

Referenced by new_filter().

int quickdnr2MMX ( VideoFilter f,
VideoFrame frame 
)

Definition at line 310 of file filter_quickdnr.c.

Referenced by new_filter().

void cleanup ( VideoFilter vf  ) 

Definition at line 439 of file filter_quickdnr.c.

VideoFilter* new_filter ( VideoFrameType  inpixfmt,
VideoFrameType  outpixfmt,
int *  width,
int *  height,
char *  options 
)

Definition at line 447 of file filter_quickdnr.c.


Variable Documentation

FmtConv FmtList[] [static]

Initial value:

 
{
    { FMT_YV12, FMT_YV12 },
    FMT_NULL
}

Definition at line 576 of file filter_quickdnr.c.

Initial value:

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

Definition at line 582 of file filter_quickdnr.c.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5