Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkEdge.cpp28 static inline SkFixed SkFDot6ToFixedDiv2(SkFDot6 value) { in SkFDot6ToFixedDiv2()
56 SkFDot6 x0, y0, x1, y1; in setLine()
95 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine()
137 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine()
171 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance()
183 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift()
186 SkFDot6 dist = cheap_distance(dx, dy); in diff_to_shift()
201 SkFDot6 x0, y0, x1, y1, x2, y2; in setQuadraticWithoutUpdate()
241 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadraticWithoutUpdate()
242 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
[all …]
DSkFDot6.h16 typedef int32_t SkFDot6; typedef
23 inline SkFDot6 SkScalarRoundToFDot6(SkScalar x, int shift = 0)
44 inline SkFDot6 SkIntToFDot6(int x) { in SkIntToFDot6()
58 inline SkFixed SkFDot6ToFixed(SkFDot6 x) { in SkFDot6ToFixed()
64 #define SkScalarToFDot6(x) (SkFDot6)((x) * 64)
68 inline SkFixed SkFDot6Div(SkFDot6 a, SkFDot6 b) { in SkFDot6Div()
DSkAnalyticEdge.cpp16 static inline SkFixed quick_inverse(SkFDot6 x) { in quick_inverse()
206 static inline SkFixed quick_div(SkFDot6 a, SkFDot6 b) { in quick_div()
212 SkFDot6 abs_a = SkAbs32(a); in quick_div()
213 SkFDot6 abs_b = SkAbs32(b); in quick_div()
256 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in setLine()
260 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in setLine()
302 SkFDot6 dx = SkFixedToFDot6(x1 - x0); in updateLine()
303 SkFDot6 dy = SkFixedToFDot6(y1 - y0); in updateLine()
312 SkFDot6 absSlope = SkAbs32(SkFixedToFDot6(slope)); in updateLine()
385 SkFDot6 diffY = SkFixedToFDot6(newy - fSnappedY); in updateQuadratic()
[all …]
DSkScan_Antihair.cpp259 static inline SkFixed fastfixdiv(SkFDot6 a, SkFDot6 b) { in fastfixdiv()
287 static bool canConvertFDot6ToFixed(SkFDot6 x) { in canConvertFDot6ToFixed()
299 static int contribution_64(SkFDot6 ordinate) { in contribution_64()
312 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, in do_anti_hairline()
575 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); in AntiHairLineRgn()
576 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); in AntiHairLineRgn()
577 SkFDot6 x1 = SkScalarToFDot6(pts[1].fX); in AntiHairLineRgn()
578 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); in AntiHairLineRgn()
581 SkFDot6 left = std::min(x0, x1); in AntiHairLineRgn()
582 SkFDot6 top = std::min(y0, y1); in AntiHairLineRgn()
[all …]
DSkEdge.h89 SkFDot6 x0, y0, x1, y1; in setLine()
124 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine()
DSkScan_Hairline.cpp40 static bool canConvertFDot6ToFixed(SkFDot6 x) { in canConvertFDot6ToFixed()
76 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); in HairLineRgn()
77 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); in HairLineRgn()
78 SkFDot6 x1 = SkScalarToFDot6(pts[1].fX); in HairLineRgn()
79 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); in HairLineRgn()
111 SkFDot6 dx = x1 - x0; in HairLineRgn()
112 SkFDot6 dy = y1 - y0; in HairLineRgn()
DBUILD.bazel133 "SkFDot6.h",
/external/skia/gn/
Dcore.gni349 "$_src/core/SkFDot6.h",
/external/skia/
Dpublic.bzl460 "src/core/SkFDot6.h",