22 #ifndef INCLUDE_INTHALFBANDFILTER_DB_H 23 #define INCLUDE_INTHALFBANDFILTER_DB_H 29 template<
typename AccuType, u
int32_t HBFilterOrder>
575 void myDecimate(AccuType x1, AccuType y1, AccuType *x2, AccuType *y2)
633 void myInterpolateInf(qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4)
649 void myInterpolateSup(qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4)
689 m_ptr = m_ptr + 1 < m_size ? m_ptr + 1: 0;
699 for (
int i = 0; i < HBFIRFilterTraits<HBFilterOrder>::hbOrder / 4;
i++)
721 for (
int i = 0; i < HBFIRFilterTraits<HBFilterOrder>::hbOrder / 4;
i++)
743 for (
int i = 0; i < HBFIRFilterTraits<HBFilterOrder>::hbOrder / 4;
i++)
767 for (
int i = 0; i < HBFIRFilterTraits<HBFilterOrder>::hbOrder / 4;
i++)
788 for (
int i = 0; i < HBFIRFilterTraits<HBFilterOrder>::hbOrder / 4;
i++)
801 #endif // INCLUDE_INTHALFBANDFILTER_DB_H bool workInterpolateUpperHalfZeroStuffing(Sample *sampleIn, Sample *sampleOut)
bool workInterpolateCenter(Sample *sampleIn, Sample *SampleOut)
void myInterpolate(qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2)
bool workInterpolateCenterZeroStuffing(Sample *sampleIn, Sample *SampleOut)
bool workDecimateCenter(Sample *sample)
void doInterpolateFIR(qint32 *x, qint32 *y)
bool workDecimateUpperHalf(Sample *sample)
void myInterpolateSup(qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4)
void doFIR(Sample *sample)
void doFIRAccu(AccuType *x, AccuType *y)
AccuType m_samplesDB[2 *(HBFIRFilterTraits< HBFilterOrder >::hbOrder - 1)][2]
void myInterpolateInf(qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4)
void doFIR(qint32 *x, qint32 *y)
bool workInterpolateLowerHalfZeroStuffing(Sample *sampleIn, Sample *sampleOut)
void storeSampleFixReal(const FixReal &sampleI, const FixReal &sampleQ)
bool workDecimateLowerHalf(Sample *sample)
void myDecimate(AccuType x1, AccuType y1, AccuType *x2, AccuType *y2)
void doInterpolateFIR(Sample *sample)
bool workInterpolateUpperHalf(Sample *sampleIn, Sample *sampleOut)
void myDecimate(const Sample *sample1, Sample *sample2)
void myInterpolateZeroStuffing(Sample *sample1, Sample *sample2)
bool workInterpolateLowerHalf(Sample *sampleIn, Sample *sampleOut)
void storeSampleAccu(AccuType x, AccuType y)