/external/webrtc/src/common_audio/vad/ |
vad_filterbank.c | 233 int16_t zeros = 0, frac = 0, log2 = 0; local 245 // 160*log10(energy_s16*2^shfts) = 160*log10(2)*log2(energy_s16*2^shfts) = 246 // 160*log10(2)*(log2(energy_s16) + log2(2^shfts)) = 247 // 160*log10(2)*(log2(energy_s16) + shfts) 252 log2 = (int16_t) (((31 - zeros) << 10) + frac); 254 *log_energy = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLogConst, log2, 19)
|
/external/guava/guava-tests/test/com/google/common/math/ |
IntMathTest.java | 97 @GwtIncompatible("log2") 101 IntMath.log2(0, mode); 107 @GwtIncompatible("log2") 112 IntMath.log2(x, mode); 119 // Relies on the correctness of BigIntegrerMath.log2 for all modes except UNNECESSARY. 124 assertEquals(BigIntegerMath.log2(valueOf(x), mode), IntMath.log2(x, mode)); 130 @GwtIncompatible("log2") 136 assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
|
LongMathTest.java | 142 LongMath.log2(0L, mode); 152 LongMath.log2(x, mode); 159 /* Relies on the correctness of BigIntegerMath.log2 for all modes except UNNECESSARY. */ 164 assertEquals(BigIntegerMath.log2(valueOf(x), mode), LongMath.log2(x, mode)); 175 assertEquals(x, 1L << LongMath.log2(x, UNNECESSARY));
|
/external/chromium_org/third_party/skia/src/core/ |
SkCordic.cpp | 280 float log2 = (float) f_log / 65536.0f; local 281 float error = fabsf(log - log2); 283 SkDebugf("log error : val = %g ; log = %g ; cordic = %g\n", val, log, log2);
|
/external/grub/stage2/ |
fsys_fat.c | 58 log2 (unsigned long word) function 87 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); 89 = FAT_SUPER->sectsize_bits + log2 (bpb.sects_per_clust);
|
fsys_ext2fs.c | 196 #define log2(n) ffz(~(n)) macro 219 #define EXT2_ADDR_PER_BLOCK_BITS(s) (log2(EXT2_ADDR_PER_BLOCK(s))) 540 group_desc = group_id >> log2 (EXT2_DESC_PER_BLOCK (SUPERBLOCK)); 556 >> log2 (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode)));
|
fsys_iso9660.c | 60 log2 (unsigned long word) function 71 unsigned short sector_size_lg2 = log2(buf_geom.sector_size);
|
/external/skia/src/core/ |
SkCordic.cpp | 280 float log2 = (float) f_log / 65536.0f; local 281 float error = fabsf(log - log2); 283 SkDebugf("log error : val = %g ; log = %g ; cordic = %g\n", val, log, log2);
|
/bionic/libm/ |
fake_long_double.c | 55 long double log2l(long double a1) { return log2(a1); }
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
HRTFKernel.cpp | 59 ASSERT(1UL << static_cast<unsigned>(log2(analysisFFTSize)) == analysisFFTSize);
|
/external/eigen/bench/ |
benchFFT.cpp | 80 double mflops = 5.*nfft*log2((double)nfft) / (1e6 * timer.value() / (double)nits );
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
TextureUtils.cpp | 85 SET_ERROR_IF(level > log2(ctx->getMaxTexSize()) ||
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/ |
Android.mk | 29 src/log2.cpp \
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
imports.h | 133 #define log2f(f) ((float) log2(f)) 160 *** LOG2: Log base 2 of float 165 * Based on code from http://www.stereopsis.com/log2.html 167 static inline GLfloat LOG2(GLfloat x) 172 const GLint log2 = ((GLint) exp) - 127; 173 return (GLfloat) log2 * (1.0 / 4.0); /* 4, because of x^4 above */ 179 static inline GLfloat LOG2(GLfloat val) 195 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F))
|
/external/mesa3d/src/mesa/main/ |
imports.h | 133 #define log2f(f) ((float) log2(f)) 160 *** LOG2: Log base 2 of float 165 * Based on code from http://www.stereopsis.com/log2.html 167 static inline GLfloat LOG2(GLfloat x) 172 const GLint log2 = ((GLint) exp) - 127; 173 return (GLfloat) log2 * (1.0 / 4.0); /* 4, because of x^4 above */ 179 static inline GLfloat LOG2(GLfloat val) 195 #define LOG2(x) ((GLfloat) (log(x) * 1.442695F))
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/ |
FFTFrameOpenMAXDLAndroid.cpp | 48 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize)))
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ipp/ |
FFTFrameIPP.cpp | 49 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize)))
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
glX_server_table.py | 32 def log2(value): function 78 bits = log2(opcode)
|
/external/llvm/include/llvm/Target/ |
TargetLibraryInfo.h | 347 /// double log2(double x); 348 log2, enumerator in enum:llvm::LibFunc::Func 699 case LibFunc::log2: case LibFunc::log2f: case LibFunc::log2l:
|
/external/mesa3d/src/mapi/glapi/gen/ |
glX_server_table.py | 32 def log2(value): function 78 bits = log2(opcode)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
Android.mk | 30 src/log2.c \
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 147 #define log2(x) __TGMATH_REAL(x, log2) macro
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/ |
tgmath.h | 147 #define log2(x) __TGMATH_REAL(x, log2) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/ |
tgmath.h | 158 #define log2(x) __TGMATH_REAL(x, log2) macro
|
/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/ |
tgmath.h | 158 #define log2(x) __TGMATH_REAL(x, log2) macro
|