FFmpeg
|
#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 157 of file vf_cropdetect.c.
#define OFFSET | ( | x | ) | offsetof(CropDetectContext, x) |
Definition at line 243 of file vf_cropdetect.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 244 of file vf_cropdetect.c.
|
static |
Definition at line 46 of file vf_cropdetect.c.
Definition at line 71 of file vf_cropdetect.c.
|
static |
Definition at line 126 of file vf_cropdetect.c.
|
static |
Definition at line 138 of file vf_cropdetect.c.
|
static |
Definition at line 160 of file vf_cropdetect.c.
AVFILTER_DEFINE_CLASS | ( | cropdetect | ) |
|
static |
Definition at line 246 of file vf_cropdetect.c.
|
static |
Definition at line 257 of file vf_cropdetect.c.
|
static |
Definition at line 267 of file vf_cropdetect.c.
AVFilter ff_vf_cropdetect |
Definition at line 275 of file vf_cropdetect.c.