GNU Radio's GSM Package
ViterbiTCH_AFS5_9 Class Reference

#include <AmrCoder.h>

Inheritance diagram for ViterbiTCH_AFS5_9:

Classes

struct  candStruct
 

Public Types

typedef struct
ViterbiTCH_AFS5_9::candStruct 
vCand
 

Public Member Functions

void vitClear (vCand &v)
 
unsigned iRate () const
 
uint32_t cMask () const
 
uint32_t stateTable (unsigned g, unsigned i) const
 
unsigned deferral () const
 
 ViterbiTCH_AFS5_9 ()
 
void initializeStates ()
 
const vCandstep (uint32_t inSample, const float *probs, const float *iprobs)
 
- Public Member Functions inherited from ViterbiBase
virtual int getBEC ()
 
unsigned applyPoly (uint64_t val, uint64_t poly)
 
unsigned applyPoly (uint64_t val, uint64_t poly, unsigned order)
 

Detailed Description

Class to represent recursive systematic convolutional coders/decoders of rate 1/4, memory length 6.

Member Typedef Documentation

A candidate sequence in a Viterbi decoder. The 32-bit state register can support a deferral of 5*order with a 6th-order coder.

Constructor & Destructor Documentation

ViterbiTCH_AFS5_9::ViterbiTCH_AFS5_9 ( )

Member Function Documentation

uint32_t ViterbiTCH_AFS5_9::cMask ( ) const
inline
unsigned ViterbiTCH_AFS5_9::deferral ( ) const
inline
void ViterbiTCH_AFS5_9::initializeStates ( )

Set all cost metrics to zero.

unsigned ViterbiTCH_AFS5_9::iRate ( ) const
inline
uint32_t ViterbiTCH_AFS5_9::stateTable ( unsigned  g,
unsigned  i 
) const
inline
const vCand& ViterbiTCH_AFS5_9::step ( uint32_t  inSample,
const float *  probs,
const float *  iprobs 
)

Full cycle of the Viterbi algorithm: branch, metrics, prune, select.

Returns
reference to minimum-cost candidate.

The documentation for this class was generated from the following file: