Home
last modified time | relevance | path

Searched refs:fKernel (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp163 int kernelWidth = mce.fKernel.size().width(); in emitKernelBlock()
164 int kernelHeight = mce.fKernel.size().height(); in emitKernelBlock()
167 if (mce.fKernel.isSampled()) { in emitKernelBlock()
175 if (mce.fKernel.isSampled()) { in emitKernelBlock()
200 int kernelWidth = mce.fKernel.size().width(); in emitCode()
201 int kernelHeight = mce.fKernel.size().height(); in emitCode()
207 if (mce.fKernel.isSampled()) { in emitCode()
227 if (mce.fKernel.isSampled()) { in emitCode()
257 if (conv.fKernel.isSampled()) { in onSetData()
258 totalGain *= conv.fKernel.biasAndGain().fGain; in onSetData()
[all …]
DGrBicubicEffect.cpp26 SkImage::CubicResampler fKernel = {-1, -1}; member in GrBicubicEffect::Impl
108 if (fKernel.B != bicubicEffect.fKernel.B || fKernel.C != bicubicEffect.fKernel.C) { in onSetData()
109 fKernel = bicubicEffect.fKernel; in onSetData()
110 pdm.setSkM44(fCoefficientUni, SkImageShader::CubicResamplerMatrix(fKernel.B, fKernel.C)); in onSetData()
203 , fKernel(kernel) in GrBicubicEffect()
212 , fKernel(that.fKernel) in GrBicubicEffect()
229 fKernel.B == that.fKernel.B && in onIsEqual()
230 fKernel.C == that.fKernel.C; in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.cpp132 SkASSERT(arraySize <= SK_ARRAY_COUNT(GrGaussianConvolutionFragmentProcessor::fKernel)); in onSetData()
133 pdman.set4fv(fKernelUni, arrayCount, conv.fKernel); in onSetData()
209 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius); in GrGaussianConvolutionFragmentProcessor()
218 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
237 … std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.h83 float fKernel[SkAlign4(kMaxKernelWidth)]; variable
DGrBicubicEffect.h123 SkImage::CubicResampler fKernel; variable
DGrMatrixConvolutionEffect.h110 KernelWrapper fKernel; variable
/third_party/flutter/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp235 fill_in_1D_gaussian_kernel(fKernel, this->width(), gaussianSigma, this->radius()); in GrGaussianConvolutionFragmentProcessor()
250 memcpy(fKernel, that.fKernel, that.width() * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
269 0 == memcmp(fKernel, s.fKernel, this->width() * sizeof(float))); in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.h35 const float* kernel() const { return fKernel; } in kernel()
94 float fKernel[kMaxKernelWidth]; variable
DGrMatrixConvolutionEffect.h47 const float* kernel() const { return fKernel; } in kernel()
85 float fKernel[MAX_KERNEL_SIZE]; variable
DGrMatrixConvolutionEffect.cpp169 fKernel[i] = SkScalarToFloat(kernel[i]); in GrMatrixConvolutionEffect()
186 memcpy(fKernel, that.fKernel, sizeof(float) * fKernelSize.width() * fKernelSize.height()); in GrMatrixConvolutionEffect()
206 !memcmp(fKernel, s.kernel(), in onIsEqual()
/third_party/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp43 fKernel = new SkScalar[size]; in SkMatrixConvolutionImageFilter()
44 memcpy(fKernel, kernel, size * sizeof(SkScalar)); in SkMatrixConvolutionImageFilter()
51 delete[] fKernel; in ~SkMatrixConvolutionImageFilter()
68 SkScalar* fKernel; member in __anon09cd82f60111::SkMatrixConvolutionImageFilter
223 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
253 SkScalar k = fKernel[cy * fKernelSize.fWidth + cx]; in filterPixels()
387 fKernel, in onFilterImage()
/third_party/flutter/skia/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp42 fKernel = new SkScalar[size]; in SkMatrixConvolutionImageFilterImpl()
43 memcpy(fKernel, kernel, size * sizeof(SkScalar)); in SkMatrixConvolutionImageFilterImpl()
50 delete[] fKernel; in ~SkMatrixConvolutionImageFilterImpl()
67 SkScalar* fKernel; member in __anon0eb7b38b0111::SkMatrixConvolutionImageFilterImpl
255 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
284 SkScalar k = fKernel[cy * fKernelSize.fWidth + cx]; in filterPixels()
460 fKernel, in onFilterImage()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_resample.cpp491 const dng_resample_function &fKernel; member in dng_resample_task
543 , fKernel (kernel) in dng_resample_task()
652 fKernel, in Start()
656 fKernel, in Start()
Ddng_mosaic_info.cpp261 dng_bilinear_kernel fKernel [kMaxPattern] member in dng_bilinear_pattern
618 dng_bilinear_kernel &kernel = fKernel [patRow] [patCol]; in Calculate()
914 dng_bilinear_kernel &kernel = fKernel [patRow2] [patCol2]; in Calculate()
967 dng_bilinear_kernel &kernel = fKernel [patRow] [patCol]; in Calculate()