Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrwb/enc/src/
Dvoicefac.c37 Word16 tmp, exp, ener1, exp1, ener2, exp2; in voice_factor() local
41 ener1 = extract_h(Dot_product12_asm(exc, exc, L_subfr, &exp1)); in voice_factor()
43 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); in voice_factor()
49 ener1 = vo_mult(ener1, tmp); in voice_factor()
68 ener1 = ener1 >> 1; in voice_factor()
72 ener1 = ener1 >> (1 - i); in voice_factor()
76 tmp = vo_sub(ener1, ener2); in voice_factor()
77 ener1 = add1(add1(ener1, ener2), 1); in voice_factor()
81 tmp = div_s(tmp, ener1); in voice_factor()
84 tmp = vo_negate(div_s(vo_negate(tmp), ener1)); in voice_factor()
/frameworks/av/media/module/codecs/amrwb/dec/src/
Dvoice_factor.cpp127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; in voice_factor() local
130 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); in voice_factor()
136 ener1 = mult_int16(ener1, tmp); in voice_factor()
152 ener1 >>= 1; in voice_factor()
157 ener1 >>= (1 - i); in voice_factor()
161 tmp = ener1 - ener2; in voice_factor()
162 ener1 += ener2 + 1; in voice_factor()
167 tmp = div_16by16(tmp, ener1); in voice_factor()
171 tmp = negate_int16(div_16by16(negate_int16(tmp), ener1)); in voice_factor()