Home
last modified time | relevance | path

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

/external/skia/src/opts/
DSkBlurImageFilter_opts.h198 #define INIT_SUMS int sumA = 0, sumR = 0, sumG = 0, sumB = 0;
201 sumR += SkGetPackedR32(c); \
206 sumR -= SkGetPackedR32(c); \
211 (sumR * scale + half) >> 24, \
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp177 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; in filterPixels() local
188 sumR += SkGetPackedR32(s) * k; in filterPixels()
196 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c640 GLint sumL = 0, sumR = 0; in fxt1_quantize_ALPHA1() local
686 sumR += sum; in fxt1_quantize_ALPHA1()
719 vec[1][i] = (tv[v1][i] * sumL + tv[v2][i] * sumR) / (sumL + sumR); in fxt1_quantize_ALPHA1()