Home
last modified time | relevance | path

Searched refs:lg2 (Results 1 – 16 of 16) sorted by relevance

/external/libpng/
Dpng.c3486 unsigned int lg2 = 0;
3497 lg2 = 4, x <<= 4;
3500 lg2 += 2, x <<= 2;
3503 lg2 += 1, x <<= 1;
3506 return (png_int_32)((lg2 << 16) + ((png_8bit_l2[x-128]+32768)>>16));
3542 unsigned int lg2 = 0;
3549 lg2 = 8, x <<= 8;
3552 lg2 += 4, x <<= 4;
3555 lg2 += 2, x <<= 2;
3558 lg2 += 1, x <<= 1;
[all …]
/external/aac/libSBRenc/src/
Dnf_est.cpp535 FIXP_DBL tmp, ratio, lg2; in FDKsbrEnc_resetSbrNoiseFloorEstimate() local
539 lg2 = fLog2(ratio, ratio_e, &qlg2); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
540 tmp = fMult((FIXP_DBL)(h_sbrNoiseFloorEstimate->noiseBands<<24), lg2); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c31 int32_t zeros, lg2; in WebRtcIsacfix_Log2Q8() local
38 lg2= (WEBRTC_SPL_LSHIFT_W32((31-zeros), 8)+frac); in WebRtcIsacfix_Log2Q8()
39 return lg2; in WebRtcIsacfix_Log2Q8()
Ddecode_plc.c96 int32_t zeros, lg2; in log2_Q8_T() local
103 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_T()
104 return lg2; in log2_Q8_T()
Dlpc_masking_model.c349 int32_t zeros, lg2; in log2_Q8_LPC() local
357 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_LPC()
358 return lg2; in log2_Q8_LPC()
/external/fdlibm/
De_pow.c89 lg2 = 6.93147180559945286227e-01, /* 0x3FE62E42, 0xFEFA39EF */ variable
297 v = (p_l-(t-p_h))*lg2+t*lg2_l;
/external/qemu/distrib/sdl-1.2.15/src/video/
De_pow.h85 lg2 = 6.93147180559945286227e-01, /* 0x3FE62E42, 0xFEFA39EF */ variable
290 v = (p_l-(t-p_h))*lg2+t*lg2_l;
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c40 WebRtc_Word32 zeros, lg2; in Log2Q8() local
47 lg2= (WEBRTC_SPL_LSHIFT_W32((31-zeros), 8)+frac); in Log2Q8()
48 return lg2; in Log2Q8()
Ddecode_plc.c96 WebRtc_Word32 zeros, lg2; in log2_Q8_T() local
103 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_T()
104 return lg2; in log2_Q8_T()
Dlpc_masking_model.c349 WebRtc_Word32 zeros, lg2; in log2_Q8_LPC() local
357 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_LPC()
358 return lg2; in log2_Q8_LPC()
/external/valgrind/main/memcheck/tests/x86/
Dmore_x86_fp.c131 TEST(lg2); in test_fconst()
/external/valgrind/main/memcheck/tests/amd64/
Dmore_x87_fp.c141 TEST(lg2); in test_fconst()
/external/valgrind/main/VEX/test/
Dtest-amd64.c661 TEST(lg2); in test_fconst()
Dtest-i386.c623 TEST(lg2); in test_fconst()
/external/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td377 def INT_NVVM_LG2_APPROX_FTZ_F : F_MATH_1<"lg2.approx.ftz.f32 \t$dst, $src0;",
379 def INT_NVVM_LG2_APPROX_F : F_MATH_1<"lg2.approx.f32 \t$dst, $src0;",
381 def INT_NVVM_LG2_APPROX_D : F_MATH_1<"lg2.approx.f64 \t$dst, $src0;",
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2022 unsigned lg2 = N1C->getAPIntValue().countTrailingZeros(); in visitSDIV() local
2034 DAG.getConstant(VT.getScalarSizeInBits() - lg2, in visitSDIV()
2040 DAG.getConstant(lg2, getShiftAmountTy(ADD.getValueType()))); in visitSDIV()