Lines Matching refs:stretchKernel
975 stretchKernel; in ComputeContrastStretchImage() local
1025 stretchKernel = NULL; in ComputeContrastStretchImage()
1395 stretchKernel = AcquireOpenCLKernel(device,"ContrastStretch"); in ComputeContrastStretchImage()
1396 if (stretchKernel == NULL) in ComputeContrastStretchImage()
1404 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage()
1405 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(ChannelType),&image->channel_mas… in ComputeContrastStretchImage()
1406 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage()
1407 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&white); in ComputeContrastStretchImage()
1408 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_float4),&black); in ComputeContrastStretchImage()
1419 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage()
1426 RecordProfileData(device,stretchKernel,event); in ComputeContrastStretchImage()
1464 if (stretchKernel!=NULL) in ComputeContrastStretchImage()
1465 ReleaseOpenCLKernel(stretchKernel); in ComputeContrastStretchImage()