Home | History | Annotate | Download | only in hwui

Lines Matching refs:weights

787 void FontRenderer::computeGaussianWeights(float* weights, int32_t radius) {
788 // Compute gaussian weights for the blur
813 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2);
814 normalizeFactor += weights[r + radius];
817 //Now we need to normalize the weights because all our coefficients need to add up to one
820 weights[r + radius] *= normalizeFactor;
824 void FontRenderer::horizontalBlur(float* weights, int32_t radius,
836 const float* gPtr = weights;
868 void FontRenderer::verticalBlur(float* weights, int32_t radius,
879 const float* gPtr = weights;