Home
last modified time | relevance | path

Searched refs:celt_exp2 (Results 1 – 7 of 7) sorted by relevance

/external/libopus/celt/tests/
Dtest_unit_mathops.c162 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x)))); in testexp2()
176 float error = fabs(x-(celt_log2(celt_exp2(x)))); in testexp2log2()
204 float error1 = fabs(x/1024.0-(1.442695040888963387*log(celt_exp2(x)/65536.0))); in testexp2()
205 float error2 = fabs(exp(0.6931471805599453094*x/1024.0)-celt_exp2(x)/65536.0); in testexp2()
219 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384; in testexp2log2()
/external/libopus/celt/
Dmathops.h148 static OPUS_INLINE float celt_exp2(float x) in celt_exp2() function
169 #define celt_exp2(x) ((float)exp(0.6931471805599453094*(x))) macro
234 static OPUS_INLINE opus_val32 celt_exp2(opus_val16 x) in celt_exp2() function
Dbands.c230 g = celt_exp2(MIN32(32.f, lg)); in denormalise_bands()
289 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1); in anti_collapse()
299 thresh = .5f*celt_exp2(-.125f*depth); in anti_collapse()
324 opus_val32 r32 = SHR32(celt_exp2(-EXTRACT16(Ediff)),1); in anti_collapse()
336 r = 2.f*celt_exp2(-Ediff); in anti_collapse()
Dcelt_encoder.c1095 importance[i] = PSHR32(13*celt_exp2(MIN16(follower[i], QCONST16(4.f, DB_SHIFT))), 16); in dynalloc_analysis()
1097 importance[i] = (int)floor(.5f+13*celt_exp2(MIN16(follower[i], QCONST16(4.f, DB_SHIFT)))); in dynalloc_analysis()
/external/libopus/doc/
Dopus_update.patch48 eBands[i+c*m->nbEBands] = PSHR32(celt_exp2(lg),4);
/external/libopus/src/
Dopus_decoder.c598 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain)); in opus_decode_frame()
Dopus_encoder.c1698 HB_gain = Q15ONE - SHR32(celt_exp2(-celt_rate * QCONST16(1.f/1024, 10)), 1); in opus_encode_native()