GNU Radio's GSM Package
|
#include <AmrCoder.h>
Classes | |
struct | candStruct |
Derived values. | |
typedef struct ViterbiTCH_AFS7_95::candStruct | vCand |
void | vitClear (vCand &v) |
Survivors and candidates. | |
unsigned | iRate () const |
uint32_t | cMask () const |
uint32_t | stateTable (unsigned g, unsigned i) const |
unsigned | deferral () const |
ViterbiTCH_AFS7_95 () | |
void | initializeStates () |
const vCand & | step (uint32_t inSample, const float *probs, const float *iprobs) |
Additional Inherited Members | |
![]() | |
virtual void | encode (const BitVector &in, BitVector &target) const =0 |
virtual void | decode (const SoftVector &in, BitVector &target)=0 |
virtual int | getBEC () |
unsigned | applyPoly (uint64_t val, uint64_t poly) |
unsigned | applyPoly (uint64_t val, uint64_t poly, unsigned order) |
Class to represent recursive systematic convolutional coders/decoders of rate 1/3, memory length 6.
typedef struct ViterbiTCH_AFS7_95::candStruct ViterbiTCH_AFS7_95::vCand |
A candidate sequence in a Viterbi decoder. The 32-bit state register can support a deferral of 5*order with a 6th-order coder.
ViterbiTCH_AFS7_95::ViterbiTCH_AFS7_95 | ( | ) |
|
inline |
|
inline |
void ViterbiTCH_AFS7_95::initializeStates | ( | ) |
Set all cost metrics to zero.
|
inline |
|
inline |
const vCand & ViterbiTCH_AFS7_95::step | ( | uint32_t | inSample, |
const float * | probs, | ||
const float * | iprobs | ||
) |
Full cycle of the Viterbi algorithm: branch, metrics, prune, select.
|
inline |
Clear a structure.
References ViterbiTCH_AFS7_95::candStruct::cost, ViterbiTCH_AFS7_95::candStruct::iState, ViterbiTCH_AFS7_95::candStruct::oState, and ViterbiTCH_AFS7_95::candStruct::rState.