Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DBlur.cpp33 float Blur::convertSigmaToRadius(float sigma) { in convertSigmaToRadius() argument
34 return sigma > 0.5f ? (sigma - 0.5f) / BLUR_SIGMA_SCALE : 0.0f; in convertSigmaToRadius()
71 float sigma = legacyConvertRadiusToSigma(radius); in generateGaussianWeights() local
77 float coeff1 = 1.0f / (sqrt(2.0f * pi) * sigma); in generateGaussianWeights()
78 float coeff2 = - 1.0f / (2.0f * sigma * sigma); in generateGaussianWeights()
DBlur.h31 ANDROID_API static float convertSigmaToRadius(float sigma);
/frameworks/base/core/jni/android/graphics/
DMaskFilter.cpp25 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(radius); in createBlur() local
26 SkMaskFilter* filter = SkBlurMaskFilter::Make((SkBlurStyle)blurStyle, sigma).release(); in createBlur()
40 SkScalar sigma = SkBlurMask::ConvertRadiusToSigma(radius); in createEmboss() local
41 SkMaskFilter* filter = SkBlurMaskFilter::MakeEmboss(sigma, in createEmboss()
DPaint.cpp1005 SkScalar sigma = android::uirenderer::Blur::convertRadiusToSigma(radius); in setShadowLayer() local
1006 paint->setLooper(SkBlurDrawLooper::Make((SkColor)color, sigma, dx, dy)); in setShadowLayer()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rs48 float sigma = 0.4f * (float)radius + 0.6f;
54 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma);
55 float coeff2 = - 1.0f / (2.0f * sigma * sigma);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs48 float sigma = 0.4f * (float)radius + 0.6f;
54 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma);
55 float coeff2 = - 1.0f / (2.0f * sigma * sigma);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold.rs48 float sigma = 0.4f * (float)radius + 0.6f;
54 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma);
55 float coeff2 = - 1.0f / (2.0f * sigma * sigma);
Dthreshold_half.rs48 half sigma = 0.4f * (half)radius + 0.6f;
54 half coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma);
55 half coeff2 = - 1.0f / (2.0f * sigma * sigma);
/frameworks/native/services/sensorservice/
DFusion.h95 void update(const vec3_t& z, const vec3_t& Bi, float sigma);
DFusion.cpp495 void Fusion::update(const vec3_t& z, const vec3_t& Bi, float sigma) { in update() argument
508 const mat33_t R(sigma*sigma); in update()
/frameworks/base/location/java/android/location/
DLocation.java361 double sigma = 0.0; in computeDistanceAndBearing() local
380 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
407 (sigma + C * sinSigma * in computeDistanceAndBearing()
417 float distance = (float) (b * A * (sigma - deltaSigma)); in computeDistanceAndBearing()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp75 float sigma = 0.4f * mRadius + 0.6f; in ComputeGaussianWeights() local
79 float coeff1 = 1.0f / (sqrtf(2.0f * pi) * sigma); in ComputeGaussianWeights()
80 float coeff2 = - 1.0f / (2.0f * sigma * sigma); in ComputeGaussianWeights()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp167 SkScalar sigma = Blur::convertRadiusToSigma(5); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
168 shadowPaint.setLooper(SkBlurDrawLooper::Make(SK_ColorWHITE, sigma, 3, 3)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()