/third_party/ffmpeg/libavfilter/ |
H A D | af_surround.c | 338 *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_phas in upmix_3_0() [all...] |
H A D | af_acontrast.c | 57 dst[c] = sinf(d + contrast * sinf(d * 4)); in filter_flt() 98 dst[n] = sinf(d + contrast * sinf(d * 4)); in filter_fltp()
|
H A D | vf_v360.c | 544 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(thet in equisolid_to_xyz() [all...] |
H A D | vsrc_mandelbrot.c | 328 c = lrintf((sinf(zr)+1)*127) + lrintf((sinf(zr/1.234)+1)*127)*256*256 + lrintf((sinf(zr/100)+1)*127)*256; in draw_mandelbrot() 332 c = lrintf((sinf(zr)+1)*127) + lrintf((sinf(zr/1.234)+1)*127)*256*256 + lrintf((sinf(zr/100)+1)*127)*256; in draw_mandelbrot()
|
/third_party/musl/src/complex/ |
H A D | ccoshf.c | 53 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 D | csinhf.c | 53 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 D | cexpf.c | 51 return CMPLXF(cosf(y), sinf(y)); in cexpf() 81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
|
H A D | ctanhf.c | 49 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/ |
H A D | mandoline.cpp | 173 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 D | batchedconvexpaths.cpp | 37 path.cubicTo(cosf(j/numPoints * k2PI), sinf(j/numPoints * k2PI), 38 cosf((j+1)/numPoints * k2PI), sinf((j+1)/numPoints * k2PI), 40 j+2 == numPoints ? 0 : sinf((j+2)/numPoints * k2PI));
|
H A D | largeclippedpath.cpp | 36 flower.quadTo(cosf(c)*2, sinf(c)*2, cosf(theta), sinf(theta)); in draw_clipped_flower()
|
/third_party/optimized-routines/math/test/ |
H A D | runulp.sh | 106 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
|
H A D | mathbench.c | 267 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/ffmpeg/libavcodec/ |
H A D | aacps_tablegen.h | 156 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/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
H A D | GlitchAnalyzer.h | 202 mSinAccumulator += sample * sinf(mInputPhase); 226 double predicted = sinf(mInputPhase) * mMagnitude; 239 mSinAccumulator += sample * sinf(mInputPhase); 271 double predicted = sinf(mInputPhase) * mMagnitude; 323 float sinOut = sinf(mOutputPhase);
|
/third_party/skia/tests/ |
H A D | TriangulatingPathRendererTests.cpp | 987 .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( in DEF_TEST() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_sin_test.cpp | 41 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the sinf interface. 48 bool testResult = FloatUlpCmp(g_sinfData[i].expected, sinf(g_sinfData[i].input), 1); in HWTEST_F() 60 EXPECT_FLOAT_EQ(0.0f, sinf(0.0f)); in HWTEST_F()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeLightSource.cpp | 19 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 D | v_sinf.c | 36 return v_call_f32 (sinf, x, y, cmp); in specialcase() 41 V_NAME(sinf) (v_f32_t x) in sinf() function
|
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
H A D | torus.h | 46 float sinV = sinf(angleV); in GenerateTorus() 51 float sinU = sinf(angleU); in GenerateTorus()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_arit.c | 301 WRAP(sinf) 307 #define sinf wrap_sinf macro 324 {"sin", &lp_build_sin, &sinf, sincos_values, ARRAY_SIZE(sincos_values), 20.0 },
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | geometry_utils.cpp | 38 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/ |
H A D | ParticleSystem.cpp | 98 mParticles[i].endPosition.x() = sinf(endAngle) * endRadius; 104 mParticles[i].startPosition.x() = sinf(startAngle) * startRadius;
|
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/utils/ |
H A D | SineWave.h | 30 return kAmplitude * sinf(mPhasor.incrementPhase()); in operator ()()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
H A D | SineOscillator.cpp | 23 * This calls sinf() so it is not very efficient. 38 *buffer++ = sinf(phase * M_PI) * amplitudes[i]; in onProcess()
|