Lines Matching refs:denoiseKernel
5104 denoiseKernel; in ComputeWaveletDenoiseImage() local
5136 denoiseKernel=NULL; in ComputeWaveletDenoiseImage()
5158 denoiseKernel=AcquireOpenCLKernel(device,"WaveletDenoise"); in ComputeWaveletDenoiseImage()
5159 if (denoiseKernel == (cl_kernel) NULL) in ComputeWaveletDenoiseImage()
5177 status =SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeWaveletDenoiseImage()
5178 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeWaveletDenoiseImage()
5179 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_uint),(void *)&number_channels); in ComputeWaveletDenoiseImage()
5180 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_uint),(void *)&max_channels); in ComputeWaveletDenoiseImage()
5181 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_float),(void *)&thresh); in ComputeWaveletDenoiseImage()
5182 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_int),(void *)&PASSES); in ComputeWaveletDenoiseImage()
5183 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_uint),(void *)&width); in ComputeWaveletDenoiseImage()
5184 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_uint),(void *)&height); in ComputeWaveletDenoiseImage()
5201 outputReady=EnqueueOpenCLKernel(queue,denoiseKernel,2,goffset,gsize,lsize, in ComputeWaveletDenoiseImage()
5213 if (denoiseKernel != (cl_kernel) NULL) in ComputeWaveletDenoiseImage()
5214 ReleaseOpenCLKernel(denoiseKernel); in ComputeWaveletDenoiseImage()