Home
last modified time | relevance | path

Searched refs:fKernelSize (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp35 fKernelSize(kernelSize), in SkMatrixConvolutionImageFilter()
41 size_t size = (size_t) sk_64_mul(fKernelSize.width(), fKernelSize.height()); in SkMatrixConvolutionImageFilter()
105 buffer.writeInt(fKernelSize.fWidth); in flatten()
106 buffer.writeInt(fKernelSize.fHeight); in flatten()
107 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
175 for (int cy = 0; cy < fKernelSize.fHeight; cy++) { in filterPixels()
176 for (int cx = 0; cx < fKernelSize.fWidth; cx++) { in filterPixels()
181 SkScalar k = fKernel[cy * fKernelSize.fWidth + cx]; in filterPixels()
303 bounds.width() - fKernelSize.fWidth + 1, in onFilterImage()
304 bounds.height() - fKernelSize.fHeight + 1); in onFilterImage()
[all …]
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp29 SkISize fKernelSize; member in GrGLMatrixConvolutionEffect
44 fKernelSize = m.kernelSize(); in GrGLMatrixConvolutionEffect()
61 fKernelSize.width() * fKernelSize.height()); in emitCode()
74 int kWidth = fKernelSize.width(); in emitCode()
75 int kHeight = fKernelSize.height(); in emitCode()
129 SkASSERT(conv.kernelSize() == fKernelSize); in setData()
136 pdman.set1fv(fKernelUni, fKernelSize.width() * fKernelSize.height(), conv.kernel()); in setData()
152 fKernelSize(kernelSize), in GrMatrixConvolutionEffect()
179 return fKernelSize == s.kernelSize() && in onIsEqual()
181 fKernelSize.width() * fKernelSize.height() * sizeof(float)) && in onIsEqual()
DGrMatrixConvolutionEffect.h55 const SkISize& kernelSize() const { return fKernelSize; } in kernelSize()
88 SkISize fKernelSize; variable
/external/skia/include/effects/
DSkMatrixConvolutionImageFilter.h91 SkISize fKernelSize;