g726_state_s Struct Reference

#include <g726.h>

List of all members.

Public Attributes

int rate
int ext_coding
int bits_per_sample
int packing
int32_t yl
int16_t yu
int16_t dms
int16_t dml
int16_t ap
int16_t a [2]
int16_t b [6]
int16_t pk [2]
int16_t dq [6]
int16_t sr [2]
int td
bitstream_state_t bs
 The bit stream processing context.
g726_encoder_func_t enc_func
 The current encoder function.
g726_decoder_func_t dec_func
 The current decoder function.


Detailed Description

The following is the definition of the state structure used by the G.726 encoder and decoder to preserve their internal state between successive calls. The meanings of the majority of the state structure fields are explained in detail in the ITU Recommendation G.726. The field names are essentially indentical to variable names in the bit level description of the coding algorithm included in this recommendation.

Member Data Documentation

int16_t g726_state_s::a[2]

Coefficients of pole portion of prediction filter.

Linear weighting coefficient of 'yl' and 'yu'.

int16_t g726_state_s::b[6]

Coefficients of zero portion of prediction filter.

The number of bits per sample

Long term energy estimate.

int16_t term energy estimate.

int16_t g726_state_s::dq[6]

Previous 6 samples of the quantized difference signal represented in an internal floating point format.

The external coding, for tandem operation

One of the G.726_PACKING_xxx options

int16_t g726_state_s::pk[2]

Signs of previous two samples of a partially reconstructed signal.

The bit rate

int16_t g726_state_s::sr[2]

Previous 2 samples of the quantized difference signal represented in an internal floating point format.

Delayed tone detect

Locked or steady state step size multiplier.

Unlocked or non-steady state step size multiplier.


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

Generated on Tue Aug 4 03:36:29 2009 for spandsp by  doxygen 1.5.9