Lines Matching refs:cl_mem
256 static cl_mem createKernelInfo(MagickCLDevice device,const double radius, in createKernelInfo()
265 cl_mem in createKernelInfo()
284 return((cl_mem) NULL); in createKernelInfo()
295 if (imageKernelBuffer == (cl_mem) NULL) in createKernelInfo()
302 MagickCLDevice device,cl_command_queue queue,cl_mem imageBuffer, in LaunchHistogramKernel()
303 cl_mem histogramBuffer,Image *image,const ChannelType channel, in LaunchHistogramKernel()
344 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
348 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
405 cl_mem in ComputeAddNoiseImage()
457 if (imageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
460 if (filteredImageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
521 status =SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeAddNoiseImage()
531 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeAddNoiseImage()
604 cl_mem in ComputeBlurImage()
649 if (imageBuffer == (cl_mem) NULL) in ComputeBlurImage()
652 if (filteredImageBuffer == (cl_mem) NULL) in ComputeBlurImage()
657 if (imageKernelBuffer == (cl_mem) NULL) in ComputeBlurImage()
663 if (tempImageBuffer == (cl_mem) NULL) in ComputeBlurImage()
679 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeBlurImage()
682 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
687 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeBlurImage()
714 status =SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeBlurImage()
717 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
722 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeBlurImage()
740 if (tempImageBuffer != (cl_mem) NULL) in ComputeBlurImage()
742 if (imageKernelBuffer != (cl_mem) NULL) in ComputeBlurImage()
811 cl_mem in ComputeContrastImage()
881 clStatus=clEnv->library->clSetKernelArg(filterKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastImage()
990 cl_mem in ComputeContrastStretchImage()
1466 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage()
1468 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage()
1593 cl_mem in ComputeConvolveImage()
1770 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1771 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1776 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1817 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1818 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1823 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1961 cl_mem in ComputeDespeckleImage()
2085 clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)&imageBuffer); in ComputeDespeckleImage()
2086 clStatus |=clEnv->library->clSetKernelArg(hullPass1,1,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2099 clStatus = clEnv->library->clSetKernelArg(hullPass2,0,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2100 clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)tempImageBuffer); in ComputeDespeckleImage()
2155 … clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)(tempImageBuffer)); in ComputeDespeckleImage()
2225 …clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeDespeckleImage()
2350 cl_mem in ComputeEqualizeImage()
2688 clStatus=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeEqualizeImage()
2690 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&equalizeMapBuf… in ComputeEqualizeImage()
2808 cl_mem in ComputeFunctionImage()
2837 if (imageBuffer == (cl_mem) NULL) in ComputeFunctionImage()
2850 if (parametersBuffer == (cl_mem) NULL) in ComputeFunctionImage()
2869 status =SetOpenCLKernelArg(functionKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeFunctionImage()
2874 status|=SetOpenCLKernelArg(functionKernel,i++,sizeof(cl_mem),(void *)¶metersBuffer); in ComputeFunctionImage()
2889 if (parametersBuffer != (cl_mem) NULL) in ComputeFunctionImage()
2949 cl_mem in ComputeGrayscaleImage()
2975 if (imageBuffer == (cl_mem) NULL) in ComputeGrayscaleImage()
2991 status =SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeGrayscaleImage()
3085 cl_mem in ComputeLocalContrastImage()
3241 … clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3242 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeLocalContrastImage()
3243 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeLocalContrastImage()
3284 … clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3285 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImag… in ComputeLocalContrastImage()
3286 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuf… in ComputeLocalContrastImage()
3441 cl_mem in ComputeModulateImage()
3525 clStatus=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeModulateImage()
3649 cl_mem in ComputeMotionBlurImage()
3857 clStatus=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3859 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3867 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3871 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3995 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeHorizontalFilter()
3996 cl_mem resizedImageBuffer,cl_uint resizedColumns,cl_uint resizedRows, in resizeHorizontalFilter()
3997 const ResizeFilter *resizeFilter,cl_mem resizeFilterCubicCoefficients, in resizeHorizontalFilter()
4130 status =SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeHorizontalFilter()
4134 status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&resizedImageBuffer); in resizeHorizontalFilter()
4140 …status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&resizeFilterCubicCoefficien… in resizeHorizontalFilter()
4177 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeVerticalFilter()
4178 cl_mem resizedImageBuffer,cl_uint resizedColumns,cl_uint resizedRows, in resizeVerticalFilter()
4179 const ResizeFilter *resizeFilter,cl_mem resizeFilterCubicCoefficients, in resizeVerticalFilter()
4312 status =SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeVerticalFilter()
4316 status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&resizedImageBuffer); in resizeVerticalFilter()
4322 …status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&resizeFilterCubicCoefficients… in resizeVerticalFilter()
4365 cl_mem in ComputeResizeImage()
4411 if (imageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4414 if (filteredImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4422 if (cubicCoefficientsBuffer == (cl_mem) NULL) in ComputeResizeImage()
4437 if (tempImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4465 if (tempImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4491 if (tempImageBuffer != (cl_mem) NULL) in ComputeResizeImage()
4493 if (cubicCoefficientsBuffer != (cl_mem) NULL) in ComputeResizeImage()
4576 cl_mem in ComputeRotationalBlurImage()
4623 if (imageBuffer == (cl_mem) NULL) in ComputeRotationalBlurImage()
4626 if (filteredImageBuffer == (cl_mem) NULL) in ComputeRotationalBlurImage()
4659 if ((sinThetaBuffer == (cl_mem) NULL) || (cosThetaBuffer == (cl_mem) NULL)) in ComputeRotationalBlurImage()
4677 status =SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeRotationalBlurImage()
4681 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&cosThetaBuffer); in ComputeRotationalBlurImage()
4682 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&sinThetaBuffer); in ComputeRotationalBlurImage()
4684 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeRotationalBlurImage()
4700 if (sinThetaBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4702 if (cosThetaBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4765 cl_mem in ComputeUnsharpMaskImage()
4816 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4819 if (filteredImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4828 if (tempImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4859 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4862 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImage()
4867 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeUnsharpMaskImage()
4887 status =SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4888 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeUnsharpMaskImage()
4895 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuff… in ComputeUnsharpMaskImage()
4899 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeUnsharpMaskImage()
4916 if (tempImageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4918 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4947 cl_mem in ComputeUnsharpMaskImageSingle()
4989 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4992 if (filteredImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
5013 status =SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImageSingle()
5016 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImageSingle()
5023 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeUnsharpMaskImageSingle()
5040 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
5106 cl_mem in ComputeWaveletDenoiseImage()
5143 if (imageBuffer == (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5146 if (filteredImageBuffer == (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5166 status =SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeWaveletDenoiseImage()
5167 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeWaveletDenoiseImage()