Lines Matching defs:radius
75 int radius,
78 SkASSERT(radius && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma));
89 radius,
158 int radius,
164 SkASSERT(radius > 0 && !SkGpuBlurUtils::IsEffectivelyZeroSigma(sigma));
192 rtcToSrcOffset, dstRect, srcAlphaType, direction, radius, sigma, mode);
215 mid = {srcBounds.left() + radius, midA, srcBounds.right() - radius, midB};
232 mid = {midA, srcBounds.top() + radius, midB, srcBounds.bottom() - radius};
246 srcAlphaType, direction, radius, sigma, mode);
843 void Compute1DGaussianKernel(float* kernel, float sigma, int radius) {
844 SkASSERT(radius == SigmaRadius(sigma));
847 SkASSERT(KernelWidth(radius) == 1);
857 int size = KernelWidth(radius);
860 float term = static_cast<float>(i - radius);
873 void Compute1DLinearGaussianKernel(float* kernel, float* offset, float sigma, int radius) {
886 int size = KernelWidth(radius);
888 Compute1DGaussianKernel(temp_kernel.get(), sigma, radius);
890 // Note that halfsize isn't just size / 2, but radius + 1. This is the size of the output array.
891 int halfsize = LinearKernelWidth(radius);
898 int index = radius;
899 if (radius & 1) {
925 offset[i] += static_cast<float>(index - radius);