Searched refs:SkMulDiv (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkMath.cpp | 77 int32_t SkMulDiv(int32_t numer1, int32_t numer2, int32_t denom) { in SkMulDiv() function 482 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI); in SkFixedSinCos() 495 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI); in SkFixedSinCos()
|
D | SkMatrix.cpp | 1335 SkFixed denom = SkMulDiv(x1, y2, x2) - y1; in Poly4Proc() 1339 a1 = SkFractDiv(SkMulDiv(x0 - x1, y2, x2) - y0 + y1, denom); in Poly4Proc() 1341 SkFixed denom = x1 - SkMulDiv(y1, x2, y2); in Poly4Proc() 1345 a1 = SkFractDiv(x0 - x1 - SkMulDiv(y0 - y1, x2, y2), denom); in Poly4Proc() 1350 SkFixed denom = y2 - SkMulDiv(x2, y1, x1); in Poly4Proc() 1354 a2 = SkFractDiv(y0 - y2 - SkMulDiv(x0 - x2, y1, x1), denom); in Poly4Proc() 1356 SkFixed denom = SkMulDiv(y2, x1, y1) - x2; in Poly4Proc() 1360 a2 = SkFractDiv(SkMulDiv(y0 - y2, x1, y1) - x0 + x2, denom); in Poly4Proc()
|
/external/skia/include/core/ |
D | SkMath.h | 35 int32_t SkMulDiv(int32_t numer1, int32_t numer2, int32_t denom);
|
D | SkScalar.h | 206 #define SkScalarMulDiv(a, b, c) SkMulDiv(a, b, c)
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 938 x_height = SkFixedToScalar(SkMulDiv(fScaleX, os2->sxHeight, upem)); in generateFontMetrics() 956 SkFixed y = SkMulDiv(scaleY, ys[i], upem); in generateFontMetrics()
|