From 172de2704746396e8b1196f2f9f8b3f3b28633d9 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 26 Apr 2017 01:57:11 +0200 Subject: [PATCH] IntHalfbandFilters: set workInterpolateCenter optimized methods as defaults --- sdrbase/dsp/inthalfbandfilter.h | 4 ++-- sdrbase/dsp/inthalfbandfilterdb.h | 4 ++-- sdrbase/dsp/inthalfbandfiltereo1.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdrbase/dsp/inthalfbandfilter.h b/sdrbase/dsp/inthalfbandfilter.h index fbf8c3163..a60b70017 100644 --- a/sdrbase/dsp/inthalfbandfilter.h +++ b/sdrbase/dsp/inthalfbandfilter.h @@ -72,7 +72,7 @@ public: } // upsample by 2, return center part of original spectrum - bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut) { switch(m_state) { @@ -113,7 +113,7 @@ public: } /** Optimized upsampler by 2 not calculating FIR with inserted null samples */ - bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) { switch(m_state) { diff --git a/sdrbase/dsp/inthalfbandfilterdb.h b/sdrbase/dsp/inthalfbandfilterdb.h index 1cbba6ec4..cc587acce 100644 --- a/sdrbase/dsp/inthalfbandfilterdb.h +++ b/sdrbase/dsp/inthalfbandfilterdb.h @@ -61,7 +61,7 @@ public: } // upsample by 2, return center part of original spectrum - double buffer variant - bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut) { switch(m_state) { @@ -92,7 +92,7 @@ public: } /** Optimized upsampler by 2 not calculating FIR with inserted null samples */ - bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) { switch(m_state) { diff --git a/sdrbase/dsp/inthalfbandfiltereo1.h b/sdrbase/dsp/inthalfbandfiltereo1.h index fb71197e0..125cd5e88 100644 --- a/sdrbase/dsp/inthalfbandfiltereo1.h +++ b/sdrbase/dsp/inthalfbandfiltereo1.h @@ -64,7 +64,7 @@ public: } // upsample by 2, return center part of original spectrum - double buffer variant - bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut) { switch(m_state) { @@ -95,7 +95,7 @@ public: } /** Optimized upsampler by 2 not calculating FIR with inserted null samples */ - bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut) + bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut) { switch(m_state) {