useOpenCL 1077 modules/calib3d/src/stereobm.cpp if(ocl::useOpenCL() && disparr.isUMat() && params.textureThreshold == 0) useOpenCL 53 modules/core/include/opencv2/core/ocl.hpp CV_EXPORTS_W bool useOpenCL(); useOpenCL 16 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ useOpenCL 32 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition)) \ useOpenCL 47 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ useOpenCL 23 modules/core/perf/opencl/perf_bufferpool.cpp if (!cv::ocl::useOpenCL()) useOpenCL 1413 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) useOpenCL 1436 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) useOpenCL 1368 modules/core/src/mathfuncs.cpp useOpenCL = _dst.isUMat() && _src.dims() <= 2; useOpenCL 1370 modules/core/src/mathfuncs.cpp if( is_ipower && !(ocl::Device::getDefault().isIntel() && useOpenCL && depth != CV_64F)) useOpenCL 1389 modules/core/src/mathfuncs.cpp CV_OCL_RUN(useOpenCL, ocl_pow(_src, power, _dst, is_ipower, ipower)) useOpenCL 1483 modules/core/src/ocl.cpp if( data->useOpenCL < 0 ) useOpenCL 1487 modules/core/src/ocl.cpp data->useOpenCL = (int)haveOpenCL() && Device::getDefault().ptr() && Device::getDefault().available(); useOpenCL 1491 modules/core/src/ocl.cpp data->useOpenCL = 0; useOpenCL 1494 modules/core/src/ocl.cpp return data->useOpenCL > 0; useOpenCL 1502 modules/core/src/ocl.cpp data->useOpenCL = (flag && Device::getDefault().ptr() != NULL) ? 1 : 0; useOpenCL 4189 modules/core/src/ocl.cpp if(!useOpenCL()) useOpenCL 264 modules/core/src/precomp.hpp CoreTLSData() : device(0), useOpenCL(-1), useIPP(-1) useOpenCL 274 modules/core/src/precomp.hpp int useOpenCL; // 1 - use, 0 - do not use, -1 - auto/not initialized useOpenCL 91 modules/core/src/umatrix.cpp if( ocl::haveOpenCL() && ocl::useOpenCL() ) useOpenCL 674 modules/core/src/umatrix.cpp if (ocl::useOpenCL() && _dst.isUMat() && dims <= 2) useOpenCL 729 modules/core/src/umatrix.cpp if( dims <= 2 && cn && _dst.isUMat() && ocl::useOpenCL() && useOpenCL 775 modules/core/src/umatrix.cpp if( dims <= 2 && cn <= 4 && CV_MAT_DEPTH(tp) < CV_64F && ocl::useOpenCL() ) useOpenCL 71 modules/core/test/ocl/test_image2d.cpp bool useOCL = cv::ocl::useOpenCL(); useOpenCL 692 modules/core/test/test_umat.cpp cv::ocl::useOpenCL() ? "TRUE" : "FALSE", useOpenCL 775 modules/core/test/test_umat.cpp bool useOCL = cv::ocl::useOpenCL(); useOpenCL 333 modules/features2d/src/fast.cpp if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 && useOpenCL 751 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && useOpenCL 895 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && useOpenCL 962 modules/features2d/src/orb.cpp bool useOCL = ocl::useOpenCL(); useOpenCL 357 modules/imgproc/src/clahe.cpp bool useOpenCL = cv::ocl::useOpenCL() && _src.isUMat() && _src.dims()<=2 && _src.type() == CV_8UC1; useOpenCL 373 modules/imgproc/src/clahe.cpp if(useOpenCL) useOpenCL 399 modules/imgproc/src/clahe.cpp if (useOpenCL && clahe::calcLut(_srcForLut, ulut_, tilesX_, tilesY_, tileSize, clipLimit, lutScale) ) useOpenCL 814 modules/imgproc/src/deriv.cpp ((stype == CV_8UC1 && ddepth == CV_16S) || (ddepth == CV_32F && stype == CV_32FC1)) && !ocl::useOpenCL()) useOpenCL 569 modules/imgproc/src/moments.cpp if( !(ocl::useOpenCL() && type == CV_8UC1 && useOpenCL 438 modules/imgproc/src/sumpixels.cpp if (ocl::useOpenCL() && _sum.isUMat() && !_tilted.needed()) useOpenCL 442 modules/imgproc/src/sumpixels.cpp CV_OCL_RUN(ocl::useOpenCL(), ocl_integral(_src, _sum, sdepth)) useOpenCL 445 modules/imgproc/src/sumpixels.cpp CV_OCL_RUN(ocl::useOpenCL(), ocl_integral(_src, _sum, _sqsum, sdepth, sqdepth)) useOpenCL 182 modules/imgproc/test/ocl/test_histogram.cpp if (cv::ocl::useOpenCL() && cv::ocl::Device::getDefault().isAMD()) useOpenCL 1232 modules/objdetect/src/cascadedetect.cpp bool use_ocl = tryOpenCL && ocl::useOpenCL() && useOpenCL 371 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || useOpenCL 489 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || useOpenCL 159 modules/stitching/src/matchers.cpp if (ocl::useOpenCL()) useOpenCL 113 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) useOpenCL 313 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) useOpenCL 361 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) useOpenCL 121 modules/ts/include/opencv2/ts/ocl_perf.hpp if (cv::ocl::useOpenCL()) useOpenCL 55 modules/ts/src/ocl_perf.cpp if (!cv::ocl::useOpenCL()) useOpenCL 101 modules/ts/src/ocl_test.cpp if (!useOpenCL()) useOpenCL 193 modules/video/src/bgfg_gaussmix2.cpp if (ocl::useOpenCL() && opencl_ON) useOpenCL 1095 modules/video/src/lkpyramid.cpp bool use_opencl = ocl::useOpenCL() && useOpenCL 1082 modules/video/src/optflowgf.cpp bool use_opencl = ocl::useOpenCL() && _flow0.isUMat(); useOpenCL 242 samples/cpp/ufacedetect.cpp putText(canvas, format("OpenCL: %s, fps: %.1f", ocl::useOpenCL() ? "ON" : "OFF", avgfps), Point(50, 30), useOpenCL 122 samples/directx/d3d10_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? useOpenCL 126 samples/directx/d3d11_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? useOpenCL 95 samples/directx/d3d9_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? useOpenCL 95 samples/directx/d3d9ex_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? useOpenCL 117 samples/tapi/bgfg_segm.cpp ocl::setUseOpenCL(!ocl::useOpenCL()); useOpenCL 118 samples/tapi/bgfg_segm.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; useOpenCL 220 samples/tapi/camshift.cpp cv::ocl::setUseOpenCL(!cv::ocl::useOpenCL()); useOpenCL 104 samples/tapi/clahe.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); useOpenCL 105 samples/tapi/clahe.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; useOpenCL 228 samples/tapi/hog.cpp putText(img_to_show, ocl::useOpenCL() ? "Mode: OpenCL" : "Mode: CPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); useOpenCL 274 samples/tapi/hog.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); useOpenCL 275 samples/tapi/hog.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; useOpenCL 191 samples/tapi/pyrlk_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); useOpenCL 192 samples/tapi/pyrlk_optical_flow.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n"; useOpenCL 188 samples/tapi/tvl1_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); useOpenCL 189 samples/tapi/tvl1_optical_flow.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n";