Lines Matching refs:cl_mem
263 static cl_mem createKernelInfo(MagickCLDevice device,const double radius, in createKernelInfo()
269 cl_mem in createKernelInfo()
288 return((cl_mem) NULL); in createKernelInfo()
297 return((cl_mem) NULL); in createKernelInfo()
306 if (imageKernelBuffer == (cl_mem) NULL) in createKernelInfo()
313 MagickCLDevice device,cl_command_queue queue,cl_mem imageBuffer, in LaunchHistogramKernel()
314 cl_mem histogramBuffer,Image *image,const ChannelType channel, in LaunchHistogramKernel()
355 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
359 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
416 cl_mem in ComputeAddNoiseImage()
467 if (imageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
470 if (filteredImageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
528 status =SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeAddNoiseImage()
538 status|=SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeAddNoiseImage()
551 if (imageBuffer != (cl_mem) NULL) in ComputeAddNoiseImage()
553 if (filteredImageBuffer != (cl_mem) NULL) in ComputeAddNoiseImage()
616 cl_mem in ComputeBlurImage()
663 if (imageBuffer == (cl_mem) NULL) in ComputeBlurImage()
666 if (filteredImageBuffer == (cl_mem) NULL) in ComputeBlurImage()
671 if (imageKernelBuffer == (cl_mem) NULL) in ComputeBlurImage()
677 if (tempImageBuffer == (cl_mem) NULL) in ComputeBlurImage()
693 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeBlurImage()
696 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
701 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeBlurImage()
728 status =SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeBlurImage()
731 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeBlurImage()
736 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeBlurImage()
754 if (imageBuffer != (cl_mem) NULL) in ComputeBlurImage()
756 if (filteredImageBuffer != (cl_mem) NULL) in ComputeBlurImage()
758 if (tempImageBuffer != (cl_mem) NULL) in ComputeBlurImage()
760 if (imageKernelBuffer != (cl_mem) NULL) in ComputeBlurImage()
824 cl_mem in ComputeContrastImage()
847 if (imageBuffer == (cl_mem) NULL) in ComputeContrastImage()
862 status =SetOpenCLKernelArg(contrastKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastImage()
880 if (imageBuffer != (cl_mem) NULL) in ComputeContrastImage()
946 cl_mem in ComputeContrastStretchImage()
1383 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage()
1385 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage()
1510 cl_mem in ComputeConvolveImage()
1687 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1688 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1693 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1734 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1735 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1740 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1878 cl_mem in ComputeDespeckleImage()
2002 clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)&imageBuffer); in ComputeDespeckleImage()
2003 clStatus |=clEnv->library->clSetKernelArg(hullPass1,1,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2016 clStatus = clEnv->library->clSetKernelArg(hullPass2,0,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2017 clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)tempImageBuffer); in ComputeDespeckleImage()
2072 … clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)(tempImageBuffer)); in ComputeDespeckleImage()
2142 …clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeDespeckleImage()
2267 cl_mem in ComputeEqualizeImage()
2590 clStatus=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeEqualizeImage()
2592 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&equalizeMapBuf… in ComputeEqualizeImage()
2710 cl_mem in ComputeFunctionImage()
2740 if (imageBuffer == (cl_mem) NULL) in ComputeFunctionImage()
2753 if (parametersBuffer == (cl_mem) NULL) in ComputeFunctionImage()
2772 status =SetOpenCLKernelArg(functionKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeFunctionImage()
2777 status|=SetOpenCLKernelArg(functionKernel,i++,sizeof(cl_mem),(void *)¶metersBuffer); in ComputeFunctionImage()
2793 if (imageBuffer != (cl_mem) NULL) in ComputeFunctionImage()
2795 if (parametersBuffer != (cl_mem) NULL) in ComputeFunctionImage()
2855 cl_mem in ComputeGrayscaleImage()
2882 if (imageBuffer == (cl_mem) NULL) in ComputeGrayscaleImage()
2898 status =SetOpenCLKernelArg(grayscaleKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeGrayscaleImage()
2917 if (imageBuffer != (cl_mem) NULL) in ComputeGrayscaleImage()
2994 cl_mem in ComputeLocalContrastImage()
3150 … clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3151 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeLocalContrastImage()
3152 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeLocalContrastImage()
3193 … clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3194 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImag… in ComputeLocalContrastImage()
3195 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuf… in ComputeLocalContrastImage()
3350 cl_mem in ComputeModulateImage()
3434 clStatus=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeModulateImage()
3558 cl_mem in ComputeMotionBlurImage()
3776 clStatus=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3778 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3786 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3790 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3916 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeHorizontalFilter()
3917 cl_mem resizedImageBuffer,cl_uint resizedColumns,cl_uint resizedRows, in resizeHorizontalFilter()
3918 const ResizeFilter *resizeFilter,cl_mem resizeFilterCubicCoefficients, in resizeHorizontalFilter()
4051 status =SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeHorizontalFilter()
4055 status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&resizedImageBuffer); in resizeHorizontalFilter()
4061 …status|=SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&resizeFilterCubicCoefficien… in resizeHorizontalFilter()
4100 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeVerticalFilter()
4101 cl_mem resizedImageBuffer,cl_uint resizedColumns,cl_uint resizedRows, in resizeVerticalFilter()
4102 const ResizeFilter *resizeFilter,cl_mem resizeFilterCubicCoefficients, in resizeVerticalFilter()
4235 status =SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeVerticalFilter()
4239 status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&resizedImageBuffer); in resizeVerticalFilter()
4245 …status|=SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&resizeFilterCubicCoefficients… in resizeVerticalFilter()
4288 cl_mem in ComputeResizeImage()
4336 if (imageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4339 if (filteredImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4347 if (cubicCoefficientsBuffer == (cl_mem) NULL) in ComputeResizeImage()
4362 if (tempImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4390 if (tempImageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4416 if (imageBuffer != (cl_mem) NULL) in ComputeResizeImage()
4418 if (filteredImageBuffer != (cl_mem) NULL) in ComputeResizeImage()
4420 if (tempImageBuffer != (cl_mem) NULL) in ComputeResizeImage()
4422 if (cubicCoefficientsBuffer != (cl_mem) NULL) in ComputeResizeImage()
4505 cl_mem in ComputeRotationalBlurImage()
4554 if (imageBuffer == (cl_mem) NULL) in ComputeRotationalBlurImage()
4557 if (filteredImageBuffer == (cl_mem) NULL) in ComputeRotationalBlurImage()
4590 if ((sinThetaBuffer == (cl_mem) NULL) || (cosThetaBuffer == (cl_mem) NULL)) in ComputeRotationalBlurImage()
4608 status =SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeRotationalBlurImage()
4612 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&cosThetaBuffer); in ComputeRotationalBlurImage()
4613 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&sinThetaBuffer); in ComputeRotationalBlurImage()
4615 status|=SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeRotationalBlurImage()
4631 if (imageBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4633 if (filteredImageBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4635 if (sinThetaBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4637 if (cosThetaBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4700 cl_mem in ComputeUnsharpMaskImage()
4753 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4756 if (filteredImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4765 if (tempImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4796 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4799 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImage()
4804 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer); in ComputeUnsharpMaskImage()
4825 status =SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4826 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeUnsharpMaskImage()
4833 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuff… in ComputeUnsharpMaskImage()
4837 …status|=SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeUnsharpMaskImage()
4855 if (imageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4857 if (filteredImageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4859 if (tempImageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4861 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4890 cl_mem in ComputeUnsharpMaskImageSingle()
4934 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4937 if (filteredImageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4958 status =SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImageSingle()
4961 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageKernelBuffer); in ComputeUnsharpMaskImageSingle()
4968 status|=SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeUnsharpMaskImageSingle()
4985 if (imageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4987 if (filteredImageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4989 if (imageKernelBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
5055 cl_mem in ComputeWaveletDenoiseImage()
5101 if (imageBuffer == (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5104 if (filteredImageBuffer == (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5126 status =SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeWaveletDenoiseImage()
5127 status|=SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeWaveletDenoiseImage()
5158 if (imageBuffer != (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5160 if (filteredImageBuffer != (cl_mem) NULL) in ComputeWaveletDenoiseImage()