Searched refs:stretchKernel (Results 1 – 1 of 1) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 997 stretchKernel; in ComputeContrastStretchImage() local 1042 stretchKernel = NULL; in ComputeContrastStretchImage() 1457 stretchKernel = AcquireOpenCLKernel(device,"ContrastStretch"); in ComputeContrastStretchImage() 1458 if (stretchKernel == NULL) in ComputeContrastStretchImage() 1466 clStatus=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeContrastStretchImage() 1467 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(ChannelType),&image->channel_mas… in ComputeContrastStretchImage() 1468 …clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(cl_mem),(void *)&stretchMapBuffe… in ComputeContrastStretchImage() 1469 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(FloatPixelPacket),&white); in ComputeContrastStretchImage() 1470 clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(FloatPixelPacket),&black); in ComputeContrastStretchImage() 1481 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage() [all …]
|