• Daniel Playfair Cal's avatar
    avfilter/vf_lensfun: add scale parameter · 6e420211
    Daniel Playfair Cal authored
    The lensfun filter wraps the lensfun library which performs
    transformations on videos to correct for lens distortion. Often this
    results in areas in the input being mapped to areas that fall outside
    the boundaries of the output. The library has a parameter called scale
    which is a scale factor applied to the output video. By decreasing it it
    is possible to regain the areas of the video which would otherwise have
    been lost. There is a special value of 0 which indicates that the
    library should automatically determine a scale factor that results in
    the output frame being filled (i.e. little or no black/unmapped areas).
    
    This patch adds a corresponding scale option to the lensfun filter which
    is passed through to the library. The existing behaviour of using the
    automatic value of 0 is retained as the default behaviour, while other
    values will be passed through to the library.
    Signed-off-by: 's avatarDaniel Playfair Cal <daniel.playfair.cal@gmail.com>
    6e420211
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools 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...
CONTRIBUTING.md 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...
configure Loading commit data...