Searched refs:addNoiseKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 403 addNoiseKernel; in ComputeAddNoiseImage() local 444 addNoiseKernel=NULL; in ComputeAddNoiseImage() 490 addNoiseKernel=AcquireOpenCLKernel(device,"AddNoise"); in ComputeAddNoiseImage() 491 if (addNoiseKernel == (cl_kernel) NULL) in ComputeAddNoiseImage() 521 status =SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeAddNoiseImage() 522 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&number_channels); in ComputeAddNoiseImage() 523 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(ChannelType),(void *)&image->channel_mask); in ComputeAddNoiseImage() 524 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&bufferLength); in ComputeAddNoiseImage() 525 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&pixelsPerWorkitem); in ComputeAddNoiseImage() 526 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(NoiseType),(void *)&noise_type); in ComputeAddNoiseImage() [all …]
|