MythTV  master
Classes | Typedefs | Functions | Variables
filter_ivtc.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "config.h"
#include "filter.h"
#include "mythframe.h"
#include "pullup.h"
Include dependency graph for filter_ivtc.c:

Go to the source code of this file.

Classes

struct  ThisFilter
 

Typedefs

typedef struct ThisFilter ThisFilter
 

Functions

static void SetupFilter (ThisFilter *vf, int width, int height, const int *pitches)
 
static void * memcpy_pic (void *dst, const void *src, int height, int dstStride, int srcStride)
 
static int IvtcFilter (VideoFilter *vf, VideoFrame *frame, int field)
 
static void IvtcFilterCleanup (VideoFilter *filter)
 
static VideoFilterNewIvtcFilter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
 

Variables

static FmtConv FmtList []
 
const FilterInfo filter_table []
 

Typedef Documentation

◆ ThisFilter

typedef struct ThisFilter ThisFilter

Function Documentation

◆ SetupFilter()

static void SetupFilter ( ThisFilter vf,
int  width,
int  height,
const int *  pitches 
)
static

Definition at line 165 of file filter_ivtc.c.

Referenced by IvtcFilter(), and NewIvtcFilter().

◆ memcpy_pic()

static void* memcpy_pic ( void *  dst,
const void *  src,
int  height,
int  dstStride,
int  srcStride 
)
inlinestatic

Definition at line 34 of file filter_ivtc.c.

Referenced by IvtcFilter().

◆ IvtcFilter()

static int IvtcFilter ( VideoFilter vf,
VideoFrame frame,
int  field 
)
static

Definition at line 47 of file filter_ivtc.c.

Referenced by NewIvtcFilter().

◆ IvtcFilterCleanup()

static void IvtcFilterCleanup ( VideoFilter filter)
static

Definition at line 160 of file filter_ivtc.c.

Referenced by NewIvtcFilter().

◆ NewIvtcFilter()

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

Definition at line 193 of file filter_ivtc.c.

Variable Documentation

◆ FmtList

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

Definition at line 246 of file filter_ivtc.c.

◆ filter_table

const FilterInfo filter_table[]
Initial value:
=
{
{
.filter_init= &NewIvtcFilter,
.name= (char*)"ivtc",
.descript= (char*)"inverse telecine filter",
.formats= FmtList,
.libname= NULL
},
}
#define NULL
Definition: H264Parser.h:62
static FmtConv FmtList[]
Definition: filter_ivtc.c:246
static VideoFilter * NewIvtcFilter(VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
Definition: filter_ivtc.c:193
#define FILT_NULL
Definition: filter.h:47

Definition at line 252 of file filter_ivtc.c.