Lines Matching refs:k3
20 SkArithmeticMode_scalar(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, in SkArithmeticMode_scalar() argument
24 fK[2] = k3; in SkArithmeticMode_scalar()
60 const SkScalar k3 = buffer.readScalar(); in CreateProc() local
63 return SkArithmeticMode::Create(k1, k2, k3, k4, enforcePMColor); in CreateProc()
75 static int arith(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, in arith() argument
79 SkScalarMul(k3, dst) + in arith()
93 SkScalar k3 = fK[2]; in xfer32() local
103 a = arith(k1, k2, k3, k4, SkGetPackedA32(sc), SkGetPackedA32(dc)); in xfer32()
104 r = arith(k1, k2, k3, k4, SkGetPackedR32(sc), SkGetPackedR32(dc)); in xfer32()
105 g = arith(k1, k2, k3, k4, SkGetPackedG32(sc), SkGetPackedG32(dc)); in xfer32()
106 b = arith(k1, k2, k3, k4, SkGetPackedB32(sc), SkGetPackedB32(dc)); in xfer32()
141 SkScalar k3, SkScalar k4, in Create() argument
144 SkScalarNearlyZero(k3) && SkScalarNearlyZero(k4)) { in Create()
147 SkScalarNearlyEqual(k3, SK_Scalar1) && SkScalarNearlyZero(k4)) { in Create()
151 return new SkArithmeticMode_scalar(k1, k2, k3, k4, enforcePMColor); in Create()