Searched refs:sumG (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/opts/
H A DSkBlurImageFilter_opts.h196 #define INIT_SUMS int sumA = 0, sumR = 0, sumG = 0, sumB = 0;
200 sumG += SkGetPackedG32(c); \
205 sumG -= SkGetPackedG32(c); \
210 (sumG * scale + half) >> 24, \
/external/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp174 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; local
186 sumG += SkScalarMul(SkIntToScalar(SkGetPackedG32(s)), k);
194 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a);

Completed in 81 milliseconds