Home
last modified time | relevance | path

Searched refs:SkFract (Results 1 – 9 of 9) sorted by relevance

/external/skia/include/core/
DSkFixed.h50 typedef int32_t SkFract; typedef
57 #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()
DSk64.h64 SkFract getFract() const;
/external/skia/src/core/
DSkMath.cpp162 SkFract SkFractMul_portable(SkFract a, SkFract b) { in SkFractMul_portable()
168 return static_cast<SkFract>((SkLONGLONG)a * b >> 30); in SkFractMul_portable()
DSkFloat.h30 void setFract(SkFract value) { fPacked = SetShift(value, -30); } in setFract()
35 SkFract getFract() const { return GetShift(fPacked, -30); } in getFract()
DSk64.cpp161 SkFract Sk64::getFract() const in getFract()
DSkMatrix.cpp490 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()
/external/skia/include/utils/
DSkUnitMappers.h37 SkFract fScale; // computed from fSegments
DSkCamera.h30 typedef SkFract SkUnitScalar;
/external/skia/tests/
DMathTest.cpp366 SkFract x = rand.nextU() >> 1; in TestMath()
368 SkFract xr = SkFractSqrt(x); in TestMath()
369 SkFract check = SkFloatToFract(sqrt(xx)); in TestMath()