HomeSort by relevance Sort by last modified time
    Searched defs:logN (Results 1 - 3 of 3) sorted by null

  /external/libopus/celt/
modes.h 75 const opus_int16 *logN;
modes.c 230 opus_int16 *logN;
381 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16));
382 if (logN==NULL)
386 logN[i] = log2_frac(mode->eBands[i+1]-mode->eBands[i], BITRES);
387 mode->logN = logN;
429 opus_free((opus_int16*)mode->logN);
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
entropy_coding.c 70 /* logN(x) = logN(2)*log2(x) = 0.6931*log2(x). Output in Q8. */
71 /* The input argument X to logN(X) is 2^17 times higher than the
75 X gets 2 thimes higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
76 177.445678 should be subtracted (since logN() returns a Q8 value).
80 WebRtc_Word16 zeros, log2, frac, logN;
85 logN=(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(log2,22713,15); //Q8*Q15 log(2) = 0.693147 = 22713 in Q15
86 logN=logN+11; //Scalar compensation which minimizes the (log(x)-logN(x))^2 error over all x
    [all...]

Completed in 100 milliseconds