MythTV  master
Classes | Typedefs | Functions | Variables
filter_postprocess.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "mythconfig.h"
#include "libavcodec/avcodec.h"
#include "filter.h"
#include "mythframe.h"
#include "libpostproc/postprocess.h"
Include dependency graph for filter_postprocess.c:

Go to the source code of this file.

Classes

struct  ThisFilter
 

Typedefs

typedef struct ThisFilter ThisFilter
 

Functions

static int pp (VideoFilter *vf, VideoFrame *frame, int field)
 
static void cleanup (VideoFilter *filter)
 
static VideoFilternew_filter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
 

Variables

FmtConv FmtList []
 
const FilterInfo filter_table []
 

Typedef Documentation

◆ ThisFilter

typedef struct ThisFilter ThisFilter

Function Documentation

◆ pp()

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

Definition at line 41 of file filter_postprocess.c.

Referenced by HistogramAnalyzer::analyzeFrame(), get_pid(), and new_filter().

◆ cleanup()

static void cleanup ( VideoFilter filter)
static

Definition at line 80 of file filter_postprocess.c.

Referenced by main(), and new_filter().

◆ new_filter()

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

Definition at line 86 of file filter_postprocess.c.

Variable Documentation

◆ FmtList

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

Definition at line 130 of file filter_postprocess.c.

Referenced by FilterManager::LoadFilters().

◆ filter_table

const FilterInfo filter_table[]
Initial value:
=
{
{
.filter_init= &new_filter,
.name= (char*)"postprocess",
.descript= (char*)"FFMPEG's postprocessing filters",
.formats= FmtList,
.libname= NULL
},
}
#define NULL
Definition: H264Parser.h:62
FmtConv FmtList[]
static VideoFilter * new_filter(VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
#define FILT_NULL
Definition: filter.h:47

Definition at line 136 of file filter_postprocess.c.