Lines Matching refs:addNoiseKernel

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()
527 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_float),(void *)&attenuate); in ComputeAddNoiseImage()
528 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&seed0); in ComputeAddNoiseImage()
529 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&seed1); in ComputeAddNoiseImage()
530 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_uint),(void *)&numRandomNumberPerPixel); in ComputeAddNoiseImage()
531 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeAddNoiseImage()
539 outputReady=EnqueueOpenCLKernel(queue,addNoiseKernel,1,(const size_t *) NULL,gsize, in ComputeAddNoiseImage()
544 if (addNoiseKernel != (cl_kernel) NULL) in ComputeAddNoiseImage()
545 ReleaseOpenCLKernel(addNoiseKernel); in ComputeAddNoiseImage()