Lines Matching defs:srca
71 static float apply_contrast(float srca, float contrast) {
72 return srca + ((1.0f - srca) * contrast * srca);
96 float srca = apply_contrast(rawSrca, adjustedContrast);
97 table[i] = SkToU8(sk_float_round2int(255.0f * srca));
108 float srca = apply_contrast(rawSrca, adjustedContrast);
109 SkASSERT(srca <= 1.0f);
110 float dsta = 1.0f - srca;
113 float linOut = (linSrc * srca + dsta * linDst);