Searched refs:From4f (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 218 static SkRGBAf From4f(const Sk4f& x) { in From4f() function 225 return From4f(swizzle_rb(SkNx_cast<float>(Sk4b::Load(&c)) * (1/255.0f))); in FromBGRA32() 240 return From4f(this->to4f() * Sk4f(a, a, a, 1)); in premul() 246 return From4f(this->to4f() * Sk4f(inv, inv, inv, 1)); in unpremul()
|
/external/skqp/src/utils/ |
D | SkPatchUtils.cpp | 218 static SkRGBAf From4f(const Sk4f& x) { in From4f() function 225 return From4f(swizzle_rb(SkNx_cast<float>(Sk4b::Load(&c)) * (1/255.0f))); in FromBGRA32() 240 return From4f(this->to4f() * Sk4f(a, a, a, 1)); in premul() 246 return From4f(this->to4f() * Sk4f(inv, inv, inv, 1)); in unpremul()
|
/external/skia/src/core/ |
D | SkColor.cpp | 111 return From4f(swizzle_rb_if_bgra(Sk4f_fromL32(c))); in FromPMColor() 175 return SkPM4f::From4f(src); in premul()
|
D | SkPM4f.h | 49 static SkPM4f From4f(const Sk4f& x) { in From4f() function
|
D | SkBlendMode.cpp | 131 return SkPM4f::From4f(src.to4f() + dst.to4f() * Sk4f(1 - src.a())); in SkBlendMode_Apply()
|
/external/skqp/src/core/ |
D | SkColor.cpp | 111 return From4f(swizzle_rb_if_bgra(Sk4f_fromL32(c))); in FromPMColor() 175 return SkPM4f::From4f(src); in premul()
|
D | SkPM4f.h | 49 static SkPM4f From4f(const Sk4f& x) { in From4f() function
|
D | SkBlendMode.cpp | 130 return SkPM4f::From4f(src.to4f() + dst.to4f() * Sk4f(1 - src.a())); in SkBlendMode_Apply()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 320 : SkPM4f::From4f(Sk4f::Load(&c)); in onAppendStages() 330 f_and_b[0] = SkPM4f::From4f(c_r.to4f() - c_l.to4f()); in onAppendStages()
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 312 : SkPM4f::From4f(Sk4f::Load(&c)); in onAppendStages() 322 f_and_b[0] = SkPM4f::From4f(c_r.to4f() - c_l.to4f()); in onAppendStages()
|