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()
963 clStatus; in ComputeContrastStretchImage() local
1083 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeContrastStretchImage()
1084 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1105 …library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_uint4), hostPtr, &clStatus); in ComputeContrastStretchImage()
1106 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1120 …Buffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(cl_uint4), 0, NULL, NULL, &clStatus); in ComputeContrastStretchImage()
1125 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeContrastStretchImage()
1127 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1136 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeContrastStretchImage()
1137 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1366 …>clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeContrastStretchImage()
1367 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1387 …rary->clCreateBuffer(device->context, mem_flags, length * sizeof(PixelPacket), hostPtr, &clStatus); in ComputeContrastStretchImage()
1388 if (clStatus != CL_SUCCESS) 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()
1409 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1419 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage()
1421 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1432 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeContrastStretchImage()
1437 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeContrastStretchImage()
1439 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1531 clStatus; in ComputeConvolveImage() local
1615 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeConvolveImage()
1616 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1649 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeConvolveImage()
1650 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1657 …ice->context, CL_MEM_READ_ONLY|CL_MEM_ALLOC_HOST_PTR, kernelSize * sizeof(float), NULL, &clStatus); in ComputeConvolveImage()
1658 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1667 , 0, NULL, NULL, &clStatus); in ComputeConvolveImage()
1668 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1677 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, convolutionKernel, kernelBufferPtr, 0, N… in ComputeConvolveImage()
1678 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1710 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1711 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1714 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1715 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1716 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1719 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1720 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterHeight); in ComputeConvolveImage()
1722 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&matte); in ComputeConvolveImage()
1723 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1724 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, (localGroupSize[0] + kernel->width-1)*(loca… in ComputeConvolveImage()
1725 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, kernel->width*kernel->height*sizeof(float),… in ComputeConvolveImage()
1726 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1737 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, clkernel, 2, NULL, global_work_size, loca… in ComputeConvolveImage()
1738 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1757 clStatus =clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeConvolveImage()
1758 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeConvolveImage()
1761 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageWidth); in ComputeConvolveImage()
1762 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1763 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1766 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1767 … clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterHeight); in ComputeConvolveImage()
1769 clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&matte); in ComputeConvolveImage()
1770 …clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1771 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1781 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, clkernel, 2, NULL, global_work_size, loca… in ComputeConvolveImage()
1783 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1794 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeConvolveImage()
1799 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeConvolveImage()
1801 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1889 clStatus; in ComputeDespeckleImage() local
1969 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeDespeckleImage()
1970 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
1980 …brary->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), NULL, &clStatus); in ComputeDespeckleImage()
1981 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2015 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeDespeckleImage()
2016 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2025 clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)&imageBuffer); in ComputeDespeckleImage()
2026 clStatus |=clEnv->library->clSetKernelArg(hullPass1,1,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2028 clStatus |=clEnv->library->clSetKernelArg(hullPass1,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
2030 clStatus |=clEnv->library->clSetKernelArg(hullPass1,3,sizeof(unsigned int),(void *)&imageHeight); in ComputeDespeckleImage()
2032 clStatus |=clEnv->library->clSetKernelArg(hullPass1,6,sizeof(int),(void *)&matte); in ComputeDespeckleImage()
2033 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2039 clStatus = clEnv->library->clSetKernelArg(hullPass2,0,sizeof(cl_mem),(void *)(tempImageBuffer+1)); in ComputeDespeckleImage()
2040 clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)tempImageBuffer); in ComputeDespeckleImage()
2042 clStatus |=clEnv->library->clSetKernelArg(hullPass2,2,sizeof(unsigned int),(void *)&imageWidth); in ComputeDespeckleImage()
2044 clStatus |=clEnv->library->clSetKernelArg(hullPass2,3,sizeof(unsigned int),(void *)&imageHeight); in ComputeDespeckleImage()
2046 clStatus |=clEnv->library->clSetKernelArg(hullPass2,6,sizeof(int),(void *)&matte); in ComputeDespeckleImage()
2047 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2067 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2068 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2069 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2070 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2071 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2077 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2078 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2086 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2087 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2095 … clStatus =clEnv->library->clSetKernelArg(hullPass1,0,sizeof(cl_mem),(void *)(tempImageBuffer)); in ComputeDespeckleImage()
2099 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2100 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2101 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2102 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2103 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2109 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2110 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2118 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2119 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2129 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2130 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2131 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2132 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2133 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2139 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2140 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2148 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2149 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2159 clStatus = clEnv->library->clSetKernelArg(hullPass1,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2160 clStatus|= clEnv->library->clSetKernelArg(hullPass1,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2161 clStatus|=clEnv->library->clSetKernelArg(hullPass2,4,sizeof(cl_int2),(void *)&offset); in ComputeDespeckleImage()
2162 clStatus|=clEnv->library->clSetKernelArg(hullPass2,5,sizeof(int),(void *)&polarity); in ComputeDespeckleImage()
2165 …clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeDespeckleImage()
2167 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2173 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2174 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2182 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2183 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2194 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeDespeckleImage()
2199 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeDespeckleImage()
2201 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2285 clStatus; in ComputeEqualizeImage() local
2391 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeEqualizeImage()
2392 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2413 …library->clCreateBuffer(device->context, mem_flags, length * sizeof(cl_uint4), hostPtr, &clStatus); in ComputeEqualizeImage()
2414 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2428 …Buffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(cl_uint4), 0, NULL, NULL, &clStatus); in ComputeEqualizeImage()
2433 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeEqualizeImage()
2435 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2444 …clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, histogramBuffer, histogram, 0, NULL, NUL… in ComputeEqualizeImage()
2445 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2575 …>clCreateBuffer(context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeEqualizeImage()
2576 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2596 …rary->clCreateBuffer(device->context, mem_flags, length * sizeof(PixelPacket), hostPtr, &clStatus); in ComputeEqualizeImage()
2597 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2613 clStatus=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeEqualizeImage()
2614 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(ChannelType),&image->channel_ma… in ComputeEqualizeImage()
2615 …clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_mem),(void *)&equalizeMapBuf… in ComputeEqualizeImage()
2616 clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_float4),&white); in ComputeEqualizeImage()
2617 clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(cl_float4),&black); in ComputeEqualizeImage()
2618 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2628 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, equalizeKernel, 2, NULL, global_work_size… in ComputeEqualizeImage()
2630 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2641 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeEqualizeImage()
2646 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeEqualizeImage()
2648 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
3020 clStatus, in ComputeLocalContrastImage() local
3101 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeLocalContrastImage()
3102 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3139 …ry->clCreateBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeLocalContrastImage()
3140 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3151 …brary->clCreateBuffer(device->context, CL_MEM_READ_WRITE, length * sizeof(float), NULL, &clStatus); in ComputeLocalContrastImage()
3152 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3186 … clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3187 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeLocalContrastImage()
3188 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&tempImageBuffer… in ComputeLocalContrastImage()
3189 clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_int),(void *)&iRadius); in ComputeLocalContrastImage()
3190 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageColu… in ComputeLocalContrastImage()
3191 …clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageRows… in ComputeLocalContrastImage()
3193 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3215 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, blurRowKernel, 2, goffset, gsize, wsize, … in ComputeLocalContrastImage()
3216 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3229 … clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3230 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImag… in ComputeLocalContrastImage()
3231 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuf… in ComputeLocalContrastImage()
3232 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&iRadiu… in ComputeLocalContrastImage()
3233 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_float),(void *)&FStrength); in ComputeLocalContrastImage()
3234 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageC… in ComputeLocalContrastImage()
3235 …clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageR… in ComputeLocalContrastImage()
3237 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3259 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, blurColumnKernel, 2, goffset, gsize, wsiz… in ComputeLocalContrastImage()
3260 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3275 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeLocalContrastImage()
3280 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, length * si… in ComputeLocalContrastImage()
3282 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3378 clStatus; in ComputeModulateImage() local
3450 …eBuffer(device->context, mem_flags, length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeModulateImage()
3451 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3470 clStatus=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeModulateImage()
3471 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&bright); in ComputeModulateImage()
3472 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&hue); in ComputeModulateImage()
3473 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&saturation); in ComputeModulateImage()
3474 clStatus|=clEnv->library->clSetKernelArg(modulateKernel,i++,sizeof(cl_float),&color); in ComputeModulateImage()
3475 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3486 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, modulateKernel, 2, NULL, global_work_size… in ComputeModulateImage()
3487 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3498 …r, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * sizeof(CLPixelPacket), 0, NULL, NULL, &clStatus); in ComputeModulateImage()
3503 …clStatus = clEnv->library->clEnqueueReadBuffer(queue, imageBuffer, CL_TRUE, 0, length * sizeof(CLP… in ComputeModulateImage()
3505 if (clStatus != CL_SUCCESS) in ComputeModulateImage()
3588 clStatus; in ComputeMotionBlurImage() local
3689 length * sizeof(CLPixelPacket), (void*)inputPixels, &clStatus); in ComputeMotionBlurImage()
3690 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3731 length * sizeof(CLPixelPacket), hostPtr, &clStatus); in ComputeMotionBlurImage()
3732 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3742 &clStatus); in ComputeMotionBlurImage()
3743 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3752 CL_TRUE, CL_MAP_WRITE, 0, width * sizeof(float), 0, NULL, NULL, &clStatus); in ComputeMotionBlurImage()
3753 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3763 clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, imageKernelBuffer, kernelBufferPtr, in ComputeMotionBlurImage()
3765 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3774 &clStatus); in ComputeMotionBlurImage()
3775 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3783 CL_MAP_WRITE, 0, width * sizeof(cl_int2), 0, NULL, NULL, &clStatus); in ComputeMotionBlurImage()
3784 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3795 clStatus = clEnv->library->clEnqueueUnmapMemObject(queue, offsetBuffer, offsetBufferPtr, 0, in ComputeMotionBlurImage()
3797 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3820 clStatus=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3822 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3826 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3828 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3830 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3832 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), in ComputeMotionBlurImage()
3834 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_mem), in ComputeMotionBlurImage()
3842 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(cl_float4), &biasPixel); in ComputeMotionBlurImage()
3844 …clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(ChannelType), &image->channel… in ComputeMotionBlurImage()
3846 clStatus|=clEnv->library->clSetKernelArg(motionBlurKernel,i++,sizeof(unsigned int), &matte); in ComputeMotionBlurImage()
3847 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3863 clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, motionBlurKernel, 2, NULL, in ComputeMotionBlurImage()
3866 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()
3879 NULL, &clStatus); in ComputeMotionBlurImage()
3884 clStatus = clEnv->library->clEnqueueReadBuffer(queue, filteredImageBuffer, CL_TRUE, 0, in ComputeMotionBlurImage()
3887 if (clStatus != CL_SUCCESS) in ComputeMotionBlurImage()