Lines Matching refs:addNoiseKernel
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()
534 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_float),(void *)&cl_attenuate); in ComputeAddNoiseImage()
535 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&seed0); in ComputeAddNoiseImage()
536 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&seed1); in ComputeAddNoiseImage()
537 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&numRandomNumberPerPixel); in ComputeAddNoiseImage()
538 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeAddNoiseImage()
546 outputReady=EnqueueOpenCLKernel(queue,addNoiseKernel,1,(const size_t *) NULL,gsize, in ComputeAddNoiseImage()
555 if (addNoiseKernel != (cl_kernel) NULL) in ComputeAddNoiseImage()
556 ReleaseOpenCLKernel(addNoiseKernel); in ComputeAddNoiseImage()