• Home
  • Raw
  • Download

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()
359clStatus|=clEnv->library->clSetKernelArg(histogramKernel,i++,sizeof(cl_mem),(void *)&histogramBuff… in LaunchHistogramKernel()
360 if (clStatus != CL_SUCCESS) in LaunchHistogramKernel()
370clStatus = 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()
1125clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeContrastStretchImage()
1127 if (clStatus != CL_SUCCESS) in ComputeContrastStretchImage()
1136clStatus = 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()
1405clStatus|=clEnv->library->clSetKernelArg(stretchKernel,i++,sizeof(ChannelType),&image->channel_mas… in ComputeContrastStretchImage()
1406clStatus|=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()
1419clStatus = 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()
1437clStatus = 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()
1677clStatus = 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()
1711clStatus|=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()
1715clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1716clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1719clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1720clStatus|=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()
1723clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1724clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, (localGroupSize[0] + kernel->width-1)*(loca… in ComputeConvolveImage()
1725clStatus|=clEnv->library->clSetKernelArg(clkernel,i++, kernel->width*kernel->height*sizeof(float),… in ComputeConvolveImage()
1726 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1737clStatus = 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()
1758clStatus|=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()
1762clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&imageHeight); in ComputeConvolveImage()
1763clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(cl_mem),(void *)&convolutionKernel); in ComputeConvolveImage()
1766clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(unsigned int),(void *)&filterWidth); in ComputeConvolveImage()
1767clStatus|=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()
1770clStatus|=clEnv->library->clSetKernelArg(clkernel,i++,sizeof(ChannelType),(void *)&image->channel_… in ComputeConvolveImage()
1771 if (clStatus != CL_SUCCESS) in ComputeConvolveImage()
1781clStatus = 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()
1799clStatus = 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()
2077clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2078 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2086clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass2, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2087 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2095clStatus =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()
2109clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2110 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2118clStatus = 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()
2139clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2140 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2148clStatus = 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()
2165clStatus |=clEnv->library->clSetKernelArg(hullPass2,1,sizeof(cl_mem),(void *)&filteredImageBuffer); in ComputeDespeckleImage()
2167 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2173clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, hullPass1, 2, NULL, global_work_size, NUL… in ComputeDespeckleImage()
2174 if (clStatus != CL_SUCCESS) in ComputeDespeckleImage()
2182clStatus = 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()
2199clStatus = 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()
2433clStatus = clEnv->library->clEnqueueReadBuffer(queue, histogramBuffer, CL_TRUE, 0, length * sizeof… in ComputeEqualizeImage()
2435 if (clStatus != CL_SUCCESS) in ComputeEqualizeImage()
2444clStatus = 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()
2614clStatus|=clEnv->library->clSetKernelArg(equalizeKernel,i++,sizeof(ChannelType),&image->channel_ma… in ComputeEqualizeImage()
2615clStatus|=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()
2628clStatus = 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()
2646clStatus = 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()
3186clStatus=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3187clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(cl_mem),(void *)&filteredImageBu… in ComputeLocalContrastImage()
3188clStatus|=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()
3190clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageColu… in ComputeLocalContrastImage()
3191clStatus|=clEnv->library->clSetKernelArg(blurRowKernel,i++,sizeof(unsigned int),(void *)&imageRows… in ComputeLocalContrastImage()
3193 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3215clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, blurRowKernel, 2, goffset, gsize, wsize, … in ComputeLocalContrastImage()
3216 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3229clStatus=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&imageBuffer); in ComputeLocalContrastImage()
3230clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&filteredImag… in ComputeLocalContrastImage()
3231clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_mem),(void *)&tempImageBuf… in ComputeLocalContrastImage()
3232clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&iRadiu… in ComputeLocalContrastImage()
3233clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(cl_float),(void *)&FStrength); in ComputeLocalContrastImage()
3234clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageC… in ComputeLocalContrastImage()
3235clStatus|=clEnv->library->clSetKernelArg(blurColumnKernel,i++,sizeof(unsigned int),(void *)&imageR… in ComputeLocalContrastImage()
3237 if (clStatus != CL_SUCCESS) in ComputeLocalContrastImage()
3259clStatus = 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()
3280clStatus = 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()
3486clStatus = 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()
3503clStatus = 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()
3844clStatus|=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()