12#ifndef TPGLIBS_AVXRUNSUMPROCESSOR_HPP_
13#define TPGLIBS_AVXRUNSUMPROCESSOR_HPP_
42 __m256i
process(
const __m256i& signal)
override;
49 void configure(
const nlohmann::json& config,
const int16_t* plane_numbers)
override;
AVX typed abstract signal processor.
AVX signal processor: Calculates the running sum of the signal.
__m256i process(const __m256i &signal) override
Calculate and store the running sum.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures the R factor and S factor according to plane.
__m256i m_memory_factor
The R factor in the model equation.
__m256i m_running_sum
The RS in the model equation.
__m256i m_scale_factor
The S factor in the model equation.