AMRWBContext Struct Reference


Data Fields

AVFrame avframe
 AVFrame for decoded samples.
AMRWBFrame frame
 AMRWB parameters decoded from bitstream.
enum Mode fr_cur_mode
 mode index of current frame
uint8_t fr_quality
 frame quality index (FQI)
float isf_cur [LP_ORDER]
 working ISF vector from current frame
float isf_q_past [LP_ORDER]
 quantized ISF vector of the previous frame
float isf_past_final [LP_ORDER]
 final processed ISF vector of the previous frame
double isp [4][LP_ORDER]
 ISP vectors from current frame.
double isp_sub4_past [LP_ORDER]
 ISP vector for the 4th subframe of the previous frame.
float lp_coef [4][LP_ORDER]
 Linear Prediction Coefficients from ISP vector.
uint8_t base_pitch_lag
 integer part of pitch lag for the next relative subframe
uint8_t pitch_lag_int
 integer part of pitch lag of the previous subframe
float excitation_buf [AMRWB_P_DELAY_MAX+LP_ORDER+2+AMRWB_SFR_SIZE]
 current excitation and all necessary excitation history
float * excitation
 points to current excitation in excitation_buf[]
float pitch_vector [AMRWB_SFR_SIZE]
 adaptive codebook (pitch) vector for current subframe
float fixed_vector [AMRWB_SFR_SIZE]
 algebraic codebook (fixed) vector for current subframe
float prediction_error [4]
 quantified prediction errors {20log10(^gamma_gc)} for previous four subframes
float pitch_gain [6]
 quantified pitch gains for the current and previous five subframes
float fixed_gain [2]
 quantified fixed gains for the current and previous subframes
float tilt_coef
 {beta_1} related to the voicing of the previous subframe
float prev_sparse_fixed_gain
 previous fixed gain; used by anti-sparseness to determine "onset"
uint8_t prev_ir_filter_nr
 previous impulse response filter "impNr": 0 - strong, 1 - medium, 2 - none
float prev_tr_gain
 previous initial gain used by noise enhancer for threshold
float samples_az [LP_ORDER+AMRWB_SFR_SIZE]
 low-band samples and memory from synthesis at 12.8kHz
float samples_up [UPS_MEM_SIZE+AMRWB_SFR_SIZE]
 low-band samples and memory processed for upsampling
float samples_hb [LP_ORDER_16k+AMRWB_SFR_SIZE_16k]
 high-band samples and memory from synthesis at 16kHz
float hpf_31_mem [2]
float hpf_400_mem [2]
 previous values in the high pass filters
float demph_mem [1]
 previous value in the de-emphasis filter
float bpf_6_7_mem [HB_FIR_SIZE]
 previous values in the high-band band pass filter
float lpf_7_mem [HB_FIR_SIZE]
 previous values in the high-band low pass filter
AVLFG prng
 random number generator for white noise excitation
uint8_t first_frame
 flag active during decoding of the first frame
ACELPFContext acelpf_ctx
 context for filters for ACELP-based codecs
ACELPVContext acelpv_ctx
 context for vector operations for ACELP-based codecs
CELPFContext celpf_ctx
 context for filters for CELP-based codecs
CELPMContext celpm_ctx
 context for fixed point math operations
AVClassav_class
void * state
int mode
int last_bitrate
int allow_dtx

Detailed Description

Definition at line 45 of file amrwbdec.c.


Field Documentation

context for filters for ACELP-based codecs

Definition at line 88 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), amrwb_decode_init(), and decode_pitch_vector().

context for vector operations for ACELP-based codecs

Definition at line 89 of file amrwbdec.c.

Referenced by amrwb_decode_init(), hb_synthesis(), and synthesis().

Definition at line 40 of file libvo-amrwbenc.c.

Referenced by amr_wb_encode_frame().

Definition at line 36 of file libvo-amrwbenc.c.

AVFrame for decoded samples.

Definition at line 46 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and amrwb_decode_init().

integer part of pitch lag for the next relative subframe

Definition at line 58 of file amrwbdec.c.

Referenced by decode_pitch_vector().

float AMRWBContext::bpf_6_7_mem[HB_FIR_SIZE]

previous values in the high-band band pass filter

Definition at line 83 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

context for filters for CELP-based codecs

Definition at line 90 of file amrwbdec.c.

Referenced by amrwb_decode_init(), hb_synthesis(), and synthesis().

context for fixed point math operations

Definition at line 91 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), amrwb_decode_init(), find_hb_gain(), scaled_hb_excitation(), and synthesis().

previous value in the de-emphasis filter

Definition at line 82 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

