/external/mesa3d/src/glsl/builtins/ir/ |
log2 | 1 ((function log2 5 ((return (expression float log2 (var_ref arg0))))) 10 ((return (expression vec2 log2 (var_ref arg0))))) 15 ((return (expression vec3 log2 (var_ref arg0))))) 20 ((return (expression vec4 log2 (var_ref arg0)))))
|
/external/llvm/test/CodeGen/XCore/ |
log2.ll | 3 ; RUN: grep "bl log2" %t1.s | count 2 4 declare double @llvm.log2.f64(double) 7 %result = call double @llvm.log2.f64(double %F) 11 declare float @llvm.log2.f32(float) 14 %result = call float @llvm.log2.f32(float %F)
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
log2.h | 21 * File : log2.h 22 * Purpose : Computes log2(L_x) 47 void Log2 ( 49 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/ 56 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
log2_tab.h | 22 * File : log2.tab 23 * Purpose : Table for routine Log2().
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
log2.c | 19 * File : log2.c * 20 * Purpose : Computes log2(L_x) * 24 #include "log2.h" 34 #include "log2_tab.h" /* Table for Log2() */ 40 * PURPOSE: Computes log2(L_x, exp), where L_x is positive and 45 * The function Log2(L_x) is approximated by a table and linear 46 * interpolation. The following steps are used to compute Log2(L_x) 59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ 88 * FUNCTION: Log2() [all...] |
dtx.c | 34 #include "log2.h" 194 /* quantize logarithmic energy to 6 bits (-6 : 66 dB) which corresponds to -2:22 in log2(E). */ 200 /* Add 2 in Q8 = 512 to get log2(E) between 0:24 */ 233 /* log2(E) in Q9 (log2(E) lies in between -2:22) */ 238 /* the result corresponds to log2(gain) in Q10 */ 313 Log2(enr, &log_en_e, &log_en_m); 319 /* Find energy per sample by multiplying with 0.0059322, i.e subtract log2(1/0.0059322) = 7.39722 The 322 /* Subtract 3 dB = 0.99658 in log2(E) = 127 in Q7. */ 325 /* Find energy per sample (divide by L_FRAME=256), i.e subtract log2(256) = 8.0 (1024 in Q7) * [all...] |
/frameworks/media/libvideoeditor/lvpp/ |
DummyVideoSource.cpp | 36 #define LOG2 LOGV /*WARNING Logging*/ 46 LOG2("DummyVideoSource::Create "); 57 LOG2("DummyVideoSource::DummyVideoSource constructor START"); 64 LOG2("DummyVideoSource::DummyVideoSource constructor END"); 70 LOG2("DummyVideoSource::~DummyVideoSource"); 77 LOG2("DummyVideoSource::start START, %s", mUri); 87 LOG2("DummyVideoSource::start END"); 96 LOG2("DummyVideoSource::stop START"); 101 LOG2("DummyVideoSource::stop END"); 108 LOG2("DummyVideoSource::getFormat") [all...] |
DummyAudioSource.cpp | 42 #define LOG2 LOGV /*WARNING Logging*/ 62 LOG2("DummyAudioSource::Create "); 83 LOG2("DummyAudioSource::DummyAudioSource constructor START"); 85 LOG2("DummyAudioSource::DummyAudioSource"); 86 LOG2("DummyAudioSource:: mSamplingRate = %d",samplingRate); 87 LOG2("DummyAudioSource:: mChannelCount = %d",channelCount); 88 LOG2("DummyAudioSource:: frameDurationUs = %lld",frameDurationUs); 89 LOG2("DummyAudioSource:: mAudioDurationUs = %lld",mAudioDurationUs); 91 LOG2("DummyAudioSource::DummyAudioSource constructor END"); 97 LOG2("DummyAudioSource::~DummyAudioSource") [all...] |
/bionic/libm/i387/ |
e_exp.S | 40 /* e^x = 2^(x * log2(e)) */ 68 fmulp /* x * log2(e) */ 70 frndint /* int(x * log2(e)) */ 72 fsubrp /* fract(x * log2(e)) */ 73 f2xm1 /* 2^(fract(x * log2(e))) - 1 */ 75 faddp /* 2^(fract(x * log2(e))) */
|
/external/valgrind/main/memcheck/tests/ |
unit_libcbase.c | 417 CHECK( -1 == VG_(log2)(0) ); 418 CHECK( 0 == VG_(log2)(1) ); 419 CHECK( 1 == VG_(log2)(2) ); 420 CHECK( -1 == VG_(log2)(3) ); 421 CHECK( 2 == VG_(log2)(4) ); 422 CHECK( -1 == VG_(log2)(5) ); 423 CHECK( -1 == VG_(log2)(6) ); 424 CHECK( -1 == VG_(log2)(7) ); 425 CHECK( 3 == VG_(log2)(8) ); 427 CHECK( -1 == VG_(log2)( 15) ) [all...] |
/external/webrtc/src/common_audio/vad/main/source/ |
vad_gmm.c | 47 // Calculate expVal ~= exp(-(x-m)^2/(2*std^2)) ~= exp2(-log2(exp(1))*tmp32) 50 // Calculate tmp16 = log2(exp(1))*tmp32 , in Q10 58 // Calculate expVal=log2(-tmp32), in Q10
|
vad_filterbank.c | 212 WebRtc_Word16 zeros, frac, log2; local 228 // 160*log10(enerSum*2^shfts) = 160*log10(2)*log2(enerSum*2^shfts) = 229 // 160*log10(2)*(log2(enerSum) + log2(2^shfts)) = 230 // 160*log10(2)*(log2(enerSum) + shfts) 235 log2 = (WebRtc_Word16)(((31 - zeros) << 10) + frac); 237 *enerlogval = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(kLogConst, log2, 19)
|
/ndk/build/core/ |
ndk-common.sh | 87 # Setup a log file where all log() and log2() output will be sent 126 log2 () function 205 log2 "HOST_ARCH=$HOST_ARCH" 236 log2 "HOST_OS=$HOST_OS" 237 log2 "HOST_EXE=$HOST_EXE" 268 log2 "HOST_TAG=$HOST_TAG" 289 log2 "HOST_NUM_CPUS=$HOST_NUM_CPUS" 299 log2 "BUILD_NUM_CPUS=$BUILD_NUM_CPUS" 311 log2 "Forcing generation of 32-bit host binaries on $HOST_ARCH" 314 log2 "HOST_ARCH=$HOST_ARCH [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
log2.cpp | 30 Filename: /audio/gsm_amr/c/src/log2.c 59 #include "log2.h" 87 FUNCTION NAME: log2() 93 pExponent = pointer to the integer part of Log2 of type Word16 whose 95 pFraction = pointer to the fractional part of Log2 of type Word16 101 pExponent -> integer part of the newly calculated Log2 102 pFraction -> fractional part of the newly calculated Log2 103 pOverflow -> 1 if the log2() operation resulted in saturation 131 [1] log2.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 163 void Log2( [all...] |
log2_norm.cpp | 48 Description: Removed inclusion of "log2.tab" 93 exponent = pointer to the integer part of Log2 (of type Word16) 95 fraction = pointer to the fractional part of Log2 (of type Word16) 99 exponent points to the newly calculated integer part of Log2 100 fraction points to the newly calculated fractional part of Log2 109 table = Log2 table of constants of type Word16 114 The function Log2(L_x) calculates the logarithm of the normalized input 116 interpolation. The following steps are used to compute Log2(L_x): 132 log2.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 140 Word16 *exponent, // (o) : Integer part of Log2. (range: 0<=val<=30 [all...] |
/external/llvm/test/CodeGen/X86/ |
limited-prec.ll | 47 %0 = call float @llvm.log2.f32(float %x) ; <float> [#uses=1] 51 declare float @llvm.log2.f32(float) nounwind readonly
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
mathutil.h | 21 inline int log2(int x) function in namespace:gl
|
/ndk/build/tools/ |
dev-platform-compress.sh | 95 log2 "Comparing $CFILE with $PFILE" 100 log2 "Removing obsolete $DFILE" 103 log2 "Skipping $CFILE" 110 log2 "Copying $SFILE --> $DFILE"
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
msdos_fs.h | 12 #define SECTOR_BITS 9 /* log2(SECTOR_SIZE) */ 14 #define MSDOS_DPB_BITS 4 /* log2(MSDOS_DPB) */ 16 #define MSDOS_DPS_BITS 4 /* log2(MSDOS_DPS) */ 24 #define MSDOS_DIR_BITS 5 /* log2(sizeof(struct msdos_dir_entry)) */
|
/external/flac/libFLAC/ia32/ |
fixed_asm.nasm | 219 fyl2x ; ST = log2(ln2*total_error_0/data_len) data_len 220 fstp dword [ebx] ; residual_bits_per_sample[0] = log2(ln2*total_error_0/data_len) ST = data_len 235 fyl2x ; ST = log2(ln2*total_error_1/data_len) data_len 236 fstp dword [ebx + 4] ; residual_bits_per_sample[1] = log2(ln2*total_error_1/data_len) ST = data_len 250 fyl2x ; ST = log2(ln2*total_error_2/data_len) data_len 251 fstp dword [ebx + 8] ; residual_bits_per_sample[2] = log2(ln2*total_error_2/data_len) ST = data_len 265 fyl2x ; ST = log2(ln2*total_error_3/data_len) data_len 266 fstp dword [ebx + 12] ; residual_bits_per_sample[3] = log2(ln2*total_error_3/data_len) ST = data_len 280 fyl2x ; ST = log2(ln2*total_error_4/data_len) data_len 281 fstp dword [ebx + 16] ; residual_bits_per_sample[4] = log2(ln2*total_error_4/data_len) ST = data_le [all...] |
/external/webrtc/src/modules/audio_processing/aec/main/source/ |
aec_core_sse2.c | 223 // a^b = exp2(b * log2(a)) 224 // exp2(x) and log2(x) are calculated using polynomial approximations. 227 // Calculate log2(x), x = a. 229 // To calculate log2(x), we decompose x like this: 234 // log2(x) = log2(y) + n 236 // log2(y) in a small range can be approximated, this code uses an order 270 // Approximate log2(y) ~= (y - 1) * pol5(y). 302 // b * log2(a) 305 // Calculate exp2(x), x = b * log2(a) [all...] |
/bionic/libm/src/ |
e_pow.c | 20 * 1. Compute and return log2(x) in two pieces: 21 * log2(x) = w1 + w2, 23 * 2. Perform y*log2(x) = n+y' by simulating muti-precision 25 * 3. Return x**y = 2**n*exp(y'*log2) 89 ovt = 8.0085662595372944372e-0017, /* -(1024-log2(ovfl+.5ulp)) */ 241 /* 2/(3log2)*(ss+...) */ 245 z_h = cp_h*p_h; /* cp_h+cp_l = 2/(3*log2) */ 247 /* log2(ax) = (ss+..)*2/(3*log2) = n + dp_h + z_h + z_l */
|
/external/fdlibm/ |
e_pow.c | 20 * 1. Compute and return log2(x) in two pieces: 21 * log2(x) = w1 + w2, 23 * 2. Perform y*log2(x) = n+y' by simulating muti-precision 25 * 3. Return x**y = 2**n*ieee_exp(y'*log2) 92 ovt = 8.0085662595372944372e-0017, /* -(1024-log2(ovfl+.5ulp)) */ 245 /* 2/(3log2)*(ss+...) */ 249 z_h = cp_h*p_h; /* cp_h+cp_l = 2/(3*log2) */ 251 /* log2(ax) = (ss+..)*2/(3*log2) = n + dp_h + z_h + z_l */
|
/external/qemu/android/build/ |
common.sh | 32 log2 () function 72 log2 "CPU=$CPU" 106 log2 "OS=$OS" 107 log2 "EXE=$EXE" 214 log2 "Mingw : Found $MINGW32_CC" 308 log2 "Object : $CC -o $TMPO -c $CFLAGS $TMPC" 316 log2 "Link : $LD -o $TMPE $TMPO $LDFLAGS" 324 log2 "Running: $*" 331 log2 "RunExec : $CC -o $TMPE $CFLAGS $TMPC"
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
e_pow.h | 21 * 1. Compute and return log2(x) in two pieces: 22 * log2(x) = w1 + w2, 24 * 2. Perform y*log2(x) = n+y' by simulating muti-precision 26 * 3. Return x**y = 2**n*exp(y'*log2) 88 ovt = 8.0085662595372944372e-0017, /* -(1024-log2(ovfl+.5ulp)) */ 235 /* 2/(3log2)*(s+...) */ 239 z_h = cp_h*p_h; /* cp_h+cp_l = 2/(3*log2) */ 241 /* log2(ax) = (s+..)*2/(3*log2) = n + dp_h + z_h + z_l */
|