Home
last modified time | relevance | path

Searched refs:From4f (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp97 T matrix_translate_pmcolor = Adaptor::From4f(premul(clamp_0_1(c4))); in filter_span()
118 dst[i] = Adaptor::From4f(premul(clamp_0_1(dst4))); in filter_span()
129 static SkPMColor From4f(const Sk4f& c4) { in From4f() function
147 static SkPM4f From4f(const Sk4f& c4) { in From4f() function
148 return SkPM4f::From4f(c4); in From4f()
DSkColor.cpp111 return From4f(swizzle_rb_if_bgra(Sk4f_fromL32(c))); in FromPMColor()
184 return SkPM4f::From4f(src); in premul()
DSkPM4f.h40 static SkPM4f From4f(const Sk4f& x) { in From4f() function
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp140 const SkPM4f pmc0 = premulGrad ? c0.premul() : SkPM4f::From4f(Sk4f::Load(&c0)), in onAppendStages()
141 pmc1 = premulGrad ? c1.premul() : SkPM4f::From4f(Sk4f::Load(&c1)); in onAppendStages()
145 c0_and_dc[1] = SkPM4f::From4f(pmc1.to4f() - pmc0.to4f()); in onAppendStages()