GNU Radio's GSM Package
ViterbiTCH_AFS6_7 Class Reference

#include <AmrCoder.h>

Inheritance diagram for ViterbiTCH_AFS6_7:

Classes

struct  candStruct
 

Public Types

typedef struct
ViterbiTCH_AFS6_7::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_AFS6_7 ()
 
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 4.

Member Typedef Documentation

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

Constructor & Destructor Documentation

ViterbiTCH_AFS6_7::ViterbiTCH_AFS6_7 ( )

Member Function Documentation

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

Set all cost metrics to zero.

unsigned ViterbiTCH_AFS6_7::iRate ( ) const
inline
uint32_t ViterbiTCH_AFS6_7::stateTable ( unsigned  g,
unsigned  i 
) const
inline
const vCand& ViterbiTCH_AFS6_7::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: