Home
last modified time | relevance | path

Searched refs:PVRTXMUL (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTQuaternionX.cpp60 qOut.x = PVRTXMUL(vAxis.x, fSin); in PVRTMatrixQuaternionRotationAxisX()
61 qOut.y = PVRTXMUL(vAxis.y, fSin); in PVRTMatrixQuaternionRotationAxisX()
62 qOut.z = PVRTXMUL(vAxis.z, fSin); in PVRTMatrixQuaternionRotationAxisX()
87 temp = PVRTF2X(1.0f) - PVRTXMUL(fCosAngle, fCosAngle); in PVRTMatrixQuaternionToAxisAngleX()
88 fAngle = PVRTXMUL(PVRTXACOS(fCosAngle), PVRTF2X(2.0f)); in PVRTMatrixQuaternionToAxisAngleX()
133 fCosine = PVRTXMUL(qA.w, qB.w) + in PVRTMatrixQuaternionSlerpX()
134 PVRTXMUL(qA.x, qB.x) + PVRTXMUL(qA.y, qB.y) + PVRTXMUL(qA.z, qB.z); in PVRTMatrixQuaternionSlerpX()
173 A = PVRTXDIV(PVRTXSIN(PVRTXMUL((PVRTF2X(1.0f)-t), fAngle)), PVRTXSIN(fAngle)); in PVRTMatrixQuaternionSlerpX()
174 B = PVRTXDIV(PVRTXSIN(PVRTXMUL(t, fAngle)), PVRTXSIN(fAngle)); in PVRTMatrixQuaternionSlerpX()
177 qOut.x = PVRTXMUL(A, qA.x) + PVRTXMUL(B, qB.x); in PVRTMatrixQuaternionSlerpX()
[all …]
DPVRTMatrixX.cpp80 …mRet.f[ 0] = PVRTXMUL(mA.f[ 0], mB.f[ 0]) + PVRTXMUL(mA.f[ 1], mB.f[ 4]) + PVRTXMUL(mA.f[ 2], mB.f… in PVRTMatrixMultiplyX()
81 …mRet.f[ 1] = PVRTXMUL(mA.f[ 0], mB.f[ 1]) + PVRTXMUL(mA.f[ 1], mB.f[ 5]) + PVRTXMUL(mA.f[ 2], mB.f… in PVRTMatrixMultiplyX()
82 …mRet.f[ 2] = PVRTXMUL(mA.f[ 0], mB.f[ 2]) + PVRTXMUL(mA.f[ 1], mB.f[ 6]) + PVRTXMUL(mA.f[ 2], mB.f… in PVRTMatrixMultiplyX()
83 …mRet.f[ 3] = PVRTXMUL(mA.f[ 0], mB.f[ 3]) + PVRTXMUL(mA.f[ 1], mB.f[ 7]) + PVRTXMUL(mA.f[ 2], mB.f… in PVRTMatrixMultiplyX()
85 …mRet.f[ 4] = PVRTXMUL(mA.f[ 4], mB.f[ 0]) + PVRTXMUL(mA.f[ 5], mB.f[ 4]) + PVRTXMUL(mA.f[ 6], mB.f… in PVRTMatrixMultiplyX()
86 …mRet.f[ 5] = PVRTXMUL(mA.f[ 4], mB.f[ 1]) + PVRTXMUL(mA.f[ 5], mB.f[ 5]) + PVRTXMUL(mA.f[ 6], mB.f… in PVRTMatrixMultiplyX()
87 …mRet.f[ 6] = PVRTXMUL(mA.f[ 4], mB.f[ 2]) + PVRTXMUL(mA.f[ 5], mB.f[ 6]) + PVRTXMUL(mA.f[ 6], mB.f… in PVRTMatrixMultiplyX()
88 …mRet.f[ 7] = PVRTXMUL(mA.f[ 4], mB.f[ 3]) + PVRTXMUL(mA.f[ 5], mB.f[ 7]) + PVRTXMUL(mA.f[ 6], mB.f… in PVRTMatrixMultiplyX()
90 …mRet.f[ 8] = PVRTXMUL(mA.f[ 8], mB.f[ 0]) + PVRTXMUL(mA.f[ 9], mB.f[ 4]) + PVRTXMUL(mA.f[10], mB.f… in PVRTMatrixMultiplyX()
91 …mRet.f[ 9] = PVRTXMUL(mA.f[ 8], mB.f[ 1]) + PVRTXMUL(mA.f[ 9], mB.f[ 5]) + PVRTXMUL(mA.f[10], mB.f… in PVRTMatrixMultiplyX()
[all …]
DPVRTFixedPoint.h26 #define PVRTXMUL(a,b) ( (int)( ((PVRTint64)(a)*(b)) / 65536 ) ) macro
45 #define PVRTXCOS(x) (cos_val[(PVRTXMUL(((PVRTXDIV((x)<0? -(x):(x), PVRT_TWO_PIx)) & 0x0000FFFF), (…
46 #define PVRTXSIN(x) (sin_val[(PVRTXMUL(((PVRTXDIV((x)<0 ? PVRT_PIx-(x):(x), PVRT_TWO_PIx)) & 0x000…
47 …XTAN(x) ( (x)<0 ? -tan_val[(PVRTXMUL(((PVRTXDIV(-(x), PVRT_TWO_PIx)) & 0x0000FFFF), (NUM_ENTRIES-…
48 #define PVRTXACOS(x) (acos_val[PVRTXMUL(((((x) + PVRTF2X(1.0f))>>1) & 0x0000FFFF), (NUM_ENTRIES-1))…
74 #define VERTTYPEMUL(a,b) PVRTXMUL(a,b)
DPVRTVector.h584 x = PVRTXMUL(x, f); in normalize()
585 y = PVRTXMUL(y, f); in normalize()
586 z = PVRTXMUL(z, f); in normalize()
617 out.x = PVRTXMUL(out.x, f); in normalized()
618 out.y = PVRTXMUL(out.y, f); in normalized()
619 out.z = PVRTXMUL(out.z, f); in normalized()