Searched refs:SkFract (Results 1 – 9 of 9) sorted by relevance
50 typedef int32_t SkFract; typedef57 #define SkFloatToFract(x) ((SkFract)((x) * SK_Fract1))78 inline SkFract SkFixedToFract(SkFixed x) in SkFixedToFract()107 SkFract SkFractMul_portable(SkFract, SkFract);159 inline SkFract SkFractMul_longlong(SkFract a, SkFract b) in SkFractMul_longlong()
64 SkFract getFract() const;
162 SkFract SkFractMul_portable(SkFract a, SkFract b) { in SkFractMul_portable()168 return static_cast<SkFract>((SkLONGLONG)a * b >> 30); in SkFractMul_portable()
30 void setFract(SkFract value) { fPacked = SetShift(value, -30); } in setFract()35 SkFract getFract() const { return GetShift(fPacked, -30); } in getFract()
161 SkFract Sk64::getFract() const in getFract()
490 static inline SkFixed fracmuladdmul(SkFixed a, SkFract b, SkFixed c, in fracmuladdmul()491 SkFract d) { in fracmuladdmul()754 SkFract scale = tmp.get32(); in invert()1155 typedef SkFract SkPerspElemType;1323 SkFract a1, a2; in Poly4Proc()
37 SkFract fScale; // computed from fSegments
30 typedef SkFract SkUnitScalar;
366 SkFract x = rand.nextU() >> 1; in TestMath()368 SkFract xr = SkFractSqrt(x); in TestMath()369 SkFract check = SkFloatToFract(sqrt(xx)); in TestMath()