HomeSort by relevance Sort by last modified time
    Searched refs:SkAbs32 (Results 1 - 25 of 33) sorted by null

1 2

  /external/skia/src/effects/
SkAvoidXfermode.cpp 58 unsigned dr = SkAbs32(SkGetPackedR16(c) - r);
59 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS);
60 unsigned db = SkAbs32(SkGetPackedB16(c) - b);
72 unsigned dr = SkAbs32(SkGetPackedR4444(c) - r);
73 unsigned dg = SkAbs32(SkGetPackedG4444(c) - g);
74 unsigned db = SkAbs32(SkGetPackedB4444(c) - b);
86 unsigned dr = SkAbs32(SkGetPackedR32(c) - r);
87 unsigned dg = SkAbs32(SkGetPackedG32(c) - g);
88 unsigned db = SkAbs32(SkGetPackedB32(c) - b);
SkEmbossMask.cpp 126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
SkArithmeticMode.cpp 134 x = SkAbs32(x);
  /external/skia/src/core/
SkPoint.cpp 242 unsigned x = SkAbs32(ox);
243 unsigned y = SkAbs32(oy);
309 SkFixed x = SkAbs32(ox);
310 SkFixed y = SkAbs32(oy);
346 err = SkAbs32(err);
353 float fx = SkAbs32(ox)/65536.0f;
354 float fy = SkAbs32(oy)/65536.0f;
360 err = SkMax32(SkAbs32(xx-x), SkAbs32(yy-y));
SkEdge.h 59 SkASSERT(SkAbs32(fWinding) == 1);
SkMath.cpp 86 a = SkAbs32(a);
87 b = SkAbs32(b);
267 numer = SkAbs32(numer);
268 denom = SkAbs32(denom);
520 SkASSERT(SkAbs32(diff) <= 7);
SkEdge.cpp 144 dx = SkAbs32(dx);
145 dy = SkAbs32(dy);
307 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird));
SkFloat.h 75 SkASSERT(SkAbs32(d) <= tolerance);
SkUnPreMultiply.cpp 75 int diff = SkAbs32(test - div);
SkFloat.cpp 341 SkASSERT(SkAbs32(diff) <= 1);
356 SkASSERT(SkAbs32(diff) <= 3);
SkScan_Hairline.cpp 87 if (SkAbs32(dx) > SkAbs32(dy)) { // mostly horizontal
Sk64.cpp 209 denom = SkAbs32(denom);
SkScan_Antihair.cpp 217 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) {
236 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal
SkStroke.cpp 532 SkFixed mask = SkAbs32(r.fLeft);
533 mask |= SkAbs32(r.fTop);
534 mask |= SkAbs32(r.fRight);
535 mask |= SkAbs32(r.fBottom);
SkMatrix.cpp 850 if (SkAbs32(inv->fMat[kMPersp2]) > SK_Fixed1) {
873 int32_t value = SkAbs32(fMat[kMScaleY]);
874 value |= SkAbs32(fMat[kMSkewX]);
875 value |= SkAbs32(fMat[kMScaleX]);
876 value |= SkAbs32(fMat[kMSkewY]);
885 clzNumer = SkCLZ(SkAbs32(tx.fHi) | SkAbs32(ty.fHi));
    [all...]
  /external/skia/tests/
PathCoverageTest.cpp 29 int idx = SkAbs32(SkScalarRound(dx));
30 int idy = SkAbs32(SkScalarRound(dy));
Sk64Test.cpp 176 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1);
194 if (SkAbs32(diff) > 1) {
198 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1);
ReadPixelsTest.cpp 153 SkAbs32(aR - bR) <= 1 &&
154 SkAbs32(aG - bG) <= 1 &&
155 SkAbs32(aB - bB) <= 1;
WritePixelsTest.cpp 210 SkAbs32(aR - bR) <= 1 &&
211 SkAbs32(aG - bG) <= 1 &&
212 SkAbs32(aB - bB) <= 1;
MathTest.cpp 484 int diff = SkAbs32(mean - mean2);
495 int diff = SkAbs32(mod - SkFloatToFixed(m));
546 maxDiff = SkMax32(maxDiff, SkAbs32(is - s));
547 maxDiff = SkMax32(maxDiff, SkAbs32(ic - c));
  /external/skia/include/core/
SkFixed.h 113 #define SkFixedAbs(x) SkAbs32(x)
120 uint32_t a = SkAbs32(value);
162 return SkAbs32(x) < tolerance;
SkTypes.h 262 static inline int32_t SkAbs32(int32_t value) {
  /external/skia/samplecode/
SampleColorFilter.cpp 77 ae0 += SkAbs32(err0);
78 ae1 += SkAbs32(err1);
79 ae2 += SkAbs32(err2);
SampleTextEffects.cpp 264 unsigned dr = SkAbs32(SkPacked16ToR32(a) - SkPacked16ToR32(b));
265 unsigned dg = SkAbs32(SkPacked16ToG32(a) - SkPacked16ToG32(b));
266 unsigned db = SkAbs32(SkPacked16ToB32(a) - SkPacked16ToB32(b));
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContextSkia.cpp 364 const int idx = SkAbs32(point2.x() - point1.x());
365 const int idy = SkAbs32(point2.y() - point1.y());

Completed in 4097 milliseconds

1 2