Searched refs:addNoiseKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 414 addNoiseKernel; in ComputeAddNoiseImage() local 454 addNoiseKernel=NULL; in ComputeAddNoiseImage() 500 addNoiseKernel=AcquireOpenCLKernel(device,"AddNoise"); in ComputeAddNoiseImage() 501 if (addNoiseKernel == (cl_kernel) NULL) in ComputeAddNoiseImage() 528 status =SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeAddNoiseImage() 529 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&number_channels); in ComputeAddNoiseImage() 530 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(ChannelType),(void *)&image->channel_mask); in ComputeAddNoiseImage() 531 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&bufferLength); in ComputeAddNoiseImage() 532 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&pixelsPerWorkitem); in ComputeAddNoiseImage() 533 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(NoiseType),(void *)&noise_type); in ComputeAddNoiseImage() [all …]
|