Fix the lanczos resizer
commita76126fded592b3f10d32d2d91d5cebb8e4c1333
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Tue, 28 Sep 2010 11:20:25 +0000 (28 14:20 +0300)
committerIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Tue, 28 Sep 2010 11:20:25 +0000 (28 14:20 +0300)
tree346ff10ec0bad5df49ca032d98e3e52beafbda6d
parent0c8ba087840f0b965080372f46118add6f9a5974
Fix the lanczos resizer

Turns out the resizer was computing the parameter to Lanczos kernel
incorrectly. Fix this. Also rewrite the coefficient calculation to be
clearer.
streamtools/resizer-lanczos.cpp