SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <inthalfbandfiltereo1.h>
Public Member Functions | |
IntHalfbandFilterEO1 () | |
bool | workDecimateCenter (Sample *sample) |
bool | workInterpolateCenterZeroStuffing (Sample *sampleIn, Sample *SampleOut) |
bool | workInterpolateCenter (Sample *sampleIn, Sample *SampleOut) |
bool | workDecimateCenter (int32_t *x, int32_t *y) |
bool | workDecimateLowerHalf (Sample *sample) |
bool | workInterpolateLowerHalfZeroStuffing (Sample *sampleIn, Sample *sampleOut) |
bool | workInterpolateLowerHalf (Sample *sampleIn, Sample *sampleOut) |
bool | workDecimateUpperHalf (Sample *sample) |
bool | workInterpolateUpperHalfZeroStuffing (Sample *sampleIn, Sample *sampleOut) |
bool | workInterpolateUpperHalf (Sample *sampleIn, Sample *sampleOut) |
void | myDecimate (const Sample *sample1, Sample *sample2) |
void | myDecimate (int32_t x1, int32_t y1, int32_t *x2, int32_t *y2) |
void | myInterpolateZeroStuffing (Sample *sample1, Sample *sample2) |
void | myInterpolateZeroStuffing (int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2) |
void | myInterpolate (qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2) |
void | myInterpolateInf (qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4) |
void | myInterpolateSup (qint32 *x1, qint32 *y1, qint32 *x2, qint32 *y2, qint32 *x3, qint32 *y3, qint32 *x4, qint32 *y4) |
Protected Member Functions | |
void | storeSample (const FixReal &sampleI, const FixReal &sampleQ) |
void | storeSample32 (int32_t x, int32_t y) |
void | advancePointer () |
int32_t | rand (int32_t mod) |
void | doFIR (Sample *sample) |
void | doFIR (int32_t *x, int32_t *y) |
void | doInterpolateFIR (Sample *sample) |
void | doInterpolateFIR (qint32 *x, qint32 *y) |
Protected Attributes | |
int32_t | m_even [2][HBFIRFilterTraits< HBFilterOrder >::hbOrder] |
int32_t | m_odd [2][HBFIRFilterTraits< HBFilterOrder >::hbOrder] |
int32_t | m_samples [HBFIRFilterTraits< HBFilterOrder >::hbOrder][2] |
int | m_ptr |
int | m_size |
int | m_state |
Definition at line 33 of file inthalfbandfiltereo1.h.
IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1 | ( | ) |
Definition at line 835 of file inthalfbandfiltereo1.h.
References i, IntHalfbandFilterEO1< HBFilterOrder >::m_even, IntHalfbandFilterEO1< HBFilterOrder >::m_odd, IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, IntHalfbandFilterEO1< HBFilterOrder >::m_samples, IntHalfbandFilterEO1< HBFilterOrder >::m_size, and IntHalfbandFilterEO1< HBFilterOrder >::m_state.
|
inlineprotected |
Definition at line 701 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myDecimate(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateLowerHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateUpperHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenterZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalfZeroStuffing(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalfZeroStuffing().
|
inlineprotected |
Definition at line 711 of file inthalfbandfiltereo1.h.
References i, IntHalfbandFilterEO1< HBFilterOrder >::m_size, Sample::setImag(), and Sample::setReal().
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myDecimate(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateLowerHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateUpperHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenterZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalfZeroStuffing(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalfZeroStuffing().
|
inlineprotected |
Definition at line 751 of file inthalfbandfiltereo1.h.
References i, and IntHalfbandFilterEO1< HBFilterOrder >::m_size.
|
inlineprotected |
Definition at line 791 of file inthalfbandfiltereo1.h.
References i, IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, Sample::setImag(), and Sample::setReal().
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myInterpolate(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalf(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalf().
|
inlineprotected |
Definition at line 812 of file inthalfbandfiltereo1.h.
References i, and IntHalfbandFilterEO1< HBFilterOrder >::m_ptr.
|
inline |
Definition at line 556 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Definition at line 566 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample32().
|
inline |
Optimized upsampler by 2 not calculating FIR with inserted null samples
Definition at line 601 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::doInterpolateFIR(), IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, and IntHalfbandFilterEO1< HBFilterOrder >::m_samples.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateInf(), and IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateSup().
|
inline |
Definition at line 624 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::myInterpolate().
|
inline |
Definition at line 640 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::myInterpolate().
|
inline |
Simple zero stuffing and filter
Definition at line 577 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Simple zero stuffing and filter
Definition at line 589 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample32().
|
inlineprotected |
Definition at line 706 of file inthalfbandfiltereo1.h.
|
inlineprotected |
Definition at line 665 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::m_size.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myDecimate(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateLowerHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateUpperHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenterZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalfZeroStuffing(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalfZeroStuffing().
|
inlineprotected |
Definition at line 683 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::m_size.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::myDecimate(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolateZeroStuffing(), and IntHalfbandFilterEO1< HBFilterOrder >::workDecimateCenter().
|
inline |
Definition at line 38 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Definition at line 131 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, and IntHalfbandFilterEO1< HBFilterOrder >::storeSample32().
|
inline |
Definition at line 159 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Definition at line 358 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Optimized upsampler by 2 not calculating FIR with inserted null samples
Definition at line 98 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::doInterpolateFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, IntHalfbandFilterEO1< HBFilterOrder >::m_samples, IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), Sample::setImag(), and Sample::setReal().
|
inline |
Definition at line 67 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Optimized upsampler by 2 not calculating FIR with inserted null samples
Definition at line 291 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::doInterpolateFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, IntHalfbandFilterEO1< HBFilterOrder >::m_samples, IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), Sample::setImag(), and Sample::setReal().
|
inline |
Definition at line 210 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), Sample::setImag(), Sample::setReal(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
inline |
Optimized upsampler by 2 not calculating FIR with inserted null samples
Definition at line 490 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::doInterpolateFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_ptr, IntHalfbandFilterEO1< HBFilterOrder >::m_samples, IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), Sample::setImag(), and Sample::setReal().
|
inline |
Definition at line 409 of file inthalfbandfiltereo1.h.
References IntHalfbandFilterEO1< HBFilterOrder >::advancePointer(), IntHalfbandFilterEO1< HBFilterOrder >::doFIR(), Sample::imag(), IntHalfbandFilterEO1< HBFilterOrder >::m_state, Sample::real(), Sample::setImag(), Sample::setReal(), and IntHalfbandFilterEO1< HBFilterOrder >::storeSample().
|
protected |
Definition at line 657 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1().
|
protected |
Definition at line 658 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1().
|
protected |
Definition at line 661 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::doInterpolateFIR(), IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolate(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalf(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalf().
|
protected |
Definition at line 659 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1(), IntHalfbandFilterEO1< HBFilterOrder >::myInterpolate(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalf(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalf().
|
protected |
|
protected |
Definition at line 663 of file inthalfbandfiltereo1.h.
Referenced by IntHalfbandFilterEO1< HBFilterOrder >::IntHalfbandFilterEO1(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateLowerHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workDecimateUpperHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenter(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateCenterZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalf(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateLowerHalfZeroStuffing(), IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalf(), and IntHalfbandFilterEO1< HBFilterOrder >::workInterpolateUpperHalfZeroStuffing().