filter_yadif.c File Reference

Go to the source code of this file.

Classes

struct  ThisFilter

Functions

static void AllocFilter (ThisFilter *filter, int width, int height)
static void * memcpy_pic2 (void *dst, const void *src, int bytesPerLine, int height, int dstStride, int srcStride, int limit2width)
static void store_ref (struct ThisFilter *p, uint8_t *src, int src_offsets[3], int src_stride[3], int width, int height)
static void filter_line_mmx2 (struct ThisFilter *p, uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int refs, int parity)
static void filter_line_c (struct ThisFilter *p, uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int refs, int parity)
 CHECK (1)
 if (spatial_pred > d+diff) spatial_pred
else if ()
static int YadifDeint (VideoFilter *f, VideoFrame *frame)
void CleanupYadifDeintFilter (VideoFilter *filter)
VideoFilterYadifDeintFilter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, int *width, int *height, char *options)

Variables

static void *(* fast_memcpy )(void *to, const void *from, size_t len)
static FmtConv FmtList []
FilterInfo filter_table []


Function Documentation

static void AllocFilter ( ThisFilter filter,
int  width,
int  height 
) [static]

Definition at line 75 of file filter_yadif.c.

static void* memcpy_pic2 ( void *  dst,
const void *  src,
int  bytesPerLine,
int  height,
int  dstStride,
int  srcStride,
int  limit2width 
) [inline, static]

Definition at line 106 of file filter_yadif.c.

static void store_ref ( struct ThisFilter p,
uint8_t *  src,
int  src_offsets[3],
int  src_stride[3],
int  width,
int  height 
) [static]

Definition at line 137 of file filter_yadif.c.

Referenced by YadifDeint().

static void filter_line_mmx2 ( struct ThisFilter p,
uint8_t *  dst,
uint8_t *  prev,
uint8_t *  cur,
uint8_t *  next,
int  w,
int  refs,
int  parity 
) [static]

Definition at line 215 of file filter_yadif.c.

Referenced by YadifDeintFilter().

static void filter_line_c ( struct ThisFilter p,
uint8_t *  dst,
uint8_t *  prev,
uint8_t *  cur,
uint8_t *  next,
int  w,
int  refs,
int  parity 
) [static]

Definition at line 375 of file filter_yadif.c.

Referenced by YadifDeintFilter().

CHECK (  ) 

Definition at line 402 of file filter_yadif.c.

Referenced by filter_line_c().

if ( spatial_pred  ,
d diff 
)

else if (  ) 

Definition at line 423 of file filter_yadif.c.

static int YadifDeint ( VideoFilter f,
VideoFrame frame 
) [static]

Definition at line 477 of file filter_yadif.c.

Referenced by YadifDeintFilter().

void CleanupYadifDeintFilter ( VideoFilter filter  ) 

Definition at line 513 of file filter_yadif.c.

Referenced by YadifDeintFilter().

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

Definition at line 525 of file filter_yadif.c.


Variable Documentation

void*(* fast_memcpy)(void *to, const void *from, size_t len) [static]

Referenced by memcpy_pic2(), and YadifDeintFilter().

FmtConv FmtList[] [static]

Initial value:

{
    { FMT_YV12, FMT_YV12 } ,
    FMT_NULL
}

Definition at line 582 of file filter_yadif.c.

Initial value:

{
    {
symbol:     "YadifDeintFilter",
            name:       "yadifdeint",
            descript:   "combines data from several fields to deinterlace with less motion blur",
            formats:    FmtList,
            libname:    NULL
    },
    {
symbol:     "YadifDeintFilter",
            name:       "yadifdoubleprocessdeint",
            descript:   "combines data from several fields to deinterlace with less motion blur",
            formats:    FmtList,
            libname:    NULL
    },FILT_NULL
}

Definition at line 588 of file filter_yadif.c.


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