/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 239 unsigned i = SkClampMax(f >> 16, max); in ClampX_ClampY_pack_filter() 241 return (i << 14) | SkClampMax((f + one) >> 16, max); in ClampX_ClampY_pack_filter() 376 *xy++ = SkClampMax(mapper.intY(), maxY); in ClampX_ClampY_nofilter_scale_SSE2() 434 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX), in ClampX_ClampY_nofilter_scale_SSE2() 435 SkClampMax(fx >> 16, maxX)); in ClampX_ClampY_nofilter_scale_SSE2() 474 *xx++ = SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_scale_SSE2() 569 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 570 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2() 616 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 617 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2()
|
D | SkBitmapProcState_matrixProcs_neon.cpp | 122 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 123 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
/external/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 61 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 62 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) 69 return SkClampMax(fx >> 16, max); in X() 72 return SkClampMax(fy >> 16, max); in Y()
|
D | SkBitmapProcState.cpp | 374 int iy = SkClampMax(s.fFilterOneY + y, maxY); in Clamp_S32_D32_nofilter_trans_shaderproc() 499 iY0 = SkClampMax(yTemp, stopY-1); in S32_D32_constX_shaderproc() 525 iY2 = SkClampMax(iY2, stopY-1); in S32_D32_constX_shaderproc() 771 dstY = SkClampMax(mapper.intY(), maxY); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 803 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
|
D | SkBitmapProcState_procs.h | 236 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 237 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
D | SkShadowShader.cpp | 765 int shX = SkClampMax(x + i + xOffset, light.getShadowMap()->width() - 1); in shadeSpan() 766 int shY = SkClampMax(y + yOffset, light.getShadowMap()->height() - 1); in shadeSpan()
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 193 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) in filterPixels() 195 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels() 196 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); in filterPixels() 197 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a); in filterPixels()
|
D | SkEmbossMask.cpp | 138 hilite = SkClampMax(hilite, 255); in Emboss()
|
D | SkLightingImageFilter.cpp | 90 SkClampMax(SkScalarRoundToInt(color.fX), 255), in light() 91 SkClampMax(SkScalarRoundToInt(color.fY), 255), in light() 92 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light() 114 return SkPackARGB32(SkClampMax(SkScalarRoundToInt(max_component(color)), 255), in light() 115 SkClampMax(SkScalarRoundToInt(color.fX), 255), in light() 116 SkClampMax(SkScalarRoundToInt(color.fY), 255), in light() 117 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light()
|
D | SkBlurMask.cpp | 961 *outPixel = SkClampMax( SkClampPos(integerPixel), 255 ); in BlurGroundTruth()
|
/external/skia/include/core/ |
D | SkMath.h | 77 static inline int SkClampMax(int value, int max) { in SkClampMax() function
|
/external/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 51 return SkClampMax(x, 0xFFFF); in clamp_tileproc()
|
D | SkTwoPointConicalGradient.cpp | 145 SkFixed index = SkClampMax(t, 0xFFFF); in twopoint_clamp()
|
/external/skia/gm/ |
D | all_bitmap_configs.cpp | 137 *bm.getAddr8(x, y) = SkClampMax(idx, SK_ARRAY_COUNT(pmColors) - 1); in indexed_bitmap()
|
/external/skia/tests/ |
D | BlurTest.cpp | 220 result[i] = SkClampMax(SkClampPos(int(sum + 0.5f)), 255); in brute_force_1d()
|
D | MathTest.cpp | 541 int clamp = SkClampMax(value, max); in DEF_TEST()
|