libspandsp 0.0.4

g726_state_s Struct Reference

#include <g726.h>

List of all members.

Public Attributes

int rate
int ext_coding
unsigned 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 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

int16_t g726_state_s::a[2]

Coefficients of pole portion of prediction filter.

Referenced by g726_init().

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

Referenced by g726_init().

int16_t g726_state_s::b[6]

Coefficients of zero portion of prediction filter.

Referenced by g726_init().

The number of bits per sample

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

Long term energy estimate.

Referenced by g726_init().

int16_t term energy estimate.

Referenced by g726_init().

int16_t g726_state_s::dq[6]

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

Referenced by g726_init().

The external coding, for tandem operation

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

One of the G.726_PACKING_xxx options

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

int16_t g726_state_s::pk[2]

Signs of previous two samples of a partially reconstructed signal.

Referenced by g726_init().

The bit rate

Referenced by g726_init().

int16_t g726_state_s::sr[2]

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().

Locked or steady state step size multiplier.

Referenced by g726_init().

Unlocked or non-steady state step size multiplier.

Referenced by g726_init().


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