Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DBlur.cpp49 float normalizeFactor = 0.0f; in generateGaussianWeights() local
53 normalizeFactor += weights[r + radius]; in generateGaussianWeights()
57 normalizeFactor = 1.0f / normalizeFactor; in generateGaussianWeights()
59 weights[r + radius] *= normalizeFactor; in generateGaussianWeights()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dthreshold.fs57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold.fs57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dthreshold.fs57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp84 float normalizeFactor = 0.0f; in ComputeGaussianWeights() local
91 normalizeFactor += mFp[r + mIradius]; in ComputeGaussianWeights()
95 normalizeFactor = 1.0f / normalizeFactor; in ComputeGaussianWeights()
97 mFp[r + mIradius] *= normalizeFactor; in ComputeGaussianWeights()