Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkBlurMask.cpp409 static void get_adjusted_radii(SkScalar passRadius, int *loRadius, int *hiRadius) in get_adjusted_radii() argument
411 *loRadius = *hiRadius = SkScalarCeilToInt(passRadius); in get_adjusted_radii()
412 if (SkIntToScalar(*hiRadius) - passRadius > 0.5f) { in get_adjusted_radii()
495 SkScalar passRadius; in BoxBlur() local
499 passRadius = sigma - (1/6.0f); in BoxBlur()
504 passRadius = 1.5f*sigma - 0.5f; in BoxBlur()
511 int rx = SkScalarCeilToInt(passRadius); in BoxBlur()
512 int outerWeight = 255 - SkScalarRoundToInt((SkIntToScalar(rx) - passRadius) * 255); in BoxBlur()
554 get_adjusted_radii(passRadius, &loRadius, &hiRadius); in BoxBlur()