Searched refs:SkFract (Results 1 – 9 of 9) sorted by relevance
58 typedef int32_t SkFract; typedef65 #define SkFloatToFract(x) ((SkFract)((x) * SK_Fract1))86 inline SkFract SkFixedToFract(SkFixed x) in SkFixedToFract()118 SkFract SkFractMul_portable(SkFract, SkFract);174 inline SkFract SkFractMul_longlong(SkFract a, SkFract b) in SkFractMul_longlong()
64 SkFract getFract() const;
30 void setFract(SkFract value) { fPacked = SetShift(value, -30); } in setFract()35 SkFract getFract() const { return GetShift(fPacked, -30); } in getFract()
162 SkFract SkFractMul_portable(SkFract a, SkFract b) { in SkFractMul_portable()168 return static_cast<SkFract>((SkLONGLONG)a * b >> 30); in SkFractMul_portable()
161 SkFract Sk64::getFract() const in getFract()
533 static inline SkFixed fracmuladdmul(SkFixed a, SkFract b, SkFixed c, in fracmuladdmul()534 SkFract d) { in fracmuladdmul()816 SkFract scale = tmp.get32(); in invert()1217 typedef SkFract SkPerspElemType;1385 SkFract a1, a2; in Poly4Proc()
37 SkFract fScale; // computed from fSegments
30 typedef SkFract SkUnitScalar;
448 SkFract x = rand.nextU() >> 1; in TestMath()450 SkFract xr = SkFractSqrt(x); in TestMath()451 SkFract check = SkFloatToFract(sqrt(xx)); in TestMath()