Searched refs:celt_log2 (Results 1 – 5 of 5) sorted by relevance
186 float error = fabs((1.442695040888963387*log(x))-celt_log2(x)); in testlog2()214 float error = fabs(x-(celt_log2(celt_exp2(x)))); in testexp2log2()228 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0); in testlog2()257 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384; in testexp2log2()
98 static OPUS_INLINE float celt_log2(float x) in celt_log2() function136 #define celt_log2(x) ((float)(1.442695040888963387*log(x))) macro169 static OPUS_INLINE opus_val16 celt_log2(opus_val32 x) in celt_log2() function
551 celt_log2(SHL32(bandE[i+c*m->nbEBands],2)) in amp2Log2()
790 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum)); in alloc_trim_analysis()792 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis()
333 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()