Home
last modified time | relevance | path

Searched refs:sinf (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/optimized-routines/math/test/testcases/directed/
Dsinf.tst1 ; sinf.tst - Directed test cases for SP sine
7 func=sinf op1=7fc00001 result=7fc00001 errno=0
8 func=sinf op1=ffc00001 result=7fc00001 errno=0
9 func=sinf op1=7f800001 result=7fc00001 errno=0 status=i
10 func=sinf op1=ff800001 result=7fc00001 errno=0 status=i
11 func=sinf op1=7f800000 result=7fc00001 errno=EDOM status=i
12 func=sinf op1=ff800000 result=7fc00001 errno=EDOM status=i
13 func=sinf op1=00000000 result=00000000 errno=0
14 func=sinf op1=80000000 result=80000000 errno=0
16 func=sinf op1=c70d39a1 result=be37fad5.7ed errno=0
[all …]
/third_party/ffmpeg/libavfilter/
Daf_surround.c338 *x = av_clipf(sinf(a) * r, -1.f, 1.f); in stereo_transform()
379 dst[2 * n + 1] = mag * sinf(c_phase); in upmix_1_0()
400 dstl[2 * n + 1] = l_mag * sinf(l_phase); in upmix_stereo()
403 dstr[2 * n + 1] = r_mag * sinf(r_phase); in upmix_stereo()
427 dstl[2 * n + 1] = l_mag * sinf(l_phase); in upmix_2_1()
430 dstr[2 * n + 1] = r_mag * sinf(r_phase); in upmix_2_1()
433 dstlfe[2 * n + 1] = lfe_mag * sinf(c_phase); in upmix_2_1()
456 dstl[2 * n + 1] = l_mag * sinf(l_phase); in upmix_3_0()
459 dstr[2 * n + 1] = r_mag * sinf(r_phase); in upmix_3_0()
462 dstc[2 * n + 1] = c_mag * sinf(c_phase); in upmix_3_0()
[all …]
Daf_acontrast.c57 dst[c] = sinf(d + contrast * sinf(d * 4)); in filter_flt()
98 dst[n] = sinf(d + contrast * sinf(d * 4)); in filter_fltp()
Dvf_v360.c544 coeffs[i] = sinf(x) * sinf(x / 2.f) / (x * x / 2.f); in calculate_lanczos_coeffs()
1787 const float sin_phi = sinf(phi); in equirect_to_xyz()
1789 const float sin_theta = sinf(theta); in equirect_to_xyz()
1816 const float sin_phi = sinf(phi); in hequirect_to_xyz()
1818 const float sin_theta = sinf(theta); in hequirect_to_xyz()
1863 const float sin_theta = sinf(theta); in stereographic_to_xyz()
1943 s->flat_range[0] = sinf(s->h_fov * M_PI / 720.f); in prepare_equisolid_out()
1944 s->flat_range[1] = sinf(s->v_fov * M_PI / 720.f); in prepare_equisolid_out()
1967 const float sin_theta = sinf(theta); in equisolid_to_xyz()
1987 s->iflat_range[0] = sinf(FFMIN(s->ih_fov, 359.f) * M_PI / 720.f); in prepare_equisolid_in()
[all …]
Dvsrc_mandelbrot.c328 …c = lrintf((sinf(zr)+1)*127) + lrintf((sinf(zr/1.234)+1)*127)*256*256 + lrintf((sinf(zr/100)+1)*12… in draw_mandelbrot()
332 …c = lrintf((sinf(zr)+1)*127) + lrintf((sinf(zr/1.234)+1)*127)*256*256 + lrintf((sinf(zr/100)+1)*12… in draw_mandelbrot()
/third_party/skia/gm/
Dmandoline.cpp173 mandoline.reset({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw()
175 {-cosf(SkDegreesToRadians(60)), sinf(SkDegreesToRadians(60))}, .5f); in onDraw()
176 mandoline.sliceConic({-cosf(SkDegreesToRadians(120))*2, sinf(SkDegreesToRadians(120))*2}, in onDraw()
179 mandoline.sliceLine({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw()
191 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2}, in onDraw()
192 {cosf(theta2), sinf(theta2)}); in onDraw()
Dbatchedconvexpaths.cpp37 path.cubicTo(cosf(j/numPoints * k2PI), sinf(j/numPoints * k2PI), in onDraw()
38 cosf((j+1)/numPoints * k2PI), sinf((j+1)/numPoints * k2PI), in onDraw()
40 j+2 == numPoints ? 0 : sinf((j+2)/numPoints * k2PI)); in onDraw()
Dlargeclippedpath.cpp36 flower.quadTo(cosf(c)*2, sinf(c)*2, cosf(theta), sinf(theta)); in draw_clipped_flower()
/third_party/musl/src/complex/
Dcsinhf.c53 return CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y)); in csinhf()
59 return CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y)); in csinhf()
67 return CMPLXF(h * cosf(y), h * h * sinf(y)); in csinhf()
86 return CMPLXF(x * cosf(y), INFINITY * sinf(y)); in csinhf()
Dccoshf.c53 return CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y)); in ccoshf()
59 return CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y)); in ccoshf()
67 return CMPLXF(h * h * cosf(y), h * sinf(y)); in ccoshf()
86 return CMPLXF((x * x) * cosf(y), x * sinf(y)); in ccoshf()
Dcexpf.c51 return CMPLXF(cosf(y), sinf(y)); in cexpf()
81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
Dctanhf.c49 return CMPLXF(x, copysignf(0, isinf(y) ? y : sinf(y) * cosf(y))); in ctanhf()
57 return CMPLXF(copysignf(1, x), 4 * sinf(y) * cosf(y) * exp_mx * exp_mx); in ctanhf()
/third_party/optimized-routines/math/test/
Drunulp.sh106 t sinf 0 0xffff0000 10000
107 t sinf 0x1p-14 0x1p54 50000
108 t sinf -0x1p-14 -0x1p54 50000
296 sinf __s_sinf $runs
297 sinf __v_sinf $runv
298 sinf __vn_sinf $runvn
299 sinf _ZGVnN4v_sinf $runvn
Dmathbench.c267 F (sinf, 0.1, 0.7)
268 F (sinf, 0.8, 3.1)
269 F (sinf, -3.1, 3.1)
270 F (sinf, 3.3, 33.3)
271 F (sinf, 100, 1000)
272 F (sinf, 1e6, 1e32)
/third_party/skia/tests/
DTriangulatingPathRendererTests.cpp987 .moveTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST()
988 .lineTo(cosf(SK_ScalarPI/3), sinf(SK_ScalarPI/3)) in DEF_TEST()
989 .lineTo(cosf(SK_ScalarPI), sinf(SK_ScalarPI)) in DEF_TEST()
990 .moveTo(cosf(0), sinf(0)) in DEF_TEST()
991 .lineTo(cosf(2*SK_ScalarPI/3), sinf(2*SK_ScalarPI/3)) in DEF_TEST()
992 .lineTo(cosf(-2*SK_ScalarPI/3), sinf(-2*SK_ScalarPI/3))); in DEF_TEST()
994 .moveTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST()
995 .lineTo(cosf(SK_ScalarPI/3), sinf(SK_ScalarPI/3)) in DEF_TEST()
996 .lineTo(cosf(SK_ScalarPI), sinf(SK_ScalarPI)) in DEF_TEST()
997 .lineTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST()
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DGlitchAnalyzer.h202 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
226 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
239 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
271 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
323 float sinOut = sinf(mOutputPhase); in processOutputFrame()
/third_party/ffmpeg/libavcodec/
Daacps_tablegen.h156 HA[iid][icc][2] = c2 * sinf(beta + alpha); in ps_tableinit()
157 HA[iid][icc][3] = c1 * sinf(beta - alpha); in ps_tableinit()
168 alpha_s = sinf(alpha); in ps_tableinit()
170 gamma_s = sinf(gamma); in ps_tableinit()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_sin_test.cpp48 bool testResult = FloatUlpCmp(g_sinfData[i].expected, sinf(g_sinfData[i].input), 1);
60 EXPECT_FLOAT_EQ(0.0f, sinf(0.0f));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVecFuncs.def47 TLI_DEFINE_VECFUNC("sinf", "vsinf", 4)
109 TLI_DEFINE_VECFUNC("sinf", "__sinf4_massv", 4)
148 TLI_DEFINE_VECFUNC("sinf", "__svml_sinf4", 4)
149 TLI_DEFINE_VECFUNC("sinf", "__svml_sinf8", 8)
150 TLI_DEFINE_VECFUNC("sinf", "__svml_sinf16", 16)
/third_party/skia/modules/svg/src/
DSkSVGFeLightSource.cpp19 const float sinAzimuth = sinf(azimuthRad), cosAzimuth = cosf(azimuthRad); in computeDirection()
20 const float sinElevation = sinf(elevationRad), cosElevation = cosf(elevationRad); in computeDirection()
/third_party/optimized-routines/math/
Dv_sinf.c36 return v_call_f32 (sinf, x, y, cmp); in specialcase()
41 V_NAME(sinf) (v_f32_t x) in V_NAME() argument
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
Dtorus.h46 float sinV = sinf(angleV); in GenerateTorus()
51 float sinU = sinf(angleU); in GenerateTorus()
/third_party/skia/third_party/externals/angle2/util/
Dgeometry_utils.cpp38 Vector3 direction(sinf(angleStep * i) * sinf(angleStep * j), cosf(angleStep * i), in CreateSphereGeometry()
39 sinf(angleStep * i) * cosf(angleStep * j)); in CreateSphereGeometry()
/third_party/skia/third_party/externals/angle2/samples/particle_system/
DParticleSystem.cpp98 mParticles[i].endPosition.x() = sinf(endAngle) * endRadius; in initialize()
104 mParticles[i].startPosition.x() = sinf(startAngle) * startRadius; in initialize()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c301 WRAP(sinf)
307 #define sinf wrap_sinf macro
324 {"sin", &lp_build_sin, &sinf, sincos_values, ARRAY_SIZE(sincos_values), 20.0 },

12345