platform/upstream/opencv.git
5 years agoMerge pull request #12858 from janisozaur:catch-by-ref
Alexander Alekhin [Wed, 17 Oct 2018 08:19:11 +0000 (08:19 +0000)]
Merge pull request #12858 from janisozaur:catch-by-ref

5 years agoCatch exceptions by const-reference
Michał Janiszewski [Tue, 16 Oct 2018 19:09:26 +0000 (21:09 +0200)]
Catch exceptions by const-reference

Exceptions caught by value incur needless cost in C++, most of them can
be caught by const-reference, especially as nearly none are actually
used. This could allow compiler generate a slightly more efficient code.

5 years agoMerge pull request #12846 from alalek:issue_12834
Alexander Alekhin [Mon, 15 Oct 2018 19:19:46 +0000 (19:19 +0000)]
Merge pull request #12846 from alalek:issue_12834

5 years agoMerge pull request #12843 from alalek:fix_qrdecode_input_validation
Alexander Alekhin [Mon, 15 Oct 2018 19:18:58 +0000 (19:18 +0000)]
Merge pull request #12843 from alalek:fix_qrdecode_input_validation

5 years agoMerge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK
Alexander Alekhin [Mon, 15 Oct 2018 19:18:24 +0000 (19:18 +0000)]
Merge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK

5 years agoMerge pull request #12837 from dkurt:dnn_fix_ie
Alexander Alekhin [Mon, 15 Oct 2018 19:17:18 +0000 (19:17 +0000)]
Merge pull request #12837 from dkurt:dnn_fix_ie

5 years agovideoio: return -1 is incorrect for function with 'bool' result
Alexander Alekhin [Mon, 15 Oct 2018 18:20:15 +0000 (18:20 +0000)]
videoio: return -1 is incorrect for function with 'bool' result

5 years agoobjdetect: validate QRdecode inputs
Alexander Alekhin [Mon, 15 Oct 2018 17:13:16 +0000 (17:13 +0000)]
objdetect: validate QRdecode inputs

- drop unnecessary matrix initialization

5 years agoMerge pull request #12775 from radomsak:radomsak_dnn_fix_caffe_importer_reused_layers
Alexander Alekhin [Mon, 15 Oct 2018 14:44:23 +0000 (14:44 +0000)]
Merge pull request #12775 from radomsak:radomsak_dnn_fix_caffe_importer_reused_layers

5 years agoMerge pull request #12799 from alalek:update_build_js
Alexander Alekhin [Mon, 15 Oct 2018 14:35:21 +0000 (17:35 +0300)]
Merge pull request #12799 from alalek:update_build_js

* js: update build script

- support emscipten 1.38.12 (wasm is ON by default)
- verbose build messages

* js: use builtin Math functions

* js: disable tracing code completelly

5 years agoMerge pull request #12825 from alalek:issue_8413_3.4
Alexander Alekhin [Mon, 15 Oct 2018 14:23:21 +0000 (14:23 +0000)]
Merge pull request #12825 from alalek:issue_8413_3.4

5 years agofix test failure of PyrLKOpticalFlow.Mat
Tomoaki Teshima [Mon, 15 Oct 2018 13:57:08 +0000 (22:57 +0900)]
fix test failure of PyrLKOpticalFlow.Mat
  * remove race condition
  * upload _prevPts to OpenCL device explicitly before calling "sparse"

5 years agoMerge pull request #12344 from terfendail:core_wintr
Alexander Alekhin [Mon, 15 Oct 2018 13:48:15 +0000 (13:48 +0000)]
Merge pull request #12344 from terfendail:core_wintr

5 years agoFix Pooling and Convolution layers from Intel's Inference Engine
Dmitry Kurtaev [Mon, 15 Oct 2018 13:40:28 +0000 (16:40 +0300)]
Fix Pooling and Convolution layers from Intel's Inference Engine

