Home
last modified time | relevance | path

Searched refs:cos_theta (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/compute/ts/
Dtransform_stack.c507 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/
Deig33.cpp78 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/skqp/src/compute/skc/platforms/cl_12/interop/
Dinterop_glfw.c234 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/
DSelfAdjointEigenSolver.h597 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/
Dixheaacd_hbe_trans.c532 FLOAT32 cos_theta = in ixheaacd_hbe_xprod_proc_3() local
541 vec_o_r[0] = (FLOAT32)(cos_theta * temp_r - sin_theta * temp_i); in ixheaacd_hbe_xprod_proc_3()
542 vec_o_i[0] = (FLOAT32)(cos_theta * temp_i + sin_theta * temp_r); in ixheaacd_hbe_xprod_proc_3()
704 FLOAT32 cos_theta; in ixheaacd_hbe_xprod_proc_4() local
708 cos_theta = in ixheaacd_hbe_xprod_proc_4()
715 cos_theta = in ixheaacd_hbe_xprod_proc_4()
725 vec_o_r[0] = (FLOAT32)(cos_theta * temp_r - sin_theta * temp_i); in ixheaacd_hbe_xprod_proc_4()
726 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/
Dcmssm.c147 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/
Deffect.c3148 *cos_theta, in RotationalBlurImage() local
3201 cos_theta=(double *) AcquireQuantumMemory((size_t) n,sizeof(*cos_theta)); in RotationalBlurImage()
3203 if ((cos_theta == (double *) NULL) || (sin_theta == (double *) NULL)) in RotationalBlurImage()
3205 if (cos_theta != (double *) NULL) in RotationalBlurImage()
3206 cos_theta=(double *) RelinquishMagickMemory(cos_theta); in RotationalBlurImage()
3215 cos_theta[i]=cos((double) (theta*i-offset)); in RotationalBlurImage()
3317 center.x*cos_theta[j]-center.y*sin_theta[j]+0.5),(ssize_t) in RotationalBlurImage()
3318 (blur_center.y+center.x*sin_theta[j]+center.y*cos_theta[j]+0.5), in RotationalBlurImage()
3338 center.x*cos_theta[j]-center.y*sin_theta[j]+0.5),(ssize_t) in RotationalBlurImage()
3339 (blur_center.y+center.x*sin_theta[j]+center.y*cos_theta[j]+0.5), in RotationalBlurImage()
[all …]
Daccelerate-kernels-private.h2792 const float2 blurCenter,__constant float *cos_theta,
2822 int cx = ClampToCanvas(blurCenter.x+center_x*cos_theta[i]-center_y*sin_theta[i]+0.5f,columns);
2823 int cy = ClampToCanvas(blurCenter.y+center_x*sin_theta[i]+center_y*cos_theta[i]+0.5f,rows);