Searched refs:invDet (Results 1 – 5 of 5) sorted by relevance
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | shader.c | 92 float invDet = 1.f / det; in computeNormalMatrix() local 93 normal[0*3+0] = invDet * (m[1*4+1] * m[2*4+2] - m[2*4+1] * m[1*4+2]); in computeNormalMatrix() 94 normal[1*3+0] = invDet * -(m[0*4+1] * m[2*4+2] - m[0*4+2] * m[2*4+1]); in computeNormalMatrix() 95 normal[2*3+0] = invDet * (m[0*4+1] * m[1*4+2] - m[0*4+2] * m[1*4+1]); in computeNormalMatrix() 96 normal[0*3+1] = invDet * -(m[1*4+0] * m[2*4+2] - m[1*4+2] * m[2*4+0]); in computeNormalMatrix() 97 normal[1*3+1] = invDet * (m[0*4+0] * m[2*4+2] - m[0*4+2] * m[2*4+0]); in computeNormalMatrix() 98 normal[2*3+1] = invDet * -(m[0*4+0] * m[1*4+2] - m[1*4+0] * m[0*4+2]); in computeNormalMatrix() 99 normal[0*3+2] = invDet * (m[1*4+0] * m[2*4+1] - m[2*4+0] * m[1*4+1]); in computeNormalMatrix() 100 normal[1*3+2] = invDet * -(m[0*4+0] * m[2*4+1] - m[2*4+0] * m[0*4+1]); in computeNormalMatrix() 101 normal[2*3+2] = invDet * (m[0*4+0] * m[1*4+1] - m[1*4+0] * m[0*4+1]); in computeNormalMatrix()
|
/external/skia/experimental/ |
D | SkSetPoly3To3.cpp | 49 SkScalar invDet = SkScalarInvert(det); in SkSetPoly3To3() local 54 const SkScalar srcOP0 = SkScalarMul( srcOP[3], invDet); in SkSetPoly3To3() 55 const SkScalar srcOP1 = SkScalarMul(-srcOP[1], invDet); in SkSetPoly3To3() 56 const SkScalar srcOP2 = SkScalarMul(-srcOP[2], invDet); in SkSetPoly3To3() 57 const SkScalar srcOP3 = SkScalarMul( srcOP[0], invDet); in SkSetPoly3To3()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 806 void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp) { in ComputeInv() argument 811 … dst[kMScaleX] = scross_dscale(src[kMScaleY], src[kMPersp2], src[kMTransY], src[kMPersp1], invDet); in ComputeInv() 812 … dst[kMSkewX] = scross_dscale(src[kMTransX], src[kMPersp1], src[kMSkewX], src[kMPersp2], invDet); in ComputeInv() 813 … dst[kMTransX] = scross_dscale(src[kMSkewX], src[kMTransY], src[kMTransX], src[kMScaleY], invDet); in ComputeInv() 815 … dst[kMSkewY] = scross_dscale(src[kMTransY], src[kMPersp0], src[kMSkewY], src[kMPersp2], invDet); in ComputeInv() 816 … dst[kMScaleY] = scross_dscale(src[kMScaleX], src[kMPersp2], src[kMTransX], src[kMPersp0], invDet); in ComputeInv() 817 … dst[kMTransY] = scross_dscale(src[kMTransX], src[kMSkewY], src[kMScaleX], src[kMTransY], invDet); in ComputeInv() 819 … dst[kMPersp0] = scross_dscale(src[kMSkewY], src[kMPersp1], src[kMScaleY], src[kMPersp0], invDet); in ComputeInv() 820 … dst[kMPersp1] = scross_dscale(src[kMSkewX], src[kMPersp0], src[kMScaleX], src[kMPersp1], invDet); in ComputeInv() 821 … dst[kMPersp2] = scross_dscale(src[kMScaleX], src[kMScaleY], src[kMSkewX], src[kMSkewY], invDet); in ComputeInv() [all …]
|
/external/skia/include/core/ |
D | SkMatrix.h | 743 static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp);
|
/external/opencv/cvaux/src/ |
D | cvepilines.cpp | 782 double invDet = 1.0 / det; in icvGetCoefForPiece() local 783 *a = detA * invDet; in icvGetCoefForPiece() 784 *b = detB * invDet; in icvGetCoefForPiece() 785 *c = detC * invDet; in icvGetCoefForPiece()
|