Home
last modified time | relevance | path

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

/external/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()
241 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; in setQuadraticWithoutUpdate()
242 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
350 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift()
351 return SkLeftShift(x, upShift); in SkFDot6UpShift()
444 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()
646 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.cpp1652 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits); in SkTreatAsSprite()
1653 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits); in SkTreatAsSprite()
1654 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits); in SkTreatAsSprite()
1655 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits); in SkTreatAsSprite()
DSkBitmapProcState_matrixProcs.cpp255 SkFixed s = SkLeftShift(fx, 15) >> 31; in mirror()
DSkScan_AAAPath.cpp1076 if (currE->fUpperY >= SkLeftShift(stop_y, 16)) { in is_smooth_enough()
/external/skia/include/private/base/
DSkFixed.h94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
134 #define SkIntToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 32))
136 #define SkFixedToFixed3232(x) (SkLeftShift((SkFixed3232)(x), 16))
DSkMath.h37 static inline constexpr int32_t SkLeftShift(int32_t value, int32_t shift) { in SkLeftShift() function
41 static inline constexpr int64_t SkLeftShift(int64_t value, int32_t shift) { in SkLeftShift() function
DSkFloatBits.h35 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
/external/skia/src/ports/
DSkFontMgr_android_parser.h212 *value = SkLeftShift(n, N) + frac; in parse_fixed()
/external/skia/tests/
DRandomTest.cpp127 value = SkLeftShift(value, 1); in test_single_gorilla()
DMathTest.cpp595 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST()
/external/skia/
DRELEASE_NOTES.txt45 * SkLeftShift is no longer part of the public API.