cubic_defs.h 404 B

123456789101112131415
  1. #ifndef CORE_CUBIC_DEFS_H
  2. #define CORE_CUBIC_DEFS_H
  3. #include <array>
  4. /* The number of distinct phase intervals within the cubic filter tables. */
  5. constexpr unsigned int CubicPhaseBits{5};
  6. constexpr unsigned int CubicPhaseCount{1 << CubicPhaseBits};
  7. struct CubicCoefficients {
  8. alignas(16) std::array<float,4> mCoeffs;
  9. alignas(16) std::array<float,4> mDeltas;
  10. };
  11. #endif /* CORE_CUBIC_DEFS_H */