Searched refs:celt_exp2 (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_mathops.c169 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x))));
172 fprintf (stderr, "celt_exp2 failed: fabs(x-(1.442695040888963387*log(celt_exp2(x))))>0.0005 (x = %f, error = %f)\n", x,error);
183 float error = fabs(x-(celt_log2(celt_exp2(x))));
186 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_log2(celt_exp2(x))))>0.001 (x = %f, error = %f)\n", x,error);
211 float error1 = fabs(x/1024.0-(1.442695040888963387*log(celt_exp2(x)/65536.0)));
212 float error2 = fabs(exp(0.6931471805599453094*x/1024.0)-celt_exp2(x)/65536.0);
215 fprintf (stderr, "celt_exp2 failed: x = "WORD", error1 = %f, error2 = %f\n", x,error1,error2);
226 float error = fabs(x-0.25*celt_exp2(celt_log
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dmathops.h81 static inline float celt_exp2(float x) function
102 #define celt_exp2(x) ((float)exp(0.6931471805599453094*(x))) macro
180 static inline opus_val32 celt_exp2(opus_val16 x) function
H A Dbands.c223 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1);
233 thresh = .5f*celt_exp2(-.125f*depth);
258 opus_val32 r32 = SHR32(celt_exp2(-EXTRACT16(Ediff)),1);
270 r = 2.f*celt_exp2(-Ediff);
H A Dquant_bands.c550 eBands[i+c*m->nbEBands] = PSHR32(celt_exp2(lg),4);
/external/chromium_org/third_party/opus/src/src/
H A Dopus_decoder.c501 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));

Completed in 103 milliseconds