Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
7 years ago
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
7 years ago
Alexander Alekhin
8781ee971c
core: write log messages via __android_log_print (logcat) too
7 years ago
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
7 years ago
yuki takehara
0792ef8789
Merge pull request #11049 from take1014:#10948
...
* Fix #10948
* Add test code
* Fixed build error
* Add value zero
* eigen: test cleanup
7 years ago
Dmitry Kurtaev
130546e1d9
Semantic segmentation sample.
7 years ago
native-api
dc1d9ae973
Include error code description into the message ( #10982 )
7 years ago
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
7 years ago
Alexander Alekhin
b1fc7d46a5
ocl: update getOpenCLErrorString() code
7 years ago
Maksim Shabunin
3fd2384b81
Fixed mingw compilation on Windows
7 years ago
Alexander Alekhin
cc5a6f3b86
core: remove '-' from separators list of disabled CPU flags
...
To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter
7 years ago
Alexander Alekhin
491502a349
core: fix parallel_for data race
7 years ago
Alexander Alekhin
c020a7bb67
build: portable integer types
7 years ago
Alexander Alekhin
eb54e5c55c
core: generalize and fix x86 'cpuid' calls
7 years ago
Tomoaki Teshima
94253e8b83
fix build error on Visual Studio 2013 and earlier
7 years ago
Maksim Shabunin
8393d755f6
Fixed OpenGL-specific compilation warning (unused function)
7 years ago
Maksim Shabunin
221342fb25
Split convert.cpp into smaller pieces
7 years ago
luz.paz
5718d09e39
Misc. modules/ typos
...
Found via `codespell`
7 years ago
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
7 years ago
Maksim Shabunin
4437e0c3b9
Split stat.cpp into smaller pieces
7 years ago
Alexander Alekhin
42e1fe301c
ocl: allow recursive UMatData lock() calls with the same objects
...
OpenCLAllocator::copy() may call upload()/download() methods
7 years ago
Alexander Alekhin
914f57f28d
core(parallel_for): fix data race
7 years ago
Vitaly Tuzov
3267fb90c6
Updated check on OutputArray to allow recreation of fixed_size for 1-d sizes array
7 years ago
Alexander Alekhin
b10fedde56
core(parallel_for): cleanup
...
remove 'dont_wait' (can be replaced with has_wake_signal)
7 years ago
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
7 years ago
Maksim Shabunin
904640c9ae
Split matrix.cpp into smaller pieces
7 years ago
Namgoo Lee
3cf535926a
cuda_stream: do not allocate GPU memory by default ( fixes #8725 )
7 years ago
Sayed Adel
4e1d396ce1
core:ppc Add yield support
7 years ago
Alexander Alekhin
ebdb0eb0c1
ocl: force clBuildProgram() call after clCreateProgramWithBinary()
7 years ago
Alexander Alekhin
c8930cc279
opencv_version: dump detected HW features
7 years ago
Alexander Alekhin
f6fd3abd31
core: add OpenCV version information into Exception messages
7 years ago
Woody Chow
f1c52e426b
Merge pull request #10697 from woodychow:tbb_task_arena
...
* Use Intel TBB's task arena if possible
7 years ago
Alexander Alekhin
c49d5d5252
core: fix pthreads performance
...
OpenCV pthreads-based implementation changes:
- rework worker threads pool, allow to execute job by the main thread too
- rework synchronization scheme (wait for job completion, threads 'pong' answer is not required)
- allow "active wait" (spin) by worker threads and by the main thread
- use _mm_pause() during active wait (support for Hyper-Threading technology)
- use sched_yield() to avoid preemption of still working other workers
- don't use getTickCount()
- optional builtin thread pool profiler (disabled by compilation flag)
7 years ago
Alexander Alekhin
81c5fae56f
core(lapack): fix build issues related to 'extern "C"'
7 years ago
Pavel Rojtberg
2d674fc151
persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX ( #10636 )
...
* persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX
* python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
7 years ago
Alexander Alekhin
90aac764dd
core: kmeans refactoring
...
- reduce scope of i,k,j variables
- use cv::AutoBuffer
- template<bool onlyDistance> class KMeansDistanceComputer
- eliminate manual unrolling: CV_ENABLE_UNROLLED
7 years ago
Alexander Alekhin
46470d92a0
core: fix kmeans multi-threaded performance
7 years ago
Alexander Alekhin
cec700525c
core(ocl): fix deadlock in UMatDataAutoLock
...
UMatData locks are not mapped on real locks (they are mapped to some "pre-initialized" pool).
Concurrent execution of these statements may lead to deadlock:
- a.copyTo(b) from thread 1
- c.copyTo(d) from thread 2
where:
- 'a' and 'd' are mapped to single lock "A".
- 'b' and 'c' are mapped to single lock "B".
Workaround is to process locks with strict order.
7 years ago
Maksim Shabunin
8b87c4b96a
Fixed several warnings produced by clang 6 and static analyzers
7 years ago
Maksim Shabunin
594a93316c
Fixed concurrent OpenCL cache folder name generation
7 years ago
Alexander Alekhin
6113dc1b99
core: fix unresolved symbols from utils::fs
7 years ago
Alexander Alekhin
7d67d60fb1
cmake(opt): AVX512_SKX
7 years ago
Arthur Williams
d8d4ea857a
Fixed #10433
7 years ago
Jun Zhao
0369431ebd
opencl/cvtclr_dx: fix not compile-time constants issue.
...
fix the "initializing global variables with values that are not
compile-time constants" issue in Intel SDK for OpenCL. The root cause
is when initializing global variables with value, the variable need is
compile-time constants.
Thanks Zheng, Yang <yang.zheng@intel.com>,
Chodor, Jaroslaw <jaroslaw.chodor@intel.com> give a help.
Signed-off-by: Liu,Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
7 years ago
Sayed Adel
fd0ac962fb
core: replace raw intrinsics with universal intrinsics in copy.cpp
...
- use universal intrinsic instead of raw intrinsic
- add performance check for Mat::copyTo/setTo with mask
7 years ago
Alexander Alekhin
534645a12f
ocl: workaround option to disable usage of buffer "Rect" operations
7 years ago
elenagvo
cd1c8693d8
HAL for minMaxIdx
7 years ago
Alexander Alekhin
b450811e4b
core(logger): add log level configuration option
7 years ago
Jiri Horner
3dbf392d48
fix build with intrinsics enabled
...
* since #10231 opencv with instrumentation does not build
7 years ago
Rostislav Vasilikhin
bab86d65cb
Merge pull request #10258 from savuor:fix/kmeans_channels
...
* kmeans: number of channels in _centers fixed
* fixedType() is checked now
7 years ago