Home
last modified time | relevance | path

Searched refs:kMaxSigma (Results 1 – 3 of 3) sorted by relevance

/external/skia/gm/
Dgpu_blur_utils.cpp82 if (stepX > SkGpuBlurUtils::kMaxSigma) { in slow_blur()
83 stepX = SkGpuBlurUtils::kMaxSigma; in slow_blur()
86 sigmaX = sqrt(sigmaX*sigmaX - SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
91 if (stepY > SkGpuBlurUtils::kMaxSigma) { in slow_blur()
92 stepY = SkGpuBlurUtils::kMaxSigma; in slow_blur()
93 sigmaY = sqrt(sigmaY*sigmaY- SkGpuBlurUtils::kMaxSigma*SkGpuBlurUtils::kMaxSigma); in slow_blur()
/external/skia/src/core/
DSkGpuBlurUtils.cpp533 if (sigmaX <= kMaxSigma && sigmaY <= kMaxSigma) { in GaussianBlur()
558 float scaleX = sigmaX > kMaxSigma ? kMaxSigma/sigmaX : 1.f; in GaussianBlur()
559 float scaleY = sigmaY > kMaxSigma ? kMaxSigma/sigmaY : 1.f; in GaussianBlur()
589 (mode == SkTileMode::kDecal && sigmaX > kMaxSigma) ? 1 : 0; in GaussianBlur()
591 (mode == SkTileMode::kDecal && sigmaY > kMaxSigma) ? 1 : 0; in GaussianBlur()
DSkGpuBlurUtils.h24 static constexpr float kMaxSigma = 4.f; variable