Home
last modified time | relevance | path

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

/external/skia/src/opts/
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/
DSkMatrixConvolutionImageFilter.cpp174 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; in filterPixels() local
186 sumG += SkScalarMul(SkIntToScalar(SkGetPackedG32(s)), k); in filterPixels()
194 int g = SkClampMax(SkScalarFloorToInt(SkScalarMul(sumG, fGain) + fBias), a); in filterPixels()