Lines Matching refs:histogramBuffer

314   cl_mem histogramBuffer,Image *image,const ChannelType channel,  in LaunchHistogramKernel()  argument
359 …tatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuffer); in LaunchHistogramKernel()
947 histogramBuffer, in ComputeContrastStretchImage() local
995 histogramBuffer = NULL; in ComputeContrastStretchImage()
1084histogramBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_ui… in ComputeContrastStretchImage()
1091 …status = LaunchHistogramKernel(clEnv, device, queue, imageBuffer, histogramBuffer, image, image->c… in ComputeContrastStretchImage()
1099 …clEnv->library->clEnqueueMapBuffer(queue, histogramBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, l… in ComputeContrastStretchImage()
1104 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeContrastStretchImage()
1115 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeContrastStretchImage()
1437 if (histogramBuffer!=NULL) in ComputeContrastStretchImage()
1438 clEnv->library->clReleaseMemObject(histogramBuffer); in ComputeContrastStretchImage()
2269 histogramBuffer, in ComputeEqualizeImage() local
2316 histogramBuffer = NULL; in ComputeEqualizeImage()
2390histogramBuffer = clEnv->library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_ui… in ComputeEqualizeImage()
2397 …status = LaunchHistogramKernel(clEnv, device, queue, imageBuffer, histogramBuffer, image, image->c… in ComputeEqualizeImage()
2405 …clEnv->library->clEnqueueMapBuffer(queue, histogramBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, l… in ComputeEqualizeImage()
2410 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeEqualizeImage()
2421 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeEqualizeImage()
2645 if (histogramBuffer!=NULL) in ComputeEqualizeImage()
2646 clEnv->library->clReleaseMemObject(histogramBuffer); in ComputeEqualizeImage()