avfilter/vf_guided: support single input
authorXuewei Meng <xwmeng96@gmail.com>
Mon, 14 Jun 2021 02:08:01 +0000 (10:08 +0800)
committerSteven Liu <liuqi05@kuaishou.com>
Tue, 29 Jun 2021 08:05:31 +0000 (16:05 +0800)
commit9ca88b3befef5608dd2a58d08f3aabcd0b475f95
treeff2ded849beac9dec4a959246c8600e46d196150
parent49e3a8165c940b0e4b6c39b2e316065c56084fea
avfilter/vf_guided: support single input

Support single input for guided filter by adding guidance mode.
If the guidance mode is off, single input is required. And
edge-preserving smoothing is conducted. If the mode is on, two
inputs are needed. The second input serves as the guidance. For
this mode, more tasks are supported, such as detail enhancement,
dehazing and so on.

Signed-off-by: Xuewei Meng <xwmeng96@gmail.com>
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
doc/filters.texi
libavfilter/vf_guided.c