/aosp12/frameworks/base/libs/hwui/utils/ |
H A D | Color.h | 83 return linear <= 0.0031308f ? linear * 12.92f : (powf(linear, 1.0f / 2.4f) * 1.055f) - 0.055f; in OECF_sRGB() 90 return srgb <= 0.04045f ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in EOCF_sRGB()
|
H A D | HostColorSpace.cpp | 55 return powf(x < 0.0f ? 0.0f : x, e); in safePow()
|
/aosp12/system/chre/apps/wifi_world/ |
H A D | wifi_world.cc | 142 powf(2, 8 - lci.latitudeUncertainty)); in logChreRangingResult() 148 powf(2, 8 - lci.longitudeUncertainty)); in logChreRangingResult() 155 powf(2, 21 - lci.altitudeUncertainty)); in logChreRangingResult()
|
/aosp12/system/chre/apps/audio_world/ |
H A D | audio_world.cc | 107 sqrtf(powf(gKissFftOutput[i].r, 2) + powf(gKissFftOutput[i].i, 2)); in handleAudioDataEvent()
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_cpowf.c | 66 r = powf (absa, x); in cpowf()
|
H A D | math_private.h | 868 #define __ieee754_powf powf
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | autocorrection_threshold_utils.cpp | 102 * powf(static_cast<float>(TYPED_LETTER_MULTIPLIER), in calcNormalizedScore()
|
/aosp12/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayUtils.cpp | 282 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor() 283 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
|
H A D | overlayMdssRot.cpp | 391 downscale = (uint32_t) powf(2.0f, floorf(log2f((float)downscale))); in getDownscaleFactor()
|
/aosp12/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayUtils.cpp | 290 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor() 291 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
|
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
H A D | Painting.kt | 177 private fun powf(a: Float, b: Float): Float { regex 188 val newR = Math.max(1f, powf(adjustPressure(s.pressure), 2f).toFloat() * _brushWidth)
|
/aosp12/frameworks/native/libs/vibrator/ |
H A D | ExternalVibrationUtils.cpp | 71 buffer[i] = powf(fabsf(buffer[i] / HAPTIC_MAX_AMPLITUDE_FLOAT), gamma) in applyHapticScale()
|
/aosp12/bionic/benchmarks/ |
H A D | math_benchmark.cpp | 341 f = powf(cin->first, cin->second); in BM_math_powf_speccpu2006() 352 f = powf(f * zero + cin->first, cin->second); in BM_math_powf_speccpu2017_latency() 374 d = powf(d * zero + cin->first, cin->second); in BM_math_pow_speccpu2017_latency()
|
/aosp12/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayUtils.cpp | 294 horDscale = powf(2.0f, ceilf(log2f(horDscale))); in getDecimationFactor() 295 verDscale = powf(2.0f, ceilf(log2f(verDscale))); in getDecimationFactor()
|
/aosp12/bionic/tests/ |
H A D | math_test.cpp | 737 TEST(MATH_TEST, powf) { in TEST() argument 738 ASSERT_TRUE(isnanf(powf(nanf(""), 3.0f))); in TEST() 739 ASSERT_FLOAT_EQ(1.0f, (powf(1.0f, nanf("")))); in TEST() 740 ASSERT_TRUE(isnanf(powf(2.0f, nanf("")))); in TEST() 741 ASSERT_FLOAT_EQ(8.0f, powf(2.0f, 3.0f)); in TEST() 2054 DoMathDataTest<1>(g_powf_intel_data, powf); in TEST()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | forgetting_curve_utils.cpp | 205 * powf(initialProbability / endProbability, in ProbabilityTable()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuRuntimeMath.cpp | 142 EXPORT_F32_FN_F32_F32(powf) in EXPORT_F32_FN_F32_F32() argument
|
H A D | rsCpuIntrinsicBlur.cpp | 88 mFp[r + mIradius] = coeff1 * powf(e, floatR * floatR * coeff2); in ComputeGaussianWeights()
|
/aosp12/bionic/libm/ |
H A D | libm.map.txt | 214 powf;
|
/aosp12/bionic/tests/headers/posix/ |
H A D | math_h.c | 288 FUNCTION(powf, float (*f)(float, float)); in math_h()
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
H A D | hw_tv_drm.cpp | 94 return (50.0f * powf(2.0f, (luminance / 32.0f))); in GetMaxOrAverageLuminance()
|
/aosp12/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.cpp | 444 float playerGain = powf(10.0f, level / 2000.0f); in audioPlayerGainUpdate()
|
/aosp12/bionic/libc/include/ |
H A D | math.h | 198 float powf(float __x, float __y);
|
/aosp12/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
H A D | hw_tv_drm.cpp | 95 return (50.0f * powf(2.0f, (luminance / 32.0f))); in GetMaxOrAverageLuminance()
|
/aosp12/frameworks/native/libs/ui/ |
H A D | ColorSpace.cpp | 54 return powf(x < 0.0f ? 0.0f : x, e); in safePow()
|