FFmpeg
|
Data Fields | |
AMRNBFrame | frame |
decoded AMR parameters (lsf coefficients, codebook indexes, etc) More... | |
uint8_t | bad_frame_indicator |
bad frame ? 1 : 0 More... | |
enum Mode | cur_frame_mode |
int16_t | prev_lsf_r [LP_FILTER_ORDER] |
residual LSF vector from previous subframe More... | |
double | lsp [4][LP_FILTER_ORDER] |
lsp vectors from current frame More... | |
double | prev_lsp_sub4 [LP_FILTER_ORDER] |
lsp vector for the 4th subframe of the previous frame More... | |
float | lsf_q [4][LP_FILTER_ORDER] |
Interpolated LSF vector for fixed gain smoothing. More... | |
float | lsf_avg [LP_FILTER_ORDER] |
vector of averaged lsf vector More... | |
float | lpc [4][LP_FILTER_ORDER] |
lpc coefficient vectors for 4 subframes More... | |
uint8_t | pitch_lag_int |
integer part of pitch lag from current subframe More... | |
float | excitation_buf [PITCH_DELAY_MAX+LP_FILTER_ORDER+1+AMR_SUBFRAME_SIZE] |
current excitation and all necessary excitation history More... | |
float * | excitation |
pointer to the current excitation vector in excitation_buf More... | |
float | pitch_vector [AMR_SUBFRAME_SIZE] |
adaptive code book (pitch) vector More... | |
float | fixed_vector [AMR_SUBFRAME_SIZE] |
algebraic codebook (fixed) vector (must be kept zero between frames) More... | |
float | prediction_error [4] |
quantified prediction errors {20log10(^gamma_gc)} for previous four subframes More... | |
float | pitch_gain [5] |
quantified pitch gains for the current and previous four subframes More... | |
float | fixed_gain [5] |
quantified fixed gains for the current and previous four subframes More... | |
float | beta |
previous pitch_gain, bounded by [0.0,SHARP_MAX] More... | |
uint8_t | diff_count |
the number of subframes for which diff has been above 0.65 More... | |
uint8_t | hang_count |
the number of subframes since a hangover period started More... | |
float | prev_sparse_fixed_gain |
previous fixed gain; used by anti-sparseness processing to determine "onset" More... | |
uint8_t | prev_ir_filter_nr |
previous impulse response filter "impNr": 0 - strong, 1 - medium, 2 - none More... | |
uint8_t | ir_filter_onset |
flag for impulse response filter strength More... | |
float | postfilter_mem [10] |
previous intermediate values in the formant filter More... | |
float | tilt_mem |
previous input to tilt compensation filter More... | |
float | postfilter_agc |
previous factor used for adaptive gain control More... | |
float | high_pass_mem [2] |
previous intermediate values in the high-pass filter More... | |
float | samples_in [LP_FILTER_ORDER+AMR_SUBFRAME_SIZE] |
floating point samples More... | |
ACELPFContext | acelpf_ctx |
context for filters for ACELP-based codecs More... | |
ACELPVContext | acelpv_ctx |
context for vector operations for ACELP-based codecs More... | |
CELPFContext | celpf_ctx |
context for filters for CELP-based codecs More... | |
CELPMContext | celpm_ctx |
context for fixed point math operations More... | |
uint64_t | cumulated_size |
uint64_t | block_count |
Definition at line 100 of file amrnbdec.c.
AMRNBFrame AMRContext::frame |
decoded AMR parameters (lsf coefficients, codebook indexes, etc)
Definition at line 101 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), decode_gains(), lsf2lsp_3(), lsf2lsp_5(), and unpack_bitstream().
uint8_t AMRContext::bad_frame_indicator |
enum Mode AMRContext::cur_frame_mode |
Definition at line 103 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), anti_sparseness(), decode_pitch_vector(), lsf2lsp_3(), postfilter(), and synthesis().
int16_t AMRContext::prev_lsf_r[LP_FILTER_ORDER] |
residual LSF vector from previous subframe
Definition at line 105 of file amrnbdec.c.
Referenced by lsf2lsp_3(), lsf2lsp_5(), and lsf2lsp_for_mode12k2().
double AMRContext::lsp[4][LP_FILTER_ORDER] |
lsp vectors from current frame
Definition at line 106 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), lsf2lsp_3(), lsf2lsp_5(), and update_state().
double AMRContext::prev_lsp_sub4[LP_FILTER_ORDER] |
lsp vector for the 4th subframe of the previous frame
Definition at line 107 of file amrnbdec.c.
Referenced by amrnb_decode_init(), lsf2lsp_3(), lsf2lsp_5(), and update_state().
float AMRContext::lsf_q[4][LP_FILTER_ORDER] |
Interpolated LSF vector for fixed gain smoothing.
Definition at line 109 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), amrnb_decode_init(), lsf2lsp_3(), and lsf2lsp_for_mode12k2().
float AMRContext::lsf_avg[LP_FILTER_ORDER] |
vector of averaged lsf vector
Definition at line 110 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), and amrnb_decode_init().
float AMRContext::lpc[4][LP_FILTER_ORDER] |
lpc coefficient vectors for 4 subframes
Definition at line 112 of file amrnbdec.c.
Referenced by amrnb_decode_frame().
uint8_t AMRContext::pitch_lag_int |
integer part of pitch lag from current subframe
Definition at line 114 of file amrnbdec.c.
Referenced by decode_pitch_vector(), and pitch_sharpening().
float AMRContext::excitation_buf[PITCH_DELAY_MAX+LP_FILTER_ORDER+1+AMR_SUBFRAME_SIZE] |
current excitation and all necessary excitation history
Definition at line 116 of file amrnbdec.c.
Referenced by amrnb_decode_init(), and update_state().
float* AMRContext::excitation |
pointer to the current excitation vector in excitation_buf
Definition at line 117 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), amrnb_decode_init(), and decode_pitch_vector().
float AMRContext::pitch_vector[AMR_SUBFRAME_SIZE] |
adaptive code book (pitch) vector
Definition at line 119 of file amrnbdec.c.
Referenced by decode_pitch_vector(), and synthesis().
float AMRContext::fixed_vector[AMR_SUBFRAME_SIZE] |
algebraic codebook (fixed) vector (must be kept zero between frames)
Definition at line 120 of file amrnbdec.c.
Referenced by amrnb_decode_frame().
float AMRContext::prediction_error[4] |
quantified prediction errors {20log10(^gamma_gc)} for previous four subframes
Definition at line 122 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), and amrnb_decode_init().
float AMRContext::pitch_gain[5] |
quantified pitch gains for the current and previous four subframes
Definition at line 123 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), anti_sparseness(), decode_gains(), pitch_sharpening(), synthesis(), and update_state().
float AMRContext::fixed_gain[5] |
quantified fixed gains for the current and previous four subframes
Definition at line 124 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), fixed_gain_smooth(), and update_state().
float AMRContext::beta |
previous pitch_gain, bounded by [0.0,SHARP_MAX]
Definition at line 126 of file amrnbdec.c.
Referenced by pitch_sharpening().
uint8_t AMRContext::diff_count |
the number of subframes for which diff has been above 0.65
Definition at line 127 of file amrnbdec.c.
Referenced by fixed_gain_smooth().
uint8_t AMRContext::hang_count |
the number of subframes since a hangover period started
Definition at line 128 of file amrnbdec.c.
Referenced by fixed_gain_smooth().
float AMRContext::prev_sparse_fixed_gain |
previous fixed gain; used by anti-sparseness processing to determine "onset"
Definition at line 130 of file amrnbdec.c.
Referenced by anti_sparseness().
uint8_t AMRContext::prev_ir_filter_nr |
previous impulse response filter "impNr": 0 - strong, 1 - medium, 2 - none
Definition at line 131 of file amrnbdec.c.
Referenced by anti_sparseness().
uint8_t AMRContext::ir_filter_onset |
flag for impulse response filter strength
Definition at line 132 of file amrnbdec.c.
Referenced by anti_sparseness().
float AMRContext::postfilter_mem[10] |
previous intermediate values in the formant filter
Definition at line 134 of file amrnbdec.c.
Referenced by postfilter().
float AMRContext::tilt_mem |
previous input to tilt compensation filter
Definition at line 135 of file amrnbdec.c.
Referenced by postfilter().
float AMRContext::postfilter_agc |
previous factor used for adaptive gain control
Definition at line 136 of file amrnbdec.c.
Referenced by postfilter().
float AMRContext::high_pass_mem[2] |
previous intermediate values in the high-pass filter
Definition at line 137 of file amrnbdec.c.
Referenced by amrnb_decode_frame().
float AMRContext::samples_in[LP_FILTER_ORDER+AMR_SUBFRAME_SIZE] |
floating point samples
Definition at line 139 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), postfilter(), and update_state().
ACELPFContext AMRContext::acelpf_ctx |
context for filters for ACELP-based codecs
Definition at line 141 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), amrnb_decode_init(), and decode_pitch_vector().
ACELPVContext AMRContext::acelpv_ctx |
context for vector operations for ACELP-based codecs
Definition at line 142 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), amrnb_decode_init(), lsf2lsp_3(), lsf2lsp_for_mode12k2(), and synthesis().
CELPFContext AMRContext::celpf_ctx |
context for filters for CELP-based codecs
Definition at line 143 of file amrnbdec.c.
Referenced by amrnb_decode_init(), postfilter(), synthesis(), and tilt_factor().
CELPMContext AMRContext::celpm_ctx |
context for fixed point math operations
Definition at line 144 of file amrnbdec.c.
Referenced by amrnb_decode_frame(), amrnb_decode_init(), postfilter(), synthesis(), and tilt_factor().
uint64_t AMRContext::cumulated_size |
Definition at line 34 of file amr.c.
Referenced by amr_read_packet().
uint64_t AMRContext::block_count |
Definition at line 35 of file amr.c.
Referenced by amr_read_packet().