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) av_dict_set_int(metadata, key, value, 0) |
#define | FIND(DST, FROM, NOEND, INC, STEP0, STEP1, LEN) |
#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 | |||
) | av_dict_set_int(metadata, key, value, 0) |
Definition at line 155 of file vf_cropdetect.c.
Referenced by filter_frame().
#define OFFSET | ( | x | ) | offsetof(CropDetectContext, x) |
Definition at line 241 of file vf_cropdetect.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 242 of file vf_cropdetect.c.
|
static |
Definition at line 46 of file vf_cropdetect.c.
|
static |
Definition at line 69 of file vf_cropdetect.c.
|
static |
Definition at line 124 of file vf_cropdetect.c.
|
static |
Definition at line 136 of file vf_cropdetect.c.
|
static |
Definition at line 158 of file vf_cropdetect.c.
AVFILTER_DEFINE_CLASS | ( | cropdetect | ) |
|
static |
Definition at line 244 of file vf_cropdetect.c.
|
static |
Definition at line 255 of file vf_cropdetect.c.
|
static |
Definition at line 265 of file vf_cropdetect.c.
AVFilter ff_vf_cropdetect |
Definition at line 273 of file vf_cropdetect.c.