Searched refs:fixed_gain (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | amrnbdata.h | 61 uint16_t fixed_gain; ///< index to decode the fixed gain factor, for MODE_12k2 and MODE_7k95 member 212 5, AMR_OF(0,fixed_gain), 16, 28, 24, 60, 84, 218 5, AMR_OF(1,fixed_gain), 31, 27, 39, 59, 83, 224 5, AMR_OF(2,fixed_gain), 30, 26, 38, 58, 82, 230 5, AMR_OF(3,fixed_gain), 29, 25, 37, 57, 81, 288 5, AMR_OF(0,fixed_gain), 60, 56, 68, 91, 111, 301 5, AMR_OF(1,fixed_gain), 59, 71, 67, 90, 110, 314 5, AMR_OF(2,fixed_gain), 58, 70, 66, 89, 109, 327 5, AMR_OF(3,fixed_gain), 57, 69, 65, 88, 108,
|
D | amrnbdec.c | 124 …float fixed_gain[5]; ///< quantified fixed gains for the current and previous … member 612 const float fixed_gain_mean = (p->fixed_gain[0] + p->fixed_gain[1] + in fixed_gain_smooth() 613 p->fixed_gain[2] + p->fixed_gain[3] + in fixed_gain_smooth() 614 p->fixed_gain[4]) * 0.2; in fixed_gain_smooth() 615 return smoothing_factor * p->fixed_gain[4] + in fixed_gain_smooth() 618 return p->fixed_gain[4]; in fixed_gain_smooth() 637 *fixed_gain_factor = qua_gain_code[amr_subframe->fixed_gain] in decode_gains() 721 float fixed_gain, float *out) in anti_sparseness() argument 733 if (fixed_gain > 2.0 * p->prev_sparse_fixed_gain) { in anti_sparseness() 755 if (fixed_gain < 5.0) in anti_sparseness() [all …]
|
D | amrwbdec.c | 70 …float fixed_gain[2]; ///< quantified fixed gains for the current and prev… member 643 if (ctx->fixed_gain[0] > 3.0 * ctx->fixed_gain[1]) { in anti_sparseness() 715 static float noise_enhancer(float fixed_gain, float *prev_tr_gain, in noise_enhancer() argument 724 if (fixed_gain < *prev_tr_gain) { in noise_enhancer() 725 g0 = FFMIN(*prev_tr_gain, fixed_gain + fixed_gain * in noise_enhancer() 728 g0 = FFMAX(*prev_tr_gain, fixed_gain * in noise_enhancer() 733 return sm_fac * g0 + (1 - sm_fac) * fixed_gain; in noise_enhancer() 771 float fixed_gain, const float *fixed_vector, in synthesis() argument 775 ctx->pitch_gain[0], fixed_gain, AMRWB_SFR_SIZE); in synthesis() 1084 memmove(&ctx->fixed_gain[1], &ctx->fixed_gain[0], 1 * sizeof(float)); in update_sub_state() [all …]
|