Searched refs:gain2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | synthesis_amr_wb.cpp | 158 int16 gain1, gain2; in synthesis_amr_wb() local 317 gain2 = mult_int16(gain1, 20480); in synthesis_amr_wb() 318 gain2 = shl_int16(gain2, 1); in synthesis_amr_wb() 322 tmp = gain2 - 1; in synthesis_amr_wb()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | voAMRWBEnc.c | 205 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; in coder() local 1011 gain2 = G_pitch(xn, y2, g_coeff2, L_SUBFR); in coder() 1014 if ((clip_gain != 0) && (gain2 > GP_CLIP)) in coder() 1016 gain2 = GP_CLIP; in coder() 1019 Updt_tar(xn, xn2, y2, gain2, L_SUBFR); in coder() 1050 gain_pit = gain2; in coder() 1357 Word16 gain1, gain2; in synthesis() local 1468 gain2 = vo_mult(gain1, 20480); in synthesis() 1469 gain2 = shl(gain2, 1); in synthesis() 1481 tmp = add1(tmp, vo_mult(weight2, gain2)); in synthesis()
|