From 84d47f7d4c2d1355a6eb914dd091b39683f83c15 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Dec 2020 07:35:40 -0800 Subject: Move the bsinc tables to core --- core/bsinc_tables.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 core/bsinc_tables.h (limited to 'core/bsinc_tables.h') 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 */ -- cgit v1.2.3