Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkSRGB.h28 static inline V sk_clamp_0_255(const V& x) { in sk_clamp_0_255() function
74 return SkNx_cast<int>(sk_clamp_0_255(f)); in sk_linear_to_srgb()
DSkColorSpaceXform.cpp528 dr = sk_clamp_0_255(dr); in store_srgb()
529 dg = sk_clamp_0_255(dg); in store_srgb()
530 db = sk_clamp_0_255(db); in store_srgb()
545 rgba = sk_clamp_0_255(sk_linear_to_srgb_needs_trunc(rgba)); in store_srgb_1()
576 dr = sk_clamp_0_255(dr); in store_2dot2()
577 dg = sk_clamp_0_255(dg); in store_2dot2()
578 db = sk_clamp_0_255(db); in store_2dot2()
593 rgba = sk_clamp_0_255(linear_to_2dot2(rgba)); in store_2dot2_1()
610 dr = sk_clamp_0_255(255.0f * dr); in store_linear()
611 dg = sk_clamp_0_255(255.0f * dg); in store_linear()
[all …]