Home | History | Annotate | Download | only in source

Lines Matching refs:logN

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.
88 return logN;
1000 /* The input argument X to logN(X) is 2^17 times higher than the
1004 X gets 2 times higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
1005 177.445678 should be subtracted (since logN() returns a Q8 value).
1351 /* The input argument X to logN(X) is 2^17 times higher than the
1355 X gets 2 times higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
1356 177.445678 should be subtracted (since logN() returns a Q8 value).
1996 /* The input argument X to logN(X) is 2^17 times higher than the
2000 X gets 2 times higher, i.e. Z = logN(2)*256 = 0.693147180559*256 =
2001 177.445678 should be subtracted (since logN() returns a Q8 value).