Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.h39 float kernelSampleGain() const { return fKernel.biasAndGain().fGain; } in kernelSampleGain()
41 float gain() const { return fGain; } in gain()
61 float fGain; member
121 float fGain; variable
DGrMatrixConvolutionEffect.cpp83 scalableSampler.fGain = in Make()
86 scalableSampler.fBias = SkScalarToFloat(min) / scalableSampler.fGain; in Make()
126 SkScalarRoundToInt((values[i] - min) / scalableSampler.fGain * 255); in Make()
157 return fGain == k.fGain && fBias == k.fBias; in operator ==()
294 , fGain(SkScalarToFloat(gain)) in GrMatrixConvolutionEffect()
307 , fGain(that.fGain) in GrMatrixConvolutionEffect()
331 fGain == s.gain() && in onIsEqual()
/external/skqp/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp40 , fGain(gain) in SkMatrixConvolutionImageFilter()
121 buffer.writeScalar(fGain); in flatten()
205 ? SkClampMax(SkScalarFloorToInt(sumA * fGain + fBias), 255) in filterPixels()
207 int r = SkClampMax(SkScalarFloorToInt(sumR * fGain + fBias), a); in filterPixels()
208 int g = SkClampMax(SkScalarFloorToInt(sumG * fGain + fBias), a); in filterPixels()
209 int b = SkClampMax(SkScalarFloorToInt(sumB * fGain + fBias), a); in filterPixels()
362 fGain, in onFilterImage()
445 return SkMatrixConvolutionImageFilter::Make(fKernelSize, fKernel, fGain, fBias, in onMakeColorSpace()
/external/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp37 , fGain(gain) in SkMatrixConvolutionImageFilter()
69 SkScalar fGain; member in __anona3c3e36d0111::SkMatrixConvolutionImageFilter
224 buffer.writeScalar(fGain); in flatten()
264 ? SkTPin(SkScalarFloorToInt(sumA * fGain + fBias), 0, 255) in filterPixels()
266 int r = SkTPin(SkScalarFloorToInt(sumR * fGain + fBias), 0, a); in filterPixels()
267 int g = SkTPin(SkScalarFloorToInt(sumG * fGain + fBias), 0, a); in filterPixels()
268 int b = SkTPin(SkScalarFloorToInt(sumB * fGain + fBias), 0, a); in filterPixels()
389 fGain, in onFilterImage()
/external/skqp/src/gpu/effects/
DGrMatrixConvolutionEffect.h48 float gain() const { return fGain; } in gain()
86 float fGain; variable
DGrMatrixConvolutionEffect.cpp163 , fGain(SkScalarToFloat(gain)) in GrMatrixConvolutionEffect()
181 , fGain(that.fGain) in GrMatrixConvolutionEffect()
208 fGain == s.gain() && in onIsEqual()
/external/skqp/include/effects/
DSkMatrixConvolutionImageFilter.h95 SkScalar fGain; variable
/external/ImageMagick/MagickCore/
Daccelerate.c4764 fGain, in ComputeUnsharpMaskImage() local
4872 fGain=(float) gain; in ComputeUnsharpMaskImage()
4886 status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(float),(void *)&fGain); in ComputeUnsharpMaskImage()
4953 fGain, in ComputeUnsharpMaskImageSingle() local
5005 fGain=(float) gain; in ComputeUnsharpMaskImageSingle()
5017 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(float),(void *)&fGain); in ComputeUnsharpMaskImageSingle()