Home | History | Annotate | Download | only in hwui

Lines Matching refs:sigma

1114     // g(x) = ( 1 / sqrt( 2 * pi ) * sigma) * e ^ ( -x^2 / 2 * sigma^2 )
1116 // and sigma varies with radius.
1117 // Based on some experimental radius values and sigma's
1118 // we approximately fit sigma = f(radius) as
1119 // sigma = radius * 0.3 + 0.6
1121 // will resemble a box blur since with large sigma
1123 float sigma = 0.3f * (float) radius + 0.6f;
1129 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma);
1130 float coeff2 = - 1.0f / (2.0f * sigma * sigma);