/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 41 ener1 = extract_h(Dot_product12_asm(exc, exc, L_subfr, &exp1)); 43 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); 49 ener1 = vo_mult(ener1, tmp); 68 ener1 = ener1 >> 1; 72 ener1 = ener1 >> (1 - i); 76 tmp = vo_sub(ener1, ener2) [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
voice_factor.cpp | 127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local 130 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); 136 ener1 = mult_int16(ener1, tmp); 152 ener1 >>= 1; 157 ener1 >>= (1 - i); 161 tmp = ener1 - ener2; 162 ener1 += ener2 + 1; 167 tmp = div_16by16(tmp, ener1); 171 tmp = negate_int16(div_16by16(negate_int16(tmp), ener1)); [all...] |
/external/speex/libspeex/ |
vbr.c | 127 float ener=0, ener1=0, ener2=0; local 136 ener1 += ((float)sig[i])*sig[i]; 140 ener=ener1+ener2; 214 if (ener2 > 1.6*ener1)
|