/external/eigen/bench/ |
D | quat_slerp.cpp | 37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy() local 39 scale1 = -scale1; in slerp_legacy() 41 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy() 53 Scalar scale1; in slerp_legacy_nlerp() local 58 scale1 = t; in slerp_legacy_nlerp() 67 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy_nlerp() 69 scale1 = -scale1; in slerp_legacy_nlerp() 72 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy_nlerp() 101 Scalar scale1 = t * sin_over_x( ( t * theta) ) / sinOverTheta; in slerp_rw() local 103 scale1 = -scale1; in slerp_rw() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Quaternion.java | 650 float scale1 = t; in slerp() local 662 scale1 = FastMath.sin((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() 706 float scale1 = changeAmnt; in slerp() local 719 scale1 = FastMath.sin((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/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | Quaternion.h | 423 Scalar scale1; 428 scale1 = t; 437 scale1 = ei_sin( ( t * theta) ) / sinTheta; 439 scale1 = -scale1; 442 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
|
/external/webrtc/src/common_audio/signal_processing/ |
D | ilbc_specific_functions.c | 27 void WebRtcSpl_ScaleAndAddVectorsWithRound(WebRtc_Word16 *vector1, WebRtc_Word16 scale1, in WebRtcSpl_ScaleAndAddVectorsWithRound() argument 38 out[i] = (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16(vector1[i], scale1) in WebRtcSpl_ScaleAndAddVectorsWithRound()
|
/external/eigen/Eigen/src/Geometry/ |
D | Quaternion.h | 700 Scalar scale1; 705 scale1 = t; 714 scale1 = internal::sin( ( t * theta) ) / sinTheta; 716 if(d<0) scale1 = -scale1; 718 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
|
/external/opencv/cv/src/ |
D | cvfundam.cpp | 800 double t, scale0 = 0, scale1 = 0; in run8Point() local 830 scale1 += sqrt(x*x + y*y); in run8Point() 834 scale1 *= t; in run8Point() 836 if( scale0 < FLT_EPSILON || scale1 < FLT_EPSILON ) in run8Point() 840 scale1 = sqrt(2.)/scale1; in run8Point() 851 double x1 = (m2[i].x - m1c.x)*scale1; in run8Point() 852 double y1 = (m2[i].y - m1c.y)*scale1; in run8Point() 893 double tt1[] = { scale1, 0, -scale1*m1c.x, 0, scale1, -scale1*m1c.y, 0, 0, 1 }; in run8Point()
|
/external/aac/libAACenc/src/ |
D | adj_thr.cpp | 1507 int scale0=0, scale1=0; in FDKaacEnc_adaptThresholdsToPe() local 1509 … FIXP_DBL tmp1 = CalcRedValPower( constPartGlobal-noRedPeGlobal, 4*nActiveLinesGlobal, &scale1 ); 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() 1572 int scale1 = 0; in FDKaacEnc_adaptThresholdsToPe() local 1575 …L tmp1 = CalcRedValPower( constPartNoAHGlobal-redPeNoAHGlobal, 4*nActiveLinesNoAHGlobal, &scale1 ); 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() 1584 scale1 = redValScaling[elementId]; in FDKaacEnc_adaptThresholdsToPe() 1586 scalMin = fixMin(scale0,scale1)-1; in FDKaacEnc_adaptThresholdsToPe() [all …]
|
/external/skia/legacy/src/core/ |
D | SkDraw.cpp | 2272 int scale1 = ScalarTo256(src.fX); in shadeSpan() local 2274 int scale0 = 256 - scale1 - scale2; in shadeSpan() 2276 if (scale1 > scale2) { in shadeSpan() 2277 scale2 = 256 - scale1; in shadeSpan() 2279 scale1 = 256 - scale2; in shadeSpan() 2285 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()
|
/external/apache-harmony/math/src/test/java/tests/api/java/math/ |
D | BigDecimalTest.java | 554 BigDecimal scale1 = new BigDecimal(value2, 8); in test_scale() local 555 assertTrue("the scale of the number 123.34560000 is wrong", scale1 in test_scale()
|
/external/skia/src/core/ |
D | SkDraw.cpp | 2415 int scale1 = ScalarTo256(src.fX); in shadeSpan() local 2417 int scale0 = 256 - scale1 - scale2; in shadeSpan() 2419 if (scale1 > scale2) { in shadeSpan() 2420 scale2 = 256 - scale1; in shadeSpan() 2422 scale1 = 256 - scale2; in shadeSpan() 2428 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()
|
/external/webrtc/src/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 276 WebRtc_Word16 scale1,
|