mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-29 19:28:47 -05:00
Windows: MSVC2017: remove export from templated class IntHalfbandFilterEO
This commit is contained in:
parent
222aa9f40d
commit
734e976e67
@ -26,12 +26,27 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include "dsp/dsptypes.h"
|
#include "dsp/dsptypes.h"
|
||||||
#include "dsp/hbfiltertraits.h"
|
#include "dsp/hbfiltertraits.h"
|
||||||
#include "export.h"
|
|
||||||
|
|
||||||
template<typename EOStorageType, typename AccuType, uint32_t HBFilterOrder>
|
template<typename EOStorageType, typename AccuType, uint32_t HBFilterOrder>
|
||||||
class SDRBASE_API IntHalfbandFilterEO {
|
class IntHalfbandFilterEO {
|
||||||
public:
|
public:
|
||||||
IntHalfbandFilterEO();
|
IntHalfbandFilterEO()
|
||||||
|
{
|
||||||
|
m_size = HBFIRFilterTraits<HBFilterOrder>::hbOrder/2;
|
||||||
|
|
||||||
|
for (int i = 0; i < 2*m_size; i++)
|
||||||
|
{
|
||||||
|
m_even[0][i] = 0;
|
||||||
|
m_even[1][i] = 0;
|
||||||
|
m_odd[0][i] = 0;
|
||||||
|
m_odd[1][i] = 0;
|
||||||
|
m_samples[i][0] = 0;
|
||||||
|
m_samples[i][1] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
m_ptr = 0;
|
||||||
|
m_state = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// downsample by 2, return center part of original spectrum
|
// downsample by 2, return center part of original spectrum
|
||||||
bool workDecimateCenter(Sample* sample)
|
bool workDecimateCenter(Sample* sample)
|
||||||
@ -912,23 +927,23 @@ protected:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename EOStorageType, typename AccuType, uint32_t HBFilterOrder>
|
//template<typename EOStorageType, typename AccuType, uint32_t HBFilterOrder>
|
||||||
IntHalfbandFilterEO<EOStorageType, AccuType, HBFilterOrder>::IntHalfbandFilterEO()
|
//IntHalfbandFilterEO<EOStorageType, AccuType, HBFilterOrder>::IntHalfbandFilterEO()
|
||||||
{
|
//{
|
||||||
m_size = HBFIRFilterTraits<HBFilterOrder>::hbOrder/2;
|
// m_size = HBFIRFilterTraits<HBFilterOrder>::hbOrder/2;
|
||||||
|
|
||||||
for (int i = 0; i < 2*m_size; i++)
|
// for (int i = 0; i < 2*m_size; i++)
|
||||||
{
|
// {
|
||||||
m_even[0][i] = 0;
|
// m_even[0][i] = 0;
|
||||||
m_even[1][i] = 0;
|
// m_even[1][i] = 0;
|
||||||
m_odd[0][i] = 0;
|
// m_odd[0][i] = 0;
|
||||||
m_odd[1][i] = 0;
|
// m_odd[1][i] = 0;
|
||||||
m_samples[i][0] = 0;
|
// m_samples[i][0] = 0;
|
||||||
m_samples[i][1] = 0;
|
// m_samples[i][1] = 0;
|
||||||
}
|
// }
|
||||||
|
|
||||||
m_ptr = 0;
|
// m_ptr = 0;
|
||||||
m_state = 0;
|
// m_state = 0;
|
||||||
}
|
//}
|
||||||
|
|
||||||
#endif /* SDRBASE_DSP_INTHALFBANDFILTEREO_H_ */
|
#endif /* SDRBASE_DSP_INTHALFBANDFILTEREO_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user