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.


struct  ThisFilter


typedef struct ThisFilter ThisFilter


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)


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 

Definition at line 18 of file filter_vflip.c.

Referenced by swap().

◆ swap()

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

◆ comp()

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

◆ vflip()

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

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 

Definition at line 102 of file filter_vflip.c.

Variable Documentation

◆ FmtList

FmtConv FmtList[]
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.