Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DBlur.cpp80 float normalizeFactor = 0.0f; in generateGaussianWeights() local
84 normalizeFactor += weights[r + intRadius]; in generateGaussianWeights()
88 normalizeFactor = 1.0f / normalizeFactor; in generateGaussianWeights()
90 weights[r + intRadius] *= normalizeFactor; in generateGaussianWeights()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript57 half normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
Dthreshold.rscript57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript57 float normalizeFactor = 0.0f;
62 normalizeFactor += gaussian[r + radius];
66 normalizeFactor = 1.0f / normalizeFactor;
69 gaussian[r + radius] *= normalizeFactor;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp82 float normalizeFactor = 0.0f; in ComputeGaussianWeights() local
89 normalizeFactor += mFp[r + mIradius]; in ComputeGaussianWeights()
93 normalizeFactor = 1.0f / normalizeFactor; in ComputeGaussianWeights()
95 mFp[r + mIradius] *= normalizeFactor; in ComputeGaussianWeights()