• Home
  • Raw
  • Download

Lines Matching refs:invDet

798 void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp) {  in ComputeInv()  argument
803 … dst[kMScaleX] = scross_dscale(src[kMScaleY], src[kMPersp2], src[kMTransY], src[kMPersp1], invDet); in ComputeInv()
804 … dst[kMSkewX] = scross_dscale(src[kMTransX], src[kMPersp1], src[kMSkewX], src[kMPersp2], invDet); in ComputeInv()
805 … dst[kMTransX] = scross_dscale(src[kMSkewX], src[kMTransY], src[kMTransX], src[kMScaleY], invDet); in ComputeInv()
807 … dst[kMSkewY] = scross_dscale(src[kMTransY], src[kMPersp0], src[kMSkewY], src[kMPersp2], invDet); in ComputeInv()
808 … dst[kMScaleY] = scross_dscale(src[kMScaleX], src[kMPersp2], src[kMTransX], src[kMPersp0], invDet); in ComputeInv()
809 … dst[kMTransY] = scross_dscale(src[kMTransX], src[kMSkewY], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
811 … dst[kMPersp0] = scross_dscale(src[kMSkewY], src[kMPersp1], src[kMScaleY], src[kMPersp0], invDet); in ComputeInv()
812 … dst[kMPersp1] = scross_dscale(src[kMSkewX], src[kMPersp0], src[kMScaleX], src[kMPersp1], invDet); in ComputeInv()
813 … dst[kMPersp2] = scross_dscale(src[kMScaleX], src[kMScaleY], src[kMSkewX], src[kMSkewY], invDet); in ComputeInv()
815 dst[kMScaleX] = SkDoubleToScalar(src[kMScaleY] * invDet); in ComputeInv()
816 dst[kMSkewX] = SkDoubleToScalar(-src[kMSkewX] * invDet); in ComputeInv()
817 … dst[kMTransX] = dcross_dscale(src[kMSkewX], src[kMTransY], src[kMScaleY], src[kMTransX], invDet); in ComputeInv()
819 dst[kMSkewY] = SkDoubleToScalar(-src[kMSkewY] * invDet); in ComputeInv()
820 dst[kMScaleY] = SkDoubleToScalar(src[kMScaleX] * invDet); in ComputeInv()
821 … dst[kMTransY] = dcross_dscale(src[kMSkewY], src[kMTransX], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
872 double invDet = sk_inv_determinant(fMat, isPersp); in invertNonIdentity() local
874 if (invDet == 0) { // underflow in invertNonIdentity()
887 ComputeInv(tmp->fMat, fMat, invDet, isPersp); in invertNonIdentity()