Home
last modified time | relevance | path

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

/external/skqp/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp188 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; in filterPixels() local
199 sumR += SkGetPackedR32(s) * k; in filterPixels()
207 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels()
/external/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp188 SkScalar sumA = 0, sumR = 0, sumG = 0, sumB = 0; in filterPixels() local
199 sumR += SkGetPackedR32(s) * k; in filterPixels()
207 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()