MythTV  master
Classes | Typedefs | Functions | Variables
filter_greedyhdeint.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "config.h"
#include <string.h>
#include <math.h>
#include "filter.h"
#include "mythframe.h"
#include "../mm_arch.h"
#include "color.h"
#include "ffmpeg-mmx.h"
#include <sys/time.h>
#include <time.h>
Include dependency graph for filter_greedyhdeint.c:

Go to the source code of this file.

Classes

struct  ThisFilter
 

Typedefs

typedef struct ThisFilter ThisFilter
 

Functions

static void AllocFilter (ThisFilter *filter, int width, int height)
 
static int GreedyHDeint (VideoFilter *f, VideoFrame *frame, int field)
 
static void CleanupGreedyHDeintFilter (VideoFilter *filter)
 
static VideoFilterGreedyHDeintFilter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
 

Variables

static const mmx_t mm_cpool []
 
static FmtConv FmtList []
 
const FilterInfo filter_table []
 

Typedef Documentation

◆ ThisFilter

typedef struct ThisFilter ThisFilter

Function Documentation

◆ AllocFilter()

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

Definition at line 95 of file filter_greedyhdeint.c.

Referenced by GreedyHDeint(), and GreedyHDeintFilter().

◆ GreedyHDeint()

static int GreedyHDeint ( VideoFilter f,
VideoFrame frame,
int  field 
)
static

Definition at line 121 of file filter_greedyhdeint.c.

Referenced by GreedyHDeintFilter().

◆ CleanupGreedyHDeintFilter()

static void CleanupGreedyHDeintFilter ( VideoFilter filter)
static

Definition at line 229 of file filter_greedyhdeint.c.

Referenced by GreedyHDeintFilter().

◆ GreedyHDeintFilter()

static VideoFilter* GreedyHDeintFilter ( VideoFrameType  inpixfmt,
VideoFrameType  outpixfmt,
const int *  width,
const int *  height,
const char *  options,
int  threads 
)
static

Definition at line 237 of file filter_greedyhdeint.c.

Variable Documentation

◆ mm_cpool

const mmx_t mm_cpool[]
static
Initial value:
=
{
{ 0x0000000000000000LL },
}

Definition at line 69 of file filter_greedyhdeint.c.

Referenced by adjustFilter().

◆ FmtList

FmtConv FmtList[]
static
Initial value:
=
{
}
#define FMT_NULL
Definition: filter.h:20

Definition at line 283 of file filter_greedyhdeint.c.

◆ filter_table

const FilterInfo filter_table[]
Initial value:
=
{
{
.filter_init= &GreedyHDeintFilter,
.name= (char*)"greedyhdeint",
.descript= (char*)"combines data from several fields to deinterlace with less motion blur",
.formats= FmtList,
.libname= NULL
},
{
.filter_init= &GreedyHDeintFilter,
.name= (char*)"greedyhdoubleprocessdeint",
.descript= (char*)"combines data from several fields to deinterlace with less motion blur",
.formats= FmtList,
.libname= NULL
}
#define NULL
Definition: H264Parser.h:62
static FmtConv FmtList[]
#define FILT_NULL
Definition: filter.h:47
static VideoFilter * GreedyHDeintFilter(VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)

Definition at line 290 of file filter_greedyhdeint.c.