• Jean Delvare's avatar
    avfilter/delogo: Set default band to 1 · 8bc708fc
    Jean Delvare authored
    The original interpolation algorithm behaved poorly on the borders and
    did not even guarantee continuity at the borders. For this reason, a
    second interpolation/blending pass was required on the borders to make
    them seamless.
    
    However, since the interpolation algorithm was improved in June 2013,
    the border issues no longer exist. The new algorithm does guarantee
    continuity at the borders, making the second pass useless. A larger
    band always increases the cumulated interpolation error. In most cases
    it also increases the average interpolation error, even though the
    samples in the band are only partially interpolated.
    
    For this reason I would like to get rid of the "band" parameter. As a
    first step, let's change its default value from 4 to 1 and document it
    as deprecated.
    
    I have benchmarked this change on a combination of input sources and
    realistic logo areas. Lowering the band value from 4 to 1 resulted in
    8 to 39 % less interpolation error per frame (or 1 to 34 % less
    interpolation error per luma sample.)
    Signed-off-by: 's avatarJean Delvare <jdelvare@suse.de>
    Signed-off-by: 's avatarStefano Sabatini <stefasab@gmail.com>
    8bc708fc
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
arch.mak Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
cmdutils_opencl.c Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffmpeg.h Loading commit data...
ffmpeg_dxva2.c Loading commit data...
ffmpeg_filter.c Loading commit data...
ffmpeg_opt.c Loading commit data...
ffmpeg_vdpau.c Loading commit data...
ffmpeg_videotoolbox.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
ffserver_config.c Loading commit data...
ffserver_config.h Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...