18 for (
int i = 0; i < 16; i++) {
19 abs_signal[i] = std::abs(signal[i]);
#define REGISTER_NAIVEPROCESSOR_CREATOR(processor_name, processor_class)
Factory registration macro.
Naive signal processor: Calculates the running sum of the signal's absolute value.
std::array< int16_t, 16 > naive_array_t
The naive version uses a standard array instead of __m256i.
naive_array_t process(const naive_array_t &signal) override
Calculate and store the running sum.