Home
last modified time | relevance | path

Searched refs:roundClamp (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/opts/
DSkPMFloat_none.h26 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
60 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()
DSkPMFloat_neon.h37 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
68 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()
DSkPMFloat_SSE2.h25 return this->roundClamp(); // Haven't beaten this yet. in round()
28 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
DSkPMFloat_SSSE3.h38 inline SkPMColor SkPMFloat::roundClamp() const { in roundClamp() function
/external/skia/bench/
DPMFloatBench.cpp79 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()
/external/skia/src/core/
DSkPMFloat.h47 SkPMColor roundClamp() const; // Will clamp all values to [0, 255].
/external/skia/tests/
DPMFloatTest.cpp29 SkPMFloat clamped(SkPMFloat(510.0f, 153.0f, 1.0f, -0.2f).roundClamp()); in DEF_TEST()
/external/skia/src/effects/
DSkColorMatrixFilter.cpp302 SkPMColor matrix_translate_pmcolor = SkPMFloat(premul(clamp_0_255(c4))).roundClamp(); in filterSpan()