Home
last modified time | relevance | path

Searched refs:SkFixedMul (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/private/
DSkFixed.h95 #define SkFixedMul(a,b) SkFixedMul_longlong(a,b) macro
122 #undef SkFixedMul
123 #define SkFixedMul(x, y) SkFixedMul_arm(x, y) macro
/external/skia/src/core/
DSkAnalyticEdge.h62 fX = fUpperX + SkFixedMul(fDX, y - fUpperY); in goY()
112 SkASSERT(SkAbs32(fX - SkFixedMul(fY - fSnappedY, fDX) - fSnappedX) < SK_Fixed1); in keepContinuous()
127 SkASSERT(SkAbs32(fX - SkFixedMul(fDX, fY - SnapY(fCEdge.fCy)) - fCEdge.fCx) < SK_Fixed1); in keepContinuous()
DSkScan_AAAPath.cpp601 SkFixed firstH = SkFixedMul(first, dY); // vertical edge of the left-most triangle in computeAlphaAboveLine()
602 alphas[0] = SkFixedMul(first, firstH) >> 9; // triangle alpha in computeAlphaAboveLine()
625 SkFixed lastH = SkFixedMul(last, dY); // vertical edge of the right-most triangle in computeAlphaBelowLine()
626 alphas[R-1] = SkFixedMul(last, lastH) >> 9; // triangle alpha in computeAlphaBelowLine()
1087 f2a(SkFixedMul(partialTop, partialLeft))); in aaa_walk_convex_edges()
1093 f2a(SkFixedMul(partialTop, partialRite))); in aaa_walk_convex_edges()
1111 f2a(SkFixedMul(partialBot, partialLeft))); in aaa_walk_convex_edges()
1116 f2a(SkFixedMul(partialBot, partialRite))); in aaa_walk_convex_edges()
1122 f2a(SkFixedMul(partialTop, rite - left))); in aaa_walk_convex_edges()
1131 f2a(SkFixedMul(partialBot, rite - left))); in aaa_walk_convex_edges()
[all …]
DSkEdge.h125 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
DSkEdge.cpp75 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
116 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
DSkAnalyticEdge.cpp101 newSnappedX = newx - SkFixedMul(slope, newy - newSnappedY); in updateQuadratic()