Searched refs:celt_log2 (Results 1 – 5 of 5) sorted by relevance
148 float error = fabs((1.442695040888963387*log(x))-celt_log2(x)); in testlog2()176 float error = fabs(x-(celt_log2(celt_exp2(x)))); in testexp2log2()190 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0); in testlog2()219 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384; in testexp2log2()
130 static OPUS_INLINE float celt_log2(float x) in celt_log2() function168 #define celt_log2(x) ((float)(1.442695040888963387*log(x))) macro201 static OPUS_INLINE opus_val16 celt_log2(opus_val32 x) in celt_log2() function
553 celt_log2(bandE[i+c*m->nbEBands]) in amp2Log2()
830 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum)); in alloc_trim_analysis()832 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis()
337 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()