points to current excitation in excitation_buf[]

Definition at line 62 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), amrwb_decode_init(), and decode_pitch_vector().

float AMRWBContext::excitation_buf[AMRWB_P_DELAY_MAX+LP_ORDER+2+AMRWB_SFR_SIZE]

current excitation and all necessary excitation history

Definition at line 61 of file amrwbdec.c.

Referenced by amrwb_decode_init(), and update_sub_state().

flag active during decoding of the first frame

Definition at line 87 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and amrwb_decode_init().

quantified fixed gains for the current and previous subframes

Definition at line 69 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), anti_sparseness(), and update_sub_state().

float AMRWBContext::fixed_vector[AMRWB_SFR_SIZE]

algebraic codebook (fixed) vector for current subframe

Definition at line 65 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

mode index of current frame

Definition at line 48 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), anti_sparseness(), decode_mime_header(), decode_pitch_vector(), find_hb_gain(), hb_synthesis(), and synthesis().

frame quality index (FQI)

Definition at line 49 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and decode_mime_header().

AMRWB parameters decoded from bitstream.

Definition at line 47 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

Definition at line 81 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

previous values in the high pass filters

Definition at line 81 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

float AMRWBContext::isf_cur[LP_ORDER]

working ISF vector from current frame

Definition at line 50 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

final processed ISF vector of the previous frame

Definition at line 52 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and amrwb_decode_init().

float AMRWBContext::isf_q_past[LP_ORDER]

quantized ISF vector of the previous frame

Definition at line 51 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

double AMRWBContext::isp[4][LP_ORDER]

ISP vectors from current frame.

Definition at line 53 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

double AMRWBContext::isp_sub4_past[LP_ORDER]

ISP vector for the 4th subframe of the previous frame.

Definition at line 54 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

Definition at line 39 of file libvo-amrwbenc.c.

Referenced by amr_wb_encode_frame(), and amr_wb_encode_init().

float AMRWBContext::lp_coef[4][LP_ORDER]

Linear Prediction Coefficients from ISP vector.

Definition at line 56 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and hb_synthesis().

float AMRWBContext::lpf_7_mem[HB_FIR_SIZE]

previous values in the high-band low pass filter

Definition at line 84 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

Definition at line 38 of file libvo-amrwbenc.c.

Referenced by amr_wb_encode_frame(), and amr_wb_encode_init().

quantified pitch gains for the current and previous five subframes

Definition at line 68 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), anti_sparseness(), synthesis(), and update_sub_state().

integer part of pitch lag of the previous subframe

Definition at line 59 of file amrwbdec.c.

Referenced by decode_pitch_vector(), and pitch_sharpening().

float AMRWBContext::pitch_vector[AMRWB_SFR_SIZE]

adaptive codebook (pitch) vector for current subframe

Definition at line 64 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), decode_pitch_vector(), and synthesis().

quantified prediction errors {20log10(^gamma_gc)} for previous four subframes

Definition at line 67 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and amrwb_decode_init().

previous impulse response filter "impNr": 0 - strong, 1 - medium, 2 - none

Definition at line 74 of file amrwbdec.c.

Referenced by anti_sparseness().

previous fixed gain; used by anti-sparseness to determine "onset"

Definition at line 73 of file amrwbdec.c.

previous initial gain used by noise enhancer for threshold

Definition at line 75 of file amrwbdec.c.

Referenced by amrwb_decode_frame().

random number generator for white noise excitation

Definition at line 86 of file amrwbdec.c.

Referenced by amrwb_decode_init(), and scaled_hb_excitation().

float AMRWBContext::samples_az[LP_ORDER+AMRWB_SFR_SIZE]

low-band samples and memory from synthesis at 12.8kHz

Definition at line 77 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and update_sub_state().

float AMRWBContext::samples_hb[LP_ORDER_16k+AMRWB_SFR_SIZE_16k]

high-band samples and memory from synthesis at 16kHz

Definition at line 79 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and update_sub_state().

float AMRWBContext::samples_up[UPS_MEM_SIZE+AMRWB_SFR_SIZE]

low-band samples and memory processed for upsampling

Definition at line 78 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and update_sub_state().

Definition at line 37 of file libvo-amrwbenc.c.

Referenced by amr_wb_encode_close(), amr_wb_encode_frame(), and amr_wb_encode_init().

{beta_1} related to the voicing of the previous subframe

Definition at line 71 of file amrwbdec.c.

Referenced by amrwb_decode_frame(), and pitch_sharpening().


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

Generated on Fri Oct 26 02:50:14 2012 for FFmpeg by  doxygen 1.5.8