Home
last modified time | relevance | path

Searched refs:powf (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/optimized-routines/math/test/testcases/directed/
Dpowf.tst1 ; powf.tst - Directed test cases for powf
6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i
12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i
13 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i
14 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i
[all …]
/third_party/ffmpeg/libavfilter/
Daf_surround.c371 mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_1_0()
391 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_stereo()
392 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_stereo()
418 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_2_1()
419 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_2_1()
446 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_3_0()
447 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_3_0()
448 r_mag = powf(.5f * (-x + 1.f), s->fr_x) * powf((y + 1.f) * .5f, s->fr_y) * mag_total; in upmix_3_0()
478 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_3_1()
479 l_mag = powf(.5f * ( x + 1.f), s->fl_x) * powf((y + 1.f) * .5f, s->fl_y) * mag_total; in upmix_3_1()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dpower_fp16.h37 return powf(x, *(float16_t *)exponent); in StdPowerScalarFp16()
43 result[0] = powf(x[0], *(float16_t *)exponent); in StdPowerSimdFp16()
44 result[1] = powf(x[1], *(float16_t *)exponent); in StdPowerSimdFp16()
45 result[2] = powf(x[2], *(float16_t *)exponent); in StdPowerSimdFp16()
46 result[3] = powf(x[3], *(float16_t *)exponent); in StdPowerSimdFp16()
47 result[4] = powf(x[4], *(float16_t *)exponent); in StdPowerSimdFp16()
48 result[5] = powf(x[5], *(float16_t *)exponent); in StdPowerSimdFp16()
49 result[6] = powf(x[6], *(float16_t *)exponent); in StdPowerSimdFp16()
50 result[7] = powf(x[7], *(float16_t *)exponent); in StdPowerSimdFp16()
/third_party/optimized-routines/math/test/
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_powf $runvn
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_minkowski_distance_f32.c113 return (powf(vecAddAcrossF32Mve(sumV), (1.0f / (float32_t) order))); in arm_minkowski_distance_f32()
154 sum += powf(fabsf(*pA++ - *pB++),order); in arm_minkowski_distance_f32()
160 return(powf(sum,(1.0f/order))); in arm_minkowski_distance_f32()
175 sum += powf(fabsf(pA[i] - pB[i]),order); in arm_minkowski_distance_f32()
179 return(powf(sum,(1.0f/order))); in arm_minkowski_distance_f32()
Darm_minkowski_distance_f16.c106 return (powf(vecAddAcrossF16Mve(sumV), (1.0f / (float16_t) order))); in arm_minkowski_distance_f16()
121 sum += (_Float16)powf(fabsf(pA[i] - pB[i]),order); in arm_minkowski_distance_f16()
125 return(powf(sum,(1.0f/order))); in arm_minkowski_distance_f16()
/third_party/boost/boost/gil/extension/toolbox/color_spaces/
Dlab.hpp59 1.f * powf(p, 3.f); in operator ()()
62 0.95047f * powf((p + in operator ()()
66 1.08883f * powf((p - in operator ()()
85 return powf(value, 1.f/3.f); in forward_companding()
Dxyz.hpp56 return powf((( sample + 0.055f ) / 1.055f ), 2.4f); in inverse_companding()
106 return ( 1.055f * powf( sample, 1.f/2.4f ) - 0.055f ); in companding()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dlocal_response_norm_fp32.c39 out_data[j] = in_data[j] * (float)(powf(sum * alpha + bias, -beta)); in LocalResponseNorm()
47 out_data[depth_radius] = in_data[depth_radius] * (powf(tmp_sum * alpha + bias, -beta)); in LocalResponseNorm()
51 out_data[j] = in_data[j] * (float)(powf(tmp_sum * alpha + bias, -beta)); in LocalResponseNorm()
63 out_data[j] = in_data[j] * (float)(powf(sum * alpha + bias, -beta)); in LocalResponseNorm()
Dpower_fp32.h36 static inline float StdPowerScalar(float x, const float *exponent) { return powf(x, *exponent); } in StdPowerScalar()
42 MS_F32X4_GETI(result, i) = powf(MS_F32X4_GETI(x, i), *exponent); in StdPowerSimd()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_types.h815 powf(1.0f * coeffnum / coeffden, 1.0f * expden / expnum));
859 return _mm_set_ps(powf(f[3], Exp), powf(f[2], Exp), powf(f[1], Exp), powf(f[0], Exp));
929 powf(1.0f * coeffnum / coeffden, 1.0f * expden / expnum);
975 return _simd16_set_ps(powf(f[15], exp),
976 powf(f[14], exp),
977 powf(f[13], exp),
978 powf(f[12], exp),
979 powf(f[11], exp),
980 powf(f[10], exp),
981 powf(f[9], exp),
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dsquare_sum_all_impl.cu27 float ret = powf(__half2float(input_addr_0[i]), power); in SquareSumAllKernel()
30 float ret = powf(__half2float(input_addr_1[i - split]), power); in SquareSumAllKernel()
44 float ret = powf(input_addr_0[i], power); in SquareSumAllKernel()
47 float ret = powf(input_addr_1[i - split], power); in SquareSumAllKernel()
/third_party/mesa3d/src/util/
Dformat_srgb.h65 return powf((cs + 0.055) / 1.055f, 2.4f); in util_format_srgb_to_linear_float()
79 return 1.055f * powf(cl, 0.41666f) - 0.055f; in util_format_linear_to_srgb_float()
/third_party/ffmpeg/libavutil/
Dlibm.h49 #undef powf
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/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/common/
Datomcrdtocv_impl.cu93 g_angular_lin = g_angular_lin + powf(1. + cosf(theta_jik - Thetas), Zeta) * in G_Angular()
94 … expf(-Eta * powf(0.5 * (rij + rik) - Rs, 2.)) * fc(rij) * fc(rik); in G_Angular()
103 g_angular[i] = powf(2., 1. - Zeta) * g_angular_lin; in G_Angular()
/third_party/optimized-routines/math/
Dpowf.c132 powf (float x, float y) in powf() function
219 strong_alias (powf, __powf_finite)
220 hidden_alias (powf, __ieee754_powf)
Dv_powf.c143 return v_call2_f32 (powf, x, y, ret, cmp); in specialcase()
148 V_NAME(powf) (v_f32_t x, v_f32_t y) in V_NAME() argument
/third_party/flutter/skia/src/gpu/effects/
DGrSRGBEffect.cpp94 return (srgb <= 0.04045f) ? srgb / 12.92f : powf((srgb + 0.055f) / 1.055f, 2.4f); in srgb_to_linear()
97 return (linear <= 0.0031308) ? linear * 12.92f : 1.055f * powf(linear, 1.f / 2.4f) - 0.055f; in linear_to_srgb()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dpam.h122 r = powf(r, gamma/internal_gamma); in to_rgb()
123 g = powf(g, gamma/internal_gamma); in to_rgb()
124 b = powf(b, gamma/internal_gamma); in to_rgb()
/third_party/ffmpeg/libavcodec/
Datrac.c80 gctx->gain_tab1[i] = powf(2.0, id2exp_offset - i); in ff_atrac_init_gain_compensation()
84 gctx->gain_tab2[i + 15] = powf(2.0, -1.0f / gctx->loc_size * i); in ff_atrac_init_gain_compensation()
/third_party/flutter/skia/tests/
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()
/third_party/skia/tests/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVecFuncs.def73 TLI_DEFINE_VECFUNC("powf", "__powf4_massv", 4)
180 TLI_DEFINE_VECFUNC("powf", "__svml_powf4", 4)
181 TLI_DEFINE_VECFUNC("powf", "__svml_powf8", 8)
182 TLI_DEFINE_VECFUNC("powf", "__svml_powf16", 16)
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/
DExponentialShape.cpp31 outputs[i] = mMinimum * powf(mRatio, normalizedPhase); in onProcess()
/third_party/optimized-routines/math/test/testcases/random/
Dfloat.tst15 test powf 10000

12345