#include <atsci_single_viterbi.h>
Public Member Functions | |
| atsci_single_viterbi () | |
| char | decode (float input) |
| void | reset () |
| int | delay () |
| internal delay of decoder | |
Static Public Attributes | |
| static const unsigned int | TB_LEN = 32 |
Protected Attributes | |
| float | path_metrics [2][8] |
| unsigned long long | traceback [2][8] |
| unsigned char | phase |
Static Protected Attributes | |
| static const int | transition_table [32] |
| static const float | was_sent [32] |
| atsci_single_viterbi::atsci_single_viterbi | ( | ) |
References reset().
| char atsci_single_viterbi::decode | ( | float | input | ) |
INPUT ideally takes on the values +/- 1,3,5,7 return is decoded dibit in the range [0, 3]
References path_metrics, phase, traceback, transition_table, and was_sent.
| void atsci_single_viterbi::reset | ( | ) |
References path_metrics, phase, and traceback.
Referenced by atsci_single_viterbi(), and atsci_viterbi_decoder::reset().
| int atsci_single_viterbi::delay | ( | ) | [inline] |
internal delay of decoder
References TB_LEN.
Referenced by atsci_viterbi_decoder::atsci_viterbi_decoder().
const unsigned int atsci_single_viterbi::TB_LEN = 32 [static] |
Referenced by delay().
const int atsci_single_viterbi::transition_table [static, protected] |
Initial value:
{
0,2,4,6,
2,0,6,4,
1,3,5,7,
3,1,7,5,
4,6,0,2,
6,4,2,0,
5,7,1,3,
7,5,3,1
}
Referenced by decode().
const float atsci_single_viterbi::was_sent [static, protected] |
Initial value:
{
-7,-3,-7,-3,-7,-3,-7,-3,
-5,-1,-5,-1,-5,-1,-5,-1,
1,5,1,5,1,5,1,5,
3,7,3,7,3,7,3,7
}
Referenced by decode().
float atsci_single_viterbi::path_metrics[2][8] [protected] |
unsigned long long atsci_single_viterbi::traceback[2][8] [protected] |
unsigned char atsci_single_viterbi::phase [protected] |
1.5.5