aboutsummaryrefslogtreecommitdiffstats
path: root/core/bsinc_tables.h
blob: 6c33bd56fe666c9ffb658465cf8bacdb6593390e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef CORE_BSINC_TABLES_H
#define CORE_BSINC_TABLES_H

#include <array>

#include "bsinc_defs.h"


struct BSincTable {
    float scaleBase, scaleRange;
    std::array<unsigned int,BSincScaleCount> m;
    std::array<unsigned int,BSincScaleCount> filterOffset;
    const float *Tab;
};

extern const BSincTable gBSinc12;
extern const BSincTable gBSinc24;

#endif /* CORE_BSINC_TABLES_H */