swscale: provide a default scaler if none is set
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 1 Oct 2013 17:11:00 +0000 (19:11 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 5 Oct 2013 16:38:55 +0000 (18:38 +0200)
commit6b3ff6f91a535d6383f41ca7bdf760165dcb6015
treeb25f7e164c6b4ec96e8648eac066cb13aac23a6d
parent258414d0771845d20f646ffe4d4e60f22fba217c
swscale: provide a default scaler if none is set

Lanczos for general case, sinc for upscaling, Gaussian for
downscaling. According to current literature these scalers
should be the best quality-wise algorithms for each case.

Inspired from a patch by wm4 <nfxjfg@googlemail.com>

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libswscale/utils.c