Lines Matching refs:histogramKernel
324 histogramKernel; in LaunchHistogramKernel() local
339 histogramKernel = NULL; in LaunchHistogramKernel()
346 histogramKernel = AcquireOpenCLKernel(device,"Histogram"); in LaunchHistogramKernel()
347 if (histogramKernel == NULL) in LaunchHistogramKernel()
355 clStatus=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in LaunchHistogramKernel()
356 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(ChannelType),&channel); in LaunchHistogramKernel()
357 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&colorspace); in LaunchHistogramKernel()
358 clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_uint),&method); in LaunchHistogramKernel()
359 …clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
370 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, histogramKernel, 2, NULL, global_work_siz… in LaunchHistogramKernel()
377 RecordProfileData(device,histogramKernel,event); in LaunchHistogramKernel()
383 if (histogramKernel!=NULL) in LaunchHistogramKernel()
384 ReleaseOpenCLKernel(histogramKernel); in LaunchHistogramKernel()
952 histogramKernel, in ComputeContrastStretchImage() local
997 histogramKernel = NULL; in ComputeContrastStretchImage()
1441 if (histogramKernel!=NULL) in ComputeContrastStretchImage()
1442 ReleaseOpenCLKernel(histogramKernel); in ComputeContrastStretchImage()
2274 histogramKernel; in ComputeEqualizeImage() local
2318 histogramKernel = NULL; in ComputeEqualizeImage()
2649 if (histogramKernel!=NULL) in ComputeEqualizeImage()
2650 ReleaseOpenCLKernel(histogramKernel); in ComputeEqualizeImage()