Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkBlurMask.cpp489 auto get_adjusted_radii = [](SkScalar passRadius, int *loRadius, int *hiRadius) { in BoxBlur() argument
490 *loRadius = *hiRadius = SkScalarCeilToInt(passRadius); in BoxBlur()
491 if (SkIntToScalar(*hiRadius) - passRadius > 0.5f) { in BoxBlur()
501 SkScalar passRadius; in BoxBlur() local
505 passRadius = sigma - (1 / 6.0f); in BoxBlur()
510 passRadius = 1.5f * sigma - 0.5f; in BoxBlur()
517 int rx = SkScalarCeilToInt(passRadius); in BoxBlur()
518 int outerWeight = 255 - SkScalarRoundToInt((SkIntToScalar(rx) - passRadius) * 255); in BoxBlur()
559 get_adjusted_radii(passRadius, &loRadius, &hiRadius); in BoxBlur()