Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold.rs57 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.rs57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/base/libs/hwui/utils/
DBlur.cpp80 float normalizeFactor = 0.0f; in generateGaussianWeights() local
84 normalizeFactor += weights[r + radius]; in generateGaussianWeights()
88 normalizeFactor = 1.0f / normalizeFactor; in generateGaussianWeights()
90 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/cpu_ref/
DrsCpuIntrinsicBlur.cpp85 float normalizeFactor = 0.0f; in ComputeGaussianWeights() local
92 normalizeFactor += mFp[r + mIradius]; in ComputeGaussianWeights()
96 normalizeFactor = 1.0f / normalizeFactor; in ComputeGaussianWeights()
98 mFp[r + mIradius] *= normalizeFactor; in ComputeGaussianWeights()