Searched refs:contrastKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 837 contrastKernel; in ComputeContrastImage() local 860 contrastKernel=NULL; in ComputeContrastImage() 870 contrastKernel=AcquireOpenCLKernel(device,"Contrast"); in ComputeContrastImage() 871 if (contrastKernel == (cl_kernel) NULL) in ComputeContrastImage() 882 status =SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastImage() 883 status|=SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_uint),&number_channels); in ComputeContrastImage() 884 status|=SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_int),&sign); in ComputeContrastImage() 895 outputReady=EnqueueOpenCLKernel(queue,contrastKernel,2,(const size_t *) NULL, in ComputeContrastImage() 902 if (contrastKernel != (cl_kernel) NULL) in ComputeContrastImage() 903 ReleaseOpenCLKernel(contrastKernel); in ComputeContrastImage()
|