Searched defs:e_max (Results 1 - 3 of 3) sorted by last modified time

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dqgain795.cpp230 Word16 e_max; local
277 * e_max = max(exp_max[i]) + 1; *
278 * e = exp_max[i]-e_max; e <= 0! *
282 e_max = exp_max[0];
285 if (exp_max[i] > e_max)
287 e_max = exp_max[i];
291 e_max = add(e_max, 1, pOverflow); /* To avoid overflow */
295 j = sub(e_max, exp_max[i], pOverflow);
500 Word16 e_max; local
[all...]
H A Dqua_gain.cpp216 Word16 e_max; local
296 * e_max = max(exp_max[i]) + 1; *
297 * e = exp_max[i]-e_max; e <= 0! *
301 e_max = exp_max[0];
304 if (exp_max[i] > e_max)
306 e_max = exp_max[i];
310 e_max = add(e_max, 1, pOverflow); /* To avoid overflow */
314 j = sub(e_max, exp_max[i], pOverflow);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_gain2.c79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; local
253 e_max = exp_max[0];
256 if(exp_max[i] > e_max)
258 e_max = exp_max[i];
266 j = add1(vo_sub(e_max, exp_max[i]), 2);/* /4 to avoid overflow */

Completed in 2779 milliseconds