Lines Matching refs:grayscaleKernel
2947 grayscaleKernel; in ComputeGrayscaleImage() local
2968 grayscaleKernel=NULL; in ComputeGrayscaleImage()
2978 grayscaleKernel=AcquireOpenCLKernel(device,"Grayscale"); in ComputeGrayscaleImage()
2979 if (grayscaleKernel == (cl_kernel) NULL) in ComputeGrayscaleImage()
2991 status =SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeGrayscaleImage()
2992 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&number_channels); in ComputeGrayscaleImage()
2993 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&colorspace); in ComputeGrayscaleImage()
2994 status|=SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_uint),&intensityMethod); in ComputeGrayscaleImage()
3004 outputReady=EnqueueOpenCLKernel(queue,grayscaleKernel,2, in ComputeGrayscaleImage()
3010 if (grayscaleKernel != (cl_kernel) NULL) in ComputeGrayscaleImage()
3011 ReleaseOpenCLKernel(grayscaleKernel); in ComputeGrayscaleImage()