/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 238 unsigned i = SkClampMax(f >> 16, max); in ClampX_ClampY_pack_filter() 240 return (i << 14) | SkClampMax((f + one) >> 16, max); in ClampX_ClampY_pack_filter() 383 *xy++ = SkClampMax(fx >> 16, maxY); in ClampX_ClampY_nofilter_scale_SSE2() 441 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX), in ClampX_ClampY_nofilter_scale_SSE2() 442 SkClampMax(fx >> 16, maxX)); in ClampX_ClampY_nofilter_scale_SSE2() 481 *xx++ = SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_scale_SSE2() 582 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 583 SkClampMax(fx >> 16, maxX); in ClampX_ClampY_nofilter_affine_SSE2() 629 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 630 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 | 52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 53 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) 61 return SkClampMax(fx >> 16, max); in X() 64 return SkClampMax(fy >> 16, max); in Y()
|
D | SkBitmapProcState.cpp | 546 int iy = SkClampMax(s.fFilterOneY + y, maxY); in Clamp_S32_D32_nofilter_trans_shaderproc() 552 int iy2 = SkClampMax(SkScalarFloorToInt(pt.fY), maxY); in Clamp_S32_D32_nofilter_trans_shaderproc() 696 iY0 = SkClampMax(yTemp, stopY-1); in S32_D32_constX_shaderproc() 723 iY2 = SkClampMax(SkScalarFloorToInt(pt.fY), stopY-1); in S32_D32_constX_shaderproc() 968 dstY = SkClampMax(SkFractionalIntToInt(fx), maxY); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 1000 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)]; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
|
D | SkBitmapProcState_procs.h | 320 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 321 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) 346 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 347 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 191 ? SkClampMax(SkScalarFloorToInt(SkScalarMul(sumA, fGain) + fBias), 255) in filterPixels() 193 int r = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumR, fGain) + fBias), a); in filterPixels() 194 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a); in filterPixels() 195 int b = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumB, fGain) + fBias), a); in filterPixels()
|
D | SkEmbossMask.cpp | 138 hilite = SkClampMax(hilite, 255); in Emboss()
|
D | SkLightingImageFilter.cpp | 71 SkClampMax(SkScalarRoundToInt(color.fX), 255), in light() 72 SkClampMax(SkScalarRoundToInt(color.fY), 255), in light() 73 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light() 92 return SkPackARGB32(SkClampMax(SkScalarRoundToInt(color.maxComponent()), 255), in light() 93 SkClampMax(SkScalarRoundToInt(color.fX), 255), in light() 94 SkClampMax(SkScalarRoundToInt(color.fY), 255), in light() 95 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light()
|
D | SkBlurMask.cpp | 964 *outPixel = SkClampMax( SkClampPos(integerPixel), 255 ); in BlurGroundTruth()
|
/external/skia/include/core/ |
D | SkMath.h | 113 static inline int SkClampMax(int value, int max) { in SkClampMax() function
|
/external/skia/gm/ |
D | all_bitmap_configs.cpp | 138 *bm.getAddr8(x, y) = SkClampMax(idx, SK_ARRAY_COUNT(pmColors) - 1); in indexed_bitmap()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 44 return SkClampMax(x, 0xFFFF); in clamp_tileproc()
|
D | SkTwoPointConicalGradient.cpp | 146 SkFixed index = SkClampMax(t, 0xFFFF); in twopoint_clamp()
|
/external/skia/src/animator/ |
D | SkAnimatorScript2.cpp | 292 result |= SkClampMax(params->begin()[index].fS32, 255) << shift; in invoke()
|
D | SkAnimatorScript.cpp | 213 result |= SkClampMax(valuePtr->fOperand.fS32, 255) << shift; in EvalRGB()
|
/external/skia/tests/ |
D | BlurTest.cpp | 222 result[i] = SkClampMax(SkClampPos(int(sum + 0.5f)), 255); in brute_force_1d()
|
D | MathTest.cpp | 494 int clamp = SkClampMax(value, max); in DEF_TEST()
|
/external/skia/src/utils/ |
D | SkTextureCompressor_ASTC.cpp | 393 return SkClampMax(x, 255); in clamp_byte()
|