platform/upstream/opencv.git
5 years agoMerge pull request #14339 from alalek:cmake_fix_std_cxx11
Alexander Alekhin [Tue, 16 Apr 2019 13:10:24 +0000 (13:10 +0000)]
Merge pull request #14339 from alalek:cmake_fix_std_cxx11

5 years agocmake: fix C++11 flags (ENABLE_CXX11 is not required)
Alexander Alekhin [Mon, 15 Apr 2019 17:00:55 +0000 (20:00 +0300)]
cmake: fix C++11 flags (ENABLE_CXX11 is not required)

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 13 Apr 2019 17:22:38 +0000 (17:22 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14297 from shxuy:patch-1
Nick Yang [Fri, 12 Apr 2019 16:32:08 +0000 (00:32 +0800)]
Merge pull request #14297 from shxuy:patch-1

fix just a typo of the word 'word' (#14297)

5 years agoMerge pull request #14255 from l-bat:networks_visualization
Lubov Batanina [Fri, 12 Apr 2019 16:31:07 +0000 (19:31 +0300)]
Merge pull request #14255 from l-bat:networks_visualization

* Add networks visualization

* Disable CXX11

* Fixed multy inputs support

* Added output shapes

* Added color for DLIE/CPU

* Fixed graph colors

5 years agoMerge pull request #13709 from michal-kowalczyk:flush-processed-samples-number
michal-kowalczyk [Fri, 12 Apr 2019 15:51:35 +0000 (17:51 +0200)]
Merge pull request #13709 from michal-kowalczyk:flush-processed-samples-number

* Add flushing to printing number of processed positive/negative samples so that user is informed of updates quickly.

* use flush C api instead of C++ api

5 years agoMerge pull request #12783 from alalek:test_tag
Alexander Alekhin [Fri, 12 Apr 2019 15:35:41 +0000 (15:35 +0000)]
Merge pull request #12783 from alalek:test_tag

5 years agoMerge pull request #14284 from dkurt:fix_14236
Alexander Alekhin [Fri, 12 Apr 2019 13:05:37 +0000 (13:05 +0000)]
Merge pull request #14284 from dkurt:fix_14236

5 years agoMerge pull request #14277 from dkurt:ie_enable_tests_2019r1
Alexander Alekhin [Fri, 12 Apr 2019 13:05:19 +0000 (13:05 +0000)]
Merge pull request #14277 from dkurt:ie_enable_tests_2019r1

5 years agoEnable some tests for Inference Engine 2019R1
Dmitry Kurtaev [Mon, 8 Apr 2019 08:29:10 +0000 (11:29 +0300)]
Enable some tests for Inference Engine 2019R1

5 years agoMerge pull request #14078 from alalek:test_python_from_modules
Alexander Alekhin [Fri, 12 Apr 2019 11:39:12 +0000 (11:39 +0000)]
Merge pull request #14078 from alalek:test_python_from_modules

5 years agoMerge pull request #11748 from paroj:cap_except
Alexander Alekhin [Fri, 12 Apr 2019 11:36:17 +0000 (11:36 +0000)]
Merge pull request #11748 from paroj:cap_except

5 years agoMerge pull request #14278 from mshabunin:fix-osx-camera-auth-rt
Maksim Shabunin [Thu, 11 Apr 2019 16:16:50 +0000 (19:16 +0300)]
Merge pull request #14278 from mshabunin:fix-osx-camera-auth-rt

* AVFoundation: Use runtime check for camera authorization

5 years agoMerge pull request #14294 from alalek:issue_14286
Alexander Alekhin [Thu, 11 Apr 2019 14:50:15 +0000 (17:50 +0300)]
Merge pull request #14294 from alalek:issue_14286

cmake: fix WITH_OPENCL_D3D11_NV check

5 years agoMerge pull request #14292 from alalek:issue_14291
Alexander Alekhin [Thu, 11 Apr 2019 14:46:28 +0000 (17:46 +0300)]
Merge pull request #14292 from alalek:issue_14291

* macosx: fix C++11 build

backporting commit c3cf35ab63c04fb1d7b2f6760128f42c20cac0e1

* macosx: eliminate build warning

5 years agoMerge pull request #14276 from kiwixz:pr/fix_compound
kiwixz [Thu, 11 Apr 2019 14:44:28 +0000 (15:44 +0100)]
Merge pull request #14276 from kiwixz:pr/fix_compound

Do not use compound literals (fix MSVC C4576) (#14276)

* do not use compound literals (compat cpp98)

* only fix msvc path

* remove unnecessary cplusplus check

5 years agopython: discover tests from module/misc/python/test paths
Alexander Alekhin [Sat, 16 Mar 2019 11:50:23 +0000 (11:50 +0000)]
python: discover tests from module/misc/python/test paths

5 years agoVideoCapture: add exception error mode similar to fstream + test
Pavel Rojtberg [Tue, 12 Jun 2018 13:21:33 +0000 (15:21 +0200)]
VideoCapture: add exception error mode similar to fstream + test

5 years agoFix a bug in FusedBatchNorm (TensorFlow) layer importer
Dmitry Kurtaev [Tue, 9 Apr 2019 10:35:34 +0000 (13:35 +0300)]
Fix a bug in FusedBatchNorm (TensorFlow) layer importer

5 years agodnn(test-tags): add time / memory tags
Alexander Alekhin [Mon, 8 Oct 2018 22:38:06 +0000 (22:38 +0000)]
dnn(test-tags): add time / memory tags

5 years agots: test tags for flexible/reliable tests filtering
Alexander Alekhin [Mon, 1 Oct 2018 13:28:17 +0000 (16:28 +0300)]
ts: test tags for flexible/reliable tests filtering

- added functionality to collect memory usage of OpenCL sybsystem
- memory usage of fastMalloc() (disabled by default):
  * It is not accurate sometimes - external memory profiler is required.
- specify common `CV_TEST_TAG_` macros
- added applyTestTag() function
- write memory usage / enabled tags into Google Tests output file (.xml)

5 years ago'-dev' version
Alexander Alekhin [Mon, 8 Apr 2019 11:34:32 +0000 (14:34 +0300)]
'-dev' version

5 years agoMerge tag '4.1.0'
Alexander Alekhin [Mon, 8 Apr 2019 08:10:29 +0000 (08:10 +0000)]
Merge tag '4.1.0'

5 years agorelease: OpenCV 4.1.0
Alexander Alekhin [Sun, 7 Apr 2019 17:09:10 +0000 (17:09 +0000)]
release: OpenCV 4.1.0

OpenCV 4.1.0

5 years agoMerge tag '4.1.0-openvino'
Alexander Alekhin [Sun, 7 Apr 2019 17:07:04 +0000 (17:07 +0000)]
Merge tag '4.1.0-openvino'

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 7 Apr 2019 12:35:15 +0000 (12:35 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge tag '3.4.6'
Alexander Alekhin [Sun, 7 Apr 2019 11:02:40 +0000 (11:02 +0000)]
Merge tag '3.4.6'

5 years agoOpenCV version++ (3.4.6)
Alexander Alekhin [Sat, 6 Apr 2019 21:43:23 +0000 (21:43 +0000)]
OpenCV version++ (3.4.6)

OpenCV 3.4.6

5 years agoMerge pull request #14271 from alalek:issue_14259
Alexander Alekhin [Sat, 6 Apr 2019 21:37:10 +0000 (21:37 +0000)]
Merge pull request #14271 from alalek:issue_14259

5 years agocalib3d: don't change input data
Alexander Alekhin [Sat, 6 Apr 2019 18:39:42 +0000 (18:39 +0000)]
calib3d: don't change input data

- estimateAffine2D/estimateAffinePartial2D() calls

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 5 Apr 2019 19:02:24 +0000 (19:02 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14267 from mshabunin:fix-osx-camera-auth
Maksim Shabunin [Fri, 5 Apr 2019 18:58:01 +0000 (21:58 +0300)]
Merge pull request #14267 from mshabunin:fix-osx-camera-auth

* Added authorization request to AVFoundation camera backend (OSX 10.14+)

5 years agoMerge pull request #14268 from alalek:fix_ossfuzz_13283
Alexander Alekhin [Fri, 5 Apr 2019 18:56:19 +0000 (18:56 +0000)]
Merge pull request #14268 from alalek:fix_ossfuzz_13283

5 years agoimgcodecs(tiff): check TIFF tile size
Alexander Alekhin [Fri, 5 Apr 2019 14:56:48 +0000 (17:56 +0300)]
imgcodecs(tiff): check TIFF tile size

oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13280
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13283

5 years agoMerge pull request #14266 from dkurt:fix_qrcode_decode_java
Dmitry Kurtaev [Fri, 5 Apr 2019 14:15:51 +0000 (17:15 +0300)]
Merge pull request #14266 from dkurt:fix_qrcode_decode_java

* Fix decode and detectAndDecode Java wrappers for QRCodeDetector

* revert changes in objdetect

* java: fix wrapping of std::string type

5 years agoMerge pull request #14256 from alalek:fix_docs_links_3.4
Alexander Alekhin [Fri, 5 Apr 2019 12:45:49 +0000 (12:45 +0000)]
Merge pull request #14256 from alalek:fix_docs_links_3.4

5 years agoMerge pull request #14251 from dkurt:dnn_tf_manage_switch
Alexander Alekhin [Fri, 5 Apr 2019 12:43:22 +0000 (12:43 +0000)]
Merge pull request #14251 from dkurt:dnn_tf_manage_switch

5 years agoRemove Switch and Merge nodes from TensorFlow networks
Dmitry Kurtaev [Wed, 3 Apr 2019 10:42:06 +0000 (13:42 +0300)]
Remove Switch and Merge nodes from TensorFlow networks

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 4 Apr 2019 18:09:24 +0000 (18:09 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14249 from alalek:imgcodecs_tiff_update_3.4
Alexander Alekhin [Thu, 4 Apr 2019 16:17:09 +0000 (16:17 +0000)]
Merge pull request #14249 from alalek:imgcodecs_tiff_update_3.4

5 years agodocs: fix links
Alexander Alekhin [Thu, 4 Apr 2019 15:57:22 +0000 (18:57 +0300)]
docs: fix links

- replace tutorial links via docs.opencv.org
- remove link on OpenCV 2.4
- avoid links on outdated packages

5 years agoMerge pull request #14245 from mehlukas:3.4-fixtutorial
mehlukas [Thu, 4 Apr 2019 14:44:03 +0000 (16:44 +0200)]
Merge pull request #14245 from mehlukas:3.4-fixtutorial

* improve thresholding tutorial, fix grammar issues and incorrections

* keep full list of simple thresholding types

5 years agoMerge pull request #14252 from balachandarsv:master-mac-openvino-support
BALACHANDAR S [Thu, 4 Apr 2019 14:37:45 +0000 (20:07 +0530)]
Merge pull request #14252 from balachandarsv:master-mac-openvino-support

* Mac support for op inference engine

Adding condition to check for mac and add corresponding libraries

* Adding mac support in test cases

5 years agoimgcodecs(tiff): sanitize tiff decoder
Alexander Alekhin [Thu, 4 Apr 2019 00:35:08 +0000 (00:35 +0000)]
imgcodecs(tiff): sanitize tiff decoder

- more checks
- drop separate branches for 32FC1/32FC3(read) handling
- added for 32F/64F non-compressed
- added tests for 32FC3 (RAW + hdr SGILOG compression)
- added test 64FC1
- dump tiff errors on stderr

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 3 Apr 2019 19:33:52 +0000 (19:33 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14233 from alalek:cmake_fix_license_install
Alexander Alekhin [Wed, 3 Apr 2019 19:30:47 +0000 (19:30 +0000)]
Merge pull request #14233 from alalek:cmake_fix_license_install

5 years agoMerge pull request #14229 from alalek:ffmpeg_downloader_elevated_run
Alexander Alekhin [Wed, 3 Apr 2019 19:29:28 +0000 (19:29 +0000)]
Merge pull request #14229 from alalek:ffmpeg_downloader_elevated_run

5 years agoMerge pull request #14241 from alalek:openvino_2019R1
Alexander Alekhin [Wed, 3 Apr 2019 19:26:46 +0000 (19:26 +0000)]
Merge pull request #14241 from alalek:openvino_2019R1

5 years agoMerge pull request #14117 from 103yiran:103yiran-patch-dnn
103yiran [Wed, 3 Apr 2019 19:13:11 +0000 (03:13 +0800)]
Merge pull request #14117 from 103yiran:103yiran-patch-dnn

* Postpone variable definitions

* dnn: reduce scope of 'Mat image' variable

5 years agodnn(test): skip tests
Alexander Alekhin [Wed, 3 Apr 2019 14:49:05 +0000 (17:49 +0300)]
dnn(test): skip tests

5 years agoMerge pull request #14144 from alalek:issue_14143
Alexander Alekhin [Wed, 3 Apr 2019 14:35:54 +0000 (14:35 +0000)]
Merge pull request #14144 from alalek:issue_14143

5 years agodnn: update DNNTestOpenVINO.models tests
Alexander Alekhin [Tue, 2 Apr 2019 12:03:32 +0000 (15:03 +0300)]
dnn: update DNNTestOpenVINO.models tests

- models are moved out from OpenVINO package
- need to download them separatelly

5 years agodnn: use OpenVINO 2019R1 defines
Alexander Alekhin [Mon, 1 Apr 2019 12:00:25 +0000 (15:00 +0300)]
dnn: use OpenVINO 2019R1 defines

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 2 Apr 2019 20:54:41 +0000 (20:54 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14234 from alalek:backport_14203
Alexander Alekhin [Tue, 2 Apr 2019 16:34:41 +0000 (16:34 +0000)]
Merge pull request #14234 from alalek:backport_14203

5 years agoMerge pull request #14217 from alalek:fix_world_gapi_tests
Alexander Alekhin [Tue, 2 Apr 2019 16:27:12 +0000 (16:27 +0000)]
Merge pull request #14217 from alalek:fix_world_gapi_tests

5 years agocmake: fix licenses install rules
Alexander Alekhin [Tue, 2 Apr 2019 14:47:03 +0000 (17:47 +0300)]
cmake: fix licenses install rules

5 years agoMerge pull request #14175 from paroj:copyto
Alexander Alekhin [Tue, 2 Apr 2019 16:17:59 +0000 (16:17 +0000)]
Merge pull request #14175 from paroj:copyto

5 years agoimgcodecs(sunras): avoid undefined shift
Alexander Alekhin [Sun, 31 Mar 2019 12:14:42 +0000 (12:14 +0000)]
imgcodecs(sunras): avoid undefined shift

backporting of commit: f2803aba07c1c522b409cce5390e757f54d7794d

5 years agoMerge pull request #14203 from alalek:fix_ossfuzz_13292
Alexander Alekhin [Tue, 2 Apr 2019 15:15:13 +0000 (15:15 +0000)]
Merge pull request #14203 from alalek:fix_ossfuzz_13292

5 years agoMerge pull request #14228 from dkurt:conv_1x1
Alexander Alekhin [Tue, 2 Apr 2019 14:35:50 +0000 (14:35 +0000)]
Merge pull request #14228 from dkurt:conv_1x1

5 years agoMerge pull request #14222 from alalek:cmake_remove_test_include_dirs
Alexander Alekhin [Tue, 2 Apr 2019 14:34:36 +0000 (14:34 +0000)]
Merge pull request #14222 from alalek:cmake_remove_test_include_dirs

5 years agoMerge pull request #14223 from alalek:backport_14201
Alexander Alekhin [Tue, 2 Apr 2019 14:33:57 +0000 (14:33 +0000)]
Merge pull request #14223 from alalek:backport_14201

5 years agoFFmpeg: try to download wrapper with elevated privileges
Alexander Alekhin [Tue, 2 Apr 2019 13:38:28 +0000 (16:38 +0300)]
FFmpeg: try to download wrapper with elevated privileges

5 years agoEnable 1x1 convolution optimization
Dmitry Kurtaev [Tue, 2 Apr 2019 11:05:17 +0000 (14:05 +0300)]
Enable 1x1 convolution optimization

5 years agogapi: fix tests build
Alexander Alekhin [Mon, 1 Apr 2019 14:31:03 +0000 (17:31 +0300)]
gapi: fix tests build

5 years agocmake: don't add tests dirs as include directories
Alexander Alekhin [Mon, 1 Apr 2019 14:30:10 +0000 (17:30 +0300)]
cmake: don't add tests dirs as include directories

- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)

5 years agoMerge pull request #14225 from zuoshaobo:my3.4
Alexander Alekhin [Tue, 2 Apr 2019 09:57:26 +0000 (09:57 +0000)]
Merge pull request #14225 from zuoshaobo:my3.4

5 years agoMerge pull request #14227 from dkurt:fix_build_with_ie
Alexander Alekhin [Tue, 2 Apr 2019 09:38:05 +0000 (09:38 +0000)]
Merge pull request #14227 from dkurt:fix_build_with_ie

5 years agocmake: don't add tests dirs as include directories
Alexander Alekhin [Mon, 1 Apr 2019 14:30:10 +0000 (17:30 +0300)]
cmake: don't add tests dirs as include directories

- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)

5 years agoFix build with IE > 2018R5
Dmitry Kurtaev [Tue, 2 Apr 2019 08:54:50 +0000 (11:54 +0300)]
Fix build with IE > 2018R5

5 years agoadd support for tf.add_n operation
zuoshaobo [Tue, 2 Apr 2019 07:20:53 +0000 (03:20 -0400)]
add support for   tf.add_n operation

5 years agoMerge pull request #14201 from alalek:fix_ossfuzz_13295
Alexander Alekhin [Mon, 1 Apr 2019 18:47:00 +0000 (18:47 +0000)]
Merge pull request #14201 from alalek:fix_ossfuzz_13295

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 1 Apr 2019 15:11:10 +0000 (18:11 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #14214 from alalek:backport_14202
Alexander Alekhin [Mon, 1 Apr 2019 14:39:25 +0000 (14:39 +0000)]
Merge pull request #14214 from alalek:backport_14202

5 years agoMerge pull request #14212 from dkurt:reduce_ie_models_tests
Alexander Alekhin [Mon, 1 Apr 2019 14:38:07 +0000 (14:38 +0000)]
Merge pull request #14212 from dkurt:reduce_ie_models_tests

5 years agoMerge pull request #14207 from alalek:fix_leak_eigenvalue_decomposition
Alexander Alekhin [Mon, 1 Apr 2019 14:17:37 +0000 (14:17 +0000)]
Merge pull request #14207 from alalek:fix_leak_eigenvalue_decomposition

5 years agoimgcodecs(tiff): avoid leak of helper struct on malformed inputs
Alexander Alekhin [Sun, 31 Mar 2019 11:50:33 +0000 (11:50 +0000)]
imgcodecs(tiff): avoid leak of helper struct on malformed inputs

backporting of commit: 45428b897fa718ca44ac7834d6a1ee6f6b64a3f6

5 years agoMerge pull request #14194 from alalek:backport_14193
Alexander Alekhin [Mon, 1 Apr 2019 14:03:13 +0000 (14:03 +0000)]
Merge pull request #14194 from alalek:backport_14193

5 years agoReduce number of tested models from OpenVINO
Dmitry Kurtaev [Mon, 1 Apr 2019 12:15:00 +0000 (15:15 +0300)]
Reduce number of tested models from OpenVINO

5 years agoMerge pull request #14200 from alalek:fix_imgcodecs_stream_set_pos
Alexander Alekhin [Mon, 1 Apr 2019 11:04:20 +0000 (11:04 +0000)]
Merge pull request #14200 from alalek:fix_imgcodecs_stream_set_pos

5 years agocore(lda): don't perform calculations in constructor
Alexander Alekhin [Sun, 31 Mar 2019 21:48:44 +0000 (21:48 +0000)]
core(lda): don't perform calculations in constructor

- exceptions from constructor will not cause destructor calls

5 years agoMerge pull request #14206 from alalek:issue_14205
Alexander Alekhin [Sun, 31 Mar 2019 20:58:17 +0000 (20:58 +0000)]
Merge pull request #14206 from alalek:issue_14205

5 years agocmake: fix CUDA world build
Alexander Alekhin [Sun, 31 Mar 2019 19:54:13 +0000 (19:54 +0000)]
cmake: fix CUDA world build

5 years agoMerge pull request #14202 from alalek:fix_ossfuzz_13285
Alexander Alekhin [Sun, 31 Mar 2019 14:39:20 +0000 (14:39 +0000)]
Merge pull request #14202 from alalek:fix_ossfuzz_13285

5 years agoMerge pull request #14198 from alalek:issue_14195
Alexander Alekhin [Sun, 31 Mar 2019 12:56:57 +0000 (12:56 +0000)]
Merge pull request #14198 from alalek:issue_14195

5 years agoimgcodecs: fix RBaseStream::setPos() outside of current block
Alexander Alekhin [Sun, 31 Mar 2019 10:16:49 +0000 (10:16 +0000)]
imgcodecs: fix RBaseStream::setPos() outside of current block

Seeking outside of the current block doesn't update actual data,
so getByte()/etc will get wrong data from stalled buffer.

5 years agoimgcodecs(sunras): avoid undefined shift
Alexander Alekhin [Sun, 31 Mar 2019 12:14:42 +0000 (12:14 +0000)]
imgcodecs(sunras): avoid undefined shift

oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13292

5 years agoimgcodecs(tiff): avoid leak of helper struct on malformed inputs
Alexander Alekhin [Sun, 31 Mar 2019 11:50:33 +0000 (11:50 +0000)]
imgcodecs(tiff): avoid leak of helper struct on malformed inputs

oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13285

5 years agoMerge pull request #14199 from devnexen:openbsd_build_fix
Alexander Alekhin [Sun, 31 Mar 2019 11:14:42 +0000 (11:14 +0000)]
Merge pull request #14199 from devnexen:openbsd_build_fix

5 years agoimgcodecs(bmp): limit size of processed images
Alexander Alekhin [Sun, 31 Mar 2019 10:43:30 +0000 (10:43 +0000)]
imgcodecs(bmp): limit size of processed images

2Gb+ images can't be handled properly by current implementation

backporting of commit: 50a6f9d251bfe9c3aec6c977391f38a7b790fe4c

5 years agoimgcodecs(bmp): limit size of processed images
Alexander Alekhin [Sun, 31 Mar 2019 10:43:30 +0000 (10:43 +0000)]
imgcodecs(bmp): limit size of processed images

2Gb+ images can't be handled properly by current implementation

ozz-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13295

5 years agoOpenBSD build fix
David Carlier [Sun, 31 Mar 2019 09:38:35 +0000 (10:38 +0100)]
OpenBSD build fix

required for close calls.

5 years agocmake: fix build of dnn tests with shared common code
Alexander Alekhin [Sun, 31 Mar 2019 08:51:09 +0000 (08:51 +0000)]
cmake: fix build of dnn tests with shared common code

- don't share .cpp files (PCH support is broken)

5 years agoMerge pull request #14196 from seiko2plus:issue14195
Alexander Alekhin [Sun, 31 Mar 2019 08:18:55 +0000 (08:18 +0000)]
Merge pull request #14196 from seiko2plus:issue14195

5 years agodnn:perf add missing definition __OPENCV_TEST to fix pch
Sayed Adel [Sun, 31 Mar 2019 01:28:33 +0000 (03:28 +0200)]
dnn:perf add missing definition __OPENCV_TEST to fix pch

5 years ago3rdparty(zlib): prevent uninitialized use of state->check
Alexander Alekhin [Sat, 30 Mar 2019 18:19:41 +0000 (18:19 +0000)]
3rdparty(zlib): prevent uninitialized use of state->check

backporting of commit: 8afb2f0cb7a712d03dd58a2873fc449215df153d

5 years agoMerge pull request #14193 from alalek:fix_ossfuzz_13317
Alexander Alekhin [Sat, 30 Mar 2019 20:26:15 +0000 (20:26 +0000)]
Merge pull request #14193 from alalek:fix_ossfuzz_13317

5 years ago3rdparty(zlib): prevent uninitialized use of state->check
Alexander Alekhin [Sat, 30 Mar 2019 18:19:41 +0000 (18:19 +0000)]
3rdparty(zlib): prevent uninitialized use of state->check

ozz-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13317
PR: https://github.com/opencv/opencv/pull/14193
zlib upstream bug: madler/zlib#245
Ported fix: https://chromium.googlesource.com/chromium/src/+/ee376c65abdd5afe787bfb63af9f2e82fdc35c2e

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 29 Mar 2019 19:21:47 +0000 (19:21 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4