/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 53 ener2 = extract_h(Dot_product12_asm(code, code, L_subfr, &exp2)); 55 ener2 = extract_h(Dot_product12(code, code, L_subfr, &exp2)); 61 ener2 = vo_mult(ener2, tmp); 69 ener2 = ener2 >> (i + 1); 73 ener2 = ener2 >> 1; 76 tmp = vo_sub(ener1, ener2); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
voice_factor.cpp | 127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local 139 ener2 = extract_h(Dot_product12(code, code, L_subfr, &exp2)); 144 ener2 = mult_int16(ener2, tmp); 153 ener2 >>= (i + 1); 158 ener2 >>= 1; 161 tmp = ener1 - ener2; 162 ener1 += ener2 + 1;
|
/external/chromium_org/third_party/speex/libspeex/ |
vbr.c | 127 float ener=0, ener1=0, ener2=0; local 139 ener2 += ((float)sig[i])*sig[i]; 140 ener=ener1+ener2; 214 if (ener2 > 1.6*ener1)
|
/external/speex/libspeex/ |
vbr.c | 127 float ener=0, ener1=0, ener2=0; local 139 ener2 += ((float)sig[i])*sig[i]; 140 ener=ener1+ener2; 214 if (ener2 > 1.6*ener1)
|