Searched refs:roundClamp (Results 1 – 8 of 8) sorted by relevance
26 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function60 colors[0] = a.roundClamp(); in RoundClampTo4PMColors()61 colors[1] = b.roundClamp(); in RoundClampTo4PMColors()62 colors[2] = c.roundClamp(); in RoundClampTo4PMColors()63 colors[3] = d.roundClamp(); in RoundClampTo4PMColors()
37 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function68 colors[0] = a.roundClamp(); in RoundClampTo4PMColors()69 colors[1] = b.roundClamp(); in RoundClampTo4PMColors()70 colors[2] = c.roundClamp(); in RoundClampTo4PMColors()71 colors[3] = d.roundClamp(); in RoundClampTo4PMColors()
25 return this->roundClamp(); // Haven't beaten this yet. in round()28 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
38 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
79 back[0] = fa.roundClamp(); in onDraw()80 back[1] = fb.roundClamp(); in onDraw()81 back[2] = fc.roundClamp(); in onDraw()82 back[3] = fd.roundClamp(); in onDraw()
47 SkPMColor roundClamp() const; // Will clamp all values to [0, 255].
29 SkPMFloat clamped(SkPMFloat(510.0f, 153.0f, 1.0f, -0.2f).roundClamp()); in DEF_TEST()
302 SkPMColor matrix_translate_pmcolor = SkPMFloat(premul(clamp_0_255(c4))).roundClamp(); in filterSpan()