aboutsummaryrefslogtreecommitdiffstats
path: root/core/bsinc_tables.h
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2020-12-04 07:35:40 -0800
committerChris Robinson <chris.kcat@gmail.com>2020-12-04 11:15:50 -0800
commit84d47f7d4c2d1355a6eb914dd091b39683f83c15 (patch)
tree5e8266a74e7821d47e8d1bc0e14cd7570fef6bf5 /core/bsinc_tables.h
parent36c1589c11cb8f197576e748e06bc5fbb6dcc8bf (diff)
Move the bsinc tables to core
Diffstat (limited to 'core/bsinc_tables.h')
-rw-r--r--core/bsinc_tables.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/bsinc_tables.h b/core/bsinc_tables.h
new file mode 100644
index 00000000..f52cda66
--- /dev/null
+++ b/core/bsinc_tables.h
@@ -0,0 +1,17 @@
+#ifndef CORE_BSINC_TABLES_H
+#define CORE_BSINC_TABLES_H
+
+#include "bsinc_defs.h"
+
+
+struct BSincTable {
+ float scaleBase, scaleRange;
+ unsigned int m[BSincScaleCount];
+ unsigned int filterOffset[BSincScaleCount];
+ const float *Tab;
+};
+
+extern const BSincTable bsinc12;
+extern const BSincTable bsinc24;
+
+#endif /* CORE_BSINC_TABLES_H */