Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp167 int kernelWidth = mce.kernelSize().width(); in emitKernelBlock() local
169 int kernelArea = kernelWidth * kernelHeight; in emitKernelBlock()
183 fragBuilder->codeAppendf("sourceOffset.y = floor(half(i) / %d);", kernelWidth); in emitKernelBlock()
184 fragBuilder->codeAppendf("sourceOffset.x = half(i) - sourceOffset.y * %d;", kernelWidth); in emitKernelBlock()
187 int offset = loc.y() * kernelWidth + loc.x(); in emitKernelBlock()
204 int kernelWidth = mce.kernelSize().width(); in emitCode() local
207 int arrayCount = (kernelWidth * kernelHeight + 3) / 4; in emitCode()
208 SkASSERT(4 * arrayCount >= kernelWidth * kernelHeight); in emitCode()
234 for (int x = 0; x < kernelWidth; ++x) { in emitCode()
DGrGaussianConvolutionFragmentProcessor.cpp111 Var kernelWidth(kUniform_Modifier, kInt_Type, "kernelWidth"); in emitCode() local
112 DeclareGlobal(kernelWidth); in emitCode()
113 fKernelWidthUni = VarUniformHandle(kernelWidth); in emitCode()
115 For(Declare(i), i < kernelWidth, i++, in emitCode()
/external/ImageMagick/MagickCore/
Daccelerate.c633 kernelWidth, in ComputeBlurImage() local
682 imageKernelBuffer=createKernelInfo(device,radius,sigma,&kernelWidth, in ComputeBlurImage()
710 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_uint),(void *)&kernelWidth); in ComputeBlurImage()
713 …status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NU… in ComputeBlurImage()
745 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_uint),(void *)&kernelWidth); in ComputeBlurImage()
748 …status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *)… in ComputeBlurImage()
4760 kernelWidth, in ComputeUnsharpMaskImage() local
4810 imageKernelBuffer=createKernelInfo(device,radius,sigma,&kernelWidth, in ComputeUnsharpMaskImage()
4851 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_uint),(void *)&kernelWidth); in ComputeUnsharpMaskImage()
4854 …status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NU… in ComputeUnsharpMaskImage()
[all …]