FFmpeg
Public Attributes | List of all members
AMRContext Struct Reference

Public Attributes

AMRNBFrame frame
 decoded AMR parameters (lsf coefficients, codebook indexes, etc)
 
uint8_t bad_frame_indicator
 bad frame ? 1 : 0
 
enum Mode cur_frame_mode
 
int16_t prev_lsf_r [LP_FILTER_ORDER]
 residual LSF vector from previous subframe
 
double lsp [4][LP_FILTER_ORDER]
 lsp vectors from current frame
 
double prev_lsp_sub4 [LP_FILTER_ORDER]
 lsp vector for the 4th subframe of the previous frame
 
float lsf_q [4][LP_FILTER_ORDER]
 Interpolated LSF vector for fixed gain smoothing.
 
float lsf_avg [LP_FILTER_ORDER]
 vector of averaged lsf vector
 
float lpc [4][LP_FILTER_ORDER]
 lpc coefficient vectors for 4 subframes
 
uint8_t pitch_lag_int
 integer part of pitch lag from current subframe
 
float excitation_buf [PITCH_DELAY_MAX+LP_FILTER_ORDER+1+AMR_SUBFRAME_SIZE]
 current excitation and all necessary excitation history
 
float * excitation
 pointer to the current excitation vector in excitation_buf
 
float pitch_vector [AMR_SUBFRAME_SIZE]
 adaptive code book (pitch) vector
 
float fixed_vector [AMR_SUBFRAME_SIZE]
 algebraic codebook (fixed) vector (must be kept zero between frames)
 
float prediction_error [4]
 quantified prediction errors {20log10(^gamma_gc)} for previous four subframes
 
float pitch_gain [5]
 quantified pitch gains for the current and previous four subframes
 
float fixed_gain [5]
 quantified fixed gains for the current and previous four subframes
 
float beta
 previous pitch_gain, bounded by [0.0,SHARP_MAX]
 
uint8_t diff_count
 the number of subframes for which diff has been above 0.65
 
uint8_t hang_count
 the number of subframes since a hangover period started
 
float prev_sparse_fixed_gain
 previous fixed gain; used by anti-sparseness processing to determine "onset"
 
uint8_t prev_ir_filter_nr
 previous impulse response filter "impNr": 0 - strong, 1 - medium, 2 - none
 
uint8_t ir_filter_onset
 flag for impulse response filter strength
 
float postfilter_mem [10]
 previous intermediate values in the formant filter
 
float tilt_mem
 previous input to tilt compensation filter
 
float postfilter_agc
 previous factor used for adaptive gain control
 
float high_pass_mem [2]
 previous intermediate values in the high-pass filter
 
float samples_in [LP_FILTER_ORDER+AMR_SUBFRAME_SIZE]
 floating point samples
 
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
 
uint64_t cumulated_size
 
uint64_t block_count
 

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