Searched refs:scale0 (Results 1 – 9 of 9) sorted by relevance
/external/eigen/bench/ |
D | quat_slerp.cpp | 36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy() local 41 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy() 52 Scalar scale0; in slerp_legacy_nlerp() local 57 scale0 = Scalar(1) - t; in slerp_legacy_nlerp() 66 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy_nlerp() 72 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy_nlerp() 100 Scalar scale0 = (Scalar(1)-t)*sin_over_x( ( Scalar(1) - t ) * theta) / sinOverTheta; in slerp_rw() local 105 return Quaternion<Scalar>(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_rw() 125 Scalar scale0; in slerp_gael() local 129 scale0 = Scalar(1) - t; in slerp_gael() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Quaternion.java | 649 float scale0 = 1 - t; in slerp() local 661 scale0 = FastMath.sin((1 - t) * theta) * invSinTheta; in slerp() 668 this.x = (scale0 * q1.x) + (scale1 * q2.x); in slerp() 669 this.y = (scale0 * q1.y) + (scale1 * q2.y); in slerp() 670 this.z = (scale0 * q1.z) + (scale1 * q2.z); in slerp() 671 this.w = (scale0 * q1.w) + (scale1 * q2.w); in slerp() 705 float scale0 = 1 - changeAmnt; in slerp() local 718 scale0 = FastMath.sin((1 - changeAmnt) * theta) * invSinTheta; in slerp() 725 this.x = (scale0 * this.x) + (scale1 * q2.x); in slerp() 726 this.y = (scale0 * this.y) + (scale1 * q2.y); in slerp() [all …]
|
/external/opencv/cv/src/ |
D | cvsurf.cpp | 364 float alpha0, beta0, sz0, scale0; in cvExtractSURF() local 418 scale0 = sz0/(PATCH_SZ+1); in cvExtractSURF() 460 scale0 *= scale; in cvExtractSURF() 466 alpha0*scale0, beta0*scale0, center.x, in cvExtractSURF() 467 -beta0*scale0, alpha0*scale0, center.y in cvExtractSURF()
|
D | cvfundam.cpp | 800 double t, scale0 = 0, scale1 = 0; in run8Point() local 827 scale0 += sqrt(x*x + y*y); in run8Point() 833 scale0 *= t; in run8Point() 836 if( scale0 < FLT_EPSILON || scale1 < FLT_EPSILON ) in run8Point() 839 scale0 = sqrt(2.)/scale0; in run8Point() 849 double x0 = (m1[i].x - m0c.x)*scale0; in run8Point() 850 double y0 = (m1[i].y - m0c.y)*scale0; in run8Point() 892 double tt0[] = { scale0, 0, -scale0*m0c.x, 0, scale0, -scale0*m0c.y, 0, 0, 1 }; in run8Point()
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | Quaternion.h | 422 Scalar scale0; 427 scale0 = Scalar(1) - t; 436 scale0 = ei_sin( ( Scalar(1) - t ) * theta) / sinTheta; 442 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
|
/external/aac/libAACenc/src/ |
D | adj_thr.cpp | 1507 int scale0=0, scale1=0; in FDKaacEnc_adaptThresholdsToPe() local 1508 FIXP_DBL tmp0 = CalcRedValPower( constPartGlobal-desiredPe, 4*nActiveLinesGlobal, &scale0 ); in FDKaacEnc_adaptThresholdsToPe() 1511 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe() 1513 redValue[elementId] = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe() 1571 int scale0 = 0; in FDKaacEnc_adaptThresholdsToPe() local 1574 …p0 = CalcRedValPower( constPartNoAHGlobal-desiredPeNoAHGlobal, 4*nActiveLinesNoAHGlobal, &scale0 ); in FDKaacEnc_adaptThresholdsToPe() 1577 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe() 1579 tmp0 = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe() 1580 scale0 = scalMin; in FDKaacEnc_adaptThresholdsToPe() 1586 scalMin = fixMin(scale0,scale1)-1; in FDKaacEnc_adaptThresholdsToPe() [all …]
|
/external/eigen/Eigen/src/Geometry/ |
D | Quaternion.h | 699 Scalar scale0; 704 scale0 = Scalar(1) - t; 713 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; 718 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
|
/external/skia/legacy/src/core/ |
D | SkDraw.cpp | 2274 int scale0 = 256 - scale1 - scale2; in shadeSpan() local 2275 if (scale0 < 0) { in shadeSpan() 2281 scale0 = 0; in shadeSpan() 2284 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan()
|
/external/skia/src/core/ |
D | SkDraw.cpp | 2417 int scale0 = 256 - scale1 - scale2; in shadeSpan() local 2418 if (scale0 < 0) { in shadeSpan() 2424 scale0 = 0; in shadeSpan() 2427 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan()
|