Searched refs:stretchKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 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() [all …]
|