Searched refs:exp_max (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | qgain475.cpp | 1195 Word16 exp_max[10]; /* 0..4: sf0; 5..9: sf1 */ in MR475_gain_quant() local 1227 exp_max[0] = (sf0_exp_coeff[0] - 13); in MR475_gain_quant() 1228 exp_max[1] = (sf0_exp_coeff[1] - 14); in MR475_gain_quant() 1229 exp_max[2] = (sf0_exp_coeff[2] + (15 + (exp << 1))); in MR475_gain_quant() 1230 exp_max[3] = (sf0_exp_coeff[3] + exp); in MR475_gain_quant() 1231 exp_max[4] = (sf0_exp_coeff[4] + (1 + exp)); in MR475_gain_quant() 1238 exp_max[5] = (sf1_exp_coeff[0] - 13); in MR475_gain_quant() 1239 exp_max[6] = (sf1_exp_coeff[1] - 14); in MR475_gain_quant() 1240 exp_max[7] = (sf1_exp_coeff[2] + (15 + (exp << 1))); in MR475_gain_quant() 1241 exp_max[8] = (sf1_exp_coeff[3] + exp); in MR475_gain_quant() [all …]
|
D | qua_gain.cpp | 226 Word16 exp_max[5]; in Qua_gain() local 274 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in Qua_gain() 275 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in Qua_gain() 279 exp_max[2] = add(exp_coeff[2], temp, pOverflow); in Qua_gain() 281 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); in Qua_gain() 284 exp_max[4] = add(exp_coeff[4], temp, pOverflow); in Qua_gain() 301 e_max = exp_max[0]; in Qua_gain() 304 if (exp_max[i] > e_max) in Qua_gain() 306 e_max = exp_max[i]; in Qua_gain() 314 j = sub(e_max, exp_max[i], pOverflow); in Qua_gain()
|
D | qgain795.cpp | 241 Word16 exp_max[5]; in MR795_gain_code_quant3() local 261 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in MR795_gain_code_quant3() 262 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in MR795_gain_code_quant3() 263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), pOverflow), pOverflow); in MR795_gain_code_quant3() 264 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); in MR795_gain_code_quant3() 265 exp_max[4] = add(exp_coeff[4], add(exp_code, 1, pOverflow), pOverflow); in MR795_gain_code_quant3() 282 e_max = exp_max[0]; in MR795_gain_code_quant3() 285 if (exp_max[i] > e_max) in MR795_gain_code_quant3() 287 e_max = exp_max[i]; in MR795_gain_code_quant3() 295 j = sub(e_max, exp_max[i], pOverflow); in MR795_gain_code_quant3()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | q_gain2.c | 82 Word16 exp_max[5]; in Q_gain2() local 245 exp_max[0] = (exp_coeff[0] - 13); in Q_gain2() 246 exp_max[1] = (exp_coeff[1] - 14); in Q_gain2() 247 exp_max[2] = (exp_coeff[2] + (15 + (exp_code << 1))); in Q_gain2() 248 exp_max[3] = (exp_coeff[3] + exp_code); in Q_gain2() 249 exp_max[4] = (exp_coeff[4] + (1 + exp_code)); in Q_gain2() 253 e_max = exp_max[0]; in Q_gain2() 256 if(exp_max[i] > e_max) in Q_gain2() 258 e_max = exp_max[i]; in Q_gain2() 266 j = add1(vo_sub(e_max, exp_max[i]), 2);/* /4 to avoid overflow */ in Q_gain2()
|