Home | History | Annotate | Download | only in gpu

Lines Matching refs:sigma

731 static void buildKernel(float sigma, float* kernel, int kernelWidth) {
734 float denom = 1.0f / (2.0f * sigma * sigma);
737 // Note that the constant term (1/(sqrt(2*pi*sigma^2)) of the Gaussian
755 static float adjustSigma(float sigma, int *scaleFactor, int *halfWidth,
758 while (sigma > MAX_BLUR_SIGMA) {
760 sigma *= 0.5f;
762 *halfWidth = static_cast<int>(ceilf(sigma * 3.0f));
764 return sigma;
911 float sigma = SkScalarToFloat(radius) * BLUR_SIGMA_SCALE;
912 float sigma3 = sigma * 3.0f;
918 // Outset srcRect and clipRect by 3 * sigma, to compute affected blur area.
979 srcRect, sigma, sigma);