From fdce4f3132f52f5ea550637694f70e037e8a8c3d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 6 Jun 2004 13:46:50 +0000 Subject: cubic filter instead of truncated sinc looks much better for upscaling & scaling where src and dst size are quite similar Originally committed as revision 3201 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgresample.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libavcodec/imgresample.c') diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index 14fdb1059e..dc5ccf93bd 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -554,12 +554,18 @@ static void build_filter(int16_t *filter, float factor) for(ph=0;ph