19 #include "../../channelrx/demodbfm/rdsdemod.h" 27 #define M_PI 3.14159265358979323846 29 #define M_PI_2 1.57079632679489661923 116 if (
m_parms.numsamples % 8 == 0)
193 m_xv[iqIndex][2] = input / 4.491730007e+03;
195 m_yv[iqIndex][2] = (
m_xv[iqIndex][0] +
m_xv[iqIndex][2]) + 2 *
m_xv[iqIndex][1]
196 + ( -0.9582451124 *
m_yv[iqIndex][0]) + ( 1.9573545869 *
m_yv[iqIndex][1]);
198 return m_yv[iqIndex][2];
204 m_xw[1] = input / 3.716236217e+01;
207 + ( 0.9461821078 *
m_yw[0]);
213 return (a >= 0 ? 1 : 0);
bool biphase(Real acc, bool &bit, Real d_cphi)
bool process(Real rdsSample, bool &bit)
Real filter_lp_pll(Real input)
struct RDSDemod::@1 m_report
Fixed< IntType, IntBits > abs(Fixed< IntType, IntBits > const &x)
Real filter_lp_2400_iq(Real in, int iqIndex)
static const Real m_pllBeta
struct RDSDemod::@2 m_parms
void setSampleRate(int srate)
FIXME: fix rate for now.