mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-05 22:57:47 -04:00
IntHalfbandFilters: set workInterpolateCenter optimized methods as defaults
This commit is contained in:
parent
cd7e4e4385
commit
172de27047
@ -72,7 +72,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// upsample by 2, return center part of original spectrum
|
// upsample by 2, return center part of original spectrum
|
||||||
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
|
bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut)
|
||||||
{
|
{
|
||||||
switch(m_state)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
@ -113,7 +113,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
|
/** 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)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// upsample by 2, return center part of original spectrum - double buffer variant
|
// 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)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
@ -92,7 +92,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
|
/** 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)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// upsample by 2, return center part of original spectrum - double buffer variant
|
// 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)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
@ -95,7 +95,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
|
/** 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)
|
switch(m_state)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user