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 | 1397 SkFixed denom = SkMulDiv(x1, y2, x2) - y1; in Poly4Proc() 1401 a1 = SkFractDiv(SkMulDiv(x0 - x1, y2, x2) - y0 + y1, denom); in Poly4Proc() 1403 SkFixed denom = x1 - SkMulDiv(y1, x2, y2); in Poly4Proc() 1407 a1 = SkFractDiv(x0 - x1 - SkMulDiv(y0 - y1, x2, y2), denom); in Poly4Proc() 1412 SkFixed denom = y2 - SkMulDiv(x2, y1, x1); in Poly4Proc() 1416 a2 = SkFractDiv(y0 - y2 - SkMulDiv(x0 - x2, y1, x1), denom); in Poly4Proc() 1418 SkFixed denom = SkMulDiv(y2, x1, y1) - x2; in Poly4Proc() 1422 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 | 255 #define SkScalarMulDiv(a, b, c) SkMulDiv(a, b, c)
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1315 x_height = SkFixedToScalar(SkMulDiv(fScaleX, os2->sxHeight, upem)); in generateFontMetrics() 1333 SkFixed y = SkMulDiv(scaleY, ys[i], upem); in generateFontMetrics()
|