Lines Matching refs:invDet
799 void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp) { in ComputeInv() argument
804 … dst[kMScaleX] = scross_dscale(src[kMScaleY], src[kMPersp2], src[kMTransY], src[kMPersp1], invDet); in ComputeInv()
805 … dst[kMSkewX] = scross_dscale(src[kMTransX], src[kMPersp1], src[kMSkewX], src[kMPersp2], invDet); in ComputeInv()
806 … dst[kMTransX] = scross_dscale(src[kMSkewX], src[kMTransY], src[kMTransX], src[kMScaleY], invDet); in ComputeInv()
808 … dst[kMSkewY] = scross_dscale(src[kMTransY], src[kMPersp0], src[kMSkewY], src[kMPersp2], invDet); in ComputeInv()
809 … dst[kMScaleY] = scross_dscale(src[kMScaleX], src[kMPersp2], src[kMTransX], src[kMPersp0], invDet); in ComputeInv()
810 … dst[kMTransY] = scross_dscale(src[kMTransX], src[kMSkewY], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
812 … dst[kMPersp0] = scross_dscale(src[kMSkewY], src[kMPersp1], src[kMScaleY], src[kMPersp0], invDet); in ComputeInv()
813 … dst[kMPersp1] = scross_dscale(src[kMSkewX], src[kMPersp0], src[kMScaleX], src[kMPersp1], invDet); in ComputeInv()
814 … dst[kMPersp2] = scross_dscale(src[kMScaleX], src[kMScaleY], src[kMSkewX], src[kMSkewY], invDet); in ComputeInv()
816 dst[kMScaleX] = SkDoubleToScalar(src[kMScaleY] * invDet); in ComputeInv()
817 dst[kMSkewX] = SkDoubleToScalar(-src[kMSkewX] * invDet); in ComputeInv()
818 … dst[kMTransX] = dcross_dscale(src[kMSkewX], src[kMTransY], src[kMScaleY], src[kMTransX], invDet); in ComputeInv()
820 dst[kMSkewY] = SkDoubleToScalar(-src[kMSkewY] * invDet); in ComputeInv()
821 dst[kMScaleY] = SkDoubleToScalar(src[kMScaleX] * invDet); in ComputeInv()
822 … dst[kMTransY] = dcross_dscale(src[kMSkewY], src[kMTransX], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
873 double invDet = sk_inv_determinant(fMat, isPersp); in invertNonIdentity() local
875 if (invDet == 0) { // underflow in invertNonIdentity()
888 ComputeInv(tmp->fMat, fMat, invDet, isPersp); in invertNonIdentity()