Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp21 Impl() : fKernel{-1, -1} {} in Impl()
28 SkImage::CubicResampler fKernel; member in GrBicubicEffect::Impl
111 if (fKernel.B != bicubicEffect.fKernel.B || fKernel.C != bicubicEffect.fKernel.C) { in onSetData()
112 fKernel = bicubicEffect.fKernel; in onSetData()
113 pdm.setSkM44(fCoefficientUni, SkImageShader::CubicResamplerMatrix(fKernel.B, fKernel.C)); in onSetData()
206 , fKernel(kernel) in GrBicubicEffect()
215 , fKernel(that.fKernel) in GrBicubicEffect()
236 fKernel.B == that.fKernel.B && in onIsEqual()
237 fKernel.C == that.fKernel.C; in onIsEqual()
DGrMatrixConvolutionEffect.h35 SkISize kernelSize() const { return fKernel.size(); } in kernelSize()
37 bool kernelIsSampled() const { return fKernel.isSampled(); } in kernelIsSampled()
38 const float *kernel() const { return fKernel.array().data(); } in kernel()
39 float kernelSampleGain() const { return fKernel.biasAndGain().fGain; } in kernelSampleGain()
40 float kernelSampleBias() const { return fKernel.biasAndGain().fBias; } in kernelSampleBias()
120 KernelWrapper fKernel; variable
DGrGaussianConvolutionFragmentProcessor.cpp138 SkASSERT(arraySize <= SK_ARRAY_COUNT(GrGaussianConvolutionFragmentProcessor::fKernel)); in onSetData()
139 pdman.set4fv(fKernelUni, arrayCount, conv.fKernel); in onSetData()
224 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius); in GrGaussianConvolutionFragmentProcessor()
234 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
252 … std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual()
DGrMatrixConvolutionEffect.cpp293 , fKernel(kernel) in GrMatrixConvolutionEffect()
306 , fKernel(that.fKernel) in GrMatrixConvolutionEffect()
330 return fKernel == s.fKernel && in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.h81 float fKernel[SkAlign4(kMaxKernelWidth)]; variable
DGrBicubicEffect.h123 SkImage::CubicResampler fKernel; variable
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp233 fill_in_1D_gaussian_kernel(fKernel, this->width(), gaussianSigma, this->radius()); in GrGaussianConvolutionFragmentProcessor()
248 memcpy(fKernel, that.fKernel, that.width() * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
267 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()
/external/skqp/src/effects/imagefilters/
DSkMatrixConvolutionImageFilter.cpp46 fKernel = new SkScalar[size]; in SkMatrixConvolutionImageFilter()
47 memcpy(fKernel, kernel, size * sizeof(SkScalar)); in SkMatrixConvolutionImageFilter()
120 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
130 delete[] fKernel; in ~SkMatrixConvolutionImageFilter()
195 SkScalar k = fKernel[cy * fKernelSize.fWidth + cx]; in filterPixels()
361 fKernel, in onFilterImage()
445 return SkMatrixConvolutionImageFilter::Make(fKernelSize, fKernel, fGain, fBias, in onMakeColorSpace()
/external/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 __anona3c3e36d0111::SkMatrixConvolutionImageFilter
223 buffer.writeScalarArray(fKernel, fKernelSize.fWidth * fKernelSize.fHeight); in flatten()
254 SkScalar k = fKernel[cy * fKernelSize.fWidth + cx]; in filterPixels()
388 fKernel, in onFilterImage()
/external/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()
/external/skqp/include/effects/
DSkMatrixConvolutionImageFilter.h94 SkScalar* fKernel;