Lines Matching refs:SkFixed
20 typedef int32_t SkFixed; typedef
32 #define SkFloatToFixed(x) ((SkFixed)((x) * SK_Fixed1))
35 static inline SkFixed SkFloatToFixed(float x) { in SkFloatToFixed()
37 return (SkFixed)n; in SkFloatToFixed()
42 static inline SkFixed SkFloatToFixed_Check(float x) { in SkFloatToFixed_Check()
44 SkFixed n32 = (SkFixed)n64; in SkFloatToFixed_Check()
53 #define SkDoubleToFixed(x) ((SkFixed)((x) * SK_Fixed1))
59 inline SkFixed SkIntToFixed(int n) in SkIntToFixed()
70 #define SkIntToFixed(n) (SkFixed)((unsigned)(n) << 16)
96 inline SkFixed SkFixedMul_longlong(SkFixed a, SkFixed b) { in SkFixedMul_longlong()
97 return (SkFixed)((int64_t)a * b >> 16); in SkFixedMul_longlong()
107 SK_ALWAYS_INLINE SkFixed SkFloatToFixed_arm(float x) in SkFloatToFixed_arm()
124 inline SkFixed SkFixedMul_arm(SkFixed x, SkFixed y) in SkFixedMul_arm()
150 #define SkFixed3232ToFixed(x) ((SkFixed)((x) >> 16))