/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
q_gain2.c | 79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; local 177 L_tmp = Dot_product12_asm(code, code, L_subfr, &exp_code); 179 L_tmp = Dot_product12(code, code, L_subfr, &exp_code); 181 /* exp_code: -18 (code in Q9), -6 (/L_subfr), -31 (L_tmp Q31->Q0) */ 182 exp_code = (exp_code - (18 + 6 + 31)); 185 exp += exp_code; 229 * exp_code = exp_gcode0-11+15 = exp_gcode0+4 * 233 * g_code*g_code = (2*exp_code)+15 * 234 * g_code = exp_code * [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
qua_gain.cpp | 218 Word16 exp_code; local 271 exp_code = sub(exp_gcode0, 11, pOverflow); 277 temp = shl(exp_code, 1, pOverflow); 281 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); 283 temp = add(1, exp_code, pOverflow);
|
qgain795.cpp | 231 Word16 exp_code; local 258 exp_code = sub(exp_gcode0, 10, pOverflow); 263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), pOverflow), pOverflow); 264 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); 265 exp_max[4] = add(exp_coeff[4], add(exp_code, 1, pOverflow), pOverflow); [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
gc_pred.cpp | 339 Word16 exp_code, gcode0; 345 exp_code = norm_l (ener_code); 346 ener_code = L_shl (ener_code, exp_code); 349 Log2_norm (ener_code, exp_code, &exp, &frac); 383 // ener_code = <xn xn> * 2^27*2^exp_code 385 // = <xn xn> * 2^11*2^exp_code 389 // ==> exp_en = -11-exp_code; 392 *exp_en = sub (-11, exp_code); 486 Word16 exp_code, gcode0; local 589 exp_code = norm_l(ener_code) [all...] |