MythTV  master
Classes | Typedefs | Functions | Variables
filter_crop.c File Reference
#include <stdio.h>
#include "mythconfig.h"
#include <stdlib.h>
#include <string.h>
#include "filter.h"
#include "mythframe.h"
#include "libavutil/mem.h"
#include "libavutil/cpu.h"
#include "ffmpeg-mmx.h"
Include dependency graph for filter_crop.c:

Go to the source code of this file.

Classes

struct  ThisFilter
 

Typedefs

typedef struct ThisFilter ThisFilter
 

Functions

static int crop (VideoFilter *f, VideoFrame *frame, int field)
 
static int cropMMX (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 []
 

Typedef Documentation

◆ ThisFilter

typedef struct ThisFilter ThisFilter

Function Documentation

◆ crop()

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

◆ cropMMX()

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

Definition at line 134 of file filter_crop.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 243 of file filter_crop.c.

Variable Documentation

◆ FmtList

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

Definition at line 297 of file filter_crop.c.

◆ filter_table

const FilterInfo filter_table[]
Initial value:
=
{
{
.filter_init= &new_filter,
.name= (char*)"crop",
.descript= (char*)"crops picture by macroblock intervals",
.formats= FmtList,
.libname= NULL
},
}
#define NULL
Definition: H264Parser.h:62
static FmtConv FmtList[]
Definition: filter_crop.c:297
static VideoFilter * new_filter(VideoFrameType inpixfmt, VideoFrameType outpixfmt, const int *width, const int *height, const char *options, int threads)
Definition: filter_crop.c:243
#define FILT_NULL
Definition: filter.h:47

Definition at line 303 of file filter_crop.c.