mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 12:14:41 +02:00
22 lines
511 B
C++
22 lines
511 B
C++
#ifndef CORE_BSINC_TABLES_H
|
|
#define CORE_BSINC_TABLES_H
|
|
|
|
#include <array>
|
|
|
|
#include "alspan.h"
|
|
#include "bsinc_defs.h"
|
|
#include "opthelpers.h"
|
|
|
|
struct BSincTable {
|
|
float scaleBase, scaleRange;
|
|
std::array<unsigned int,BSincScaleCount> m;
|
|
std::array<unsigned int,BSincScaleCount> filterOffset;
|
|
al::span<const float> Tab;
|
|
};
|
|
|
|
DECL_HIDDEN extern const BSincTable gBSinc12;
|
|
DECL_HIDDEN extern const BSincTable gBSinc24;
|
|
DECL_HIDDEN extern const BSincTable gBSinc48;
|
|
|
|
#endif /* CORE_BSINC_TABLES_H */
|