mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Tx ph.2: Templatized IntHalfbandFilter and improved coefficients. Changed to order 80 for upsamplers and 48 for downsamplers
This commit is contained in:
@@ -54,36 +54,9 @@ private:
|
||||
unsigned int m_log2Decim;
|
||||
int m_fcPos;
|
||||
|
||||
/*
|
||||
IntHalfbandFilter m_decimator2; // 1st stages
|
||||
IntHalfbandFilter m_decimator4; // 2nd stages
|
||||
IntHalfbandFilter m_decimator8; // 3rd stages
|
||||
IntHalfbandFilter m_decimator16; // 4th stages
|
||||
IntHalfbandFilter m_decimator32; // 5th stages
|
||||
*/
|
||||
|
||||
Decimators<qint16, SDR_SAMP_SZ, 12> m_decimators;
|
||||
|
||||
void run();
|
||||
/*
|
||||
void decimate1(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate2_u(SampleVector::iterator* it, const quint16* buf, qint32 len);
|
||||
void decimate2(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate2_sup(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate2_cen(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate4(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate4_sup(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate4_cen(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate8(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate8_sup(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate8_cen(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate16(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate16_sup(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate16_cen(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate32(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate32_sup(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
void decimate32_cen(SampleVector::iterator* it, const qint16* buf, qint32 len);
|
||||
*/
|
||||
void callback(const qint16* buf, qint32 len);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user