![]() |
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 <rdsdecoder.h>
Public Member Functions | |
| RDSDecoder () | |
| ~RDSDecoder () | |
| bool | frameSync (bool bit) |
| unsigned int * | getGroup () |
| bool | synced () const |
Public Attributes | |
| float | m_qua |
Protected Member Functions | |
| unsigned int | calc_syndrome (unsigned long message, unsigned char mlen) |
| void | enter_sync (unsigned int sync_block_number) |
| void | enter_no_sync () |
Private Types | |
| enum | { NO_SYNC, SYNC } |
Private Attributes | |
| unsigned long | m_reg |
| enum RDSDecoder:: { ... } | m_sync |
| bool | m_presync |
| unsigned long | m_lastseenOffsetCounter |
| unsigned long | m_bitCounter |
| unsigned char | m_lastseenOffset |
| unsigned int | m_blockBitCounter |
| unsigned int | m_wrongBlocksCounter |
| unsigned int | m_blocksCounter |
| unsigned int | m_groupGoodBlocksCounter |
| unsigned char | m_blockNumber |
| bool | m_groupAssemblyStarted |
| bool | m_goodBlock |
| unsigned int | m_group [4] |
Static Private Attributes | |
| static const unsigned int | offset_pos [5] = {0,1,2,3,2} |
| static const unsigned int | offset_word [5] = {252,408,360,436,848} |
| static const unsigned int | syndrome [5] = {383,14,303,663,748} |
Definition at line 22 of file rdsdecoder.h.
|
private |
| Enumerator | |
|---|---|
| NO_SYNC | |
| SYNC | |
Definition at line 41 of file rdsdecoder.h.
| RDSDecoder::RDSDecoder | ( | ) |
Definition at line 28 of file rdsdecoder.cpp.
References m_bitCounter, m_blockBitCounter, m_blockNumber, m_blocksCounter, m_goodBlock, m_group, m_groupAssemblyStarted, m_groupGoodBlocksCounter, m_lastseenOffset, m_lastseenOffsetCounter, m_presync, m_qua, m_reg, m_sync, m_wrongBlocksCounter, and SYNC.
| RDSDecoder::~RDSDecoder | ( | ) |
Definition at line 47 of file rdsdecoder.cpp.
|
protected |
see Annex B, page 64 of the standard
Definition at line 240 of file rdsdecoder.cpp.
References i.
Referenced by frameSync().
Here is the caller graph for this function:
|
protected |
Definition at line 231 of file rdsdecoder.cpp.
References m_presync, m_sync, and NO_SYNC.
Referenced by frameSync().
Here is the caller graph for this function:
|
protected |
Definition at line 221 of file rdsdecoder.cpp.
References m_blockBitCounter, m_blockNumber, m_blocksCounter, m_groupAssemblyStarted, m_sync, m_wrongBlocksCounter, and SYNC.
Referenced by frameSync().
Here is the caller graph for this function:| bool RDSDecoder::frameSync | ( | bool | bit | ) |
Definition at line 51 of file rdsdecoder.cpp.
References calc_syndrome(), enter_no_sync(), enter_sync(), m_bitCounter, m_blockBitCounter, m_blockNumber, m_blocksCounter, m_goodBlock, m_group, m_groupAssemblyStarted, m_groupGoodBlocksCounter, m_lastseenOffset, m_lastseenOffsetCounter, m_presync, m_qua, m_reg, m_sync, m_wrongBlocksCounter, NO_SYNC, offset_pos, offset_word, SYNC, and syndrome.
Referenced by BFMDemod::feed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file rdsdecoder.h.
References m_group.
Referenced by BFMDemod::feed().
Here is the caller graph for this function:
|
inline |
Definition at line 30 of file rdsdecoder.h.
|
private |
Definition at line 44 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 46 of file rdsdecoder.h.
Referenced by enter_sync(), frameSync(), and RDSDecoder().
|
private |
Definition at line 50 of file rdsdecoder.h.
Referenced by enter_sync(), frameSync(), and RDSDecoder().
|
private |
Definition at line 48 of file rdsdecoder.h.
Referenced by enter_sync(), frameSync(), and RDSDecoder().
|
private |
Definition at line 52 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 53 of file rdsdecoder.h.
Referenced by frameSync(), getGroup(), and RDSDecoder().
|
private |
Definition at line 51 of file rdsdecoder.h.
Referenced by enter_sync(), frameSync(), and RDSDecoder().
|
private |
Definition at line 49 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 45 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 43 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 42 of file rdsdecoder.h.
Referenced by enter_no_sync(), frameSync(), and RDSDecoder().
| float RDSDecoder::m_qua |
Definition at line 32 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
|
private |
Definition at line 40 of file rdsdecoder.h.
Referenced by frameSync(), and RDSDecoder().
| enum { ... } RDSDecoder::m_sync |
Referenced by enter_no_sync(), enter_sync(), frameSync(), RDSDecoder(), and synced().
|
private |
Definition at line 47 of file rdsdecoder.h.
Referenced by enter_sync(), frameSync(), and RDSDecoder().
|
staticprivate |
Definition at line 57 of file rdsdecoder.h.
Referenced by frameSync().
|
staticprivate |
Definition at line 58 of file rdsdecoder.h.
Referenced by frameSync().
|
staticprivate |
Definition at line 59 of file rdsdecoder.h.
Referenced by frameSync().
1.8.13