Lines Matching defs:sigma
51 // Note that the constant term (1/(sqrt(2*pi*sigma^2)) of the Gaussian
76 float sigma,
78 SkASSERT(radius && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma));
90 sigma,
159 float sigma,
164 SkASSERT(radius > 0 && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma));
192 rtcToSrcOffset, dstRect, srcAlphaType, direction, radius, sigma, mode);
246 srcAlphaType, direction, radius, sigma, mode);
600 // Moreover, if we clamped the rescaled size to 1 column or row then we still have a sigma
603 // for a single col/row we only add padding based on sigma exceeding kMaxSigma for decal.
732 SkScalar sigma, SkScalar xformedSigma,
740 SkScalar srcBlurRadius = 3.0f * sigma;
814 // six-sigma range centered at zero. We want enough resolution so that the linear
843 void Compute1DGaussianKernel(float* kernel, float sigma, int radius) {
844 SkASSERT(radius == SigmaRadius(sigma));
845 if (SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma)) {
846 // Calling SigmaRadius() produces 1, just computing ceil(sigma)*3 produces 3
854 SkASSERT(!SkScalarNearlyZero(2.f * sigma * sigma));
856 const float sigmaDenom = 1.0f / (2.f * sigma * sigma);
861 // Note that the constant term (1/(sqrt(2*pi*sigma^2)) of the Gaussian
873 void Compute1DLinearGaussianKernel(float* kernel, float* offset, float sigma, int radius) {
888 Compute1DGaussianKernel(temp_kernel.get(), sigma, radius);