![]() |
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 <rdsdemod.h>
Inherits QObject.
Public Member Functions | |
| RDSDemod () | |
| ~RDSDemod () | |
| void | setSampleRate (int srate) |
| FIXME: fix rate for now. More... | |
| bool | process (Real rdsSample, bool &bit) |
Public Attributes | |
| struct { | |
| Real acc | |
| Real qua | |
| Real fclk | |
| } | m_report |
| double | subcarr_phi |
| Real | subcarr_bb [2] |
| double | clock_offset |
| double | clock_phi |
| double | prev_clock_phi |
| Real | lo_clock |
| Real | prev_lo_clock |
| Real | prev_bb |
| double | d_cphi |
| int | numsamples |
| Real | prev_acc |
| int | counter |
| int | reading_frame |
| int | tot_errs [2] |
| int | dbit |
Protected Member Functions | |
| bool | biphase (Real acc, bool &bit, Real d_cphi) |
| Real | filter_lp_2400_iq (Real in, int iqIndex) |
| Real | filter_lp_pll (Real input) |
| int | sign (Real a) |
Private Attributes | |
| struct { | |
| double subcarr_phi | |
| Real subcarr_bb [2] | |
| double clock_offset | |
| double clock_phi | |
| double prev_clock_phi | |
| Real lo_clock | |
| Real prev_lo_clock | |
| Real prev_bb | |
| double d_cphi | |
| Real acc | |
| int numsamples | |
| Real prev_acc | |
| int counter | |
| int reading_frame | |
| int tot_errs [2] | |
| int dbit | |
| } | m_parms |
| Real | m_xv [2][2+1] |
| Real | m_yv [2][2+1] |
| Real | m_xw [1+1] |
| Real | m_yw [1+1] |
| Real | m_prev |
| int | m_srate |
Static Private Attributes | |
| static const Real | m_pllBeta = 50 |
| static const Real | m_fsc = 1187.5 |
Definition at line 28 of file rdsdemod.h.
| RDSDemod::RDSDemod | ( | ) |
| RDSDemod::~RDSDemod | ( | ) |
Definition at line 65 of file rdsdemod.cpp.
Definition at line 138 of file rdsdemod.cpp.
References abs(), acc, m_parms, M_PI, m_report, m_srate, and sign().
Referenced by process().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 186 of file rdsdemod.cpp.
Referenced by process().
Here is the caller graph for this function:Definition at line 201 of file rdsdemod.cpp.
| bool RDSDemod::process | ( | Real | rdsSample, |
| bool & | bit | ||
| ) |
Definition at line 75 of file rdsdemod.cpp.
References biphase(), filter_lp_2400_iq(), m_fsc, m_parms, M_PI, M_PI_2, m_prev, m_srate, and sign().
Referenced by BFMDemod::feed().
Here is the call graph for this function:
Here is the caller graph for this function:| void RDSDemod::setSampleRate | ( | int | srate | ) |
|
protected |
Definition at line 211 of file rdsdemod.cpp.
Referenced by biphase(), and process().
Here is the caller graph for this function:| Real RDSDemod::acc |
Definition at line 39 of file rdsdemod.h.
Referenced by biphase().
| double RDSDemod::clock_offset |
Definition at line 55 of file rdsdemod.h.
| double RDSDemod::clock_phi |
Definition at line 56 of file rdsdemod.h.
| int RDSDemod::counter |
Definition at line 65 of file rdsdemod.h.
| double RDSDemod::d_cphi |
Definition at line 61 of file rdsdemod.h.
| int RDSDemod::dbit |
Definition at line 68 of file rdsdemod.h.
| Real RDSDemod::fclk |
Definition at line 41 of file rdsdemod.h.
| Real RDSDemod::lo_clock |
Definition at line 58 of file rdsdemod.h.
|
staticprivate |
Definition at line 80 of file rdsdemod.h.
Referenced by process().
| struct { ... } RDSDemod::m_parms |
Referenced by biphase(), process(), and RDSDemod().
|
staticprivate |
Definition at line 79 of file rdsdemod.h.
|
private |
Definition at line 75 of file rdsdemod.h.
Referenced by process(), and RDSDemod().
| struct { ... } RDSDemod::m_report |
Referenced by biphase(), and RDSDemod().
|
private |
Definition at line 77 of file rdsdemod.h.
Referenced by biphase(), process(), and RDSDemod().
|
private |
Definition at line 71 of file rdsdemod.h.
Referenced by filter_lp_2400_iq(), and RDSDemod().
|
private |
Definition at line 73 of file rdsdemod.h.
Referenced by filter_lp_pll(), and RDSDemod().
|
private |
Definition at line 72 of file rdsdemod.h.
Referenced by filter_lp_2400_iq(), and RDSDemod().
|
private |
Definition at line 74 of file rdsdemod.h.
Referenced by filter_lp_pll(), and RDSDemod().
| int RDSDemod::numsamples |
Definition at line 63 of file rdsdemod.h.
| Real RDSDemod::prev_acc |
Definition at line 64 of file rdsdemod.h.
| Real RDSDemod::prev_bb |
Definition at line 60 of file rdsdemod.h.
| double RDSDemod::prev_clock_phi |
Definition at line 57 of file rdsdemod.h.
| Real RDSDemod::prev_lo_clock |
Definition at line 59 of file rdsdemod.h.
| Real RDSDemod::qua |
Definition at line 40 of file rdsdemod.h.
| int RDSDemod::reading_frame |
Definition at line 66 of file rdsdemod.h.
| Real RDSDemod::subcarr_bb[2] |
Definition at line 54 of file rdsdemod.h.
| double RDSDemod::subcarr_phi |
Definition at line 53 of file rdsdemod.h.
| int RDSDemod::tot_errs[2] |
Definition at line 67 of file rdsdemod.h.
1.8.13