Home
last modified time | relevance | path

Searched refs:twoSigmaSqrdX (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp240 const float twoSigmaSqrdX = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaX)); in fill_in_2D_gaussian_kernel() local
244 if (SkScalarNearlyZero(twoSigmaSqrdX, SK_ScalarNearlyZero) || in fill_in_2D_gaussian_kernel()
250 if (SkScalarNearlyZero(twoSigmaSqrdX, SK_ScalarNearlyZero) && in fill_in_2D_gaussian_kernel()
255 } else if (SkScalarNearlyZero(twoSigmaSqrdX, SK_ScalarNearlyZero)) { in fill_in_2D_gaussian_kernel()
265 fill_in_1D_gaussian_kernel_with_stride(&kernel[width], width, 1, twoSigmaSqrdX); in fill_in_2D_gaussian_kernel()
270 const float sigmaXDenom = 1.0f / twoSigmaSqrdX; in fill_in_2D_gaussian_kernel()
/external/skia/src/core/
DSkGpuBlurUtils.cpp25 const float twoSigmaSqrdX = 2.0f * SkScalarToFloat(SkScalarSquare(sigmaX)); in fill_in_2D_gaussian_kernel() local
32 SkASSERT(!SkScalarNearlyZero(twoSigmaSqrdX) && !SkScalarNearlyZero(twoSigmaSqrdY)); in fill_in_2D_gaussian_kernel()
34 const float sigmaXDenom = 1.0f / twoSigmaSqrdX; in fill_in_2D_gaussian_kernel()