/external/chromium_org/third_party/skia/src/core/ |
SkBitmapFilter.cpp | 41 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY); 42 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()), maxY); 43 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX); 44 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width()), maxX); 68 int a = SkClampMax(SkScalarRoundToInt(fa), 255); 69 int r = SkClampMax(SkScalarRoundToInt(fr), a); 70 int g = SkClampMax(SkScalarRoundToInt(fg), a); 71 int b = SkClampMax(SkScalarRoundToInt(fb), a);
|
SkBitmapShader16BilerpTemplate.h | 51 int x = SkClampMax(ix, srcMaxX); 52 int y = SkClampMax(iy, srcMaxY); 106 SkClampMax(iy, srcMaxY) * srcRB)) + 107 SkClampMax(ix, srcMaxX); 164 SkClampMax(iy, srcMaxY) * srcRB)) + 165 SkClampMax(ix, srcMaxX); 214 SkClampMax(iy, srcMaxY) * srcRB)) + 215 SkClampMax(ix, srcMaxX);
|
ARGB32_Clamp_Bilinear_BitmapShader.h | 30 + SkClampMax(iy, srcMaxY) * srcRB)) 31 + SkClampMax(ix, srcMaxX); 54 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX);
|
SkBitmapProcState_procs.h | 301 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 302 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) 327 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 328 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
SkBitmapProcState_matrixProcs.cpp | 83 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 84 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
SkBitmapProcState.cpp | 554 int iy = SkClampMax(s.fFilterOneY + y, maxY); 560 int iy2 = SkClampMax(SkScalarFloorToInt(pt.fY), maxY); 704 iY0 = SkClampMax(yTemp, stopY-1); 731 iY2 = SkClampMax(SkScalarFloorToInt(pt.fY), stopY-1); [all...] |
/external/skia/src/core/ |
SkBitmapFilter.cpp | 41 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY); 42 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()), maxY); 43 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX); 44 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width()), maxX); 68 int a = SkClampMax(SkScalarRoundToInt(fa), 255); 69 int r = SkClampMax(SkScalarRoundToInt(fr), a); 70 int g = SkClampMax(SkScalarRoundToInt(fg), a); 71 int b = SkClampMax(SkScalarRoundToInt(fb), a);
|
SkBitmapShader16BilerpTemplate.h | 51 int x = SkClampMax(ix, srcMaxX); 52 int y = SkClampMax(iy, srcMaxY); 106 SkClampMax(iy, srcMaxY) * srcRB)) + 107 SkClampMax(ix, srcMaxX); 164 SkClampMax(iy, srcMaxY) * srcRB)) + 165 SkClampMax(ix, srcMaxX); 214 SkClampMax(iy, srcMaxY) * srcRB)) + 215 SkClampMax(ix, srcMaxX);
|
ARGB32_Clamp_Bilinear_BitmapShader.h | 30 + SkClampMax(iy, srcMaxY) * srcRB)) 31 + SkClampMax(ix, srcMaxX); 54 p00 = p01 = srcPixels + SkClampMax(ix, srcMaxX);
|
SkBitmapProcState_procs.h | 301 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 302 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) 327 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 328 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
SkBitmapProcState_matrixProcs.cpp | 83 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 84 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBicubicImageFilter.cpp | 123 int x0 = SkClampMax(sx - 1, src.width() - 1); 124 int x1 = SkClampMax(sx , src.width() - 1); 125 int x2 = SkClampMax(sx + 1, src.width() - 1); 126 int x3 = SkClampMax(sx + 2, src.width() - 1); 127 int y0 = SkClampMax(sy - 1, src.height() - 1); 128 int y1 = SkClampMax(sy , src.height() - 1); 129 int y2 = SkClampMax(sy + 1, src.height() - 1); 130 int y3 = SkClampMax(sy + 2, src.height() - 1);
|
SkEmbossMask.cpp | 138 hilite = SkClampMax(hilite, 255);
|
SkMatrixConvolutionImageFilter.cpp | 83 x = SkClampMax(x, src.width() - 1); 84 y = SkClampMax(y, src.height() - 1); 134 ? SkClampMax(SkScalarFloorToInt(SkScalarMul(sumA, fGain) + fBias), 255) 136 int r = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumR, fGain) + fBias), a); 137 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a); 138 int b = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumB, fGain) + fBias), a);
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBitmapProcState_matrixProcs_neon.cpp | 23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 24 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
SkBitmapProcState_opts_SSE2.cpp | 239 unsigned i = SkClampMax(f >> 16, max); 241 return (i << 14) | SkClampMax((f + one) >> 16, max); 330 // i = SkClampMax(f>>16,maxX) 344 // SkClampMax(((f+one))>>16,max) 384 *xy++ = SkClampMax(fx >> 16, maxY); 442 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX), 443 SkClampMax(fx >> 16, maxX)); 482 *xx++ = SkClampMax(fx >> 16, maxX); 518 // i = SkClampMax(f>>16,maxX) 532 // SkClampMax(((f+one))>>16,max [all...] |
SkBitmapFilter_opts_SSE2.cpp | 105 int a = SkClampMax(localResult[0], 255); 106 int r = SkClampMax(localResult[1], a); 107 int g = SkClampMax(localResult[2], a); 108 int b = SkClampMax(localResult[3], a); 170 int a = SkClampMax(int(localResult[0]), 255); 171 int r = SkClampMax(int(localResult[1]), a); 172 int g = SkClampMax(int(localResult[2]), a); 173 int b = SkClampMax(int(localResult[3]), a);
|
/external/skia/src/effects/ |
SkBicubicImageFilter.cpp | 123 int x0 = SkClampMax(sx - 1, src.width() - 1); 124 int x1 = SkClampMax(sx , src.width() - 1); 125 int x2 = SkClampMax(sx + 1, src.width() - 1); 126 int x3 = SkClampMax(sx + 2, src.width() - 1); 127 int y0 = SkClampMax(sy - 1, src.height() - 1); 128 int y1 = SkClampMax(sy , src.height() - 1); 129 int y2 = SkClampMax(sy + 1, src.height() - 1); 130 int y3 = SkClampMax(sy + 2, src.height() - 1);
|
SkEmbossMask.cpp | 138 hilite = SkClampMax(hilite, 255);
|
SkMatrixConvolutionImageFilter.cpp | 83 x = SkClampMax(x, src.width() - 1); 84 y = SkClampMax(y, src.height() - 1); 134 ? SkClampMax(SkScalarFloorToInt(SkScalarMul(sumA, fGain) + fBias), 255) 136 int r = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumR, fGain) + fBias), a); 137 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a); 138 int b = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumB, fGain) + fBias), a);
|
/external/skia/src/opts/ |
SkBitmapProcState_matrixProcs_neon.cpp | 23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 24 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
SkBitmapProcState_opts_SSE2.cpp | 239 unsigned i = SkClampMax(f >> 16, max); 241 return (i << 14) | SkClampMax((f + one) >> 16, max); 330 // i = SkClampMax(f>>16,maxX) 344 // SkClampMax(((f+one))>>16,max) 384 *xy++ = SkClampMax(fx >> 16, maxY); 442 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX), 443 SkClampMax(fx >> 16, maxX)); 482 *xx++ = SkClampMax(fx >> 16, maxX); 518 // i = SkClampMax(f>>16,maxX) 532 // SkClampMax(((f+one))>>16,max [all...] |
SkBitmapFilter_opts_SSE2.cpp | 105 int a = SkClampMax(localResult[0], 255); 106 int r = SkClampMax(localResult[1], a); 107 int g = SkClampMax(localResult[2], a); 108 int b = SkClampMax(localResult[3], a); 170 int a = SkClampMax(int(localResult[0]), 255); 171 int r = SkClampMax(int(localResult[1]), a); 172 int g = SkClampMax(int(localResult[2]), a); 173 int b = SkClampMax(int(localResult[3]), a);
|
/external/chromium_org/third_party/skia/include/core/ |
SkMath.h | 79 static inline int SkClampMax(int value, int max) {
|
/external/skia/include/core/ |
SkMath.h | 79 static inline int SkClampMax(int value, int max) {
|