Lines Matching refs:k4
20 SkArithmeticMode_scalar(SkScalar k1, SkScalar k2, SkScalar k3, SkScalar k4, in SkArithmeticMode_scalar() argument
25 fK[3] = k4; in SkArithmeticMode_scalar()
61 const SkScalar k4 = 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
80 k4; in arith()
94 SkScalar k4 = fK[3] * 255; 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()