• Home
  • Raw
  • Download

Lines Matching refs:invDet

791 void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp) {  in ComputeInv()  argument
796 … dst[kMScaleX] = scross_dscale(src[kMScaleY], src[kMPersp2], src[kMTransY], src[kMPersp1], invDet); in ComputeInv()
797 … dst[kMSkewX] = scross_dscale(src[kMTransX], src[kMPersp1], src[kMSkewX], src[kMPersp2], invDet); in ComputeInv()
798 … dst[kMTransX] = scross_dscale(src[kMSkewX], src[kMTransY], src[kMTransX], src[kMScaleY], invDet); in ComputeInv()
800 … dst[kMSkewY] = scross_dscale(src[kMTransY], src[kMPersp0], src[kMSkewY], src[kMPersp2], invDet); in ComputeInv()
801 … dst[kMScaleY] = scross_dscale(src[kMScaleX], src[kMPersp2], src[kMTransX], src[kMPersp0], invDet); in ComputeInv()
802 … dst[kMTransY] = scross_dscale(src[kMTransX], src[kMSkewY], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
804 … dst[kMPersp0] = scross_dscale(src[kMSkewY], src[kMPersp1], src[kMScaleY], src[kMPersp0], invDet); in ComputeInv()
805 … dst[kMPersp1] = scross_dscale(src[kMSkewX], src[kMPersp0], src[kMScaleX], src[kMPersp1], invDet); in ComputeInv()
806 … dst[kMPersp2] = scross_dscale(src[kMScaleX], src[kMScaleY], src[kMSkewX], src[kMSkewY], invDet); in ComputeInv()
808 dst[kMScaleX] = SkDoubleToScalar(src[kMScaleY] * invDet); in ComputeInv()
809 dst[kMSkewX] = SkDoubleToScalar(-src[kMSkewX] * invDet); in ComputeInv()
810 … dst[kMTransX] = dcross_dscale(src[kMSkewX], src[kMTransY], src[kMScaleY], src[kMTransX], invDet); in ComputeInv()
812 dst[kMSkewY] = SkDoubleToScalar(-src[kMSkewY] * invDet); in ComputeInv()
813 dst[kMScaleY] = SkDoubleToScalar(src[kMScaleX] * invDet); in ComputeInv()
814 … dst[kMTransY] = dcross_dscale(src[kMSkewY], src[kMTransX], src[kMScaleX], src[kMTransY], invDet); in ComputeInv()
865 double invDet = sk_inv_determinant(fMat, isPersp); in invertNonIdentity() local
867 if (invDet == 0) { // underflow in invertNonIdentity()
880 ComputeInv(tmp->fMat, fMat, invDet, isPersp); in invertNonIdentity()