Searched refs:contrastKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 822 contrastKernel; in ComputeContrastImage() local 840 contrastKernel=NULL; in ComputeContrastImage() 850 contrastKernel=AcquireOpenCLKernel(device,"Contrast"); in ComputeContrastImage() 851 if (contrastKernel == (cl_kernel) NULL) in ComputeContrastImage() 862 status =SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastImage() 863 status|=SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_uint),&number_channels); in ComputeContrastImage() 864 status|=SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_int),&sign); in ComputeContrastImage() 875 outputReady=EnqueueOpenCLKernel(queue,contrastKernel,2,(const size_t *) NULL, in ComputeContrastImage() 882 if (contrastKernel != (cl_kernel) NULL) in ComputeContrastImage() 883 ReleaseOpenCLKernel(contrastKernel); in ComputeContrastImage()
|