HomeSort by relevance Sort by last modified time
    Searched refs:PVRTXDIV (Results 1 - 3 of 3) sorted by null

  /external/swiftshader/third_party/PowerVR_SDK/Tools/
PVRTFixedPoint.h 27 #define PVRTXDIV(a,b) ( (int)( (((PVRTint64)(a))<<16)/(b) ) )
45 #define PVRTXCOS(x) (cos_val[(PVRTXMUL(((PVRTXDIV((x)<0? -(x):(x), PVRT_TWO_PIx)) & 0x0000FFFF), (NUM_ENTRIES-1)))])
46 #define PVRTXSIN(x) (sin_val[(PVRTXMUL(((PVRTXDIV((x)<0 ? PVRT_PIx-(x):(x), PVRT_TWO_PIx)) & 0x0000FFFF), (NUM_ENTRIES-1)))])
47 #define PVRTXTAN(x) ( (x)<0 ? -tan_val[(PVRTXMUL(((PVRTXDIV(-(x), PVRT_TWO_PIx)) & 0x0000FFFF), (NUM_ENTRIES-1)))] : tan_val[(PVRTXMUL(((PVRTXDIV(x, PVRT_TWO_PIx)) & 0x0000FFFF), (NUM_ENTRIES-1)))] )
75 #define VERTTYPEDIV(a,b) PVRTXDIV(a,b)
PVRTQuaternionX.cpp 98 vAxis.x = PVRTXDIV(qIn.x, fSinAngle);
99 vAxis.y = PVRTXDIV(qIn.y, fSinAngle);
100 vAxis.z = PVRTXDIV(qIn.z, fSinAngle);
173 A = PVRTXDIV(PVRTXSIN(PVRTXMUL((PVRTF2X(1.0f)-t), fAngle)), PVRTXSIN(fAngle));
174 B = PVRTXDIV(PVRTXSIN(PVRTXMUL(t, fAngle)), PVRTXSIN(fAngle));
200 qTemp.w = PVRTXDIV(quat.w, n);
201 qTemp.x = PVRTXDIV(quat.x, n);
202 qTemp.y = PVRTXDIV(quat.y, n);
203 qTemp.z = PVRTXDIV(quat.z, n);
207 f = PVRTXDIV(PVRTF2X(1.0f), PVRTF2X(sqrt(PVRTX2F(f))))
    [all...]
PVRTMatrixX.cpp 295 det_1 = PVRTXDIV(PVRTF2X(1.0f), det_1);
485 fRealAspect = PVRTXDIV(PVRTF2X(1.0f), fAspect);
489 f = PVRTXDIV(PVRTF2X(1.0f), PVRTXTAN(PVRTXMUL(fFOVy, PVRTF2X(0.5f))));
491 mOut.f[ 0] = PVRTXDIV(f, fRealAspect);
503 mOut.f[10] = PVRTXDIV(fFar, fFar - fNear);
508 mOut.f[14] = -PVRTXMUL(PVRTXDIV(fFar, fFar - fNear), fNear);
542 fCorrectAspect = PVRTXDIV(PVRTF2X(1.0f), fAspect);
544 f = PVRTXDIV(PVRTF2X(1.0f), PVRTXTAN(PVRTXMUL(fFOVy, PVRTF2X(0.5f))));
546 mOut.f[ 0] = PVRTXDIV(f, fCorrectAspect);
558 mOut.f[10] = PVRTXDIV(fFar + fNear, fNear - fFar)
    [all...]

Completed in 55 milliseconds