| 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 | 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 | avfilter_vf_cropdetect | 
Detailed Description
border detection filter Ported from MPlayer libmpcodecs/vf_cropdetect.c.
Definition in file vf_cropdetect.c.
Macro Definition Documentation
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM | 
Definition at line 195 of file vf_cropdetect.c.
| #define OFFSET | ( | x | ) | offsetof(CropDetectContext, x) | 
Definition at line 194 of file vf_cropdetect.c.
Function Documentation
| AVFILTER_DEFINE_CLASS | ( | cropdetect | ) | 
| 
 | static | 
Definition at line 60 of file vf_cropdetect.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 99 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 115 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 87 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 45 of file vf_cropdetect.c.
Variable Documentation
| AVFilter avfilter_vf_cropdetect | 
Definition at line 226 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 207 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 218 of file vf_cropdetect.c.
| 
 | static | 
Definition at line 197 of file vf_cropdetect.c.
Generated on Sat Nov 1 2025 06:56:25 for FFmpeg by
 1.8.11
 1.8.11