3 #include "core/cl/representation.h" 4 #include "core/cl/traits.h" 9 constexpr
size_t biquad_order{2};
10 constexpr
size_t biquad_sections{3};
14 using filt_real = cl_double;
20 struct alignas(1 << 3)
memory final {
21 static constexpr
size_t order = o;
22 filt_real array[order]{};
28 std::begin(a.array), std::end(a.array), std::begin(b.array));
41 static constexpr
auto order = o;
42 filt_real b[order + 1]{};
43 filt_real a[order + 1]{};
48 return std::equal(std::begin(a.a), std::end(a.a), std::begin(b.a)) &&
49 std::equal(std::begin(a.b), std::end(a.b), std::begin(b.b));
86 static constexpr
auto value = R
"( 87 typedef double filt_real; 93 static const std::string value;
98 static const std::string value;
103 static const std::string value;
108 static const std::string value;
113 static constexpr
auto value = R
"( 115 memory_biquad array[BIQUAD_SECTIONS]; 116 } biquad_memory_array; 122 static constexpr
auto value = R
"( 124 coefficients_biquad array[BIQUAD_SECTIONS]; 125 } biquad_coefficients_array; Definition: representation.h:7
Several sets of biquad parameters.
Definition: filter_structs.h:78
IIR filter coefficient storage.
Definition: filter_structs.h:40
Definition: capsule_base.h:9
Just an array of filt_real to use as a delay line.
Definition: filter_structs.h:20
Several biquad delay lines in a row.
Definition: filter_structs.h:71