|
FFmpeg
|
#include "libavutil/avassert.h"#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "avfilter.h"#include "filters.h"#include "formats.h"#include "video.h"#include "edge_common.h"Go to the source code of this file.
Data Structures | |
| struct | plane_info |
| struct | EdgeDetectContext |
Macros | |
| #define | PLANE_R 0x4 |
| #define | PLANE_G 0x1 |
| #define | PLANE_B 0x2 |
| #define | PLANE_Y 0x1 |
| #define | PLANE_U 0x2 |
| #define | PLANE_V 0x4 |
| #define | PLANE_A 0x8 |
| #define | OFFSET(x) offsetof(EdgeDetectContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
| enum | FilterMode { FILTER_8TAP_SMOOTH, FILTER_8TAP_REGULAR, FILTER_8TAP_SHARP, FILTER_BILINEAR, N_FILTERS, FILTER_SWITCHABLE = N_FILTERS, MODE_WIRES, MODE_COLORMIX, MODE_CANNY, NB_MODE, MODE_NONE, MODE_INTERLEAVE, MODE_DEINTERLEAVE, FILTER_NONE = -1, FILTER_TOUT, FILTER_VREP, FILTER_BRNG, FILT_NUMB } |
Functions | |
| AVFILTER_DEFINE_CLASS (edgedetect) | |
| static av_cold int | init (AVFilterContext *ctx) |
| static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
| static int | config_props (AVFilterLink *inlink) |
| static void | color_mix (int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
| static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
| static const AVOption | edgedetect_options [] |
| static const AVFilterPad | edgedetect_inputs [] |
| const FFFilter | ff_vf_edgedetect |
Edge detection filter
Definition in file vf_edgedetect.c.
| #define PLANE_R 0x4 |
Definition at line 38 of file vf_edgedetect.c.
| #define PLANE_G 0x1 |
Definition at line 39 of file vf_edgedetect.c.
| #define PLANE_B 0x2 |
Definition at line 40 of file vf_edgedetect.c.
| #define PLANE_Y 0x1 |
Definition at line 41 of file vf_edgedetect.c.
| #define PLANE_U 0x2 |
Definition at line 42 of file vf_edgedetect.c.
| #define PLANE_V 0x4 |
Definition at line 43 of file vf_edgedetect.c.
| #define PLANE_A 0x8 |
Definition at line 44 of file vf_edgedetect.c.
| #define OFFSET | ( | x | ) | offsetof(EdgeDetectContext, x) |
Definition at line 70 of file vf_edgedetect.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 71 of file vf_edgedetect.c.
| enum FilterMode |
Definition at line 46 of file vf_edgedetect.c.
| AVFILTER_DEFINE_CLASS | ( | edgedetect | ) |
|
static |
Definition at line 91 of file vf_edgedetect.c.
|
static |
Definition at line 100 of file vf_edgedetect.c.
|
static |
Definition at line 122 of file vf_edgedetect.c.
|
static |
Definition at line 146 of file vf_edgedetect.c.
Referenced by filter_frame().
|
static |
Definition at line 160 of file vf_edgedetect.c.
|
static |
Definition at line 233 of file vf_edgedetect.c.
|
static |
Definition at line 72 of file vf_edgedetect.c.
|
static |
Definition at line 246 of file vf_edgedetect.c.
| const FFFilter ff_vf_edgedetect |
Definition at line 255 of file vf_edgedetect.c.
1.8.17