Merge remote-tracking branch 'upstream/3.4' into merge-3.4
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 11 Nov 2019 18:24:05 +0000 (18:24 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 11 Nov 2019 20:25:42 +0000 (20:25 +0000)
1  2 
cmake/OpenCVModule.cmake
cmake/OpenCVUtils.cmake
modules/core/CMakeLists.txt
modules/core/src/ocl.cpp
modules/dnn/include/opencv2/dnn/version.hpp
modules/dnn/src/dnn.cpp
modules/dnn/src/layers/eltwise_layer.cpp
modules/dnn/src/onnx/onnx_importer.cpp
modules/dnn/test/test_misc.cpp
modules/dnn/test/test_onnx_importer.cpp
modules/videoio/src/cap_gstreamer.cpp

Simple merge
Simple merge
Simple merge
Simple merge
index 3b372f9,0000000..9b1c6e1
mode 100644,000000..100644
--- /dev/null
@@@ -1,21 -1,0 +1,21 @@@
- #define OPENCV_DNN_API_VERSION 20191024
 +// This file is part of OpenCV project.
 +// It is subject to the license terms in the LICENSE file found in the top-level directory
 +// of this distribution and at http://opencv.org/license.html.
 +
 +#ifndef OPENCV_DNN_VERSION_HPP
 +#define OPENCV_DNN_VERSION_HPP
 +
 +/// Use with major OpenCV version only.
++#define OPENCV_DNN_API_VERSION 20191111
 +
 +#if !defined CV_DOXYGEN && !defined CV_STATIC_ANALYSIS && !defined CV_DNN_DONT_ADD_INLINE_NS
 +#define CV__DNN_INLINE_NS __CV_CAT(dnn4_v, OPENCV_DNN_API_VERSION)
 +#define CV__DNN_INLINE_NS_BEGIN namespace CV__DNN_INLINE_NS {
 +#define CV__DNN_INLINE_NS_END }
 +namespace cv { namespace dnn { namespace CV__DNN_INLINE_NS { } using namespace CV__DNN_INLINE_NS; }}
 +#else
 +#define CV__DNN_INLINE_NS_BEGIN
 +#define CV__DNN_INLINE_NS_END
 +#endif
 +
 +#endif  // OPENCV_DNN_VERSION_HPP
Simple merge
@@@ -104,8 -101,7 +107,8 @@@ public
      virtual bool supportBackend(int backendId) CV_OVERRIDE
      {
          return backendId == DNN_BACKEND_OPENCV ||
-                backendId == DNN_BACKEND_CUDA ||
--               backendId == DNN_BACKEND_HALIDE ||
++               (backendId == DNN_BACKEND_CUDA && op != DIV) ||  // TODO: not implemented, see PR #15811
++               (backendId == DNN_BACKEND_HALIDE && op != DIV) ||  // TODO: not implemented, see PR #15811
                 (backendId == DNN_BACKEND_INFERENCE_ENGINE && !variableChannels &&
                  (preferableTarget != DNN_TARGET_OPENCL || coeffs.empty()));
      }
Simple merge
Simple merge