Searched refs:celt_exp2 (Results 1 – 4 of 4) sorted by relevance
171 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x)))); in testexp2()185 float error = fabs(x-(celt_log2(celt_exp2(x)))); in testexp2log2()213 float error1 = fabs(x/1024.0-(1.442695040888963387*log(celt_exp2(x)/65536.0))); in testexp2()214 float error2 = fabs(exp(0.6931471805599453094*x/1024.0)-celt_exp2(x)/65536.0); in testexp2()228 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384; in testexp2log2()
116 static OPUS_INLINE float celt_exp2(float x) in celt_exp2() function137 #define celt_exp2(x) ((float)exp(0.6931471805599453094*(x))) macro202 static OPUS_INLINE opus_val32 celt_exp2(opus_val16 x) in celt_exp2() function
218 g = celt_exp2(lg); in denormalise_bands()278 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1); in anti_collapse()288 thresh = .5f*celt_exp2(-.125f*depth); in anti_collapse()313 opus_val32 r32 = SHR32(celt_exp2(-EXTRACT16(Ediff)),1); in anti_collapse()325 r = 2.f*celt_exp2(-Ediff); in anti_collapse()
556 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain)); in opus_decode_frame()