Home
last modified time | relevance | path

Searched refs:cosf (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/optimized-routines/math/test/testcases/directed/
Dcosf.tst1 ; cosf.tst - Directed test cases for SP cosine
6 func=cosf op1=7fc00001 result=7fc00001 errno=0
7 func=cosf op1=ffc00001 result=7fc00001 errno=0
8 func=cosf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=cosf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=cosf op1=7f800000 result=7fc00001 errno=EDOM status=i
11 func=cosf op1=ff800000 result=7fc00001 errno=EDOM status=i
12 func=cosf op1=00000000 result=3f800000 errno=0
13 func=cosf op1=80000000 result=3f800000 errno=0
14 ; SDCOMP-26094: check cosf in the cases for which the range reducer
[all …]
/third_party/ffmpeg/libavfilter/
Daf_surround.c334 *y = av_clipf(cosf(a) * r, -1, 1); in stereo_transform()
342 *y = av_clipf(cosf(a*M_PI_2+M_PI)*cosf(M_PI_2-p/M_PI)*M_LN10+1, -1, 1); in stereo_position()
349 *lfe_mag = n < lowcut ? 1.f : .5f*(1.f+cosf(M_PI*(lowcut-n)/(lowcut-highcut))); in get_lfe()
373 dst[2 * n ] = mag * cosf(c_phase); in upmix_1_0()
394 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_stereo()
397 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_stereo()
421 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_2_1()
424 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_2_1()
427 dstlfe[2 * n ] = lfe_mag * cosf(c_phase); in upmix_2_1()
450 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_3_0()
[all …]
Dvsrc_gradients.c268 s->fx0 = (s->x0 - w2) * cosf(angle) - (s->y0 - h2) * sinf(angle) + w2; in activate()
269 s->fy0 = (s->x0 - w2) * sinf(angle) + (s->y0 - h2) * cosf(angle) + h2; in activate()
271 s->fx1 = (s->x1 - w2) * cosf(angle) - (s->y1 - h2) * sinf(angle) + w2; in activate()
272 s->fy1 = (s->x1 - w2) * sinf(angle) + (s->y1 - h2) * cosf(angle) + h2; in activate()
Dvf_v360.c1143 theta_threshold = atanf(cosf(phi_norm)); in xyz_to_cube()
1749 const float cos_phi = cosf(phi); in equirect_to_xyz()
1751 const float cos_theta = cosf(theta); in equirect_to_xyz()
1778 const float cos_phi = cosf(phi); in hequirect_to_xyz()
1780 const float cos_theta = cosf(theta); in hequirect_to_xyz()
1828 vec[2] = cosf(theta); in stereographic_to_xyz()
1934 vec[2] = cosf(theta); in equisolid_to_xyz()
2039 vec[2] = cosf(theta); in orthographic_to_xyz()
2305 const float cos_phi = cosf(phi); in mercator_to_xyz()
2445 const float z = sqrtf(1.f + sqrtf(1.f - vec[1] * vec[1]) * cosf(theta * 0.5f)); in xyz_to_hammer()
[all …]
/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/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()
39 j+2 == numPoints ? 1 : cosf((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/flutter/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()
/third_party/optimized-routines/math/test/
Drunulp.sh111 t cosf 0 0xffff0000 10000
112 t cosf 0x1p-14 0x1p54 50000
113 t cosf -0x1p-14 -0x1p54 50000
301 cosf __s_cosf $runs
302 cosf __v_cosf $runv
303 cosf __vn_cosf $runvn
304 cosf _ZGVnN4v_cosf $runvn
Dmathbench.c273 F (cosf, 0.1, 0.7)
274 F (cosf, 0.8, 3.1)
275 F (cosf, -3.1, 3.1)
276 F (cosf, 3.3, 33.3)
277 F (cosf, 100, 1000)
278 F (cosf, 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/ffmpeg/libavcodec/
Daacps_tablegen.h154 HA[iid][icc][0] = c2 * cosf(beta + alpha); in ps_tableinit()
155 HA[iid][icc][1] = c1 * cosf(beta - alpha); in ps_tableinit()
167 alpha_c = cosf(alpha); in ps_tableinit()
169 gamma_c = cosf(gamma); in ps_tableinit()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
Dfractal.cpp53 0.5f + 0.5f * cosf(v + 0 * PI_2_THIRDS), in colorize()
54 0.5f + 0.5f * cosf(v + 1 * PI_2_THIRDS), in colorize()
55 0.5f + 0.5f * cosf(v + 2 * PI_2_THIRDS), in colorize()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DRoundedManchesterEncoder.h41 float sample = -cosf(phase); in RoundedManchesterEncoder()
53 float sample = cosf(phase); in RoundedManchesterEncoder()
/third_party/optimized-routines/math/
Dv_cosf.c37 return v_call_f32 (cosf, x, y, cmp); in specialcase()
42 V_NAME(cosf) (v_f32_t x) in V_NAME() argument
/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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVecFuncs.def49 TLI_DEFINE_VECFUNC("cosf", "vcosf", 4)
113 TLI_DEFINE_VECFUNC("cosf", "__cosf4_massv", 4)
164 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf4", 4)
165 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf8", 8)
166 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf16", 16)
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
Dtorus.h45 float cosV = cosf(angleV); in GenerateTorus()
50 float cosU = cosf(angleU); in GenerateTorus()
/third_party/flutter/skia/third_party/externals/angle2/samples/particle_system/
DParticleSystem.cpp98 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize()
104 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
/third_party/skia/third_party/externals/angle2/samples/particle_system/
DParticleSystem.cpp99 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize()
105 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c302 WRAP(cosf)
308 #define cosf wrap_cosf macro
325 {"cos", &lp_build_cos, &cosf, sincos_values, ARRAY_SIZE(sincos_values), 20.0 },

12345