Edge detection filter.
More...
Go to the source code of this file.
◆ PLANE_R
◆ PLANE_G
◆ PLANE_B
◆ PLANE_Y
◆ PLANE_U
◆ PLANE_V
◆ PLANE_A
◆ OFFSET
◆ FLAGS
◆ FilterMode
| Enumerator |
|---|
| MODE_WIRES | |
| MODE_COLORMIX | |
| MODE_CANNY | |
| NB_MODE | |
Definition at line 46 of file vf_edgedetect.c.
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
edgedetect | | ) |
|
◆ init()
◆ query_formats()
◆ config_props()
◆ color_mix()
| static void color_mix |
( |
int | w, |
|
|
int | h, |
|
|
uint8_t * | dst, |
|
|
int | dst_linesize, |
|
|
const uint8_t * | src, |
|
|
int | src_linesize ) |
|
static |
◆ filter_frame()
◆ uninit()
◆ edgedetect_options
Initial value:= {
}
mode
Use these values in ebur128_init (or'ed).
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_FLAGS
Underlying C type is unsigned int.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
Definition at line 72 of file vf_edgedetect.c.
◆ edgedetect_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
static int config_props(AVBitStreamFilterLink *link)
Definition at line 246 of file vf_edgedetect.c.
◆ ff_vf_edgedetect
Initial value:= {
.p.name = "edgedetect",
.p.priv_class = &edgedetect_class,
}
static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
int(* init)(AVBSFContext *ctx)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
static av_cold void uninit(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_QUERY_FUNC2(func)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad edgedetect_inputs[]
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
Definition at line 255 of file vf_edgedetect.c.