Home
last modified time | relevance | path

Searched refs:scale1 (Results 1 – 12 of 12) sorted by relevance

/external/eigen/bench/
Dquat_slerp.cpp37 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/libopus/silk/
Dstereo_find_predictor.c44 opus_int scale, scale1, scale2; in silk_stereo_find_predictor() local
48 silk_sum_sqr_shift( &nrgx, &scale1, x, length ); in silk_stereo_find_predictor()
50 scale = silk_max_int( scale1, scale2 ); in silk_stereo_find_predictor()
53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 ); in silk_stereo_find_predictor()
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/
Dquat.js362 var omega, cosom, sinom, scale0, scale1;
380 scale1 = Math.sin(t * omega) / sinom;
385 scale1 = t;
388 out[0] = scale0 * ax + scale1 * bx;
389 out[1] = scale0 * ay + scale1 * by;
390 out[2] = scale0 * az + scale1 * bz;
391 out[3] = scale0 * aw + scale1 * bw;
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DQuaternion.java650 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/
DQuaternion.h423 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/
Dilbc_specific_functions.c27 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/
DQuaternion.h699 Scalar scale1;
704 scale1 = t;
713 scale1 = sin( ( t * theta) ) / sinTheta;
715 if(d<0) scale1 = -scale1;
717 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
/external/opencv/cv/src/
Dcvfundam.cpp800 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/
Dadj_thr.cpp1713 int scale0=0, scale1=0; in FDKaacEnc_adaptThresholdsToPe() local
1715 … FIXP_DBL tmp1 = CalcRedValPower( constPartGlobal-noRedPeGlobal, 4*nActiveLinesGlobal, &scale1 ); in FDKaacEnc_adaptThresholdsToPe()
1717 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
1719 redValue[elementId] = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe()
1778 int scale1 = 0; in FDKaacEnc_adaptThresholdsToPe() local
1781 …L tmp1 = CalcRedValPower( constPartNoAHGlobal-redPeNoAHGlobal, 4*nActiveLinesNoAHGlobal, &scale1 ); in FDKaacEnc_adaptThresholdsToPe()
1783 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
1785 tmp0 = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe()
1790 scale1 = redValScaling[elementId]; in FDKaacEnc_adaptThresholdsToPe()
1792 scalMin = fixMin(scale0,scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
[all …]
/external/skia/src/core/
DSkDraw.cpp1989 int scale1 = ScalarTo256(src.fX); in shadeSpan() local
1991 int scale0 = 256 - scale1 - scale2; in shadeSpan()
1993 if (scale1 > scale2) { in shadeSpan()
1994 scale2 = 256 - scale1; in shadeSpan()
1996 scale1 = 256 - scale2; in shadeSpan()
2003 scale1 = SkAlphaMul(scale1, alphaScale); in shadeSpan()
2008 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js3036 var omega, cosom, sinom, scale0, scale1;
3054 scale1 = Math.sin(t * omega) / sinom;
3059 scale1 = t;
3062 out[0] = scale0 * ax + scale1 * bx;
3063 out[1] = scale0 * ay + scale1 * by;
3064 out[2] = scale0 * az + scale1 * bz;
3065 out[3] = scale0 * aw + scale1 * bw;
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h276 WebRtc_Word16 scale1,