Searched refs:grayscaleKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 2884 grayscaleKernel; in ComputeGrayscaleImage() local 2911 grayscaleKernel=NULL; in ComputeGrayscaleImage() 2919 grayscaleKernel=AcquireOpenCLKernel(device,"Grayscale"); in ComputeGrayscaleImage() 2920 if (grayscaleKernel == (cl_kernel) NULL) in ComputeGrayscaleImage() 2932 status =SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeGrayscaleImage() 2933 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&number_channels); in ComputeGrayscaleImage() 2934 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&colorspace); in ComputeGrayscaleImage() 2935 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&intensityMethod); in ComputeGrayscaleImage() 2945 outputReady=EnqueueOpenCLKernel(queue,grayscaleKernel,2, in ComputeGrayscaleImage() 2953 if (grayscaleKernel != (cl_kernel) NULL) in ComputeGrayscaleImage() [all …]
|