Home
last modified time | relevance | path

Searched refs:SkLeftShift (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/skia/src/core/
DSkFDot6.h59 SkASSERT((SkLeftShift(x, 10) >> 10) == x); in SkFDot6ToFixed()
61 return SkLeftShift(x, 10); in SkFDot6ToFixed()
72 return SkLeftShift(a, 16) / b; in SkFDot6Div()
DSkEdge.cpp31 return SkLeftShift(value, 16 - 6 - 1); in SkFDot6ToFixedDiv2()
222 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadraticWithoutUpdate()
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
330 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift()
331 return SkLeftShift(x, upShift); in SkFDot6UpShift()
423 fCurveCount = SkToS8(SkLeftShift(-1, shift)); in setCubicWithoutUpdate()
DSkScan_Path.cpp401 shiftedClip.fLeft = SkLeftShift(shiftedClip.fLeft, shiftEdgesUp); in sk_fill_path()
402 shiftedClip.fRight = SkLeftShift(shiftedClip.fRight, shiftEdgesUp); in sk_fill_path()
403 shiftedClip.fTop = SkLeftShift(shiftedClip.fTop, shiftEdgesUp); in sk_fill_path()
404 shiftedClip.fBottom = SkLeftShift(shiftedClip.fBottom, shiftEdgesUp); in sk_fill_path()
452 start_y = SkLeftShift(start_y, shiftEdgesUp); in sk_fill_path()
453 stop_y = SkLeftShift(stop_y, shiftEdgesUp); in sk_fill_path()
DSkScan_AntiPath.cpp95 fSuperLeft = SkLeftShift(left, SHIFT); in BaseSuperBlitter()
99 fCurrY = SkLeftShift(fTop, SHIFT) - 1; in BaseSuperBlitter()
549 x -= SkLeftShift(fMask.fBounds.fLeft, SHIFT); in blitH()
694 return (SkLeftShift(value, s) >> s) - value; in overflows_short_shift()
DSkEdge.h19 #define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))
DSkScan_Antihair.cpp255 SkASSERT((SkLeftShift(a, 16) >> 16) == a); in fastfixdiv()
257 return SkLeftShift(a, 16) / b; in fastfixdiv()
DSkMatrix.cpp1643 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1644 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1645 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1646 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
/third_party/skia/src/core/
DSkFDot6.h59 SkASSERT((SkLeftShift(x, 10) >> 10) == x); in SkFDot6ToFixed()
61 return SkLeftShift(x, 10); in SkFDot6ToFixed()
72 return SkLeftShift(a, 16) / b; in SkFDot6Div()
DSkEdge.cpp31 return SkLeftShift(value, 16 - 6 - 1); in SkFDot6ToFixedDiv2()
222 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadraticWithoutUpdate()
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
330 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift()
331 return SkLeftShift(x, upShift); in SkFDot6UpShift()
423 fCurveCount = SkToS8(SkLeftShift(-1, shift)); in setCubicWithoutUpdate()
DSkScan_Path.cpp400 shiftedClip.fLeft = SkLeftShift(shiftedClip.fLeft, shiftEdgesUp); in sk_fill_path()
401 shiftedClip.fRight = SkLeftShift(shiftedClip.fRight, shiftEdgesUp); in sk_fill_path()
402 shiftedClip.fTop = SkLeftShift(shiftedClip.fTop, shiftEdgesUp); in sk_fill_path()
403 shiftedClip.fBottom = SkLeftShift(shiftedClip.fBottom, shiftEdgesUp); in sk_fill_path()
451 start_y = SkLeftShift(start_y, shiftEdgesUp); in sk_fill_path()
452 stop_y = SkLeftShift(stop_y, shiftEdgesUp); in sk_fill_path()
DSkScan_AntiPath.cpp94 fSuperLeft = SkLeftShift(left, SHIFT); in BaseSuperBlitter()
98 fCurrY = SkLeftShift(fTop, SHIFT) - 1; in BaseSuperBlitter()
548 x -= SkLeftShift(fMask.fBounds.fLeft, SHIFT); in blitH()
693 return (SkLeftShift(value, s) >> s) - value; in overflows_short_shift()
DSkEdge.h19 #define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))
DSkScan_Antihair.cpp260 SkASSERT((SkLeftShift(a, 16) >> 16) == a); in fastfixdiv()
262 return SkLeftShift(a, 16) / b; in fastfixdiv()
DSkMatrix.cpp1677 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1678 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1679 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1680 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
/third_party/flutter/skia/include/private/
DSkFixed.h93 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
131 #define SkIntToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 32))
133 #define SkFixedToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 16))
DSkFloatBits.h36 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
/third_party/skia/include/private/
DSkFixed.h94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
132 #define SkIntToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 32))
134 #define SkFixedToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 16))
DSkFloatBits.h36 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
/third_party/flutter/skia/include/core/
DSkTypes.h99 static inline constexpr int32_t SkLeftShift(int32_t value, int32_t shift) { in SkLeftShift() function
103 static inline constexpr int64_t SkLeftShift(int64_t value, int32_t shift) { in SkLeftShift() function
/third_party/skia/include/core/
DSkTypes.h531 static inline constexpr int32_t SkLeftShift(int32_t value, int32_t shift) { in SkLeftShift() function
535 static inline constexpr int64_t SkLeftShift(int64_t value, int32_t shift) { in SkLeftShift() function
/third_party/skia/tests/
DRandomTest.cpp122 value = SkLeftShift(value, 1); in test_single_gorilla()
/third_party/flutter/skia/src/ports/
DSkFontMgr_android_parser.h212 *value = SkLeftShift(n, N) + frac; in parse_fixed()
DSkFontMgr_config_parser.h224 *value = SkLeftShift(n, N) + frac; in parse_fixed()
/third_party/flutter/skia/tests/
DRandomTest.cpp122 value = SkLeftShift(value, 1); in test_single_gorilla()
/third_party/skia/src/ports/
DSkFontMgr_android_parser.h212 *value = SkLeftShift(n, N) + frac; in parse_fixed()

12