Vincent Rabaud
6b4ea68bc7
Solve Rect overflow issues.
...
Fow now, it is possible to define valid rectangle for which some
functions overflow (e.g. br(), ares() ...).
This patch fixes the intersection operator so that it works with
any rectangle.
3 years ago
Alexander Alekhin
eab2b9dc09
core: ensure is_trivially_copyable for simple types
3 years ago
Dale Phurrough
109255a730
add windows native aligned malloc + unit test case
...
* implements https://github.com/opencv/opencv/issues/19147
* CAUTION: this PR will only functions safely in the
4+ branches that already include PR 19029
* CAUTION: this PR requires thread-safe startup of the alloc.cpp
translation unit as implemented in PR 19029
4 years ago
Vincent Rabaud
8391a23600
Optimize calls to std::string::find() and friends for a single char.
...
The character literal overload is more efficient. More info at:
http://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html
4 years ago
Alexander Alekhin
523f081923
core(check): add Size_<int>
5 years ago
Alexander Alekhin
7366eebebb
core: fix condition in OutputArray::create(allowTransposed=True)
6 years ago
Alexander Alekhin
567ae61e78
core: add "check" macros
7 years ago
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
7 years ago
Alexander Alekhin
8c4b5b6a70
core(test): parallel_for test with exception
7 years ago
Alexander Alekhin
d1311518a3
core: test-sample for FIXED_TYPE demonstration
...
with implementation of functions with multiple output formats
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
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
8 years ago
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
8 years ago
Alexander Alekhin
cda9ed449f
fix some functions for valid processing of empty string content (cstr_==0, len_==0)
9 years ago
Andrey Pavlenko
40b762bceb
adding test for `polylines()` call with empty Point-s vector and fix for crash in this case
10 years ago
Nicu Știurcă
8722faa167
fix whitespace
10 years ago
Nicu Știurcă
7a3ca99894
fix _OutputArray::assign() for _OutputArrays of type MATX when data types differ
10 years ago
Vadim Pisarevsky
257463719b
removed optim module; moved its functionality to core and photo modules; moved drawing functions from core to imgproc. Removed FilterEngine etc. from public API
10 years ago
Ilya Lavrenov
31e6251793
added new perf tests to core
11 years ago
Kirill Kornyakov
81b9f9b16b
Added a test that documents that negative numbers are not clipped by cv::saturate_cast
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
9ad470ba5c
backported API for storing OpenCV data structures to text string and reading them back (r8481, r8516, r8518, r8522)
13 years ago
Andrey Kamaev
1a572c8e89
Added test for #1997 ; fixed build warnings
13 years ago
Andrey Kamaev
052d2dc23a
Merged the trunk r8459:8466 (inclusive)
13 years ago
Andrey Kamaev
9d73b5f510
Added test for #914
13 years ago