Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkEdge.cpp26 static inline SkFixed SkFDot6ToFixedDiv2(SkFDot6 value) { in SkFDot6ToFixedDiv2()
36 SkFDot6 x0, y0, x1, y1; in setLine()
74 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine()
115 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine()
149 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance()
161 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy) in diff_to_shift()
164 SkFDot6 dist = cheap_distance(dx, dy); in diff_to_shift()
178 SkFDot6 x0, y0, x1, y1, x2, y2; in setQuadratic()
217 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadratic()
218 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadratic()
[all …]
DSkFDot6.h16 typedef int32_t SkFDot6; typedef
23 inline SkFDot6 SkScalarRoundToFDot6(SkScalar x, int shift = 0)
44 inline SkFDot6 SkIntToFDot6(S16CPU x) { in SkIntToFDot6()
58 inline SkFixed SkFDot6ToFixed(SkFDot6 x) { in SkFDot6ToFixed()
64 #define SkScalarToFDot6(x) (SkFDot6)((x) * 64)
67 inline SkFixed SkFDot6Div(SkFDot6 a, SkFDot6 b) { in SkFDot6Div()
DSkScan_Antihair.cpp252 static inline SkFixed fastfixdiv(SkFDot6 a, SkFDot6 b) { in fastfixdiv()
280 static bool canConvertFDot6ToFixed(SkFDot6 x) { in canConvertFDot6ToFixed()
292 static int contribution_64(SkFDot6 ordinate) { in contribution_64()
305 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, in do_anti_hairline()
347 SkTSwap<SkFDot6>(x0, x1); in do_anti_hairline()
348 SkTSwap<SkFDot6>(y0, y1); in do_anti_hairline()
420 SkTSwap<SkFDot6>(x0, x1); in do_anti_hairline()
421 SkTSwap<SkFDot6>(y0, y1); in do_anti_hairline()
566 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); in AntiHairLineRgn()
567 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); in AntiHairLineRgn()
[all …]
DSkScan_Hairline.cpp35 static bool canConvertFDot6ToFixed(SkFDot6 x) { in canConvertFDot6ToFixed()
71 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); in HairLineRgn()
72 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); in HairLineRgn()
73 SkFDot6 x1 = SkScalarToFDot6(pts[1].fX); in HairLineRgn()
74 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); in HairLineRgn()
106 SkFDot6 dx = x1 - x0; in HairLineRgn()
107 SkFDot6 dy = y1 - y0; in HairLineRgn()
111 SkTSwap<SkFDot6>(x0, x1); in HairLineRgn()
112 SkTSwap<SkFDot6>(y0, y1); in HairLineRgn()
126 SkTSwap<SkFDot6>(x0, x1); in HairLineRgn()
[all …]
DSkEdge.h88 SkFDot6 x0, y0, x1, y1; in setLine()
122 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine()
/external/skia/gyp/
Dcore.gypi117 '<(skia_src_path)/core/SkFDot6.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj617 …064D447 /* SkFDot6.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecod…
1630 260E01CB13B1225D0064D447 /* SkFDot6.h */,