Lines Matching refs:imageBuffer

313   MagickCLDevice device,cl_command_queue queue,cl_mem imageBuffer,  in LaunchHistogramKernel()  argument
355 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
418 imageBuffer; in ComputeAddNoiseImage() local
452 imageBuffer=NULL; in ComputeAddNoiseImage()
466 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeAddNoiseImage()
467 if (imageBuffer == (cl_mem) NULL) in ComputeAddNoiseImage()
528 status =SetOpenCLKernelArg(addNoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeAddNoiseImage()
551 if (imageBuffer != (cl_mem) NULL) in ComputeAddNoiseImage()
552 ReleaseOpenCLMemObject(imageBuffer); in ComputeAddNoiseImage()
618 imageBuffer, in ComputeBlurImage() local
647 imageBuffer=NULL; in ComputeBlurImage()
662 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeBlurImage()
663 if (imageBuffer == (cl_mem) NULL) in ComputeBlurImage()
693 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeBlurImage()
754 if (imageBuffer != (cl_mem) NULL) in ComputeBlurImage()
755 ReleaseOpenCLMemObject(imageBuffer); in ComputeBlurImage()
825 imageBuffer; in ComputeContrastImage() local
841 imageBuffer=NULL; in ComputeContrastImage()
846 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); 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()
881 ReleaseOpenCLMemObject(imageBuffer); in ComputeContrastImage()
948 imageBuffer, in ComputeContrastStretchImage() local
994 imageBuffer = NULL; in ComputeContrastStretchImage()
1062imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeContrastStretchImage()
1091 …status = LaunchHistogramKernel(clEnv, device, queue, imageBuffer, histogramBuffer, image, image->c… in ComputeContrastStretchImage()
1125 if (imageBuffer!=NULL) in ComputeContrastStretchImage()
1126 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeContrastStretchImage()
1345imageBuffer = clEnv->library->clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (… in ComputeContrastStretchImage()
1383 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage()
1411 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeContrastStretchImage()
1416 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeContrastStretchImage()
1430 if (imageBuffer!=NULL) in ComputeContrastStretchImage()
1431 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeContrastStretchImage()
1513 imageBuffer; in ComputeConvolveImage() local
1557 imageBuffer = NULL; in ComputeConvolveImage()
1592imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeConvolveImage()
1687 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1734 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1791 if (imageBuffer != NULL) in ComputeConvolveImage()
1792 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeConvolveImage()
1880 imageBuffer, in ComputeDespeckleImage() local
1918 imageBuffer = NULL; in ComputeDespeckleImage()
1946imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeDespeckleImage()
2002 clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)&imageBuffer); in ComputeDespeckleImage()
2196 if (imageBuffer!=NULL) in ComputeDespeckleImage()
2197 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeDespeckleImage()
2270 imageBuffer; in ComputeEqualizeImage() local
2315 imageBuffer = NULL; in ComputeEqualizeImage()
2368imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeEqualizeImage()
2397 …status = LaunchHistogramKernel(clEnv, device, queue, imageBuffer, histogramBuffer, image, image->c… in ComputeEqualizeImage()
2431 if (imageBuffer!=NULL) in ComputeEqualizeImage()
2432 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeEqualizeImage()
2552imageBuffer = clEnv->library->clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (… in ComputeEqualizeImage()
2590 clStatus=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeEqualizeImage()
2618 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeEqualizeImage()
2623 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeEqualizeImage()
2637 if (imageBuffer!=NULL) in ComputeEqualizeImage()
2638 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeEqualizeImage()
2711 imageBuffer, in ComputeFunctionImage() local
2733 imageBuffer=NULL; in ComputeFunctionImage()
2739 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeFunctionImage()
2740 if (imageBuffer == (cl_mem) NULL) in ComputeFunctionImage()
2772 status =SetOpenCLKernelArg(functionKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeFunctionImage()
2793 if (imageBuffer != (cl_mem) NULL) in ComputeFunctionImage()
2794 ReleaseOpenCLMemObject(imageBuffer); in ComputeFunctionImage()
2856 imageBuffer; in ComputeGrayscaleImage() local
2874 imageBuffer=NULL; in ComputeGrayscaleImage()
2881 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); 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()
2918 ReleaseOpenCLMemObject(imageBuffer); in ComputeGrayscaleImage()
2996 imageBuffer, in ComputeLocalContrastImage() local
3030 imageBuffer = NULL; in ComputeLocalContrastImage()
3065imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeLocalContrastImage()
3150 … clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3193 … clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3260 if (imageBuffer!=NULL) in ComputeLocalContrastImage()
3261 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeLocalContrastImage()
3351 imageBuffer; in ComputeModulateImage() local
3372 imageBuffer = NULL; in ComputeModulateImage()
3414imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPa… in ComputeModulateImage()
3434 clStatus=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeModulateImage()
3462 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeModulateImage()
3467 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeModulateImage()
3481 if (imageBuffer!=NULL) in ComputeModulateImage()
3482 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeModulateImage()
3560 imageBuffer, in ComputeMotionBlurImage() local
3608 imageBuffer = NULL; in ComputeMotionBlurImage()
3644 imageBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, in ComputeMotionBlurImage()
3777 (void *)&imageBuffer); in ComputeMotionBlurImage()
3859 if (imageBuffer!=NULL) in ComputeMotionBlurImage()
3860 clEnv->library->clReleaseMemObject(imageBuffer); in ComputeMotionBlurImage()
3916 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeHorizontalFilter() argument
4051 status =SetOpenCLKernelArg(horizontalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeHorizontalFilter()
4100 cl_mem imageBuffer,cl_uint number_channels,cl_uint columns,cl_uint rows, in resizeVerticalFilter() argument
4235 status =SetOpenCLKernelArg(verticalKernel,i++,sizeof(cl_mem),(void*)&imageBuffer); in resizeVerticalFilter()
4291 imageBuffer, in ComputeResizeImage() local
4321 imageBuffer=NULL; in ComputeResizeImage()
4335 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeResizeImage()
4336 if (imageBuffer == (cl_mem) NULL) in ComputeResizeImage()
4370 imageBuffer,number_channels,(cl_uint) image->columns, in ComputeResizeImage()
4398 imageBuffer,number_channels,(cl_uint) image->columns, in ComputeResizeImage()
4416 if (imageBuffer != (cl_mem) NULL) in ComputeResizeImage()
4417 ReleaseOpenCLMemObject(imageBuffer); in ComputeResizeImage()
4508 imageBuffer, in ComputeRotationalBlurImage() local
4539 imageBuffer=NULL; in ComputeRotationalBlurImage()
4553 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeRotationalBlurImage()
4554 if (imageBuffer == (cl_mem) NULL) in ComputeRotationalBlurImage()
4608 status =SetOpenCLKernelArg(rotationalBlurKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeRotationalBlurImage()
4631 if (imageBuffer != (cl_mem) NULL) in ComputeRotationalBlurImage()
4632 ReleaseOpenCLMemObject(imageBuffer); in ComputeRotationalBlurImage()
4702 imageBuffer, in ComputeUnsharpMaskImage() local
4737 imageBuffer=NULL; in ComputeUnsharpMaskImage()
4752 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeUnsharpMaskImage()
4753 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImage()
4796 status =SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4825 status =SetOpenCLKernelArg(unsharpMaskBlurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImage()
4855 if (imageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImage()
4856 ReleaseOpenCLMemObject(imageBuffer); in ComputeUnsharpMaskImage()
4892 imageBuffer, in ComputeUnsharpMaskImageSingle() local
4920 imageBuffer=NULL; in ComputeUnsharpMaskImageSingle()
4933 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeUnsharpMaskImageSingle()
4934 if (imageBuffer == (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4958 status =SetOpenCLKernelArg(unsharpMaskKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeUnsharpMaskImageSingle()
4985 if (imageBuffer != (cl_mem) NULL) in ComputeUnsharpMaskImageSingle()
4986 ReleaseOpenCLMemObject(imageBuffer); in ComputeUnsharpMaskImageSingle()
5057 imageBuffer; in ComputeWaveletDenoiseImage() local
5083 imageBuffer=NULL; in ComputeWaveletDenoiseImage()
5100 imageBuffer=GetAuthenticOpenCLBuffer(image,device,exception); in ComputeWaveletDenoiseImage()
5101 if (imageBuffer == (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5126 status =SetOpenCLKernelArg(denoiseKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeWaveletDenoiseImage()
5158 if (imageBuffer != (cl_mem) NULL) in ComputeWaveletDenoiseImage()
5159 ReleaseOpenCLMemObject(imageBuffer); in ComputeWaveletDenoiseImage()