FFmpeg  4.0
Data Fields
G729Context Struct Reference

Data Fields

AudioDSPContext adsp
 
int16_t exc_base [2 *SUBFRAME_SIZE+PITCH_DELAY_MAX+INTERPOL_LEN]
 past excitation signal buffer More...
 
int16_t * exc
 start of past excitation data in buffer More...
 
int pitch_delay_int_prev
 integer part of previous subframe's pitch delay (4.1.3) More...
 
int16_t past_quantizer_output_buf [MA_NP+1][10]
 (2.13) LSP quantizer outputs More...
 
int16_t * past_quantizer_outputs [MA_NP+1]
 
int16_t lsfq [10]
 (2.13) quantized LSF coefficients from previous frame More...
 
int16_t lsp_buf [2][10]
 (0.15) LSP coefficients (previous and current frames) (3.2.5) More...
 
int16_t * lsp [2]
 pointers to lsp_buf More...
 
int16_t quant_energy [4]
 (5.10) past quantized energy More...
 
int16_t syn_filter_data [10]
 previous speech data for LP synthesis filter More...
 
int16_t residual [SUBFRAME_SIZE+RES_PREV_DATA_SIZE]
 residual signal buffer (used in long-term postfilter) More...
 
int16_t res_filter_data [SUBFRAME_SIZE+10]
 previous speech data for residual calculation filter More...
 
int16_t pos_filter_data [SUBFRAME_SIZE+10]
 previous speech data for short-term postfilter More...
 
int16_t past_gain_pitch [6]
 (1.14) pitch gain of current and five previous subframes More...
 
int16_t past_gain_code [2]
 (14.1) gain code from current and previous subframe More...
 
int16_t voice_decision
 voice decision on previous subframe (0-noise, 1-intermediate, 2-voice), G.729D More...
 
int16_t onset
 detected onset level (0-2) More...
 
int16_t was_periodic
 whether previous frame was declared as periodic or not (4.4) More...
 
int16_t ht_prev_data
 previous data for 4.2.3, equation 86 More...
 
int gain_coeff
 (1.14) gain coefficient (4.2.4) More...
 
uint16_t rand_value
 random number generator value (4.4.4) More...
 
int ma_predictor_prev
 switched MA predictor of LSP quantizer from last good frame More...
 
int hpf_f [2]
 (14.14) high-pass filter data (past input) More...
 
int16_t hpf_z [2]
 high-pass filter data (past output) More...
 

Detailed Description

Definition at line 102 of file g729dec.c.

Field Documentation

◆ adsp

AudioDSPContext G729Context::adsp

Definition at line 103 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ exc_base

int16_t G729Context::exc_base[2 *SUBFRAME_SIZE+PITCH_DELAY_MAX+INTERPOL_LEN]

past excitation signal buffer

Definition at line 106 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ exc

int16_t* G729Context::exc

start of past excitation data in buffer

Definition at line 108 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ pitch_delay_int_prev

int G729Context::pitch_delay_int_prev

integer part of previous subframe's pitch delay (4.1.3)

Definition at line 109 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ past_quantizer_output_buf

int16_t G729Context::past_quantizer_output_buf[MA_NP+1][10]

(2.13) LSP quantizer outputs

Definition at line 112 of file g729dec.c.

Referenced by decoder_init().

◆ past_quantizer_outputs

int16_t* G729Context::past_quantizer_outputs[MA_NP+1]

Definition at line 113 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ lsfq

int16_t G729Context::lsfq[10]

(2.13) quantized LSF coefficients from previous frame

Definition at line 115 of file g729dec.c.

Referenced by decode_frame().

◆ lsp_buf

int16_t G729Context::lsp_buf[2][10]

(0.15) LSP coefficients (previous and current frames) (3.2.5)

Definition at line 116 of file g729dec.c.

Referenced by decoder_init().

◆ lsp

int16_t* G729Context::lsp[2]

pointers to lsp_buf

Definition at line 117 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ quant_energy

int16_t G729Context::quant_energy[4]

(5.10) past quantized energy

Definition at line 119 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ syn_filter_data

int16_t G729Context::syn_filter_data[10]

previous speech data for LP synthesis filter

Definition at line 122 of file g729dec.c.

Referenced by decode_frame().

◆ residual

int16_t G729Context::residual[SUBFRAME_SIZE+RES_PREV_DATA_SIZE]

residual signal buffer (used in long-term postfilter)

Definition at line 126 of file g729dec.c.

Referenced by decode_frame().

◆ res_filter_data

int16_t G729Context::res_filter_data[SUBFRAME_SIZE+10]

previous speech data for residual calculation filter

Definition at line 129 of file g729dec.c.

Referenced by decode_frame().

◆ pos_filter_data

int16_t G729Context::pos_filter_data[SUBFRAME_SIZE+10]

previous speech data for short-term postfilter

Definition at line 132 of file g729dec.c.

Referenced by decode_frame().

◆ past_gain_pitch

int16_t G729Context::past_gain_pitch[6]

(1.14) pitch gain of current and five previous subframes

Definition at line 135 of file g729dec.c.

Referenced by decode_frame().

◆ past_gain_code

int16_t G729Context::past_gain_code[2]

(14.1) gain code from current and previous subframe

Definition at line 138 of file g729dec.c.

Referenced by decode_frame().

◆ voice_decision

int16_t G729Context::voice_decision

voice decision on previous subframe (0-noise, 1-intermediate, 2-voice), G.729D

Definition at line 141 of file g729dec.c.

Referenced by decode_frame().

◆ onset

int16_t G729Context::onset

detected onset level (0-2)

Definition at line 143 of file g729dec.c.

Referenced by decode_frame().

◆ was_periodic

int16_t G729Context::was_periodic

whether previous frame was declared as periodic or not (4.4)

Definition at line 144 of file g729dec.c.

Referenced by decode_frame().

◆ ht_prev_data

int16_t G729Context::ht_prev_data

previous data for 4.2.3, equation 86

Definition at line 145 of file g729dec.c.

Referenced by decode_frame().

◆ gain_coeff

int G729Context::gain_coeff

(1.14) gain coefficient (4.2.4)

Definition at line 146 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ rand_value

uint16_t G729Context::rand_value

random number generator value (4.4.4)

Definition at line 147 of file g729dec.c.

Referenced by decode_frame(), and decoder_init().

◆ ma_predictor_prev

int G729Context::ma_predictor_prev

switched MA predictor of LSP quantizer from last good frame

Definition at line 148 of file g729dec.c.

Referenced by decode_frame().

◆ hpf_f

int G729Context::hpf_f[2]

(14.14) high-pass filter data (past input)

Definition at line 151 of file g729dec.c.

Referenced by decode_frame().

◆ hpf_z

int16_t G729Context::hpf_z[2]

high-pass filter data (past output)

Definition at line 154 of file g729dec.c.

Referenced by decode_frame().


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