Home
last modified time | relevance | path

Searched refs:ener_code (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgc_pred.cpp483 Word32 ener_code; in gc_pred() local
495 ener_code = 0; in gc_pred()
503 ener_code += ((Word32) tmp * tmp) >> 3; in gc_pred()
505 ener_code += ((Word32) tmp * tmp) >> 3; in gc_pred()
507 ener_code += ((Word32) tmp * tmp) >> 3; in gc_pred()
509 ener_code += ((Word32) tmp * tmp) >> 3; in gc_pred()
512 ener_code <<= 4; in gc_pred()
514 if (ener_code < 0) /* Check for saturation */ in gc_pred()
516 ener_code = MAX_32; in gc_pred()
524 ener_code = ((Word32)(pv_round(ener_code, pOverflow) * 26214)) << 1; in gc_pred()
[all …]