Lines Matching defs:weights
61 void Blur::generateGaussianWeights(float* weights, float radius) {
64 // Compute gaussian weights for the blur
83 weights[r + intRadius] = coeff1 * pow(e, floatR * floatR * coeff2);
84 normalizeFactor += weights[r + intRadius];
87 //Now we need to normalize the weights because all our coefficients need to add up to one
90 weights[r + intRadius] *= normalizeFactor;
94 void Blur::horizontal(float* weights, int32_t radius,
106 const float* gPtr = weights;
138 void Blur::vertical(float* weights, int32_t radius,
148 const float* gPtr = weights;