Home
last modified time | relevance | path

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

/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/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/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/qemu/distrib/sdl-1.2.12/src/joystick/os2/
DSDL_sysjoystick.c80 float scale1; /* Center to left/up Scale */ member
352 joystick->hwdata->transaxes[i].scale1 = (float)abs((AXIS_MIN/SYS_JoyData[index].axes_min[i])); in SDL_SYS_JoystickOpen()
359 joystick->hwdata->transaxes[i].scale1 = 1.0; /* Just in case */ in SDL_SYS_JoystickOpen()
436 value*=transaxes[i].scale1; in SDL_SYS_JoystickUpdate()
/external/aac/libAACenc/src/
Dadj_thr.cpp1507 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/src/core/
DSkDraw.cpp2272 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/
DBigDecimalTest.java554 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/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h276 WebRtc_Word16 scale1,