Searched refs:trunc_from_255 (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/effects/gradients/
H A DSk4fLinearGradient.cpp19 SkPMColor trunc_from_255(const Sk4f& c) { function in namespace:__anon16074
47 sk_memset32(dst, trunc_from_255<false>(c), n);
52 sk_memset32(dst, trunc_from_255<true>(c), n);
70 *dst = trunc_from_255<false>(c);
75 *dst = trunc_from_255<true>(c);
H A DSkLinearGradient.cpp538 template <bool apply_alpha> SkPMColor trunc_from_255(const Sk4f& x) { function
550 sk_memset32_dither(dst, trunc_from_255<apply_alpha>(c4),
551 trunc_from_255<apply_alpha>(c4other), count);
556 sk_memset32(dst, trunc_from_255<apply_alpha>(c4), count);
595 *dstC++ = trunc_from_255<apply_alpha>(cd0);
596 *dstC++ = trunc_from_255<apply_alpha>(cd1);
597 *dstC++ = trunc_from_255<apply_alpha>(cd2);
598 *dstC++ = trunc_from_255<apply_alpha>(cd3);
607 *dstC++ = trunc_from_255<apply_alpha>(cd0);
608 *dstC++ = trunc_from_255<apply_alph
[all...]

Completed in 77 milliseconds