opencv/modules/video
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
..
include/opencv2 some improvements on tutorials 2017-07-29 20:08:19 +03:00
misc/java Refactor OpenCV Java Wrapping 2017-06-15 20:35:12 +04:00
perf Rewritten some tests in videoio and imgcodecs modules 2017-06-20 18:20:41 +03:00
src ocl: avoid unnecessary loading/initializing OpenCL subsystem 2017-11-28 14:02:42 +03:00
test build: replace WIN32 => _WIN32 2017-07-25 13:30:48 +03:00
CMakeLists.txt Merge pull request #9466 from huningxin:js 2017-09-25 16:52:07 +03:00