• Home
  • Raw
  • Download

Lines Matching refs:skipTerm

669     ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ?  in calcCubicInverseTransposePowerBasisMatrix()  local
671 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix()
689 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix()
694 return skipTerm; in calcCubicInverseTransposePowerBasisMatrix()
698 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs() argument
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() argument
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() argument
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() argument
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() local
795 if (ExcludedTerm::kNonInvertible == skipTerm) { in getCubicKLM()
812 calc_serp_kcoeffs(t0, s0, t1, s1, skipTerm, &klmCoeffs[0]); in getCubicKLM()
813 calc_serp_lmcoeffs(t0, s0, skipTerm, &klmCoeffs[3]); in getCubicKLM()
814 calc_serp_lmcoeffs(t1, s1, skipTerm, &klmCoeffs[6]); in getCubicKLM()
819 calc_loop_kcoeffs(t0, s0, t1, s1, tdse, tesd, skipTerm, &klmCoeffs[0]); in getCubicKLM()
820 calc_loop_lmcoeffs(t0, s0, t1, s1, tdse, tesd, skipTerm, &klmCoeffs[3]); in getCubicKLM()
821 calc_loop_lmcoeffs(t1, s1, t0, s0, tesd, tdse, skipTerm, &klmCoeffs[6]); in getCubicKLM()