/external/skia/src/compute/ts/ |
D | transform_stack.c | 508 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate() local 511 cos_theta,-sin_theta, 0.0, in ts_transform_stack_push_rotate() 512 sin_theta, cos_theta, 0.0, in ts_transform_stack_push_rotate() 525 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate_xy2() local 528 cos_theta,-sin_theta, tx - (cx * cos_theta) + (cy * sin_theta), in ts_transform_stack_push_rotate_xy2() 529 sin_theta, cos_theta, ty - (cx * sin_theta) - (cy * cos_theta), in ts_transform_stack_push_rotate_xy2() 551 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate_scale_xy() local 554 … sx*cos_theta,-sx*sin_theta, cx - cx*sx*cos_theta + cy*sy*sin_theta, in ts_transform_stack_push_rotate_scale_xy() 555 … sy*sin_theta, sy*cos_theta, cy - cy*sy*cos_theta - cx*sx*sin_theta, in ts_transform_stack_push_rotate_scale_xy()
|
/external/skqp/src/compute/ts/ |
D | transform_stack.c | 508 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate() local 511 cos_theta,-sin_theta, 0.0, in ts_transform_stack_push_rotate() 512 sin_theta, cos_theta, 0.0, in ts_transform_stack_push_rotate() 525 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate_xy2() local 528 cos_theta,-sin_theta, tx - (cx * cos_theta) + (cy * sin_theta), in ts_transform_stack_push_rotate_xy2() 529 sin_theta, cos_theta, ty - (cx * sin_theta) - (cy * cos_theta), in ts_transform_stack_push_rotate_xy2() 551 ts_transform_float_t const sin_theta = TS_TRANSFORM_SIN(theta); // replace with sinpi if available in ts_transform_stack_push_rotate_scale_xy() local 554 … sx*cos_theta,-sx*sin_theta, cx - cx*sx*cos_theta + cy*sy*sin_theta, in ts_transform_stack_push_rotate_scale_xy() 555 … sy*sin_theta, sy*cos_theta, cy - cy*sy*cos_theta - cx*sx*sin_theta, in ts_transform_stack_push_rotate_scale_xy()
|
/external/eigen/bench/ |
D | eig33.cpp | 79 Scalar sin_theta = std::sin(theta); in computeRoots() local 81 roots(0) = c2_over_3 - rho*(cos_theta + s_sqrt3*sin_theta); in computeRoots() 82 roots(1) = c2_over_3 - rho*(cos_theta - s_sqrt3*sin_theta); in computeRoots()
|
/external/libxaac/decoder/ |
D | ixheaacd_hbe_trans.c | 533 FLOAT32 sin_theta = in ixheaacd_hbe_xprod_proc_3() local 536 sin_theta = -sin_theta; in ixheaacd_hbe_xprod_proc_3() 540 vec_o_r[0] = (FLOAT32)(cos_theta * temp_r - sin_theta * temp_i); in ixheaacd_hbe_xprod_proc_3() 541 vec_o_i[0] = (FLOAT32)(cos_theta * temp_i + sin_theta * temp_r); in ixheaacd_hbe_xprod_proc_3() 704 FLOAT32 sin_theta; in ixheaacd_hbe_xprod_proc_4() local 710 sin_theta = in ixheaacd_hbe_xprod_proc_4() 716 sin_theta = in ixheaacd_hbe_xprod_proc_4() 719 sin_theta = -sin_theta; in ixheaacd_hbe_xprod_proc_4() 724 vec_o_r[0] = (FLOAT32)(cos_theta * temp_r - sin_theta * temp_i); in ixheaacd_hbe_xprod_proc_4() 725 vec_o_i[0] = (FLOAT32)(cos_theta * temp_i + sin_theta * temp_r); in ixheaacd_hbe_xprod_proc_4()
|
/external/pdfium/third_party/lcms/src/ |
D | cmssm.c | 146 cmsFloat64Number sin_theta; in ToCartesian() local 152 sin_theta = sin((M_PI * sp ->theta) / 180.0); in ToCartesian() 155 a = sp ->r * sin_theta * sin_alpha; in ToCartesian() 156 b = sp ->r * sin_theta * cos_alpha; in ToCartesian()
|
/external/skia/src/compute/skc/platforms/cl_12/interop/ |
D | interop_glfw.c | 235 float const sin_theta = sinf(interop->rotate_theta); // replace with sinpi if available in skc_interop_translate() local 237 interop->translate.x += dx_scaled*cos_theta + dy_scaled*sin_theta; in skc_interop_translate() 238 interop->translate.y += dy_scaled*cos_theta - dx_scaled*sin_theta; in skc_interop_translate()
|
/external/skqp/src/compute/skc/platforms/cl_12/interop/ |
D | interop_glfw.c | 235 float const sin_theta = sinf(interop->rotate_theta); // replace with sinpi if available in skc_interop_translate() local 237 interop->translate.x += dx_scaled*cos_theta + dy_scaled*sin_theta; in skc_interop_translate() 238 interop->translate.y += dy_scaled*cos_theta - dx_scaled*sin_theta; in skc_interop_translate()
|
/external/ImageMagick/MagickCore/ |
D | effect.c | 2807 *sin_theta, in RotationalBlurImage() local 2860 sin_theta=(double *) AcquireQuantumMemory((size_t) n, in RotationalBlurImage() 2861 sizeof(*sin_theta)); in RotationalBlurImage() 2863 (sin_theta == (double *) NULL)) in RotationalBlurImage() 2867 if (sin_theta != (double *) NULL) in RotationalBlurImage() 2868 sin_theta=(double *) RelinquishMagickMemory(sin_theta); in RotationalBlurImage() 2876 sin_theta[i]=sin((double) (theta*i-offset)); in RotationalBlurImage() 2977 center.x*cos_theta[j]-center.y*sin_theta[j]+0.5),(ssize_t) in RotationalBlurImage() 2978 (blur_center.y+center.x*sin_theta[j]+center.y*cos_theta[j]+0.5), in RotationalBlurImage() 2998 center.x*cos_theta[j]-center.y*sin_theta[j]+0.5),(ssize_t) in RotationalBlurImage() [all …]
|
D | accelerate-kernels-private.h | 2800 __constant float *sin_theta,const unsigned int cossin_theta_size, 2829 int cx = ClampToCanvas(blurCenter.x+center_x*cos_theta[i]-center_y*sin_theta[i]+0.5f,columns); 2830 int cy = ClampToCanvas(blurCenter.y+center_x*sin_theta[i]+center_y*cos_theta[i]+0.5f,rows);
|
/external/eigen/Eigen/src/Eigenvalues/ |
D | SelfAdjointEigenSolver.h | 598 Scalar sin_theta = sin(theta); 600 roots(0) = c2_over_3 - rho*(cos_theta + s_sqrt3*sin_theta); // == 2*rho*cos(theta+2pi/3) 601 roots(1) = c2_over_3 - rho*(cos_theta - s_sqrt3*sin_theta); // == 2*rho*cos(theta+ pi/3)
|
/external/libxcam/xcore/ |
D | vec_mat.h | 1045 T sin_theta = (T) sqrt(1.0 - cos_theta * cos_theta); in slerp() local 1046 if (fabs(sin_theta) < FLT_EPSILON) in slerp() 1053 T r0 = (T) sin((1.0 - r) * theta) / sin_theta; in slerp() 1054 T r1 = (T) sin(r * theta) / sin_theta; in slerp()
|