bsinc_tables.h 511 B

123456789101112131415161718192021
  1. #ifndef CORE_BSINC_TABLES_H
  2. #define CORE_BSINC_TABLES_H
  3. #include <array>
  4. #include "alspan.h"
  5. #include "bsinc_defs.h"
  6. #include "opthelpers.h"
  7. struct BSincTable {
  8. float scaleBase, scaleRange;
  9. std::array<unsigned int,BSincScaleCount> m;
  10. std::array<unsigned int,BSincScaleCount> filterOffset;
  11. al::span<const float> Tab;
  12. };
  13. DECL_HIDDEN extern const BSincTable gBSinc12;
  14. DECL_HIDDEN extern const BSincTable gBSinc24;
  15. DECL_HIDDEN extern const BSincTable gBSinc48;
  16. #endif /* CORE_BSINC_TABLES_H */