Home
last modified time | relevance | path

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

/external/skqp/include/private/
DSkFloatingPoint.h94 static inline int sk_float_saturate2int(float x) { in sk_float_saturate2int() function
118 #define sk_float_floor2int(x) sk_float_saturate2int(sk_float_floor(x))
119 #define sk_float_round2int(x) sk_float_saturate2int(sk_float_floor((x) + 0.5f))
120 #define sk_float_ceil2int(x) sk_float_saturate2int(sk_float_ceil(x))
DSkFixed.h40 #define SkFloatToFixed(x) sk_float_saturate2int((x) * SK_Fixed1)
/external/skia/include/private/
DSkFloatingPoint.h122 static inline int sk_float_saturate2int(float x) { in sk_float_saturate2int() function
146 #define sk_float_floor2int(x) sk_float_saturate2int(sk_float_floor(x))
147 #define sk_float_round2int(x) sk_float_saturate2int(sk_float_floor((x) + 0.5f))
148 #define sk_float_ceil2int(x) sk_float_saturate2int(sk_float_ceil(x))
DSkFixed.h41 #define SkFloatToFixed(x) sk_float_saturate2int((x) * SK_Fixed1)
/external/skia/include/core/
DSkScalar.h58 #define SkScalarTruncToInt(x) sk_float_saturate2int(x)
/external/skqp/include/core/
DSkScalar.h58 #define SkScalarTruncToInt(x) sk_float_saturate2int(x)
/external/skqp/src/core/
DSkICC.cpp172 return sk_float_saturate2int((float)floor((double)x * SK_Fixed1 + 0.5)); in float_round_to_fixed()
/external/skia/src/core/
DSkICC.cpp172 return sk_float_saturate2int((float)floor((double)x * SK_Fixed1 + 0.5)); in float_round_to_fixed()
/external/skqp/tests/
DMathTest.cpp649 int i = sk_float_saturate2int(r.fFloat); in DEF_TEST()
/external/skia/tests/
DMathTest.cpp684 int i = sk_float_saturate2int(r.fFloat); in DEF_TEST()