opencv/modules/objdetect
Alexander Alekhin 0ed3209b00 ocl: avoid unnecessary loading/initializing OpenCL subsystem
If there are no OpenCL/UMat methods calls from application.

OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called

Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
2017-11-28 14:02:42 +03:00
..
doc/pics Removed Sphinx documentation files 2014-12-26 19:12:19 +03:00
include/opencv2 Update HOGDescriptor documentation 2017-10-02 07:14:35 +03:00
misc/java/test Modified java wrapping mechanism 2015-03-02 18:12:30 +03:00
perf world fix 2014-08-05 20:12:35 +04:00
src ocl: avoid unnecessary loading/initializing OpenCL subsystem 2017-11-28 14:02:42 +03:00
test Fixed minor issues reported by GCC 7.2 2017-11-03 18:06:39 +03:00
CMakeLists.txt Merge pull request #9466 from huningxin:js 2017-09-25 16:52:07 +03:00