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
unsigned int in_buffer
int in_bits
unsigned int out_buffer
int out_bits
g726_encoder_func_t enc_func
 The current encoder function.
g726_decoder_func_t dec_func
 The current decoder function.
unsigned int bits_per_sample
bitstream_state_t bs
 The bit stream processing context.


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 CCITT Recommendation G.721. 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

The bit rate

Referenced by g726_init().

The external coding, for tandem operation

Referenced by g726_decode(), g726_encode(), and g726_init().

The number of bits per sample

Referenced by g726_decode(), g726_encode(), and g726_init().

One fo the G.726_PACKING_xxx options

One of the G.726_PACKING_xxx options

Referenced by g726_decode(), g726_encode(), and g726_init().

Locked or steady state step size multiplier.

Referenced by g726_init().

Unlocked or non-steady state step size multiplier.

Referenced by g726_init().

int16_t term energy estimate.

Referenced by g726_init().

Long term energy estimate.

Referenced by g726_init().

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

Referenced by g726_init().

int16_t g726_state_s::a

Coefficients of pole portion of prediction filter.

Referenced by g726_init().

int16_t g726_state_s::b

Coefficients of zero portion of prediction filter.

Referenced by g726_init().

Signs of previous two samples of a partially reconstructed signal.

Referenced by g726_init().

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

Referenced by g726_init().

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

Referenced by g726_init().

Delayed tone detect

Referenced by g726_init().

The number of bits per sample


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

Generated on Tue Oct 7 20:25:53 2008 for spandsp by  doxygen 1.5.6