Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkXfermode4f.cpp164 const Sk4f& s4_255 = s4 * Sk4f(255); in src_1() local
167 Sk4f r0 = lerp(s4_255, to_4f(dst[0]), Sk4f(aa4[0])) + Sk4f(0.5f); in src_1()
168 Sk4f r1 = lerp(s4_255, to_4f(dst[1]), Sk4f(aa4[1])) + Sk4f(0.5f); in src_1()
169 Sk4f r2 = lerp(s4_255, to_4f(dst[2]), Sk4f(aa4[2])) + Sk4f(0.5f); in src_1()
170 Sk4f r3 = lerp(s4_255, to_4f(dst[3]), Sk4f(aa4[3])) + Sk4f(0.5f); in src_1()
275 const Sk4f s4_255 = s4 * Sk4f(255) + Sk4f(0.5f); // +0.5 to pre-bias for rounding in srcover_linear_dst_1() local
282 s4_255 + d0 * dst_scale, in srcover_linear_dst_1()
283 s4_255 + d1 * dst_scale, in srcover_linear_dst_1()
284 s4_255 + d2 * dst_scale, in srcover_linear_dst_1()
285 s4_255 + d3 * dst_scale); in srcover_linear_dst_1()
[all …]