]> git.sesse.net Git - movit/commitdiff
In ResampleEffect, precompute the Lanczos function into a table.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Sep 2015 00:12:40 +0000 (02:12 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 24 Sep 2015 00:13:37 +0000 (02:13 +0200)
A 2048-element table (with linear interpolation between the elements)
is seemingly enough to get down to beyond float epsilon, and this
saves a lot of CPU time when computing large filter kernels.


No differences found