Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dsynthesis_amr_wb.cpp152 int16 ener, exp_ener; in synthesis_amr_wb() local
250 ener = extract_h(Dot_product12(exc, exc, L_SUBFR, &exp_ener)); in synthesis_amr_wb()
257 if (tmp > ener) in synthesis_amr_wb()
262 L_tmp = L_deposit_h(div_16by16(tmp, ener)); /* result is normalized */ in synthesis_amr_wb()
303 ener = (int16)((L_tmp << exp) >> 16); /* ener = r[0] */ in synthesis_amr_wb()
308 fac = div_16by16(tmp, ener); in synthesis_amr_wb()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgc_pred.cpp484 Word32 ener; in gc_pred() local
550 ener = MEAN_ENER_MR122; /* Q24 (Q17) */ in gc_pred()
555 ener = L_add(ener, L_temp1, pOverflow); in gc_pred()
572 L_temp1 = L_sub(ener, ener_code, pOverflow); in gc_pred()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c1344 Word16 ener, exp_ener; in synthesis() local
1411 ener = extract_h(Dot_product12_asm(exc, exc, L_SUBFR, &exp_ener)); in synthesis()
1415 ener = extract_h(Dot_product12(exc, exc, L_SUBFR, &exp_ener)); in synthesis()
1426 if(tmp > ener) in synthesis()
1431 L_tmp = L_deposit_h(div_s(tmp, ener)); /* result is normalized */ in synthesis()
1450 ener = extract_h(L_tmp << exp); /* ener = r[0] */ in synthesis()
1460 fac = div_s(tmp, ener); in synthesis()
1505 ener = extract_h(Dot_product12_asm(HF_SP, HF_SP, L_SUBFR16k, &exp_ener)); in synthesis()
1516 ener = extract_h(Dot_product12(HF_SP, HF_SP, L_SUBFR16k, &exp_ener)); in synthesis()
1521 if (tmp > ener) in synthesis()
[all …]