• Home
  • Raw
  • Download

Lines Matching refs:ExcludedTerm

636 using ExcludedTerm = GrPathUtils::ExcludedTerm;  typedef
638 ExcludedTerm GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(const SkPoint p[4], in calcCubicInverseTransposePowerBasisMatrix()
669 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix()
670 ExcludedTerm::kQuadraticTerm : ExcludedTerm::kLinearTerm; in calcCubicInverseTransposePowerBasisMatrix()
671 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix()
673 return ExcludedTerm::kNonInvertible; in calcCubicInverseTransposePowerBasisMatrix()
689 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix()
698 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs()
699 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_kcoeffs()
701 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sm : -tl*sm - tm*sl; in calc_serp_kcoeffs()
705 inline static void calc_serp_lmcoeffs(SkScalar t, SkScalar s, ExcludedTerm skipTerm, in calc_serp_lmcoeffs()
707 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_lmcoeffs()
709 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? 3*s*s*t : -3*s*t*t; in calc_serp_lmcoeffs()
714 SkScalar tdse, SkScalar tesd, ExcludedTerm skipTerm, in calc_loop_kcoeffs()
716 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_kcoeffs()
718 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sd*se : -tdse - tesd; in calc_loop_kcoeffs()
723 SkScalar t2s1, SkScalar t1s2, ExcludedTerm skipTerm, in calc_loop_lmcoeffs()
725 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_lmcoeffs()
727 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? s2 * (2*t2s1 + t1s2) in calc_loop_lmcoeffs()
794 ExcludedTerm skipTerm = calcCubicInverseTransposePowerBasisMatrix(src, &CIT); in getCubicKLM()
795 if (ExcludedTerm::kNonInvertible == skipTerm) { in getCubicKLM()