OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkAbs32
(Results
1 - 23
of
23
) sorted by null
/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
143
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
206
unsigned x =
SkAbs32
(ox);
207
unsigned y =
SkAbs32
(oy);
273
SkFixed x =
SkAbs32
(ox);
274
SkFixed y =
SkAbs32
(oy);
310
err =
SkAbs32
(err);
317
float fx =
SkAbs32
(ox)/65536.0f;
318
float fy =
SkAbs32
(oy)/65536.0f;
324
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);
SkScan_Antihair.cpp
229
if (
SkAbs32
(x1 - x0) > SkIntToFDot6(511) ||
SkAbs32
(y1 - y0) > SkIntToFDot6(511))
249
if (
SkAbs32
(x1 - x0) >
SkAbs32
(y1 - y0)) // mostly horizontal
SkUnPreMultiply.cpp
68
int diff =
SkAbs32
(test - div);
SkFloat.cpp
348
SkASSERT(
SkAbs32
(diff) <= 1);
363
SkASSERT(
SkAbs32
(diff) <= 3);
SkGraphics.cpp
235
if (
SkAbs32
(c1 - c2) > 1)
261
if (
SkAbs32
(c1 - c2) > 1)
SkScan_Hairline.cpp
95
if (
SkAbs32
(dx) >
SkAbs32
(dy)) // mostly horizontal
Sk64.cpp
216
denom =
SkAbs32
(denom);
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
747
if (
SkAbs32
(inv->fMat[kMPersp2]) > SK_Fixed1) {
769
int32_t value =
SkAbs32
(fMat[kMScaleY]);
770
value |=
SkAbs32
(fMat[kMSkewX]);
771
value |=
SkAbs32
(fMat[kMScaleX]);
772
value |=
SkAbs32
(fMat[kMSkewY]);
781
clzNumer = SkCLZ(
SkAbs32
(tx.fHi) |
SkAbs32
(ty.fHi));
973
SkASSERT(src == dst ||
SkAbs32
((int32_t)(src - dst)) >= count);
[
all
...]
SkBitmap.cpp
1032
sx =
SkAbs32
(sx);
1033
sy =
SkAbs32
(sy);
[
all
...]
/external/skia/include/core/
SkFixed.h
103
#define SkFixedAbs(x)
SkAbs32
(x)
110
uint32_t a =
SkAbs32
(value);
148
return
SkAbs32
(x) < tolerance;
SkTypes.h
219
static inline int32_t
SkAbs32
(int32_t value) {
/external/skia/tests/
Sk64Test.cpp
169
REPORTER_ASSERT(reporter,
SkAbs32
(diff) <= 1);
187
if (
SkAbs32
(diff) > 1) {
191
REPORTER_ASSERT(reporter,
SkAbs32
(diff) <= 1);
MathTest.cpp
346
int diff =
SkAbs32
(mean - mean2);
357
int diff =
SkAbs32
(mod - SkFloatToFixed(m));
408
maxDiff = SkMax32(maxDiff,
SkAbs32
(is - s));
409
maxDiff = SkMax32(maxDiff,
SkAbs32
(ic - c));
/external/webkit/WebCore/platform/graphics/android/
GraphicsContextAndroid.cpp
445
const int idx =
SkAbs32
(point2.x() - point1.x());
446
const int idy =
SkAbs32
(point2.y() - point1.y());
[
all
...]
/frameworks/base/core/jni/android/graphics/
Bitmap.cpp
218
if (n <
SkAbs32
(stride) * (size_t)height) {
Completed in 1583 milliseconds