platform/upstream/opencv.git
4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 5 Sep 2019 11:28:07 +0000 (14:28 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #14872 from AhiyaHiya:feature/topmost_window
Jaime [Thu, 5 Sep 2019 10:55:17 +0000 (06:55 -0400)]
Merge pull request #14872 from AhiyaHiya:feature/topmost_window

* Added mechanism to set/toggle NORMAL window to TOPMOST window.

* highgui: remove unnecessary/legacy code

4 years agoMerge pull request #15170 from sturkmen72:update_samples
Alexander Alekhin [Thu, 5 Sep 2019 10:44:06 +0000 (10:44 +0000)]
Merge pull request #15170 from sturkmen72:update_samples

4 years agoUpdate Samples
Suleyman TURKMEN [Sun, 28 Jul 2019 09:09:17 +0000 (12:09 +0300)]
Update Samples

4 years agoMerge pull request #15444 from alalek:ocl_fix_fft_kernel
Alexander Alekhin [Wed, 4 Sep 2019 16:25:34 +0000 (16:25 +0000)]
Merge pull request #15444 from alalek:ocl_fix_fft_kernel

4 years agoMerge pull request #15440 from everton1984:new_integral_tests
Everton Constantino [Wed, 4 Sep 2019 16:14:00 +0000 (13:14 -0300)]
Merge pull request #15440 from everton1984:new_integral_tests

* Adding all possible data type interactions to the perf tests since some
use SIMD acceleration and others do not.

* Disabling full tests by default.

* Giving proper names, removing magic numbers and sanity checks of new
performance tests for the integral function.

* Giving proper names, making array static.

4 years agoMerge pull request #15451 from mattmyne:calibratecameraRO_fix_emptyJo
Alexander Alekhin [Wed, 4 Sep 2019 16:12:30 +0000 (16:12 +0000)]
Merge pull request #15451 from mattmyne:calibratecameraRO_fix_emptyJo

4 years agoMerge pull request #15433 from huihut:master
huihut [Wed, 4 Sep 2019 15:36:56 +0000 (23:36 +0800)]
Merge pull request #15433 from huihut:master

* fix 'chmod' is not recognized as an internal or external command in Windows

https://github.com/opencv/opencv/issues/14939

* cmake: update PCH command handling

4 years agoPrevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0
Matt Bennett [Wed, 4 Sep 2019 14:33:03 +0000 (15:33 +0100)]
Prevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0

4 years agoMerge pull request #15063 from dkurt:dnn_ie_ocv_layers
Dmitry Kurtaev [Tue, 3 Sep 2019 15:58:57 +0000 (16:58 +0100)]
Merge pull request #15063 from dkurt:dnn_ie_ocv_layers

* Wrap unsupported by IE layers as custom layers

* Replace pointers to layers blobs to their shapes

* Enable Faster R-CNN with IE backend on CPU

4 years agocore(ocl): fix fft kernel compilation
Alexander Alekhin [Tue, 3 Sep 2019 12:46:53 +0000 (15:46 +0300)]
core(ocl): fix fft kernel compilation

- error: variables in the local address space can only be declared in the outermost scope of a kernel function

4 years agoMerge pull request #15437 from devnexen:fbsd_opencl_build_fix
Alexander Alekhin [Tue, 3 Sep 2019 12:21:02 +0000 (12:21 +0000)]
Merge pull request #15437 from devnexen:fbsd_opencl_build_fix

4 years agoMerge pull request #15442 from alalek:fix_15293
Alexander Alekhin [Tue, 3 Sep 2019 12:05:57 +0000 (12:05 +0000)]
Merge pull request #15442 from alalek:fix_15293

4 years agoMerge pull request #15436 from alalek:update_version_4.1.2-pre
Alexander Alekhin [Tue, 3 Sep 2019 12:05:16 +0000 (12:05 +0000)]
Merge pull request #15436 from alalek:update_version_4.1.2-pre

4 years agoMerge pull request #15435 from alalek:update_version_3.4.8-pre
Alexander Alekhin [Tue, 3 Sep 2019 12:04:22 +0000 (12:04 +0000)]
Merge pull request #15435 from alalek:update_version_3.4.8-pre

4 years agogapi(test): fix 32S->8U type in OwnMatConversion.WithND
Alexander Alekhin [Tue, 3 Sep 2019 11:00:28 +0000 (14:00 +0300)]
gapi(test): fix 32S->8U type in OwnMatConversion.WithND

4 years agoMerge pull request #15424 from mshabunin:add-cmake-docs
Alexander Alekhin [Tue, 3 Sep 2019 10:50:45 +0000 (10:50 +0000)]
Merge pull request #15424 from mshabunin:add-cmake-docs

4 years agoMerge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue
OrestChura [Tue, 3 Sep 2019 10:22:12 +0000 (13:22 +0300)]
Merge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue

* - headers in "infer/" and "infer/ie/" folders are included into gapi_ext_hdrs;
+ because of that a few #includes are required in the headers
- HAVE_INF_ENGINE flag check in headers "infer/ie.hpp" and "infer/ie/util.hpp" is deleted

* - the "ie/util.hpp" header is a private header now as it's used for tests; it's been moved to the scr directory to the place next to the implementation file "ie/giebackend.cpp"
- the path to this header in files "ie/giebackend.cpp" and "test/infer/gapi_infer_ie_test.cpp" is updated
- As it's private header now and explicitly depends on IE, the "HAVE_INF_ENGINE" flag check is returned

4 years agoOpenCL: FreeBSD build fix
David Carlier [Mon, 2 Sep 2019 13:39:31 +0000 (13:39 +0000)]
OpenCL: FreeBSD build fix

4 years agoMerge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw
Alexander Alekhin [Mon, 2 Sep 2019 15:47:21 +0000 (15:47 +0000)]
Merge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw

4 years agoFluid Internal Parallelism
Anton Potapov [Mon, 2 Sep 2019 13:16:01 +0000 (16:16 +0300)]
Fluid Internal Parallelism

   - make static analysis happy

4 years agoMerge pull request #15312 from smirnov-alexey:gapi_fluid_garray
Alexey Smirnov [Mon, 2 Sep 2019 12:51:58 +0000 (15:51 +0300)]
Merge pull request #15312 from smirnov-alexey:gapi_fluid_garray

* Support GArray as input in fluid kernels

* Create tests on GArray input in fluid

* Some fixes to fully support GArray

* Refactor code and change the kernel according to review

* Add histogram calculation as a G-API kernel

Add assert that input GArgs in fluid contain at least one GMat

4 years agopre: OpenCV 4.1.2 (version++)
Alexander Alekhin [Mon, 2 Sep 2019 12:26:14 +0000 (15:26 +0300)]
pre: OpenCV 4.1.2 (version++)

4 years agodnn: bump API version
Alexander Alekhin [Mon, 2 Sep 2019 11:25:18 +0000 (14:25 +0300)]
dnn: bump API version

4 years agopre: OpenCV 3.4.8 (version++)
Alexander Alekhin [Mon, 2 Sep 2019 11:20:49 +0000 (14:20 +0300)]
pre: OpenCV 3.4.8 (version++)

4 years agoexperimental version++
Alexander Alekhin [Mon, 2 Sep 2019 11:17:36 +0000 (14:17 +0300)]
experimental version++

4 years agoMerge pull request #15432 from atinfinity:removed-tegra-optimization
Alexander Alekhin [Sun, 1 Sep 2019 21:57:57 +0000 (21:57 +0000)]
Merge pull request #15432 from atinfinity:removed-tegra-optimization

4 years agoremoved tegra optimization
atinfinity [Sun, 1 Sep 2019 12:22:06 +0000 (21:22 +0900)]
removed tegra optimization

4 years agoMerge pull request #15339 from pmur:dotprod-32s-vsx
Alexander Alekhin [Sat, 31 Aug 2019 11:16:04 +0000 (11:16 +0000)]
Merge pull request #15339 from pmur:dotprod-32s-vsx

4 years agoMerge pull request #15402 from ChipKerchner:normUnroll
Alexander Alekhin [Sat, 31 Aug 2019 11:10:05 +0000 (11:10 +0000)]
Merge pull request #15402 from ChipKerchner:normUnroll

4 years agoMerge pull request #15358 from ChipKerchner:imgwarpToHal
Chip Kerchner [Sat, 31 Aug 2019 10:47:58 +0000 (06:47 -0400)]
Merge pull request #15358 from ChipKerchner:imgwarpToHal

* Convert ImgWarp from SSE SIMD to HAL - 2.8x faster on Power (VSX) and 15% speedup on x86

* Change compile flag from CV_SIMD128 to CV_SIMD128_64F for use of v_float64x2 type

* Changing WarpPerspectiveLine from class functions and dispatching to static functions.

* Re-add dynamic runtime and dispatch execution.

* RRestore SSE4_1 optimizations inside opt_SSE4_1 namespace

4 years agoAssorted documentation fixes
Maksim Shabunin [Fri, 30 Aug 2019 22:47:04 +0000 (01:47 +0300)]
Assorted documentation fixes

* removed private flann documentation
* common tutorial images moved to doc/images
* grouping issues

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 30 Aug 2019 13:22:42 +0000 (16:22 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15414 from kuzi117:instr
Alexander Alekhin [Fri, 30 Aug 2019 12:03:19 +0000 (12:03 +0000)]
Merge pull request #15414 from kuzi117:instr

4 years agoMerge pull request #15418 from mshabunin:try-install-layout-34
Alexander Alekhin [Thu, 29 Aug 2019 18:42:58 +0000 (18:42 +0000)]
Merge pull request #15418 from mshabunin:try-install-layout-34

4 years agoMerge pull request #15417 from alalek:ts_fix_callback_signature
Alexander Alekhin [Thu, 29 Aug 2019 18:40:19 +0000 (18:40 +0000)]
Merge pull request #15417 from alalek:ts_fix_callback_signature

4 years agoMerge pull request #15412 from kuzi117:ambig
Alexander Alekhin [Thu, 29 Aug 2019 18:39:00 +0000 (18:39 +0000)]
Merge pull request #15412 from kuzi117:ambig

4 years agoUse commonly supported instruction mnemonic.
Braedy Kuzma [Thu, 29 Aug 2019 00:20:09 +0000 (18:20 -0600)]
Use commonly supported instruction mnemonic.

4 years agoDisambiguate vecpopcnt for (u)dword2.
Braedy Kuzma [Wed, 28 Aug 2019 23:39:08 +0000 (17:39 -0600)]
Disambiguate vecpopcnt for (u)dword2.

4 years agoPorted install layout refactoring from master branch
Maksim Shabunin [Thu, 29 Aug 2019 13:57:42 +0000 (16:57 +0300)]
Ported install layout refactoring from master branch

4 years agots: fix callback function signature
Alexander Alekhin [Thu, 29 Aug 2019 11:37:35 +0000 (14:37 +0300)]
ts: fix callback function signature

detected by UBSAN

4 years agoMerge pull request #15357 from ChipKerchner:fastCorner
Alexander Alekhin [Thu, 29 Aug 2019 08:26:31 +0000 (08:26 +0000)]
Merge pull request #15357 from ChipKerchner:fastCorner

4 years agoMerge pull request #15395 from l-bat:fully_connected
Lubov Batanina [Thu, 29 Aug 2019 07:52:02 +0000 (10:52 +0300)]
Merge pull request #15395 from l-bat:fully_connected

* Fix IE FullyConnected layer

* Fix MyriadX

4 years agoMerge pull request #15407 from terfendail:test_check_any
Alexander Alekhin [Wed, 28 Aug 2019 16:39:01 +0000 (16:39 +0000)]
Merge pull request #15407 from terfendail:test_check_any

4 years agoMerge pull request #14786 from mshabunin:try-install-layout
Alexander Alekhin [Wed, 28 Aug 2019 15:58:21 +0000 (15:58 +0000)]
Merge pull request #14786 from mshabunin:try-install-layout

4 years agoMerge pull request #15274 from ChipKerchner:lkpyramidToHal
Chip Kerchner [Wed, 28 Aug 2019 15:56:48 +0000 (11:56 -0400)]
Merge pull request #15274 from ChipKerchner:lkpyramidToHal

* Convert lkpyramid from SSE SIMD to HAL - 90% faster on Power (VSX).

* Replace stores with reduce_sum.  Rework to handle endianess correctly.

* Fix compiler warnings by casting values explicitly to shorts

* Switch to CV_SIMD128 compiler definition.  Unroll loop to 8 elements since we've already loaded the data.

4 years agoExtend tests for v_check_any and v_check_all intrinsics
Vitaly Tuzov [Wed, 28 Aug 2019 11:53:31 +0000 (14:53 +0300)]
Extend tests for v_check_any and v_check_all intrinsics

4 years agoMerge pull request #15401 from ChipKerchner:vectorReduceInt8Bug
Alexander Alekhin [Tue, 27 Aug 2019 19:59:39 +0000 (19:59 +0000)]
Merge pull request #15401 from ChipKerchner:vectorReduceInt8Bug

4 years ago\96Improve vectorization in the 'norm' functions
ChipKerchner [Tue, 27 Aug 2019 17:15:19 +0000 (12:15 -0500)]
\96Improve vectorization in the 'norm' functions

4 years agoFix macro bug with v_reduce_min and v_reduce_max for chars in VSX
ChipKerchner [Tue, 27 Aug 2019 16:38:53 +0000 (11:38 -0500)]
Fix macro bug with v_reduce_min and v_reduce_max for chars in VSX

4 years agoMerge pull request #15400 from terfendail:fix_check_any
Alexander Alekhin [Tue, 27 Aug 2019 14:07:23 +0000 (14:07 +0000)]
Merge pull request #15400 from terfendail:fix_check_any

4 years agoMerge pull request #15378 from andrey-golubev:acc_tests_doc
Alexander Alekhin [Tue, 27 Aug 2019 12:20:05 +0000 (12:20 +0000)]
Merge pull request #15378 from andrey-golubev:acc_tests_doc

4 years agoFix for AVX2 implementation of v_check_any(), v_check_all() intrinsics
Vitaly Tuzov [Tue, 27 Aug 2019 11:31:23 +0000 (14:31 +0300)]
Fix for AVX2 implementation of v_check_any(), v_check_all() intrinsics

4 years agoExtracted install layout configuration to separate file
Maksim Shabunin [Tue, 11 Jun 2019 22:18:57 +0000 (01:18 +0300)]
Extracted install layout configuration to separate file

4 years agoMerge pull request #15388 from atinfinity:impl-turbo-colormap
atinfinity [Mon, 26 Aug 2019 14:55:10 +0000 (23:55 +0900)]
Merge pull request #15388 from atinfinity:impl-turbo-colormap

Implementation of colormap "Turbo" (#15388)

* implemented turbo colormap

* add colormap image

* changed float value to avoid cast

* sorted flag check alphabetically

4 years agoMerge pull request #15391 from dkurt:fix_15141
Alexander Alekhin [Mon, 26 Aug 2019 12:17:21 +0000 (12:17 +0000)]
Merge pull request #15391 from dkurt:fix_15141

4 years agoFix https://github.com/opencv/opencv/issues/15141
Dmitry Kurtaev [Sat, 24 Aug 2019 20:14:26 +0000 (23:14 +0300)]
Fix https://github.com/opencv/opencv/issues/15141

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 23 Aug 2019 16:24:37 +0000 (19:24 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15383 from alalek:fix_15379
Alexander Alekhin [Fri, 23 Aug 2019 16:19:36 +0000 (16:19 +0000)]
Merge pull request #15383 from alalek:fix_15379

4 years agoMerge pull request #15382 from alalek:fix_15287
Alexander Alekhin [Fri, 23 Aug 2019 16:09:13 +0000 (16:09 +0000)]
Merge pull request #15382 from alalek:fix_15287

4 years agoMerge pull request #15380 from alalek:fix_build_icc
Alexander Alekhin [Fri, 23 Aug 2019 16:07:21 +0000 (16:07 +0000)]
Merge pull request #15380 from alalek:fix_build_icc

4 years agoMerge pull request #15376 from ilya-lavrenov:detect_openvino
Alexander Alekhin [Fri, 23 Aug 2019 16:05:15 +0000 (16:05 +0000)]
Merge pull request #15376 from ilya-lavrenov:detect_openvino

4 years agoMerge pull request #15350 from komakai:apple-debug-build
Giles Payne [Fri, 23 Aug 2019 15:22:29 +0000 (00:22 +0900)]
Merge pull request #15350 from komakai:apple-debug-build

* Add debug build option to MacOs and iOS build scripts

* osx: allow selection of MACOSX_DEPLOYMENT_TARGET

* Add --debug_info flag to iOS and macOS builds for building with debug info

4 years agoAdopted detection of Inference Engine
Ilya Lavrenov [Fri, 23 Aug 2019 09:54:07 +0000 (12:54 +0300)]
Adopted detection of Inference Engine

4 years agocore: handle empty Mat in Mat_ assignment operators
Alexander Alekhin [Fri, 23 Aug 2019 13:54:24 +0000 (16:54 +0300)]
core: handle empty Mat in Mat_ assignment operators

4 years agobuild: fix build with ICC
Alexander Alekhin [Thu, 22 Aug 2019 13:26:58 +0000 (16:26 +0300)]
build: fix build with ICC

4 years agoobjdetect: add input check in HOG detector
Alexander Alekhin [Fri, 23 Aug 2019 13:14:53 +0000 (16:14 +0300)]
objdetect: add input check in HOG detector

4 years agoMerge pull request #15236 from dbudniko:dbudniko/g_api_copy_kernels
Alexander Alekhin [Fri, 23 Aug 2019 10:47:47 +0000 (10:47 +0000)]
Merge pull request #15236 from dbudniko:dbudniko/g_api_copy_kernels

4 years agoDocument usage of accuracy tests model
Andrey Golubev [Fri, 23 Aug 2019 10:15:35 +0000 (13:15 +0300)]
Document usage of accuracy tests model

4 years agoMerge pull request #15373 from pmur:libpng-vsx-fix
Alexander Alekhin [Thu, 22 Aug 2019 20:54:34 +0000 (20:54 +0000)]
Merge pull request #15373 from pmur:libpng-vsx-fix

4 years agoMerge pull request #15372 from alalek:core_stat_fix_intrin
Alexander Alekhin [Thu, 22 Aug 2019 20:52:54 +0000 (20:52 +0000)]
Merge pull request #15372 from alalek:core_stat_fix_intrin

4 years agoMerge pull request #15370 from alalek:core_fastmath_hpp_update
Alexander Alekhin [Thu, 22 Aug 2019 17:05:38 +0000 (17:05 +0000)]
Merge pull request #15370 from alalek:core_fastmath_hpp_update

4 years agoMerge pull request #15353 from alalek:cmake_check_atomic
Alexander Alekhin [Thu, 22 Aug 2019 15:43:34 +0000 (15:43 +0000)]
Merge pull request #15353 from alalek:cmake_check_atomic

4 years agolibpng: update check for VSX enablement
Paul E. Murphy [Thu, 22 Aug 2019 15:08:01 +0000 (10:08 -0500)]
libpng: update check for VSX enablement

The deprecated flag ENABLE_VSX should not be used to enable this
feature. Instead, use the baseline cpu feature set to determine.

4 years agoMerge pull request #15007 from 284km:fixatypo
Kazuma Furuhashi [Thu, 22 Aug 2019 14:32:25 +0000 (23:32 +0900)]
Merge pull request #15007 from 284km:fixatypo

s/last_occurence/last_occurrence/

4 years agocore: update fastmath.hpp
Alexander Alekhin [Wed, 21 Aug 2019 22:21:53 +0000 (22:21 +0000)]
core: update fastmath.hpp

4 years agocore: fix stat SIMD code
Alexander Alekhin [Thu, 22 Aug 2019 12:39:51 +0000 (15:39 +0300)]
core: fix stat SIMD code

4 years agoMerge pull request #15316 from sturkmen72:update_seamless_cloning_cpp
Alexander Alekhin [Thu, 22 Aug 2019 11:37:38 +0000 (11:37 +0000)]
Merge pull request #15316 from sturkmen72:update_seamless_cloning_cpp

4 years agoMerge pull request #15345 from prakhar9998:patch-1
Prakhar Varshney [Thu, 22 Aug 2019 09:25:27 +0000 (14:55 +0530)]
Merge pull request #15345 from prakhar9998:patch-1

* fix broken code link

resolves  #15344

* Update stitcher.markdown

* update 3.4 link

4 years agoMerge pull request #15303 from dkurt:fix_15296
Alexander Alekhin [Wed, 21 Aug 2019 16:59:20 +0000 (16:59 +0000)]
Merge pull request #15303 from dkurt:fix_15296

4 years agoMerge pull request #15365 from Zyrin:3.4
Alexander Alekhin [Wed, 21 Aug 2019 15:55:25 +0000 (15:55 +0000)]
Merge pull request #15365 from Zyrin:3.4

4 years agoMerge pull request #15368 from dab0bby:patch-2
Alexander Alekhin [Wed, 21 Aug 2019 15:10:25 +0000 (15:10 +0000)]
Merge pull request #15368 from dab0bby:patch-2

4 years agofix typo and reference
dab0bby [Wed, 21 Aug 2019 12:52:31 +0000 (14:52 +0200)]
fix typo and reference

4 years agoMerge pull request #15359 from mgehre:fix_dangling_pointer
Alexander Alekhin [Wed, 21 Aug 2019 11:38:33 +0000 (11:38 +0000)]
Merge pull request #15359 from mgehre:fix_dangling_pointer

4 years agocmake: add libatomic check
Alexander Alekhin [Tue, 20 Aug 2019 13:19:37 +0000 (16:19 +0300)]
cmake: add libatomic check

4 years agoMerge pull request #15279 from neheb:patch-1
Rosen Penev [Wed, 21 Aug 2019 09:59:09 +0000 (02:59 -0700)]
Merge pull request #15279 from neheb:patch-1

* jas_stream: Add definition for L_tmpnam if missing

uClibc-ng for some reason does not provide a definition when some
deprecated APIs are disabled. Value taken from the musl libc.

* 3rdparty: move uClibc-ng workaround into config file

4 years agoUse std::move in Mat_<T> move constructors
Zyrin [Wed, 21 Aug 2019 09:12:00 +0000 (11:12 +0200)]
Use std::move in Mat_<T> move constructors

4 years agoFix stack overflow on gcc with c++17 (#15343)
Zyrin [Wed, 21 Aug 2019 08:57:03 +0000 (10:57 +0200)]
Fix stack overflow on gcc with c++17  (#15343)

4 years agoMerge pull request #15335 from lixit:master
Alexander Alekhin [Tue, 20 Aug 2019 22:10:10 +0000 (22:10 +0000)]
Merge pull request #15335 from lixit:master

4 years agomodules/core/src/ocl.cpp: Fix dangling pointer
Matthias Gehre [Tue, 20 Aug 2019 21:27:36 +0000 (23:27 +0200)]
modules/core/src/ocl.cpp: Fix dangling pointer

Detected by clang trunk:
```
opencv/modules/core/src/ocl.cpp:4337:37: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling]
        CV_OCL_CHECK_RESULT(retval, cv::format("clCreateBuffer(capacity=%lld) => %p", (long long int)entry.capacity_, (void*)entry.clBuffer_).c_str());
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opencv/modules/core/src/ocl.cpp:193:42: note: expanded from macro 'CV_OCL_CHECK_RESULT'
            if (0) { const char* msg_ = (msg); CV_UNUSED(msg_); /* ensure const char* type (cv::String without c_str()) */ } \
```
because `cv::format` yields a temporary std::string, and thus `msg_` points to a destroyed buffer.

4 years agoMerge pull request #15351 from philippefoubert:pr_ximea
Philippe FOUBERT [Tue, 20 Aug 2019 21:01:34 +0000 (23:01 +0200)]
Merge pull request #15351 from philippefoubert:pr_ximea

* Fix the detection of XIMEA on Windows (when it has been installed by another user with administrative privileges, for example).

* Change the flow: we first try HKEY_CURRENT_USER key and, if empty, then try HKEY_LOCAL_MACHINE

4 years agocore: vectorize dotProd_32s
Paul E. Murphy [Tue, 20 Aug 2019 16:26:38 +0000 (11:26 -0500)]
core: vectorize dotProd_32s

Use 4x FMA chains to sum on SIMD 128 FP64 targets. On
x86 this showed about 1.4x improvement.

For PPC, do a full multiply (32x32->64b), convert to DP
then accumulate. This may be slightly less precise for
some inputs. But is 1.5x faster than the above which
is about 1.5x than the FMA above for ~2.5x speedup.

4 years agoChange fast corner flags in HAL version from char array to single int
ChipKerchner [Tue, 20 Aug 2019 18:25:35 +0000 (13:25 -0500)]
Change fast corner flags in HAL version from char array to single int

4 years agoMerge pull request #15348 from alalek:fix_videoio_doc_version
Alexander Alekhin [Tue, 20 Aug 2019 13:12:58 +0000 (13:12 +0000)]
Merge pull request #15348 from alalek:fix_videoio_doc_version

4 years agovideoio(doc): fix 'since' version
Alexander Alekhin [Tue, 20 Aug 2019 10:15:56 +0000 (13:15 +0300)]
videoio(doc): fix 'since' version

4 years agoFix a typo
xitong [Mon, 19 Aug 2019 08:08:53 +0000 (16:08 +0800)]
Fix a typo

4 years agoMerge pull request #15329 from craterkamath:fixTypoCamshift
Alexander Alekhin [Mon, 19 Aug 2019 19:01:43 +0000 (19:01 +0000)]
Merge pull request #15329 from craterkamath:fixTypoCamshift

4 years agoFixed Typo Closes #15148
craterkamath [Sun, 18 Aug 2019 20:36:31 +0000 (02:06 +0530)]
Fixed Typo Closes #15148

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 16 Aug 2019 15:48:08 +0000 (18:48 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15322 from alalek:backport_15318
Alexander Alekhin [Fri, 16 Aug 2019 15:40:21 +0000 (15:40 +0000)]
Merge pull request #15322 from alalek:backport_15318