11#ifndef TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
12#define TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
27 __m256i
process(
const __m256i& signal)
override;
34 void configure(
const nlohmann::json& config,
const int16_t* plane_numbers)
override;
AVX typed abstract signal processor.
AVX signal processor: Passes signals above a threshold.
__m256i m_threshold
Vector of thresholds to apply.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.
__m256i process(const __m256i &signal) override
Masks channels with signals below threshold.