/external/skia/src/compute/ts/ |
D | transform_stack.c | 507 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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() 524 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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() 550 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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 | 507 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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() 524 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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() 550 ts_transform_float_t const cos_theta = TS_TRANSFORM_COS(theta); // replace with cospi 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 | 78 Scalar cos_theta = std::cos(theta); in computeRoots() local 80 roots(2) = c2_over_3 + Scalar(2)*rho*cos_theta; in computeRoots() 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/skia/src/compute/skc/platforms/cl_12/interop/ |
D | interop_glfw.c | 234 float const cos_theta = cosf(interop->rotate_theta); // replace with cospi 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 | 234 float const cos_theta = cosf(interop->rotate_theta); // replace with cospi 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/eigen/Eigen/src/Eigenvalues/ |
D | SelfAdjointEigenSolver.h | 597 Scalar cos_theta = cos(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) 602 roots(2) = c2_over_3 + Scalar(2)*rho*cos_theta;
|
/external/libxaac/decoder/ |
D | ixheaacd_hbe_trans.c | 531 FLOAT32 cos_theta = in ixheaacd_hbe_xprod_proc_3() local 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() 703 FLOAT32 cos_theta; in ixheaacd_hbe_xprod_proc_4() local 707 cos_theta = in ixheaacd_hbe_xprod_proc_4() 714 cos_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 | 147 cmsFloat64Number cos_theta; in ToCartesian() local 153 cos_theta = cos((M_PI * sp ->theta) / 180.0); in ToCartesian() 157 L = sp ->r * cos_theta; in ToCartesian()
|
/external/ImageMagick/MagickCore/ |
D | effect.c | 2805 *cos_theta, in RotationalBlurImage() local 2858 cos_theta=(double *) AcquireQuantumMemory((size_t) n, in RotationalBlurImage() 2859 sizeof(*cos_theta)); in RotationalBlurImage() 2862 if ((cos_theta == (double *) NULL) || in RotationalBlurImage() 2865 if (cos_theta != (double *) NULL) in RotationalBlurImage() 2866 cos_theta=(double *) RelinquishMagickMemory(cos_theta); in RotationalBlurImage() 2875 cos_theta[i]=cos((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 | 2799 const float2 blurCenter,__constant float *cos_theta, 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/libxcam/xcore/ |
D | vec_mat.h | 1037 T cos_theta = w * quat.w + v[0] * quat.v[0] + v[1] * quat.v[1] + v[2] * quat.v[2]; in slerp() local 1038 T theta = (T) acos(cos_theta); in slerp() 1045 T sin_theta = (T) sqrt(1.0 - cos_theta * cos_theta); in slerp()
|