]> git.sesse.net Git - c64tapwav/blob - interpolate.cpp
More output to stderr.
[c64tapwav] / interpolate.cpp
1 #include "interpolate.h"
2
3 double lanczos_table[LANCZOS_RADIUS * LANCZOS_RESOLUTION];
4
5 void make_lanczos_weight_table()
6 {
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);
10         }
11 }