Home
last modified time | relevance | path

Searched refs:celt_log2 (Results 1 – 5 of 5) sorted by relevance

/external/libopus/celt/tests/
Dtest_unit_mathops.c148 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()
/external/libopus/celt/
Dmathops.h130 static OPUS_INLINE float celt_log2(float x) in celt_log2() function
168 #define celt_log2(x) ((float)(1.442695040888963387*log(x))) macro
201 static OPUS_INLINE opus_val16 celt_log2(opus_val32 x) in celt_log2() function
Dquant_bands.c553 celt_log2(bandE[i+c*m->nbEBands]) in amp2Log2()
Dcelt_encoder.c830 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()
/external/libopus/src/
Dopus_multistream_encoder.c337 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()