Home
last modified time | relevance | path

Searched refs:cosf (Results 1 - 25 of 89) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
H A Daf_surround.c339 *y = av_clipf(cosf(a) * r, -1.f, 1.f); in stereo_transform()
347 *y = av_clipf(cosf(a*M_PI_2+M_PI)*cosf(M_PI_2-p/M_PI)*M_LN10+1, -1.f, 1.f); in stereo_position()
354 *lfe_mag = n < lowcut ? 1.f : .5f*(1.f+cosf(M_PI*(lowcut-n)/(lowcut-highcut))); in get_lfe()
378 dst[2 * n ] = mag * cosf(c_phase); in upmix_1_0()
399 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_stereo()
402 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_stereo()
426 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_2_1()
429 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_2_1()
432 dstlfe[2 * n ] = lfe_mag * cosf(c_phas in upmix_2_1()
[all...]
H A Dvf_v360.c1155 theta_threshold = atanf(cosf(phi_norm)); in xyz_to_cube()
1788 const float cos_phi = cosf(phi); in equirect_to_xyz()
1790 const float cos_theta = cosf(theta); in equirect_to_xyz()
1817 const float cos_phi = cosf(phi); in hequirect_to_xyz()
1819 const float cos_theta = cosf(theta); in hequirect_to_xyz()
1867 vec[2] = cosf(theta); in stereographic_to_xyz()
1971 vec[2] = cosf(theta); in equisolid_to_xyz()
2072 vec[2] = cosf(theta); in orthographic_to_xyz()
2366 const float cos_phi = cosf(phi); in mercator_to_xyz()
2505 const float z = sqrtf(1.f + sqrtf(1.f - vec[1] * vec[1]) * cosf(thet in xyz_to_hammer()
[all...]
/third_party/musl/src/complex/
H A 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()
H A 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()
H A Dcexpf.c51 return CMPLXF(cosf(y), sinf(y)); in cexpf()
81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
H A 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()
H A D__cexpf.c66 return CMPLXF(cosf(y) * exp_x * scale1 * scale2, in __ldexp_cexpf()
/third_party/skia/gm/
H A Dmandoline.cpp173 mandoline.reset({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))});
175 {-cosf(SkDegreesToRadians(60)), sinf(SkDegreesToRadians(60))}, .5f);
176 mandoline.sliceConic({-cosf(SkDegreesToRadians(120))*2, sinf(SkDegreesToRadians(120))*2},
179 mandoline.sliceLine({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))});
191 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2},
192 {cosf(theta2), sinf(theta2)});
H A Dbatchedconvexpaths.cpp37 path.cubicTo(cosf(j/numPoints * k2PI), sinf(j/numPoints * k2PI),
38 cosf((j+1)/numPoints * k2PI), sinf((j+1)/numPoints * k2PI),
39 j+2 == numPoints ? 1 : cosf((j+2)/numPoints * k2PI),
H A Dlargeclippedpath.cpp36 flower.quadTo(cosf(c)*2, sinf(c)*2, cosf(theta), sinf(theta)); in draw_clipped_flower()
/third_party/optimized-routines/math/test/
H A 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
H A 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/ffmpeg/libavcodec/
H A 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/tests/
H A 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( in DEF_TEST()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_cos_test.cpp41 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the cosf interface.
48 bool testResult = FloatUlpCmp(g_cosfData[i].expected, cosf(g_cosfData[i].input), 1); in HWTEST_F()
55 * @tc.desc: When the parameter of cosf is valid, test the return value of the function.
60 EXPECT_FLOAT_EQ(1.0f, cosf(0.0f)); in HWTEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
H A 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/
H A DRoundedManchesterEncoder.h41 float sample = -cosf(phase); in RoundedManchesterEncoder()
53 float sample = cosf(phase); in RoundedManchesterEncoder()
/third_party/skia/modules/svg/src/
H A 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/
H A Dv_cosf.c37 return v_call_f32 (cosf, x, y, cmp); in specialcase()
42 V_NAME(cosf) (v_f32_t x) in cosf() function
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
H A Dtorus.h45 float cosV = cosf(angleV); in GenerateTorus()
50 float cosU = cosf(angleU); in GenerateTorus()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A 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 },
/third_party/skia/third_party/externals/angle2/samples/particle_system/
H A DParticleSystem.cpp99 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius;
105 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius;
/third_party/alsa-utils/speaker-test/
H A Dst2095.c64 st2095->hp1_a1 = -2.0 * expf(-0.3826835 * st2095->w0t) * cosf(0.9238795 * st2095->w0t); in initialize_st2095_noise()
70 st2095->hp2_a1 = -2.0 * expf(-0.9238795 * st2095->w0t) * cosf(0.3826835 * st2095->w0t); in initialize_st2095_noise()
/third_party/musl/src/math/
H A Dcosf.c26 float cosf(float x) in cosf() function
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dcosf.c26 float cosf(float x) in cosf() function

Completed in 16 milliseconds

1234