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

Go to the source code of this file.

Classes

struct  ThisFilter
 

Typedefs

typedef struct ThisFilter ThisFilter
 

Functions

static void reverse_memcpy (unsigned char *dst, const unsigned char *src, int n)
 
static int swap (VideoFrame *frame, int datasize, int offset, int shift)
 
static int comp (const void *va, const void *vb)
 
static int vflip (VideoFilter *vf, 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 []
 

Typedef Documentation

◆ ThisFilter

typedef struct ThisFilter ThisFilter

Function Documentation

◆ reverse_memcpy()

static void reverse_memcpy ( unsigned char *  dst,
const unsigned char *  src,
int  n 
)
static

Definition at line 18 of file filter_vflip.c.

Referenced by swap().

◆ swap()

static int swap ( VideoFrame frame,
int  datasize,
int  offset,
int  shift 
)
static

◆ comp()

static int comp ( const void *  va,
const void *  vb 
)
static

◆ vflip()

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

Definition at line 65 of file filter_vflip.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 102 of file filter_vflip.c.

Variable Documentation

◆ FmtList

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

Definition at line 132 of file filter_vflip.c.

◆ filter_table

const FilterInfo filter_table[]
Initial value:
=
{
{
.filter_init= &new_filter,
.name= (char*)"vflip",
.descript= (char*)"flips the video image vertically",
.formats= FmtList,
.libname= NULL
},
}
#define NULL
Definition: H264Parser.h:62
static FmtConv FmtList[]
Definition: filter_vflip.c:132
#define FILT_NULL
Definition: filter.h:47
static VideoFilter * new_filter(VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
Definition: filter_vflip.c:102

Definition at line 138 of file filter_vflip.c.