FFmpeg
|
border detection filter Ported from MPlayer libmpcodecs/vf_cropdetect.c. More...
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | CropDetectContext |
Macros | |
#define | SET_META(key, value) |
#define | OFFSET(x) offsetof(CropDetectContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | checkline (void *ctx, const unsigned char *src, int stride, int len, int bpp) |
static av_cold int | init (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
AVFILTER_DEFINE_CLASS (cropdetect) | |
Variables | |
static const AVOption | cropdetect_options [] |
static const AVFilterPad | avfilter_vf_cropdetect_inputs [] |
static const AVFilterPad | avfilter_vf_cropdetect_outputs [] |
AVFilter | ff_vf_cropdetect |
border detection filter Ported from MPlayer libmpcodecs/vf_cropdetect.c.
Definition in file vf_cropdetect.c.
#define SET_META | ( | key, | |
value | |||
) |
Definition at line 115 of file vf_cropdetect.c.
Referenced by filter_frame().
#define OFFSET | ( | x | ) | offsetof(CropDetectContext, x) |
Definition at line 211 of file vf_cropdetect.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 212 of file vf_cropdetect.c.
|
static |
Definition at line 45 of file vf_cropdetect.c.
|
static |
Definition at line 60 of file vf_cropdetect.c.
Referenced by filter_frame().
|
static |
Definition at line 87 of file vf_cropdetect.c.
|
static |
Definition at line 99 of file vf_cropdetect.c.
|
static |
Definition at line 119 of file vf_cropdetect.c.
AVFILTER_DEFINE_CLASS | ( | cropdetect | ) |
|
static |
Definition at line 214 of file vf_cropdetect.c.
|
static |
Definition at line 224 of file vf_cropdetect.c.
|
static |
Definition at line 234 of file vf_cropdetect.c.
AVFilter ff_vf_cropdetect |
Definition at line 242 of file vf_cropdetect.c.