Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPatchUtils.cpp220 static SkRGBAf From4f(const Sk4f& x) { in From4f() function
227 return From4f(swizzle_rb(SkNx_cast<float>(Sk4b::Load(&c)) * (1/255.0f))); in FromBGRA32()
242 return From4f(this->to4f() * Sk4f(a, a, a, 1)); in premul()
248 return From4f(this->to4f() * Sk4f(inv, inv, inv, 1)); in unpremul()
/external/skia/src/core/
DSkColor.cpp111 return From4f(swizzle_rb_if_bgra(Sk4f_fromL32(c))); in FromPMColor()
184 return SkPM4f::From4f(src); in premul()
DSkPM4f.h49 static SkPM4f From4f(const Sk4f& x) { in From4f() function
DSkBlendMode.cpp117 return SkPM4f::From4f(src.to4f() + dst.to4f() * Sk4f(1 - src.a())); in SkBlendMode_Apply()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp405 : SkPM4f::From4f(Sk4f::Load(&c)); in onAppendStages()
415 f_and_b[0] = SkPM4f::From4f(c_r.to4f() - c_l.to4f()); in onAppendStages()