Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkBlurImageFilter.cpp89 int sumA = 0, sumR = 0, sumG = 0, sumB = 0; in boxBlur() local
93 sumR += SkGetPackedR32(*p); in boxBlur()
103 (sumR * scale + half) >> 24, in boxBlur()
109 sumR -= SkGetPackedR32(l); in boxBlur()
116 sumR += SkGetPackedR32(r); in boxBlur()
DSkMatrixConvolutionImageFilter.cpp174 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; in filterPixels() local
185 sumR += SkScalarMul(SkIntToScalar(SkGetPackedR32(s)), k); in filterPixels()
193 int r = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumR, fGain) + fBias), a); in filterPixels()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c668 GLint sumL = 0, sumR = 0; in fxt1_quantize_ALPHA1() local
714 sumR += sum; in fxt1_quantize_ALPHA1()
747 vec[1][i] = (tv[v1][i] * sumL + tv[v2][i] * sumR) / (sumL + sumR); in fxt1_quantize_ALPHA1()