5 years agoMerge pull request #12516 from seiko2plus:changeUnvMultiply16
Alexander Alekhin [Mon, 15 Oct 2018 12:07:40 +0000 (12:07 +0000)]
Merge pull request #12516 from seiko2plus:changeUnvMultiply16

5 years agoAdded test caffe importer layers sharing weights
Adam Radomski [Mon, 15 Oct 2018 09:42:26 +0000 (11:42 +0200)]
Added test caffe importer layers sharing weights

5 years agoReplaced core module calls to universal intrinsics with wide universal intrinsics
Vitaly Tuzov [Wed, 5 Sep 2018 13:17:43 +0000 (16:17 +0300)]
Replaced core module calls to universal intrinsics with wide universal intrinsics

5 years agoMerge pull request #12697 from tellowkrinkle:FasterCocoaWindows
tellowkrinkle [Sun, 14 Oct 2018 18:18:05 +0000 (13:18 -0500)]
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows

* Make cocoa windows draw faster

* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image

* Fix mouse logic for cocoa windows

* Only halve resolution on retina if image is larger than display

5 years agoMerge pull request #12823 from tompollok:3.4
Alexander Alekhin [Sun, 14 Oct 2018 13:33:23 +0000 (13:33 +0000)]
Merge pull request #12823 from tompollok:3.4

5 years agocore(test): zero values divide test (3.x)
Alexander Alekhin [Sun, 14 Oct 2018 02:21:13 +0000 (02:21 +0000)]
core(test): zero values divide test (3.x)

