Filter implementing image derain filter using deep convolutional networks.
More...
Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DNN_DEFINE_CLASS()
| AVFILTER_DNN_DEFINE_CLASS |
( |
derain | , |
|
|
DNN_TF | ) |
◆ filter_frame()
◆ init()
◆ uninit()
◆ derain_options
Initial value:= {
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 41 of file vf_derain.c.
◆ derain_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
Definition at line 101 of file vf_derain.c.
◆ ff_vf_derain
Initial value:= {
.p.name = "derain",
.p.priv_class = &derain_class,
}
int ff_dnn_filter_init_child_class(AVFilterContext *filter)
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_SINGLE_PIXFMT(pix_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
static av_cold int preinit(AVBitStreamFilterContext *ctx)
static const AVFilterPad derain_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 109 of file vf_derain.c.