Alexander Alekhin
f42fca9f49
cuda: avoid unnecessary cudaStreamSynchronize() call
...
resolves #11511
2018-05-15 18:38:22 +03:00
Vadim Pisarevsky
e0dbe5cfcc
handle huge matrices correctly ( #11505 )
...
* make sure that the matrix with more than INT_MAX elements is marked as non-continuous, and thus all the pixel-wise functions process it correctly (i.e. row-by-row, not as a single row, where integer overflow may occur when computing the total number of elements)
2018-05-14 15:29:14 +03:00
cclauss
05c1a3d160
print() is a function in Python 3
2018-05-03 07:12:12 +02:00
yuki takehara
4934f7c5a4
Merge pull request #11285 from take1014:core_6125
...
* Resolves 6125
* Fix test code
* Delete unnecessary code
2018-04-28 14:14:10 +03:00
Alexander Alekhin
856a07711b
core: disabled IPP AVX512 normL1(a, b, mask)
...
for cv::Mat with type=16UC3 and width < 16
2018-04-27 12:57:53 +03:00
Alexander Alekhin
1031dfe4e8
Merge pull request #11402 from alalek:build_warnings
2018-04-26 19:04:37 +00:00
Alexander Alekhin
39e2d64b84
core: fix icc std::exception_ptr detection
...
std::exception_ptr requires enabled C++11 mode
2018-04-26 17:46:25 +03:00
Alexander Alekhin
f708a11f0f
build: fix warnings
2018-04-26 14:13:01 +03:00
Alexander Alekhin
57dad685d1
core: disabled IPP AVX2 normL1(a, b, mask)
...
for cv::Mat with width < 16
2018-04-26 13:35:25 +03:00
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
2018-04-24 16:03:40 +03:00
Alexander Alekhin
576d2dbac0
refactor: don't use CV_ErrorNoReturn() internally
2018-04-24 15:38:42 +03:00
Alexander Alekhin
909a25571e
Merge pull request #11332 from alalek:v_select_x86
2018-04-24 11:44:33 +00:00
Alexander Alekhin
e82af627ed
Merge pull request #11376 from alalek:cv_error_set_terminate
2018-04-23 14:51:55 +00:00
Alexander Alekhin
4cbec82ac1
build: unreachable code after CV_Error()
2018-04-23 15:45:57 +03:00
Alexander Alekhin
10c9227136
core: CV_Error with set_terminate() on Windows
...
To dump contents of the last OpenCV error
2018-04-23 15:09:41 +03:00
Alexander Alekhin
65726e4244
core(hal): improve v_select() SSE4.1+
...
v_select 'mask' is restricted to these values only: 0 or ~0 (0xff/0xffff/etc)
mask in accuracy test is updated.
2018-04-23 13:17:53 +03:00
Vadim Pisarevsky
a312380367
Merge pull request #11357 from alalek:disable_errors_dump
2018-04-23 10:06:43 +00:00
berak
d89fb163c6
core: add a check for empty input in inRange()
2018-04-21 12:54:52 +02:00
Alexander Alekhin
52172e6f92
Merge pull request #11361 from alalek:ocl_use_host_mem_ptr_workaround
2018-04-20 14:49:37 +00:00
Simon Que
705464258e
Merge pull request #11353 from eecsninja:3.4
...
* Fix CV_Asserts with negation of strings
{!"string"} causes some compilers to throw a warning.
The value of the string is not that important -- it's only for printing
the assertion message.
Replace these calls with:
CV_Error(Error::StsError, "string")
to suppress the warning.
* remove unnecessary 'break' after CV_Error()
2018-04-20 15:31:47 +03:00
Alexander Alekhin
d76b41b50e
ocl: CL_MEM_USE_HOST_PTR workaround test
2018-04-20 14:58:42 +03:00
Alexander Alekhin
2f9cbc2e57
core: disable errors dump
...
Error messages are available via exceptions
2018-04-20 12:33:20 +03:00
Alexander Alekhin
12e8e33144
build: enable -Wimplicit-fallthrough warning for OpenCV modules
2018-04-19 19:54:03 +03:00
Alexander Alekhin
97882d03cc
core: fix FP16 conversion with CV_DISABLE_OPTIMIZATION option
...
Reproducer:
cmake -DCPU_BASELINE=AVX2 -DCV_DISABLE_OPTIMIZATION=ON ...
2018-04-18 14:13:03 +03:00
Alexander Alekhin
670ef403b0
ocl: improve trace messages of OpenCL calls
2018-04-13 14:54:27 +03:00
Vadim Pisarevsky
59221296c0
Merge pull request #10978 from alalek:cv_check_macros
2018-04-11 15:17:27 +00:00
Alexander Alekhin
fa4b9e80e2
Merge pull request #11275 from alalek:issue_11274
2018-04-10 11:28:21 +00:00
Alexander Alekhin
567ae61e78
core: add "check" macros
2018-04-09 21:24:02 +03:00
Alexander Alekhin
b82bec88d9
Merge pull request #11271 from alalek:tbb_build_warning
2018-04-09 15:53:26 +00:00
Alexander Alekhin
7dc162cb42
core: fix mm_pause() for non-SSE i386 builds
...
replaced to safe binary compatible 'rep; nop' asm instruction
2018-04-09 18:37:35 +03:00
Vadim Pisarevsky
fa5a6bfa02
Merge pull request #11251 from mshabunin:add-runtime-version
2018-04-09 13:24:29 +00:00
Alexander Alekhin
854ab48de0
tbb: fix build warnings -Wshadow
2018-04-09 12:58:09 +03:00
Alexander Alekhin
8dacbe7584
android: std::exception_ptr is not available on some platforms (even with enabled C++11)
2018-04-09 12:54:57 +03:00
Vadim Pisarevsky
4617758053
Merge pull request #11247 from lopespt:fix_issue_10506
2018-04-09 09:39:17 +00:00
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
2018-04-09 12:30:39 +03:00
Dmitry Kurtaev
73ca194313
Fix convertFp16 in JavaScript build
2018-04-07 09:44:43 +03:00
Alexander Alekhin
23d866ad40
Merge pull request #11237 from alalek:cuda_refactor_memorypool
2018-04-06 15:37:37 +00:00
lopespt
c17ce1a0af
Solves issue #10506
2018-04-05 20:25:32 -03:00
Alexander Alekhin
a87a5dfdb3
Merge pull request #11192 from terfendail:setto_fix
2018-04-05 20:25:34 +00:00
Alexander Alekhin
e20fb7f429
Merge pull request #11197 from alalek:parallel_propagate_exception
2018-04-05 20:24:22 +00:00
Alexander Alekhin
7818071ba2
cuda: eliminate part of build warnings
2018-04-05 17:53:22 +03:00
Alexander Alekhin
82ba3ac894
cuda: refactor MemoryPool
...
- make non-copyable (aligns inner mutex semantic to std::mutex)
- getMemoryPool() returns reference instead of pointer (NULL is not expected here)
2018-04-05 16:04:37 +03:00
Alexander Alekhin
c2fb4debc5
Merge pull request #11224 from alalek:fix_core_min_avx2
2018-04-05 10:37:31 +00:00
Alexander Alekhin
8f7e7cd343
Merge pull request #11071 from alalek:issue_11061_fix_error_message
2018-04-05 10:15:04 +00:00
yuki takehara
d57e5c31c0
Merge pull request #11214 from take1014:core_9720
...
* fix #9720
* Add regression test
* Fix calculation method for scale
2018-04-04 18:36:02 +03:00
Alexander Alekhin
45a69ebec8
core: fix AVX2 min implementation
2018-04-04 17:38:58 +03:00
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
2018-04-04 16:05:22 +03:00
Alexander Alekhin
6f69800d0c
core: propagate parallel_for() exceptions
2018-03-30 16:24:31 +03:00
Alexander Alekhin
2fb4812f6d
Merge pull request #11194 from ltqusst:fix_10557
2018-03-30 09:30:43 +00:00
ltqusst
0d646490f5
Fix #10557
...
Fix overflow bugs in conversion from NV12 VA-surface/D3D11texture2D to OpenCL UMat
2018-03-30 16:32:15 +08:00
Alexander Alekhin
9111538bfb
core: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
LaurentBerger
03eb463f1c
Solves #11156 ( #11160 )
...
* Solves #11156
* Check file size for all file format. Disable APPEND if file is empty
* Add test for APPEND mode
2018-03-28 15:35:38 +03:00
Alexander Alekhin
7d8f1dde26
core(persistence): disable checks for base64 streams
2018-03-27 17:02:04 +03:00
Alexander Alekhin
f4c4b01455
core: added checks and "fixit" items for persistence parsers
...
To raise errors with proper messages of the problems.
2018-03-27 16:19:43 +03:00
Alexander Alekhin
9e0dee1259
Merge pull request #11112 from alalek:cmake_src_include_fix
2018-03-27 13:06:48 +00:00
Alexander Alekhin
fed22f2f5c
Merge pull request #11074 from alalek:android_log_messages
2018-03-20 20:40:54 +00:00
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
2018-03-19 11:14:15 +03:00
Aleksandr Tischenko
22ecdd16ef
Merge pull request #11101 from lamantine:fix_11100
...
* fixed bug #11100 Integer overflow in kmeans
* fixed integer overflow in other divUp-s in kmeans code
fixed warning about size_t to double conversion
2018-03-18 15:11:42 +03:00
Alexander Alekhin
ab110c0ad1
Merge pull request #10979 from dkurt:unite_dnn_samples
2018-03-14 14:33:49 +00:00
Alexander Alekhin
8781ee971c
core: write log messages via __android_log_print (logcat) too
2018-03-14 17:24:29 +03:00
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
2018-03-14 17:09:10 +03:00
yuki takehara
0792ef8789
Merge pull request #11049 from take1014:#10948
...
* Fix #10948
* Add test code
* Fixed build error
* Add value zero
* eigen: test cleanup
2018-03-12 21:49:10 +03:00
Dmitry Kurtaev
130546e1d9
Semantic segmentation sample.
2018-03-08 11:02:26 +03:00
native-api
dc1d9ae973
Include error code description into the message ( #10982 )
2018-03-06 09:58:19 +03:00
Namgoo Lee
c219f97f48
SSE2 : use _mm_cvtpd_epi32 when converting from CV_64F to CV_32S ( #10987 )
...
* SSE2 : use _mm_cvtpd_epi32 when converting from CV_64F to CV_32S
* No need to define a new universal intrinsic
2018-03-06 09:50:53 +03:00
Alexander Alekhin
b1fc7d46a5
ocl: update getOpenCLErrorString() code
2018-03-01 13:52:43 +03:00
Maksim Shabunin
3fd2384b81
Fixed mingw compilation on Windows
2018-02-22 17:11:18 +03:00
Vadim Pisarevsky
53661d55ae
Merge pull request #10406 from seiko2plus:coreUnvintrinCopy
2018-02-20 14:50:17 +00:00
Alexander Alekhin
cc5a6f3b86
core: remove '-' from separators list of disabled CPU flags
...
To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter
2018-02-18 00:03:04 +00:00
Alexander Alekhin
eb94dfb442
Merge pull request #10885 from alalek:issue_10881
2018-02-17 11:58:51 +00:00
Alexander Alekhin
491502a349
core: fix parallel_for data race
2018-02-16 21:13:48 +03:00
Alexander Alekhin
c020a7bb67
build: portable integer types
2018-02-15 23:43:02 +03:00
Vadim Pisarevsky
b4ddf3d8c5
Merge pull request #10678 from terfendail:OutputArray_recreate
2018-02-14 11:36:51 +00:00
Vadim Pisarevsky
42b25d747b
Merge pull request #10856 from tomoaki0705:fixVisualStudioFixedWidthInt
2018-02-14 11:33:15 +00:00
Alexander Alekhin
a91a11e533
Merge pull request #10818 from mshabunin:install-samples-src
2018-02-13 14:37:38 +00:00
Alexander Alekhin
eb54e5c55c
core: generalize and fix x86 'cpuid' calls
2018-02-13 15:35:04 +03:00
Tomoaki Teshima
94253e8b83
fix build error on Visual Studio 2013 and earlier
2018-02-13 18:30:02 +09:00
Maksim Shabunin
8393d755f6
Fixed OpenGL-specific compilation warning (unused function)
2018-02-12 18:42:36 +03:00
Alexander Alekhin
17233c687e
Merge pull request #10797 from mshabunin:split-convert
2018-02-12 13:49:53 +00:00
Alexander Alekhin
57cbde3393
Merge pull request #10798 from mshabunin:split-stat
2018-02-12 13:49:41 +00:00
Maksim Shabunin
221342fb25
Split convert.cpp into smaller pieces
2018-02-12 15:17:19 +03:00
luz.paz
5718d09e39
Misc. modules/ typos
...
Found via `codespell`
2018-02-12 07:09:43 -05:00
Alexander Alekhin
5a791e6e06
cmake: update reporting of excluded dispatching files ( #10711 )
...
* cmake: add ocv_get_smart_file_name() macro
* cmake: avoid adding files for unavailable dispatch modes
2018-02-12 14:48:20 +03:00
Maksim Shabunin
4437e0c3b9
Split stat.cpp into smaller pieces
2018-02-12 14:14:08 +03:00
Alexander Alekhin
42e1fe301c
ocl: allow recursive UMatData lock() calls with the same objects
...
OpenCLAllocator::copy() may call upload()/download() methods
2018-02-09 14:19:10 +03:00
Alexander Alekhin
914f57f28d
core(parallel_for): fix data race
2018-02-06 18:19:50 +03:00
Vitaly Tuzov
3267fb90c6
Updated check on OutputArray to allow recreation of fixed_size for 1-d sizes array
2018-02-06 17:07:36 +03:00
Alexander Alekhin
b10fedde56
core(parallel_for): cleanup
...
remove 'dont_wait' (can be replaced with has_wake_signal)
2018-02-06 16:10:41 +03:00
Maksim Shabunin
e225850cc6
Split persistence.cpp into smaller pieces ( #10788 )
...
* Extracted base64 persistence functionality
* Extracted YML persistence functionality
* Extracted JSON persistence functionality
* Extracted XML persistence functionality
* Extracted public C and C++ interfaces implementation in persistence
* Persistence: cleanup and fixes
* fixup! Persistence: cleanup and fixes
2018-02-06 11:59:32 +03:00
Maksim Shabunin
904640c9ae
Split matrix.cpp into smaller pieces
2018-02-05 19:16:33 +03:00
Alexander Alekhin
ecbd5b0574
Merge pull request #10751 from nglee:dev
2018-02-02 10:48:50 +00:00
Alexander Alekhin
bbfa239036
Merge pull request #10706 from alalek:exception_opencv_version
2018-02-01 18:32:13 +00:00
Alexander Alekhin
c96630c9f0
Merge pull request #10705 from alalek:opencv_version_update
2018-02-01 18:31:52 +00:00
Namgoo Lee
3cf535926a
cuda_stream: do not allocate GPU memory by default ( fixes #8725 )
2018-02-01 03:55:52 +09:00
Sayed Adel
4e1d396ce1
core:ppc Add yield support
2018-01-31 04:03:35 +00:00
Alexander Alekhin
f57630d92b
Merge pull request #10691 from alalek:parallel_for_2018
2018-01-30 14:13:29 +00:00
Alexander Alekhin
ebdb0eb0c1
ocl: force clBuildProgram() call after clCreateProgramWithBinary()
2018-01-29 15:51:07 +03:00
Alexander Alekhin
c8930cc279
opencv_version: dump detected HW features
2018-01-27 17:08:29 +00:00
Alexander Alekhin
f6fd3abd31
core: add OpenCV version information into Exception messages
2018-01-27 13:51:16 +00:00
Woody Chow
f1c52e426b
Merge pull request #10697 from woodychow:tbb_task_arena
...
* Use Intel TBB's task arena if possible
2018-01-27 08:46:54 +03:00