Searched refs:SkLeftShift (Results 1 – 16 of 16) sorted by relevance
/external/skia/src/core/ |
D | SkFDot6.h | 59 SkASSERT((SkLeftShift(x, 10) >> 10) == x); in SkFDot6ToFixed() 61 return SkLeftShift(x, 10); in SkFDot6ToFixed() 72 return SkLeftShift(a, 16) / b; in SkFDot6Div()
|
D | SkEdge.cpp | 31 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()
|
D | SkScan_Path.cpp | 400 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()
|
D | SkScan_AntiPath.cpp | 94 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()
|
D | SkEdge.h | 19 #define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))
|
D | SkScan_Antihair.cpp | 260 SkASSERT((SkLeftShift(a, 16) >> 16) == a); in fastfixdiv() 262 return SkLeftShift(a, 16) / b; in fastfixdiv()
|
D | SkMatrix.cpp | 1652 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()
|
D | SkBitmapProcState_matrixProcs.cpp | 255 SkFixed s = SkLeftShift(fx, 15) >> 31; in mirror()
|
D | SkScan_AAAPath.cpp | 1076 if (currE->fUpperY >= SkLeftShift(stop_y, 16)) { in is_smooth_enough()
|
/external/skia/include/private/base/ |
D | SkFixed.h | 94 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))
|
D | SkMath.h | 37 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
|
D | SkFloatBits.h | 35 x |= SkLeftShift(sign, 31); in Sk2sComplimentToSignBit()
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.h | 212 *value = SkLeftShift(n, N) + frac; in parse_fixed()
|
/external/skia/tests/ |
D | RandomTest.cpp | 127 value = SkLeftShift(value, 1); in test_single_gorilla()
|
D | MathTest.cpp | 595 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST()
|
/external/skia/ |
D | RELEASE_NOTES.txt | 45 * SkLeftShift is no longer part of the public API.
|