Utility code needed for Surge filters. More...
Classes | |
struct | SincTable |
Lookup table for evaluating the Sinc function. More... | |
Functions | |
float | i2f_binary_cast (int i) |
Variables | |
constexpr int | MAX_FB_COMB = 2048 * SST_FILTERS_COMB_EXTENSION_FACTOR |
constexpr int | MAX_FB_COMB_EXTENDED = 2048 * 64 |
const auto | m128_mask_signbit = SIMD_MM(set1_ps)(i2f_binary_cast(0x80000000)) |
const auto | m128_mask_absval = SIMD_MM(set1_ps)(i2f_binary_cast(0x7fffffff)) |
const auto | m128_zero = SIMD_MM(set1_ps)(0.0f) |
const auto | m128_half = SIMD_MM(set1_ps)(0.5f) |
const auto | m128_one = SIMD_MM(set1_ps)(1.0f) |
const auto | m128_two = SIMD_MM(set1_ps)(2.0f) |
const auto | m128_four = SIMD_MM(set1_ps)(4.0f) |
const auto | m128_1234 = SIMD_MM(set_ps)(1.f, 2.f, 3.f, 4.f) |
const auto | m128_0123 = SIMD_MM(set_ps)(0.f, 1.f, 2.f, 3.f) |
Utility code needed for Surge filters.
Note that this code may be moved to a submodule at some point in the future.
float sst::filters::utilities::i2f_binary_cast | ( | int | i | ) |
|
constexpr |
|
constexpr |
const auto m128_mask_signbit = SIMD_MM(set1_ps)(i2f_binary_cast(0x80000000)) |
const auto m128_mask_absval = SIMD_MM(set1_ps)(i2f_binary_cast(0x7fffffff)) |
Referenced by sst::filters::IIR12CFLquad(), and sst::filters::IIR24CFLquad().
const auto m128_zero = SIMD_MM(set1_ps)(0.0f) |
const auto m128_half = SIMD_MM(set1_ps)(0.5f) |
const auto m128_one = SIMD_MM(set1_ps)(1.0f) |
const auto m128_two = SIMD_MM(set1_ps)(2.0f) |
const auto m128_four = SIMD_MM(set1_ps)(4.0f) |
const auto m128_1234 = SIMD_MM(set_ps)(1.f, 2.f, 3.f, 4.f) |
const auto m128_0123 = SIMD_MM(set_ps)(0.f, 1.f, 2.f, 3.f) |