Lines Matching refs:skipTerm
612 ExcludedTerm skipTerm = SkScalarAbs(dets[0]) > SkScalarAbs(dets[1]) ? in calcCubicInverseTransposePowerBasisMatrix() local
614 SkScalar det = dets[ExcludedTerm::kQuadraticTerm == skipTerm ? 0 : 1]; in calcCubicInverseTransposePowerBasisMatrix()
632 int middleRow = ExcludedTerm::kQuadraticTerm == skipTerm ? 2 : 1; in calcCubicInverseTransposePowerBasisMatrix()
637 return skipTerm; in calcCubicInverseTransposePowerBasisMatrix()
641 ExcludedTerm skipTerm, SkScalar outCoeffs[3]) { in calc_serp_kcoeffs() argument
642 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_kcoeffs()
644 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sl*sm : -tl*sm - tm*sl; in calc_serp_kcoeffs()
648 inline static void calc_serp_lmcoeffs(SkScalar t, SkScalar s, ExcludedTerm skipTerm, in calc_serp_lmcoeffs() argument
650 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_serp_lmcoeffs()
652 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? 3*s*s*t : -3*s*t*t; in calc_serp_lmcoeffs()
657 SkScalar tdse, SkScalar tesd, ExcludedTerm skipTerm, in calc_loop_kcoeffs() argument
659 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_kcoeffs()
661 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? sd*se : -tdse - tesd; in calc_loop_kcoeffs()
666 SkScalar t2s1, SkScalar t1s2, ExcludedTerm skipTerm, in calc_loop_lmcoeffs() argument
668 SkASSERT(ExcludedTerm::kQuadraticTerm == skipTerm || ExcludedTerm::kLinearTerm == skipTerm); in calc_loop_lmcoeffs()
670 outCoeffs[1] = (ExcludedTerm::kLinearTerm == skipTerm) ? s2 * (2*t2s1 + t1s2) in calc_loop_lmcoeffs()
737 ExcludedTerm skipTerm = calcCubicInverseTransposePowerBasisMatrix(src, &CIT); in getCubicKLM() local
738 if (ExcludedTerm::kNonInvertible == skipTerm) { in getCubicKLM()
755 calc_serp_kcoeffs(t0, s0, t1, s1, skipTerm, &klmCoeffs[0]); in getCubicKLM()
756 calc_serp_lmcoeffs(t0, s0, skipTerm, &klmCoeffs[3]); in getCubicKLM()
757 calc_serp_lmcoeffs(t1, s1, skipTerm, &klmCoeffs[6]); in getCubicKLM()
762 calc_loop_kcoeffs(t0, s0, t1, s1, tdse, tesd, skipTerm, &klmCoeffs[0]); in getCubicKLM()
763 calc_loop_lmcoeffs(t0, s0, t1, s1, tdse, tesd, skipTerm, &klmCoeffs[3]); in getCubicKLM()
764 calc_loop_lmcoeffs(t1, s1, t0, s0, tesd, tdse, skipTerm, &klmCoeffs[6]); in getCubicKLM()