Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp79 scalableSampler.fGain = in Make()
82 scalableSampler.fBias = SkScalarToFloat(min) / scalableSampler.fGain; in Make()
122 SkScalarRoundToInt((values[i] - min) / scalableSampler.fGain * 255); in Make()
153 return fGain == k.fGain && fBias == k.fBias; in operator ==()
256 float totalGain = conv.fGain; in onSetData()
258 totalGain *= conv.fKernel.biasAndGain().fGain; in onSetData()
281 , fGain(SkScalarToFloat(gain)) in GrMatrixConvolutionEffect()
294 , fGain(that.fGain) in GrMatrixConvolutionEffect()
319 fGain == s.fGain && in onIsEqual()
DGrMatrixConvolutionEffect.h52 float fGain; member
111 float fGain; variable
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp37 , fGain(gain) in SkMatrixConvolutionImageFilter()
69 SkScalar fGain; member in __anon8b03c0240111::SkMatrixConvolutionImageFilter
224 buffer.writeScalar(fGain); in flatten()
263 ? SkTPin(SkScalarFloorToInt(sumA * fGain + fBias), 0, 255) in filterPixels()
265 int r = SkTPin(SkScalarFloorToInt(sumR * fGain + fBias), 0, a); in filterPixels()
266 int g = SkTPin(SkScalarFloorToInt(sumG * fGain + fBias), 0, a); in filterPixels()
267 int b = SkTPin(SkScalarFloorToInt(sumB * fGain + fBias), 0, a); in filterPixels()
388 fGain, in onFilterImage()