5 years agocore(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
Alexander Alekhin [Sun, 14 Oct 2018 01:49:14 +0000 (01:49 +0000)]
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'

- always pass DEPTH_dst value to core/arithm kernel

5 years agochange area() emptiness checks to empty()
tompollok [Sat, 13 Oct 2018 19:35:10 +0000 (21:35 +0200)]
change area() emptiness checks to empty()

5 years agoMerge pull request #12805 from drkoller:imwritedoc
Alexander Alekhin [Sat, 13 Oct 2018 13:20:33 +0000 (13:20 +0000)]
Merge pull request #12805 from drkoller:imwritedoc

5 years agoMerge pull request #12815 from alalek:issue_12812
Alexander Alekhin [Sat, 13 Oct 2018 13:12:55 +0000 (13:12 +0000)]
Merge pull request #12815 from alalek:issue_12812

5 years agoMerge pull request #12641 from dkurt:dnn_samples_args_autofill
Alexander Alekhin [Sat, 13 Oct 2018 12:28:08 +0000 (12:28 +0000)]
Merge pull request #12641 from dkurt:dnn_samples_args_autofill

5 years agoMerge pull request #12802 from alalek:cmake_pdb
Alexander Alekhin [Sat, 13 Oct 2018 12:25:35 +0000 (12:25 +0000)]
Merge pull request #12802 from alalek:cmake_pdb

5 years agoClean up documentation for imread and imwrite
drkoller [Thu, 11 Oct 2018 20:27:13 +0000 (16:27 -0400)]
Clean up documentation for imread and imwrite

5 years agocore: re-throw allocation exception if there is no fallback
Alexander Alekhin [Fri, 12 Oct 2018 19:10:06 +0000 (19:10 +0000)]
core: re-throw allocation exception if there is no fallback

5 years agoMerge pull request #12811 from take1014:resize_large_image
Alexander Alekhin [Fri, 12 Oct 2018 16:59:25 +0000 (16:59 +0000)]
Merge pull request #12811 from take1014:resize_large_image

5 years agoMerge pull request #12806 from seiko2plus:imgprocPyramidsVSX
Alexander Alekhin [Fri, 12 Oct 2018 16:59:01 +0000 (16:59 +0000)]
Merge pull request #12806 from seiko2plus:imgprocPyramidsVSX

5 years agoresolves 11283
take1014 [Fri, 12 Oct 2018 14:08:03 +0000 (23:08 +0900)]
resolves 11283

5 years agoimgproc: Enable VSX on pyrDown & pyrUp
Sayed Adel [Thu, 11 Oct 2018 23:03:57 +0000 (23:03 +0000)]
imgproc: Enable VSX on pyrDown & pyrUp

5 years agoMerge pull request #12803 from alalek:samples_use_cmake_from_msvs
Alexander Alekhin [Thu, 11 Oct 2018 19:30:49 +0000 (19:30 +0000)]
Merge pull request #12803 from alalek:samples_use_cmake_from_msvs

5 years agoMerge pull request #12796 from alalek:fix_openmp_performance
Alexander Alekhin [Thu, 11 Oct 2018 19:29:04 +0000 (19:29 +0000)]
Merge pull request #12796 from alalek:fix_openmp_performance

5 years agoMerge pull request #12791 from alalek:win32_dllmain_detect_termination
Alexander Alekhin [Thu, 11 Oct 2018 19:28:29 +0000 (19:28 +0000)]
Merge pull request #12791 from alalek:win32_dllmain_detect_termination

5 years agoMerge pull request #12784 from terfendail:pyramids_wintr
Alexander Alekhin [Thu, 11 Oct 2018 19:26:36 +0000 (19:26 +0000)]
Merge pull request #12784 from terfendail:pyramids_wintr

5 years agoMerge pull request #12748 from terfendail:resize_wintr2
Alexander Alekhin [Thu, 11 Oct 2018 19:26:17 +0000 (19:26 +0000)]
Merge pull request #12748 from terfendail:resize_wintr2

5 years agoMerge pull request #12792 from tomoaki0705:fixCudaImgprocColorGray
Alexander Alekhin [Thu, 11 Oct 2018 16:32:11 +0000 (16:32 +0000)]
Merge pull request #12792 from tomoaki0705:fixCudaImgprocColorGray

5 years agosamples: prefer CMake from MSVS
Alexander Alekhin [Thu, 11 Oct 2018 16:15:52 +0000 (19:15 +0300)]
samples: prefer CMake from MSVS

MSVS is shipped with CMake compoment.

5 years agocmake: improve PDB support
Alexander Alekhin [Wed, 10 Oct 2018 16:16:32 +0000 (19:16 +0300)]
cmake: improve PDB support

5 years agoupdate the threshold
Tomoaki Teshima [Thu, 11 Oct 2018 09:45:20 +0000 (18:45 +0900)]
update the threshold
  * fix test failure of cudaimgproc convert color bgr2lab series

5 years agoMerge pull request #12521 from allnes:detect_qr_code
Alexander Alekhin [Thu, 11 Oct 2018 09:42:05 +0000 (12:42 +0300)]
Merge pull request #12521 from allnes:detect_qr_code

Objdetect: QRCode detect + decode

5 years agoimgproc:simd Enable VSX and wide universal intrinsics for accumulate operations
Sayed Adel [Tue, 2 Oct 2018 18:44:03 +0000 (20:44 +0200)]
imgproc:simd Enable VSX and wide universal intrinsics for accumulate operations

  - improve cpu dispatching calls to allow more SIMD extentions
    (SSE4.1, AVX2, VSX)
  - wide universal intrinsics
  - replace dummy v_expand with v_expand_low
  - replace v_expand + v_mul_wrap with v_mul_expand for product accumulate operations
  - use FMA for accumulate operations
  - add mask and more types to accumulate's performance tests

5 years agoChange behaviour of 16-bit multiply operator
Sayed Adel [Wed, 12 Sep 2018 19:32:34 +0000 (21:32 +0200)]
Change behaviour of 16-bit multiply operator

  - redefine 16-bit multiply operator to perform saturating multiply
    instead of non-saturating multiply
  - implement 8-bit multiply operator to perform saturating multiply
  - implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
  - improve performance of v_mul_hi() for VSX
  - update intrin tests with new changes
  - replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes

  - Several improvements depend on vpisarev review

    * initial forward declarations for universal intrinsics
    * move emulating SSE intrinsics into separate file
    * implement v_mul_expand for 8-bit
    * reimplement saturating multiply using v_mul_expand + v_pack
    * map v_expand, v_load_expand, v_load_expand_q to sse4.1
    * fix overflow avx2::v_pack(uint32)
    * implement two universal intrinsics v_expand_low and v_expand_high

5 years agoFixed meanStdDev() implementation for the case input matrix has more than 4 channels
Vitaly Tuzov [Mon, 10 Sep 2018 17:05:45 +0000 (20:05 +0300)]
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels

5 years agojs: enable calib3d code (no bindings)
Alexander Alekhin [Thu, 11 Oct 2018 00:49:45 +0000 (00:49 +0000)]
js: enable calib3d code (no bindings)

5 years agoMerge pull request #12794 from alalek:fix_warnings
Alexander Alekhin [Wed, 10 Oct 2018 20:22:07 +0000 (20:22 +0000)]
Merge pull request #12794 from alalek:fix_warnings

5 years agoMerge pull request #12793 from alalek:cmake_fix_python_standalone
Alexander Alekhin [Wed, 10 Oct 2018 20:03:02 +0000 (20:03 +0000)]
Merge pull request #12793 from alalek:cmake_fix_python_standalone

5 years agocore: call omp_set_dynamic() for better CPU usage
Alexander Alekhin [Wed, 10 Oct 2018 19:57:43 +0000 (19:57 +0000)]
core: call omp_set_dynamic() for better CPU usage

Similar to 'OMP_DYNAMIC=TRUE'.

5 years agofix build warnings
Alexander Alekhin [Wed, 10 Oct 2018 19:26:19 +0000 (19:26 +0000)]
fix build warnings

5 years agopyrDown and pyrUp SSE2 implementations replaced with wide universal intrinsics implem...
Vitaly Tuzov [Tue, 9 Oct 2018 17:37:11 +0000 (20:37 +0300)]
pyrDown and pyrUp SSE2 implementations replaced with wide universal intrinsics implementations

5 years agoocl(win32): bypass deallocate() during process termination
Alexander Alekhin [Wed, 10 Oct 2018 18:04:39 +0000 (18:04 +0000)]
ocl(win32): bypass deallocate() during process termination

5 years agocmake: fix Python detection for standalone bindings
Alexander Alekhin [Wed, 10 Oct 2018 13:03:57 +0000 (16:03 +0300)]
cmake: fix Python detection for standalone bindings

5 years agoAdded QR code decoding.
Alexander Nesterov [Fri, 17 Aug 2018 16:01:02 +0000 (13:01 -0300)]
Added QR code decoding.

5 years agocmake: add DllMain() into each OpenCV DLL
Alexander Alekhin [Wed, 10 Oct 2018 10:53:46 +0000 (13:53 +0300)]
cmake: add DllMain() into each OpenCV DLL

to detect process termination after ExitProcess() call

5 years agoMerge pull request #12788 from alalek:samples_winpack_support_buildtools
Alexander Alekhin [Wed, 10 Oct 2018 09:18:32 +0000 (09:18 +0000)]
Merge pull request #12788 from alalek:samples_winpack_support_buildtools

5 years agoFix dnn caffe importer extract blobs from reused layers
Adam Radomski [Mon, 8 Oct 2018 15:09:14 +0000 (17:09 +0200)]
Fix dnn caffe importer extract blobs from reused layers

5 years agosamples: add search for MSVS 2017 BuildTools
Alexander Alekhin [Wed, 10 Oct 2018 00:34:34 +0000 (00:34 +0000)]
samples: add search for MSVS 2017 BuildTools

5 years agoMerge pull request #12636 from alalek:winpack_samples_cpp_build_script
Alexander Alekhin [Tue, 9 Oct 2018 16:01:29 +0000 (19:01 +0300)]
Merge pull request #12636 from alalek:winpack_samples_cpp_build_script

* samples: add winpack "drap & drop" build script

* samples: add search for MSVS 2017 Enterprise

5 years agoCUDA/BgSegm: fix the threshold of MOG2.Update test when detectShadow=true (#12762)
Hamdi Sahloul [Tue, 9 Oct 2018 14:39:39 +0000 (23:39 +0900)]
CUDA/BgSegm: fix the threshold of MOG2.Update test when detectShadow=true (#12762)

5 years agoMerge pull request #12777 from UnderscoreAsterisk:document-cvtColorTwoPlane
Apoorv Goel [Tue, 9 Oct 2018 12:49:17 +0000 (18:19 +0530)]
Merge pull request #12777 from UnderscoreAsterisk:document-cvtColorTwoPlane

* Add documentation for cvtColorTwoPlane

* Change brief and add links

5 years agoMerge pull request #12596 from l-bat:l-bat/shufflenet_onnx
Lubov Batanina [Mon, 8 Oct 2018 19:18:41 +0000 (22:18 +0300)]
Merge pull request #12596 from l-bat:l-bat/shufflenet_onnx

* Add Shufflenet support in ONNX

* Add test for transpose layer

5 years agoMerge pull request #12765 from cv3d:ts/cuda/device_name
Alexander Alekhin [Mon, 8 Oct 2018 19:15:54 +0000 (19:15 +0000)]
Merge pull request #12765 from cv3d:ts/cuda/device_name

5 years agoMerge pull request #12755 from alalek:fix_allocSingleton
Alexander Alekhin [Mon, 8 Oct 2018 15:30:16 +0000 (15:30 +0000)]
Merge pull request #12755 from alalek:fix_allocSingleton

5 years agoMerge pull request #12754 from alalek:dnn_ocl4dnn_async_expressions
Alexander Alekhin [Mon, 8 Oct 2018 15:22:23 +0000 (15:22 +0000)]
Merge pull request #12754 from alalek:dnn_ocl4dnn_async_expressions

5 years agoMerge pull request #12752 from alalek:dnn_cleanup_getUMat
Alexander Alekhin [Mon, 8 Oct 2018 15:21:50 +0000 (15:21 +0000)]
Merge pull request #12752 from alalek:dnn_cleanup_getUMat

5 years agoMerge pull request #12725 from alalek:cmake_python_win32
Alexander Alekhin [Mon, 8 Oct 2018 14:45:50 +0000 (17:45 +0300)]
Merge pull request #12725 from alalek:cmake_python_win32

* cmake: don't ignore Python from PATH environment variable

- this breaks selection between 32/64-bit Python
- this breaks Anaconda/Conda environments
- it is not the CMake default behavior, expected by many projects

* cmake: add Python version check, fallback path on CMake 3.12+

* cmake: drop Python 2.6, allow version selection for Python 3.x

5 years agoMerge pull request #12767 from dkurt:fix_js_features2d
Alexander Alekhin [Mon, 8 Oct 2018 14:36:32 +0000 (14:36 +0000)]
Merge pull request #12767 from dkurt:fix_js_features2d

5 years agoReplaced SSE2 area resize implementation with wide universal intrinsic implementation
Vitaly Tuzov [Tue, 25 Sep 2018 11:14:21 +0000 (14:14 +0300)]
Replaced SSE2 area resize implementation with wide universal intrinsic implementation

5 years agoFix JavaScript bindings for features2d module
Dmitry Kurtaev [Sun, 7 Oct 2018 19:55:38 +0000 (22:55 +0300)]
Fix JavaScript bindings for features2d module

5 years agoTS/CUDA: Show device ID in case of multiple devices
Hamdi Sahloul [Sun, 7 Oct 2018 17:51:45 +0000 (02:51 +0900)]
TS/CUDA: Show device ID in case of multiple devices

5 years agoMerge pull request #12753 from mshabunin:fix-ffmpeg-dl
Alexander Alekhin [Fri, 5 Oct 2018 16:03:34 +0000 (16:03 +0000)]
Merge pull request #12753 from mshabunin:fix-ffmpeg-dl

5 years agocore: update allocSingleton implementation, valgrind suppression
Alexander Alekhin [Fri, 5 Oct 2018 15:23:05 +0000 (18:23 +0300)]
core: update allocSingleton implementation, valgrind suppression

5 years agoFFmpeg: correct licenses install location
Maksim Shabunin [Fri, 5 Oct 2018 13:38:44 +0000 (16:38 +0300)]
FFmpeg: correct licenses install location

5 years agodnn: don't use Mat expressions with async UMat functions
Alexander Alekhin [Fri, 5 Oct 2018 14:06:50 +0000 (17:06 +0300)]
dnn: don't use Mat expressions with async UMat functions

5 years agodnn(ocl4dnn): don't use getUMat()
Alexander Alekhin [Fri, 5 Oct 2018 12:10:58 +0000 (15:10 +0300)]
dnn(ocl4dnn): don't use getUMat()

especially in CPU only processing

5 years agoMerge pull request #12744 from alalek:issue_12736
Alexander Alekhin [Fri, 5 Oct 2018 10:20:12 +0000 (10:20 +0000)]
Merge pull request #12744 from alalek:issue_12736

5 years agoMerge pull request #12749 from powderluv:fix-clang-cl-tzcnt
Alexander Alekhin [Fri, 5 Oct 2018 09:28:07 +0000 (09:28 +0000)]
Merge pull request #12749 from powderluv:fix-clang-cl-tzcnt

5 years ago_tzcnt_u32() is undefined in clang-cl so use alternate impl
Anush Elangovan [Thu, 4 Oct 2018 17:48:14 +0000 (10:48 -0700)]
_tzcnt_u32() is undefined in clang-cl so use alternate impl

_tzcnt_u32() is not exported by clang-cl intrin.h so check for
clang-cl and enable an alterate for _tzcnt_u32()

Some discussions:
http://lists.llvm.org/pipermail/cfe-dev/2016-October/051329.html
https://bugs.llvm.org/show_bug.cgi?id=30506

TEST=Build with clang-cl

5 years agoMerge pull request #12745 from savuor:fix/ocl_arg_local_size
Alexander Alekhin [Thu, 4 Oct 2018 16:42:16 +0000 (16:42 +0000)]
Merge pull request #12745 from savuor:fix/ocl_arg_local_size

5 years agoocl::KernelArg::Local(): added size argument
Rostislav Vasilikhin [Thu, 4 Oct 2018 11:26:32 +0000 (14:26 +0300)]
ocl::KernelArg::Local(): added size argument

5 years agoMerge pull request #12741 from GeorgeMironov:fix-cmake-protobuf
Alexander Alekhin [Thu, 4 Oct 2018 14:17:22 +0000 (14:17 +0000)]
Merge pull request #12741 from GeorgeMironov:fix-cmake-protobuf

5 years agocmake: define CV_ErrorNoReturn under CV_STATIC_ANALYSIS
Alexander Alekhin [Thu, 4 Oct 2018 11:43:43 +0000 (14:43 +0300)]
cmake: define CV_ErrorNoReturn under CV_STATIC_ANALYSIS

to avoid build break without `__OPENCV_BUILD`

5 years agoMerge pull request #12735 from tomoaki0705:fixCudaStereoTestFailure
Alexander Alekhin [Thu, 4 Oct 2018 11:33:34 +0000 (11:33 +0000)]
Merge pull request #12735 from tomoaki0705:fixCudaStereoTestFailure

5 years agoMerge pull request #12726 from alalek:dnn_ocl_conv_avoid_multiple_expr_evaluation
Alexander Alekhin [Thu, 4 Oct 2018 11:31:47 +0000 (11:31 +0000)]
Merge pull request #12726 from alalek:dnn_ocl_conv_avoid_multiple_expr_evaluation

5 years agoFix install with external protobuf
Georgy Mironov [Thu, 4 Oct 2018 10:48:40 +0000 (13:48 +0300)]
Fix install with external protobuf

5 years agofix test failure of StereoBeliefPropagation
Tomoaki Teshima [Wed, 3 Oct 2018 23:35:34 +0000 (08:35 +0900)]
fix test failure of StereoBeliefPropagation
  * if the src has odd number of height, access error happens
  * it could happen on width, too
  * check both dst and src range in both width and height

5 years agoMerge pull request #12731 from UnderscoreAsterisk:fix-12012
Apoorv Goel [Wed, 3 Oct 2018 12:50:04 +0000 (18:20 +0530)]
Merge pull request #12731 from UnderscoreAsterisk:fix-12012

* fix #12012

* Replace CV_StsBadFlag with Error::StsBadFlag

5 years agoMerge pull request #12727 from rnk:fix-clang-cl-cmake
Alexander Alekhin [Wed, 3 Oct 2018 07:21:06 +0000 (07:21 +0000)]
Merge pull request #12727 from rnk:fix-clang-cl-cmake

5 years agoMerge pull request #12693 from peters:patch-1
Alexander Alekhin [Wed, 3 Oct 2018 06:14:43 +0000 (06:14 +0000)]
Merge pull request #12693 from peters:patch-1

5 years agoFix CMake for clang-cl
Reid Kleckner [Tue, 2 Oct 2018 21:30:52 +0000 (14:30 -0700)]
Fix CMake for clang-cl

Avoids passing -Wall, which will enable literally every warning in
Clang. Avoids passing -ffunction-sections etc to clang-cl, which each
generate warnings.

5 years agodnn(ocl4dnn): calculate activation expression once
Alexander Alekhin [Tue, 2 Oct 2018 21:10:52 +0000 (21:10 +0000)]
dnn(ocl4dnn): calculate activation expression once

- to avoid multiple conditional calls via sub_group() functions

5 years agoMerge pull request #12722 from tomoaki0705:fixCudaFiltersFailure
Alexander Alekhin [Tue, 2 Oct 2018 20:52:34 +0000 (20:52 +0000)]
Merge pull request #12722 from tomoaki0705:fixCudaFiltersFailure

5 years agoObtain fourcc when `AVStream` is network stream
Peter Rekdal Sunde [Sat, 29 Sep 2018 17:43:01 +0000 (19:43 +0200)]
Obtain fourcc when `AVStream` is network stream

The `codec_tag` is only available when opening a file from disk. If `AVStream` is a network stream then `fourcc` must be obtained using `codec_id`. I have tested the following scenarios:
1) Open a `.mp4` file and verify that `codec_tag` is returned (old behavior)
2) Open a `rtsp` stream and verify that `codec_fourcc` is returned (Tested with a MJPEG, H264 and H265 stream)

5 years agoMerge pull request #12605 from terfendail:integral_wintr
Alexander Alekhin [Tue, 2 Oct 2018 16:40:13 +0000 (16:40 +0000)]
Merge pull request #12605 from terfendail:integral_wintr

5 years agoMerge pull request #12581 from terfendail:lapack_intr
Alexander Alekhin [Tue, 2 Oct 2018 16:39:50 +0000 (16:39 +0000)]
Merge pull request #12581 from terfendail:lapack_intr

5 years agofix test failure of cudafilters Median_Accuracy
Tomoaki Teshima [Tue, 2 Oct 2018 15:59:08 +0000 (00:59 +0900)]
fix test failure of cudafilters Median_Accuracy
  * avoid race condition

5 years agoSSE2 code in invert() replaced with universal intrinsics
Vitaly Tuzov [Tue, 18 Sep 2018 09:22:34 +0000 (12:22 +0300)]
SSE2 code in invert() replaced with universal intrinsics

5 years agoMerge pull request #12649 from sturkmen72:patch-9
Suleyman TURKMEN [Mon, 1 Oct 2018 19:22:37 +0000 (22:22 +0300)]
Merge pull request #12649 from sturkmen72:patch-9

Update hog.cpp (#12649)

5 years agoMerge pull request #12669 from mshabunin:add-paths-config
Alexander Alekhin [Mon, 1 Oct 2018 15:57:57 +0000 (15:57 +0000)]
Merge pull request #12669 from mshabunin:add-paths-config