Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DBlur.cpp62 int32_t intRadius = convertRadiusToInt(radius); in generateGaussianWeights() local
81 for (int32_t r = -intRadius; r <= intRadius; r++) { in generateGaussianWeights()
83 weights[r + intRadius] = coeff1 * pow(e, floatR * floatR * coeff2); in generateGaussianWeights()
84 normalizeFactor += weights[r + intRadius]; in generateGaussianWeights()
89 for (int32_t r = -intRadius; r <= intRadius; r++) { in generateGaussianWeights()
90 weights[r + intRadius] *= normalizeFactor; in generateGaussianWeights()