Lines Matching refs:clStatus
321 clStatus; in LaunchHistogramKernel() local
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()
360 if (clStatus != CL_SUCCESS) in LaunchHistogramKernel()
370 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, histogramKernel, 2, NULL, global_work_siz… in LaunchHistogramKernel()
372 if (clStatus != CL_SUCCESS) in LaunchHistogramKernel()
941 clStatus; in ComputeContrastStretchImage() local
1062 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeContrastStretchImage()
1063 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1084 …library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_uint4), hostPtr, &clStatus); in ComputeContrastStretchImage()
1085 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1099 …Buffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(cl_uint4), 0, NULL, NULL, &clStatus); in ComputeContrastStretchImage()
1104 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeContrastStretchImage()
1106 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1115 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeContrastStretchImage()
1116 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1345 …>clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeContrastStretchImage()
1346 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1366 …rary->clCreateBuffer(device->context, mem_flags, length * sizeof(PixelPacket), hostPtr, &clStatus); in ComputeContrastStretchImage()
1367 if (clStatus != CL_SUCCESS) 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()
1388 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1398 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage()
1400 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1411 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeContrastStretchImage()
1416 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeContrastStretchImage()
1418 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1508 clStatus; in ComputeConvolveImage() local
1592 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeConvolveImage()
1593 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1626 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeConvolveImage()
1627 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1634 …ice->context, CL_MEM_READ_ONLY|CL_MEM_ALLOC_HOST_PTR, kernelSize * sizeof(float), NULL, &clStatus); in ComputeConvolveImage()
1635 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1644 , 0, NULL, NULL, &clStatus); in ComputeConvolveImage()
1645 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1654 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, convolutionKernel, kernelBufferPtr, 0, N… in ComputeConvolveImage()
1655 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1687 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1688 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1691 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1692 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1693 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1696 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1697 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterHeight); in ComputeConvolveImage()
1699 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&matte); in ComputeConvolveImage()
1700 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1701 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, (localGroupSize[0] + kernel->width-1)*(loca… in ComputeConvolveImage()
1702 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, kernel->width*kernel->height*sizeof(float),… in ComputeConvolveImage()
1703 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1714 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, clkernel, 2, NULL, global_work_size, loca… in ComputeConvolveImage()
1715 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1734 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1735 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1738 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1739 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1740 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1743 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1744 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterHeight); in ComputeConvolveImage()
1746 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&matte); in ComputeConvolveImage()
1747 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1748 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1758 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, clkernel, 2, NULL, global_work_size, loca… in ComputeConvolveImage()
1760 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1771 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeConvolveImage()
1776 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeConvolveImage()
1778 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1866 clStatus; in ComputeDespeckleImage() local
1946 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeDespeckleImage()
1947 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
1957 …brary->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), NULL, &clStatus); in ComputeDespeckleImage()
1958 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
1992 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeDespeckleImage()
1993 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2002 clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)&imageBuffer); in ComputeDespeckleImage()
2003 clStatus |=clEnv->library->clSetKernelArg(hullPass1,1,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2005 clStatus |=clEnv->library->clSetKernelArg(hullPass1,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
2007 clStatus |=clEnv->library->clSetKernelArg(hullPass1,3,sizeof(unsigned int),(void *)&imageHeight); in ComputeDespeckleImage()
2009 clStatus |=clEnv->library->clSetKernelArg(hullPass1,6,sizeof(int),(void *)&matte); in ComputeDespeckleImage()
2010 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2016 clStatus = clEnv->library->clSetKernelArg(hullPass2,0,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2017 clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)tempImageBuffer); in ComputeDespeckleImage()
2019 clStatus |=clEnv->library->clSetKernelArg(hullPass2,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
2021 clStatus |=clEnv->library->clSetKernelArg(hullPass2,3,sizeof(unsigned int),(void *)&imageHeight); in ComputeDespeckleImage()
2023 clStatus |=clEnv->library->clSetKernelArg(hullPass2,6,sizeof(int),(void *)&matte); in ComputeDespeckleImage()
2024 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2044 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2045 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2046 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2047 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2048 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2054 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2055 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2063 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2064 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2072 … clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)(tempImageBuffer)); in ComputeDespeckleImage()
2076 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2077 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2078 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2079 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2080 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2086 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2087 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2095 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2096 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2106 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2107 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2108 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2109 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2110 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2116 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2117 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2125 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2126 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2136 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2137 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2138 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2139 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2142 …clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeDespeckleImage()
2144 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2150 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2151 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2159 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2160 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2171 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeDespeckleImage()
2176 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeDespeckleImage()
2178 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2262 clStatus; in ComputeEqualizeImage() local
2368 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeEqualizeImage()
2369 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2390 …library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_uint4), hostPtr, &clStatus); in ComputeEqualizeImage()
2391 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2405 …Buffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(cl_uint4), 0, NULL, NULL, &clStatus); in ComputeEqualizeImage()
2410 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeEqualizeImage()
2412 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2421 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeEqualizeImage()
2422 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2552 …>clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeEqualizeImage()
2553 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2573 …rary->clCreateBuffer(device->context, mem_flags, length * sizeof(PixelPacket), hostPtr, &clStatus); in ComputeEqualizeImage()
2574 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2590 clStatus=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeEqualizeImage()
2591 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(ChannelType),&image->channel_ma… in ComputeEqualizeImage()
2592 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&equalizeMapBuf… in ComputeEqualizeImage()
2593 clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_float4),&white); in ComputeEqualizeImage()
2594 clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_float4),&black); in ComputeEqualizeImage()
2595 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2605 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, equalizeKernel, 2, NULL, global_work_size… in ComputeEqualizeImage()
2607 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2618 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeEqualizeImage()
2623 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeEqualizeImage()
2625 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2984 clStatus, in ComputeLocalContrastImage() local
3065 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeLocalContrastImage()
3066 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3103 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeLocalContrastImage()
3104 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3115 …brary->clCreateBuffer(device->context, CL_MEM_READ_WRITE, length * sizeof(float), NULL, &clStatus); in ComputeLocalContrastImage()
3116 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3150 … clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3151 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeLocalContrastImage()
3152 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeLocalContrastImage()
3153 clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_int),(void *)&iRadius); in ComputeLocalContrastImage()
3154 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageColu… in ComputeLocalContrastImage()
3155 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageRows… in ComputeLocalContrastImage()
3157 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3179 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, blurRowKernel, 2, goffset, gsize, wsize, … in ComputeLocalContrastImage()
3180 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3193 … clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3194 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImag… in ComputeLocalContrastImage()
3195 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuf… in ComputeLocalContrastImage()
3196 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&iRadiu… in ComputeLocalContrastImage()
3197 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_float),(void *)&FStrength); in ComputeLocalContrastImage()
3198 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageC… in ComputeLocalContrastImage()
3199 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageR… in ComputeLocalContrastImage()
3201 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3223 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, blurColumnKernel, 2, goffset, gsize, wsiz… in ComputeLocalContrastImage()
3224 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3239 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeLocalContrastImage()
3244 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeLocalContrastImage()
3246 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3342 clStatus; in ComputeModulateImage() local
3414 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeModulateImage()
3415 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3434 clStatus=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeModulateImage()
3435 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&bright); in ComputeModulateImage()
3436 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&hue); in ComputeModulateImage()
3437 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&saturation); in ComputeModulateImage()
3438 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&color); in ComputeModulateImage()
3439 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3450 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, modulateKernel, 2, NULL, global_work_size… in ComputeModulateImage()
3451 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3462 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeModulateImage()
3467 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeModulateImage()
3469 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3550 clStatus; in ComputeMotionBlurImage() local
3645 length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeMotionBlurImage()
3646 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3687 length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeMotionBlurImage()
3688 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3698 &clStatus); in ComputeMotionBlurImage()
3699 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3708 CL_TRUE, CL_MAP_WRITE, 0, width * sizeof(float), 0, NULL, NULL, &clStatus); in ComputeMotionBlurImage()
3709 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3719 clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, imageKernelBuffer, kernelBufferPtr, in ComputeMotionBlurImage()
3721 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3730 &clStatus); in ComputeMotionBlurImage()
3731 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3739 CL_MAP_WRITE, 0, width * sizeof(cl_int2), 0, NULL, NULL, &clStatus); in ComputeMotionBlurImage()
3740 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3751 clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, offsetBuffer, offsetBufferPtr, 0, in ComputeMotionBlurImage()
3753 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3776 clStatus=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3778 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3782 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3784 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3786 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3788 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3790 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3798 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_float4), &biasPixel); in ComputeMotionBlurImage()
3800 …clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(ChannelType), &image->channel… in ComputeMotionBlurImage()
3802 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), &matte); in ComputeMotionBlurImage()
3803 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3819 clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, motionBlurKernel, 2, NULL, in ComputeMotionBlurImage()
3822 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3835 NULL, &clStatus); in ComputeMotionBlurImage()
3840 clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, in ComputeMotionBlurImage()
3843 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()