MythTV  master
Classes | Macros | Typedefs | Functions | Variables
filter_linearblend.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "mythconfig.h"
#include "../mm_arch.h"
#include "filter.h"
#include "mythframe.h"
Include dependency graph for filter_linearblend.c:

Go to the source code of this file.

Classes

struct  LBFilter
 

Macros

#define PAVGB(a, b)   "pavgb " #a ", " #b " \n\t"
 
#define PAVGUSB(a, b)   "pavgusb " #a ", " #b " \n\t"
 

Typedefs

typedef struct LBFilter LBFilter
 

Functions

void linearBlend (unsigned char *src, int stride)
 
void linearBlendMMX (unsigned char *src, int stride)
 
void linearBlend3DNow (unsigned char *src, int stride)
 
int linearBlendFilterAltivec (VideoFilter *f, VideoFrame *frame, int field)
 
static int linearBlendFilter (VideoFilter *f, VideoFrame *frame, int field)
 
static VideoFilternew_filter (VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
 

Variables

static FmtConv FmtList []
 
const FilterInfo filter_table []
 

Macro Definition Documentation

◆ PAVGB

#define PAVGB (   a,
  b 
)    "pavgb " #a ", " #b " \n\t"

Definition at line 20 of file filter_linearblend.c.

◆ PAVGUSB

#define PAVGUSB (   a,
  b 
)    "pavgusb " #a ", " #b " \n\t"

Definition at line 21 of file filter_linearblend.c.

Typedef Documentation

◆ LBFilter

typedef struct LBFilter LBFilter

Function Documentation

◆ linearBlend()

void linearBlend ( unsigned char *  src,
int  stride 
)

Definition at line 243 of file filter_linearblend.c.

Referenced by new_filter().

◆ linearBlendMMX()

void linearBlendMMX ( unsigned char *  src,
int  stride 
)

Definition at line 47 of file filter_linearblend.c.

Referenced by new_filter().

◆ linearBlend3DNow()

void linearBlend3DNow ( unsigned char *  src,
int  stride 
)

Definition at line 94 of file filter_linearblend.c.

Referenced by new_filter().

◆ linearBlendFilterAltivec()

int linearBlendFilterAltivec ( VideoFilter f,
VideoFrame frame,
int  field 
)

Referenced by new_filter().

◆ linearBlendFilter()

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

Definition at line 285 of file filter_linearblend.c.

Referenced by 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 332 of file filter_linearblend.c.

Variable Documentation

◆ FmtList

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

Definition at line 366 of file filter_linearblend.c.

◆ filter_table

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

Definition at line 372 of file filter_linearblend.c.