Searched refs:grayscaleKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 2853 grayscaleKernel; in ComputeGrayscaleImage() local 2875 grayscaleKernel=NULL; in ComputeGrayscaleImage() 2885 grayscaleKernel=AcquireOpenCLKernel(device,"Grayscale"); in ComputeGrayscaleImage() 2886 if (grayscaleKernel == (cl_kernel) NULL) in ComputeGrayscaleImage() 2898 status =SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeGrayscaleImage() 2899 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&number_channels); in ComputeGrayscaleImage() 2900 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&colorspace); in ComputeGrayscaleImage() 2901 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&intensityMethod); in ComputeGrayscaleImage() 2911 outputReady=EnqueueOpenCLKernel(queue,grayscaleKernel,2, in ComputeGrayscaleImage() 2919 if (grayscaleKernel != (cl_kernel) NULL) in ComputeGrayscaleImage() [all …]
|