From: Steinar H. Gunderson Date: Thu, 24 Sep 2015 00:12:40 +0000 (+0200) Subject: In ResampleEffect, precompute the Lanczos function into a table. X-Git-Tag: 1.2.0~1 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6f1efa8348a90a393187c12d70fd10d81bbd2c99;hp=6f1efa8348a90a393187c12d70fd10d81bbd2c99;p=movit In ResampleEffect, precompute the Lanczos function into a table. 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. ---