Home
last modified time | relevance | path

Searched refs:powf (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
H A Daf_surround.c376 mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_1_0()
396 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_stereo()
397 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_stereo()
423 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_2_1()
424 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf(( in upmix_2_1()
[all...]
H A Dwindow_func.h184 lut[n] = -2 * powf(-1 + 2 * x, 3); in generate_window_func()
186 lut[n] = 2 * powf(1 + 2 * x, 3); in generate_window_func()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_pow_test.cpp53 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the powf interface.
60 bool testResult = FloatUlpCmp(g_powfData[i].expected, powf(g_powfData[i].input1, g_powfData[i].input2), 1); in HWTEST_F()
72 EXPECT_TRUE(isnan(powf(nanf(""), 3.0f))); in HWTEST_F()
73 EXPECT_TRUE(isnan(powf(2.0f, nanf("")))); in HWTEST_F()
83 EXPECT_DOUBLE_EQ(1.0f, (powf(1.0f, nanf("")))); in HWTEST_F()
84 EXPECT_DOUBLE_EQ(9.0f, powf(3.0f, 2.0f)); in HWTEST_F()
/third_party/optimized-routines/math/test/
H A Drunulp.sh126 t powf 0x1p-1 0x1p1 x 0x1p-7 0x1p7 50000
127 t powf 0x1p-1 0x1p1 x -0x1p-7 -0x1p7 50000
128 t powf 0x1p-70 0x1p70 x 0x1p-1 0x1p1 50000
129 t powf 0x1p-70 0x1p70 x -0x1p-1 -0x1p1 50000
130 t powf 0x1.ep-1 0x1.1p0 x 0x1p8 0x1p14 50000
131 t powf 0x1.ep-1 0x1.1p0 x -0x1p8 -0x1p14 50000
306 powf __s_powf $runs
307 powf __v_powf $runv
308 powf __vn_powf $runvn
309 powf _ZGVnN4vv_pow
[all...]
H A Dmathbench.c180 return powf (x, x); in xypowf()
192 return powf (x, 23.4f); in xpowf()
204 return powf (2.34f, x); in ypowf()
258 {"powf", 'f', 0, 0.01, 11.1, {.f = xypowf}},
/third_party/rust/crates/minimal-lexical/src/
H A Dnum.rs6 use crate::libm::{powd, powf};
231 return powf(10.0f32, exponent as f32); in pow_fast_path()
300 pub fn powf(x: f32, y: f32) -> f32 { in powf() functions
301 x.powf(y) in powf()
307 x.powf(y) in powd()
/third_party/mesa3d/src/util/
H A Dformat_srgb.h64 return powf((cs + 0.055) / 1.055f, 2.4f); in util_format_srgb_to_linear_float()
78 return 1.055f * powf(cl, 0.41666f) - 0.055f; in util_format_linear_to_srgb_float()
/third_party/ffmpeg/libavutil/
H A Dlibm.h49 #undef powf macro
50 #define powf(x, y) ((float)pow(x, y)) macro
63 return x < 0 ? -powf(-x, 1.0 / 3.0) : powf(x, 1.0 / 3.0); in cbrtf()
/third_party/optimized-routines/math/
H A Dpowf.c132 powf (float x, float y) in powf() function
219 strong_alias (powf, __powf_finite)
220 hidden_alias (powf, __ieee754_powf)
H A Dv_powf.c2 * Single-precision vector powf function.
143 return v_call2_f32 (powf, x, y, ret, cmp); in specialcase()
148 V_NAME(powf) (v_f32_t x, v_f32_t y) in powf() function
/third_party/lame/libmp3lame/
H A Dquantize_pvt.c227 ath = powf(10.0f, ath * 0.1f); in ATHmdct()
376 adjust = powf(10.f, db * 0.1f); in iteration_init()
381 adjust = powf(10.f, db * 0.1f); in iteration_init()
386 adjust = powf(10.f, db * 0.1f); in iteration_init()
391 adjust = powf(10.f, db * 0.1f); in iteration_init()
398 adjust = powf(10.f, db * 0.1f); in iteration_init()
403 adjust = powf(10.f, db * 0.1f); in iteration_init()
408 adjust = powf(10.f, db * 0.1f); in iteration_init()
413 adjust = powf(10.f, db * 0.1f); in iteration_init()
573 return powf(1 in athAdjust()
[all...]
H A Dmachine.h182 # define powf pow macro
/third_party/ffmpeg/libavcodec/
H A Datrac.c78 gctx->gain_tab1[i] = powf(2.0, id2exp_offset - i); in ff_atrac_init_gain_compensation()
82 gctx->gain_tab2[i + 15] = powf(2.0, -1.0f / gctx->loc_size * i); in ff_atrac_init_gain_compensation()
H A Dac3.h74 #define AC3_DYNAMIC_RANGE(x) (powf(x, s->drc_scale))
H A Daac_defines.h98 #define GET_GAIN(x, y) powf((x), -(y))
/third_party/skia/tests/
H A DApplyGammaTest.cpp38 return 1.055f * powf(linear, 1.f / 2.4f) - 0.055f; in linear_to_srgb()
47 return powf((srgb + 0.055f) / 1.055f, 2.4f); in srgb_to_linear()
H A DParametricStageTest.cpp32 : powf(in[i] * fn.a + fn.b, fn.g) + fn.e; in check_error()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/
H A DExponentialShape.cpp31 outputs[i] = mMinimum * powf(mRatio, normalizedPhase); in onProcess()
/third_party/astc-encoder/Utils/
H A Dastc_blend_test.cpp45 return powf((a + 0.055f) * (1.0f / 1.055f), 2.4f); in srgb_to_linear()
61 return 1.055f * powf(a, 1.0f / 2.4f) - 0.055f; in linear_to_srgb()
/third_party/musl/libc-test/src/math/
H A Dpowf.c6 #include "ucb/powf.h"
7 #include "sanity/powf.h"
8 #include "special/powf.h"
27 y = powf(p->x, p->x2); in main()
36 printf("%s:%d: bad fp exception: %s powf(%a,%a)=%a, want %s", in main()
43 printf("%s:%d: %s powf(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_srgb.c195 exp2f_c * powf(coeff_f, 1.0f / exp_f)); in lp_build_linear_to_srgb()
230 powf(1.055f * 255.0f, 4.0f)); in lp_build_linear_to_srgb()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DMath.hpp366 return powf((c + 0.055f) * 0.9478673f, 2.4f); // 1.0f / 1.055f in sRGBtoLinear()
378 return 1.055f * powf(c, 0.4166667f) - 0.055f; // 1.0f / 2.4f in linearToSRGB()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DMath.hpp334 return powf((c + 0.055f) / 1.055f, 2.4f); in sRGBtoLinear()
346 return 1.055f * powf(c, 1.0f / 2.4f) - 0.055f; in linearToSRGB()
/third_party/glfw/src/
H A Dnull_monitor.c131 value = powf(value, 1.f / gamma) * 65535.f + 0.5f; in _glfwGetGammaRampNull()
/third_party/optimized-routines/math/include/
H A Dmathlib.h15 float powf (float, float);

Completed in 15 milliseconds

1234