1 #include "interpolate.h"
3 double lanczos_table[LANCZOS_RADIUS * LANCZOS_RESOLUTION];
5 void make_lanczos_weight_table()
7 for (int i = 0; i < LANCZOS_RADIUS * LANCZOS_RESOLUTION; ++i) {
8 float x = double(i) / LANCZOS_RESOLUTION;
9 lanczos_table[i] = lanczos_weight(x);