Lines Matching refs:imageKernelBuffer
270 imageKernelBuffer; in createKernelInfo() local
301 imageKernelBuffer=CreateOpenCLBuffer(device,CL_MEM_COPY_HOST_PTR | in createKernelInfo()
306 if (imageKernelBuffer == (cl_mem) NULL) in createKernelInfo()
309 return(imageKernelBuffer); in createKernelInfo()
619 imageKernelBuffer, in ComputeBlurImage() local
650 imageKernelBuffer=NULL; in ComputeBlurImage()
669 imageKernelBuffer=createKernelInfo(device,radius,sigma,&kernelWidth, in ComputeBlurImage()
671 if (imageKernelBuffer == (cl_mem) NULL) in ComputeBlurImage()
696 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
731 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
760 if (imageKernelBuffer != (cl_mem) NULL) in ComputeBlurImage()
761 ReleaseOpenCLMemObject(imageKernelBuffer); in ComputeBlurImage()
2997 imageKernelBuffer, in ComputeLocalContrastImage() local
3033 imageKernelBuffer = NULL; in ComputeLocalContrastImage()
3266 if (imageKernelBuffer!=NULL) in ComputeLocalContrastImage()
3267 clEnv->library->clReleaseMemObject(imageKernelBuffer); in ComputeLocalContrastImage()
3561 imageKernelBuffer, in ComputeMotionBlurImage() local
3610 imageKernelBuffer = NULL; in ComputeMotionBlurImage()
3696 imageKernelBuffer = clEnv->library->clCreateBuffer(device->context, in ComputeMotionBlurImage()
3707 kernelBufferPtr = (float*)clEnv->library->clEnqueueMapBuffer(queue, imageKernelBuffer, in ComputeMotionBlurImage()
3719 clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, imageKernelBuffer, kernelBufferPtr, in ComputeMotionBlurImage()
3787 (void *)&imageKernelBuffer); in ComputeMotionBlurImage()
3861 if (imageKernelBuffer!=NULL) in ComputeMotionBlurImage()
3862 clEnv->library->clReleaseMemObject(imageKernelBuffer); in ComputeMotionBlurImage()
4703 imageKernelBuffer, in ComputeUnsharpMaskImage() local
4740 imageKernelBuffer=NULL; in ComputeUnsharpMaskImage()
4759 imageKernelBuffer=createKernelInfo(device,radius,sigma,&kernelWidth, in ComputeUnsharpMaskImage()
4799 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImage()
4833 …tus|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImage()
4861 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4862 ReleaseOpenCLMemObject(imageKernelBuffer); in ComputeUnsharpMaskImage()
4893 imageKernelBuffer; in ComputeUnsharpMaskImageSingle() local
4922 imageKernelBuffer=NULL; in ComputeUnsharpMaskImageSingle()
4940 imageKernelBuffer=createKernelInfo(device,radius,sigma,&kernelWidth, in ComputeUnsharpMaskImageSingle()
4961 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImageSingle()
4989 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4990 ReleaseOpenCLMemObject(imageKernelBuffer); in ComputeUnsharpMaskImageSingle()