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

1 2

  /external/skia/src/effects/
SkAvoidXfermode.cpp 66 unsigned dr = SkAbs32(SkGetPackedR16(c) - r);
67 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS);
68 unsigned db = SkAbs32(SkGetPackedB16(c) - b);
80 unsigned dr = SkAbs32(SkGetPackedR4444(c) - r);
81 unsigned dg = SkAbs32(SkGetPackedG4444(c) - g);
82 unsigned db = SkAbs32(SkGetPackedB4444(c) - b);
94 unsigned dr = SkAbs32(SkGetPackedR32(c) - r);
95 unsigned dg = SkAbs32(SkGetPackedG32(c) - g);
96 unsigned db = SkAbs32(SkGetPackedB32(c) - b);
SkEmbossMask.cpp 133 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
SkColorMatrixFilter.cpp 129 value = SkAbs32(value);
  /external/skia/src/core/
SkPoint.cpp 229 unsigned x = SkAbs32(ox);
230 unsigned y = SkAbs32(oy);
296 SkFixed x = SkAbs32(ox);
297 SkFixed y = SkAbs32(oy);
333 err = SkAbs32(err);
340 float fx = SkAbs32(ox)/65536.0f;
341 float fy = SkAbs32(oy)/65536.0f;
347 err = SkMax32(SkAbs32(xx-x), SkAbs32(yy-y));
SkEdge.h 67 SkASSERT(SkAbs32(fWinding) == 1);
SkMath.cpp 93 a = SkAbs32(a);
94 b = SkAbs32(b);
274 numer = SkAbs32(numer);
275 denom = SkAbs32(denom);
527 SkASSERT(SkAbs32(diff) <= 7);
SkEdge.cpp 151 dx = SkAbs32(dx);
152 dy = SkAbs32(dy);
314 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird));
SkFloat.h 82 SkASSERT(SkAbs32(d) <= tolerance);
SkUnPreMultiply.cpp 68 int diff = SkAbs32(test - div);
SkFloat.cpp 348 SkASSERT(SkAbs32(diff) <= 1);
363 SkASSERT(SkAbs32(diff) <= 3);
SkScan_Hairline.cpp 95 if (SkAbs32(dx) > SkAbs32(dy)) { // mostly horizontal
Sk64.cpp 216 denom = SkAbs32(denom);
SkScan_Antihair.cpp 225 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) {
244 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal
SkStroke.cpp 545 SkFixed mask = SkAbs32(r.fLeft);
546 mask |= SkAbs32(r.fTop);
547 mask |= SkAbs32(r.fRight);
548 mask |= SkAbs32(r.fBottom);
SkMatrix.cpp 809 if (SkAbs32(inv->fMat[kMPersp2]) > SK_Fixed1) {
831 int32_t value = SkAbs32(fMat[kMScaleY]);
832 value |= SkAbs32(fMat[kMSkewX]);
833 value |= SkAbs32(fMat[kMScaleX]);
834 value |= SkAbs32(fMat[kMSkewY]);
843 clzNumer = SkCLZ(SkAbs32(tx.fHi) | SkAbs32(ty.fHi));
    [all...]
  /external/skia/tests/
PathCoverageTest.cpp 14 int idx = SkAbs32(SkScalarRound(dx));
15 int idy = SkAbs32(SkScalarRound(dy));
Sk64Test.cpp 169 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1);
187 if (SkAbs32(diff) > 1) {
191 REPORTER_ASSERT(reporter, SkAbs32(diff) <= 1);
MathTest.cpp 428 int diff = SkAbs32(mean - mean2);
439 int diff = SkAbs32(mod - SkFloatToFixed(m));
490 maxDiff = SkMax32(maxDiff, SkAbs32(is - s));
491 maxDiff = SkMax32(maxDiff, SkAbs32(ic - c));
  /external/skia/include/core/
SkFixed.h 111 #define SkFixedAbs(x) SkAbs32(x)
121 uint32_t a = SkAbs32(value);
163 return SkAbs32(x) < tolerance;
SkTypes.h 251 static inline int32_t SkAbs32(int32_t value) {
  /external/skia/samplecode/
SampleColorFilter.cpp 70 ae0 += SkAbs32(err0);
71 ae1 += SkAbs32(err1);
72 ae2 += SkAbs32(err2);
SampleTextEffects.cpp 281 unsigned dr = SkAbs32(SkPacked16ToR32(a) - SkPacked16ToR32(b));
282 unsigned dg = SkAbs32(SkPacked16ToG32(a) - SkPacked16ToG32(b));
283 unsigned db = SkAbs32(SkPacked16ToB32(a) - SkPacked16ToB32(b));
SampleAll.cpp 285 unsigned dr = SkAbs32(SkPacked16ToR32(a) - SkPacked16ToR32(b));
286 unsigned dg = SkAbs32(SkPacked16ToG32(a) - SkPacked16ToG32(b));
287 unsigned db = SkAbs32(SkPacked16ToB32(a) - SkPacked16ToB32(b));
  /external/skia/gm/
gmmain.cpp 100 return SkPackARGB32(0xFF, SkAbs32(dr), SkAbs32(dg), SkAbs32(db));
  /external/webkit/Source/WebCore/platform/graphics/android/
GraphicsContextAndroid.cpp 560 const int idx = SkAbs32(point2.x() - point1.x());
561 const int idy = SkAbs32(point2.y() - point1.y());
    [all...]

Completed in 75 milliseconds

1 2