HomeSort by relevance Sort by last modified time
    Searched refs:celt_log2 (Results 1 - 5 of 5) sorted by null

  /external/libopus/celt/tests/
test_unit_mathops.c 157 float error = fabs((1.442695040888963387*log(x))-celt_log2(x));
160 fprintf (stderr, "celt_log2 failed: fabs((1.442695040888963387*log(x))-celt_log2(x))>0.001 (x = %f, error = %f)\n", x,error);
185 float error = fabs(x-(celt_log2(celt_exp2(x))));
188 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_log2(celt_exp2(x))))>0.001 (x = %f, error = %f)\n", x,error);
199 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0);
202 fprintf (stderr, "celt_log2 failed: x = %ld, error = %f\n", (long)x,error);
228 float error = fabs(x-0.25*celt_exp2(celt_log2(x)))/16384;
231 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_exp2(celt_log2(x))))>0.001 (x = %ld, error = %f)\n", (long)x,error)
    [all...]
  /external/libopus/celt/
mathops.h 98 static OPUS_INLINE float celt_log2(float x) function
136 #define celt_log2(x) ((float)(1.442695040888963387*log(x))) macro
169 static OPUS_INLINE opus_val16 celt_log2(opus_val32 x) function
quant_bands.c 551 celt_log2(SHL32(bandE[i+c*m->nbEBands],2))
celt_encoder.c 800 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum));
802 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC)));
    [all...]
  /external/libopus/src/
opus_multistream_encoder.c 305 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1)));
    [all...]

Completed in 3158 milliseconds