Searched refs:sumR (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/opts/ |
D | SkBlurImageFilter_opts.h | 196 #define INIT_SUMS int sumA = 0, sumR = 0, sumG = 0, sumB = 0; 199 sumR += SkGetPackedR32(c); \ 204 sumR -= SkGetPackedR32(c); \ 209 (sumR * scale + half) >> 24, \
|
/external/skia/src/effects/ |
D | SkMatrixConvolutionImageFilter.cpp | 174 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/ |
D | texcompress_fxt1.c | 668 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()
|