diff --git a/sdrbase/dsp/decimatorsu.h b/sdrbase/dsp/decimatorsu.h index f10725384..60c122b11 100644 --- a/sdrbase/dsp/decimatorsu.h +++ b/sdrbase/dsp/decimatorsu.h @@ -24,12 +24,7 @@ #define INCLUDE_GPL_DSP_DECIMATORSU_H_ #include "dsp/dsptypes.h" - -#ifdef SDR_RX_SAMPLE_24BIT -#include "dsp/inthalfbandfiltereo2.h" -#else // SDR_RX_SAMPLE_24BIT -#include "dsp/inthalfbandfiltereo1.h" -#endif // SDR_RX_SAMPLE_24BIT +#include "dsp/inthalfbandfiltereo.h" #define DECIMATORS_HB_FILTER_ORDER 64 @@ -204,19 +199,19 @@ public: private: #ifdef SDR_RX_SAMPLE_24BIT - IntHalfbandFilterEO2 m_decimator2; // 1st stages - IntHalfbandFilterEO2 m_decimator4; // 2nd stages - IntHalfbandFilterEO2 m_decimator8; // 3rd stages - IntHalfbandFilterEO2 m_decimator16; // 4th stages - IntHalfbandFilterEO2 m_decimator32; // 5th stages - IntHalfbandFilterEO2 m_decimator64; // 6th stages + IntHalfbandFilterEO m_decimator2; // 1st stages + IntHalfbandFilterEO m_decimator4; // 2nd stages + IntHalfbandFilterEO m_decimator8; // 3rd stages + IntHalfbandFilterEO m_decimator16; // 4th stages + IntHalfbandFilterEO m_decimator32; // 5th stages + IntHalfbandFilterEO m_decimator64; // 6th stages #else - IntHalfbandFilterEO1 m_decimator2; // 1st stages - IntHalfbandFilterEO1 m_decimator4; // 2nd stages - IntHalfbandFilterEO1 m_decimator8; // 3rd stages - IntHalfbandFilterEO1 m_decimator16; // 4th stages - IntHalfbandFilterEO1 m_decimator32; // 5th stages - IntHalfbandFilterEO1 m_decimator64; // 6th stages + IntHalfbandFilterEO m_decimator2; // 1st stages + IntHalfbandFilterEO m_decimator4; // 2nd stages + IntHalfbandFilterEO m_decimator8; // 3rd stages + IntHalfbandFilterEO m_decimator16; // 4th stages + IntHalfbandFilterEO m_decimator32; // 5th stages + IntHalfbandFilterEO m_decimator64; // 6th stages #endif }; diff --git a/sdrbase/dsp/downchannelizer.cpp b/sdrbase/dsp/downchannelizer.cpp index 713748af6..b8fe5f3f3 100644 --- a/sdrbase/dsp/downchannelizer.cpp +++ b/sdrbase/dsp/downchannelizer.cpp @@ -190,43 +190,43 @@ void DownChannelizer::applyConfiguration() #ifdef SDR_RX_SAMPLE_24BIT DownChannelizer::FilterStage::FilterStage(Mode mode) : - m_filter(new IntHalfbandFilterEO2), + m_filter(new IntHalfbandFilterEO), m_workFunction(0), m_mode(mode), m_sse(true) { switch(mode) { case ModeCenter: - m_workFunction = &IntHalfbandFilterEO2::workDecimateCenter; + m_workFunction = &IntHalfbandFilterEO::workDecimateCenter; break; case ModeLowerHalf: - m_workFunction = &IntHalfbandFilterEO2::workDecimateLowerHalf; + m_workFunction = &IntHalfbandFilterEO::workDecimateLowerHalf; break; case ModeUpperHalf: - m_workFunction = &IntHalfbandFilterEO2::workDecimateUpperHalf; + m_workFunction = &IntHalfbandFilterEO::workDecimateUpperHalf; break; } } #else DownChannelizer::FilterStage::FilterStage(Mode mode) : - m_filter(new IntHalfbandFilterEO1), + m_filter(new IntHalfbandFilterEO), m_workFunction(0), m_mode(mode), m_sse(true) { switch(mode) { case ModeCenter: - m_workFunction = &IntHalfbandFilterEO1::workDecimateCenter; + m_workFunction = &IntHalfbandFilterEO::workDecimateCenter; break; case ModeLowerHalf: - m_workFunction = &IntHalfbandFilterEO1::workDecimateLowerHalf; + m_workFunction = &IntHalfbandFilterEO::workDecimateLowerHalf; break; case ModeUpperHalf: - m_workFunction = &IntHalfbandFilterEO1::workDecimateUpperHalf; + m_workFunction = &IntHalfbandFilterEO::workDecimateUpperHalf; break; } } diff --git a/sdrbase/dsp/downchannelizer.h b/sdrbase/dsp/downchannelizer.h index 86c21db27..3e5059154 100644 --- a/sdrbase/dsp/downchannelizer.h +++ b/sdrbase/dsp/downchannelizer.h @@ -23,12 +23,7 @@ #include #include "export.h" #include "util/message.h" - -#ifdef SDR_RX_SAMPLE_24BIT -#include "dsp/inthalfbandfiltereo2.h" -#else // SDR_RX_SAMPLE_24BIT -#include "dsp/inthalfbandfiltereo1.h" -#endif // SDR_RX_SAMPLE_24BIT +#include "dsp/inthalfbandfiltereo.h" #define DOWNCHANNELIZER_HB_FILTER_ORDER 48 @@ -81,11 +76,11 @@ protected: }; #ifdef SDR_RX_SAMPLE_24BIT - typedef bool (IntHalfbandFilterEO2::*WorkFunction)(Sample* s); - IntHalfbandFilterEO2* m_filter; + typedef bool (IntHalfbandFilterEO::*WorkFunction)(Sample* s); + IntHalfbandFilterEO* m_filter; #else - typedef bool (IntHalfbandFilterEO1::*WorkFunction)(Sample* s); - IntHalfbandFilterEO1* m_filter; + typedef bool (IntHalfbandFilterEO::*WorkFunction)(Sample* s); + IntHalfbandFilterEO* m_filter; #endif WorkFunction m_workFunction;