Lines Matching refs:stretchKernel
953 stretchKernel; in ComputeContrastStretchImage() local
998 stretchKernel = NULL; in ComputeContrastStretchImage()
1374 stretchKernel = AcquireOpenCLKernel(device,"ContrastStretch"); in ComputeContrastStretchImage()
1375 if (stretchKernel == NULL) in ComputeContrastStretchImage()
1383 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage()
1384 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(ChannelType),&image->channel_mas… in ComputeContrastStretchImage()
1385 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage()
1386 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&white); in ComputeContrastStretchImage()
1387 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&black); in ComputeContrastStretchImage()
1398 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage()
1405 RecordProfileData(device,stretchKernel,event); in ComputeContrastStretchImage()
1443 if (stretchKernel!=NULL) in ComputeContrastStretchImage()
1444 ReleaseOpenCLKernel(stretchKernel); in ComputeContrastStretchImage()