Alexander Alekhin
48b8aa51cd
core: eliminate redundant cv::format() declarations
...
Existed includes sequence:
- utility.hpp -> core.hpp -> operations.hpp
7 years ago
Tomoaki Teshima
6a661e1e28
fix test error on VS2013
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
Patrik Huber
7be0c78533
Merge pull request #10589 from patrikhuber:patch-1
...
* Make <array> #ifdef true for MSVC
I think MSVC had `std::array` for quite a while (possibly going back as far as VS 2012, but it's definitely there in 2015 and 2017. So I think `_MSC_VER` `1900` is a safe bet. Probably `1800` and maybe even `1700` could work as well but I can't test that locally.
* fix test
7 years ago
Ryo Suzuki
97d9ea00fe
Fix typo in core/base.hpp
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
luz.paz
e805a55a5b
Misc. modules/ typos (cont.)
...
Found via `codespell`
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
Namgoo Lee
61e76e767d
Update BufferReader documentation with some example code ( #10803 )
...
* Update BufferReader documentation with some example code
* Add warning to BufferPool doc regarding deallocation of StackAllocator
* Added a sample code that satisfies LIFO rule for StackAllocator
7 years ago
yuki takehara
379ea15d16
Add new Mat constructor ( #10808 )
...
* Add new Mat constructor
* Fix build error
* Fix build error
* Fixed the code about 4 comments
* Fixed three comments
* delete previous local declaration
* fix build error
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
44d7435a48
build: eliminate calls of removed functionality from C++17
...
Most part is deprecated since C++11
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
Dmitry Kurtaev
10e1de74d2
Intel Inference Engine deep learning backend ( #10608 )
...
* Intel Inference Engine deep learning backend.
* OpenFace network using Inference Engine backend
7 years ago
Maksim Shabunin
904640c9ae
Split matrix.cpp into smaller pieces
7 years ago
Alexander Alekhin
0d01b97b75
cuda: don't use std::numeric_limits
...
CUDA code uses own implementation in cuda/limits.hpp
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Sayed Adel
534dcbe017
core:ppc Fix compile issue with Eigen
7 years ago
Aditya Rohan
ccea0a831a
Merge pull request #10732 from Riyuzakii:10598
...
* Introduces error throw for line drawn with THICKNESS=0
7 years ago
Namgoo Lee
3cf535926a
cuda_stream: do not allocate GPU memory by default ( fixes #8725 )
7 years ago
Alexander Alekhin
2e45095e8d
winrt: fix build
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
Ali Sentas
4d80419f29
Fix cv::CommandLineParser::check() documentation
7 years ago
Alexander Alekhin
c8930cc279
opencv_version: dump detected HW features
7 years ago
Alexander Alekhin
01f4a173ab
opencv_version: dump OpenCL information via opencv_version
...
fix missing "opencv2/core/opencl" headers from core module (updated install list)
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
a5cd62f7bf
core(perf): refactor kmeans test
...
- don't use RNG for "task size" parameters (N, K, dims)
- add "good" kmeans test data (without singularities: K > unique points)
7 years ago
Fangjun Kuang
eb2901bd69
Improve the doc for fundamental matrix.
7 years ago
Fangjun Kuang
8efe7bafaa
Improve the doc for cv::Mat::checkVector.
7 years ago
csukuangfj
decf6cab5e
Improve the documentation for cv::completeSymm and cv::RANSACUpdateNumIters.
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
Alexander Alekhin
e6ed853905
copyright: 2018
7 years ago