Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Alexander Alekhin
15b909e80b
ocl: add SPIR Program loading test
...
SPIR kernels are located in opencv_extra
7 years ago
Alexander Alekhin
13c4a02157
ocl: low-level API to support OpenCL binary programs
7 years ago
woody.chow
611cf8d86f
Use Eigen::SelfAdjointEigenSolver in cv::eigen
7 years ago
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
7 years ago
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
7 years ago
Tomoaki Teshima
3cbe60cca2
Merge pull request #9753 from tomoaki0705:universalMatmul
...
* add accuracy test and performance check for matmul
* add performance tests for transform and dotProduct
* add test Core_TransformLargeTest for 8u version of transform
* remove raw SSE2/NEON implementation from matmul.cpp
* use universal intrinsic instead of raw intrinsic
* remove unused templated function
* add v_matmuladd which multiply 3x3 matrix and add 3x1 vector
* add v_rotate_left/right in universal intrinsic
* suppress intrinsic on some function and platform
* add pure SW implementation of new universal intrinsics
* add test for new universal intrinsics
* core: prevent memory access after the end of buffer
* fix perf tests
7 years ago
Alexander Alekhin
3a0039d204
core(intrinsics): v_load_low
7 years ago
berak
ada753a54c
fix c++17 namsespace issues
7 years ago
tz70s
6c1247b38c
fix#9570: implement mat ptr for generic types
...
The original template based mat ptr for indexing is not implemented,
add the similar implementation as uchar type, but cast to
user-defined type from the uchar pointer.
7 years ago
Alexander Alekhin
529632f8d0
core: cv::eigenNonSymmetric() via EigenvalueDecomposition
7 years ago
Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
7 years ago
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
7 years ago
Maksim Shabunin
c92c99ed0b
Enabled forEach for const Mats
7 years ago
Dmitry Kurtaev
8b094755fa
Fix https://github.com/opencv/opencv/issues/8693
7 years ago
Christof Kaufmann
46a668c565
Add multi-channel mask support to mean, meanStdDev and setTo
...
This adds the possibility to use multi-channel masks for the functions
cv::mean, cv::meanStdDev and the method Mat::setTo. The tests have now a
probability to use multi-channel masks for operations that support them.
This also includes Mat::copyTo, which supported multi-channel masks
before, but there was no test confirming this.
7 years ago
Alexander Alekhin
f7a273cfb3
core(test): regression test for 9507
7 years ago
Alexander Alekhin
0451629e22
core(persistence): resolve DMatch/KeyPoint problem
7 years ago
Alexander Alekhin
72f789bf34
core: fix type traits
7 years ago
Alexander Alekhin
b18983a005
test(hal): properly dispatch FP16 test
7 years ago
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
7 years ago
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
7 years ago
Rostislav Vasilikhin
66b0651607
Merge pull request #9329 from savuor:softfloat_sincos
...
SoftFloat: added sin, cos and docs (#9329 )
* softfloat: comparison operators made inline, min() max() eps() isSubnormal() added
* softfloat: get/set sign/exp
* softfloat: get/set frac
* softfloat: tests rewritten with new tools
* softfloat: added pi(), sin(), cos()
* softfloat: more comments
* softfloat: updated sincos arg reduction
* softfloat: initial tests for sincos added
* softfloat: test works, code cleanup is pending
* softfloat: sincos argreduce rewritten
* softfloat: sincos refactored and simplified
* softfloat sincos: epsilons calibrated
* softfloat: junk code removed from tests
* softfloat: docs added
* inline comparisons undone; warning fixed
7 years ago
Vladislav Sovrasov
5e68b28ad3
core: fix file not closed when exception in FS
7 years ago
Vladislav Sovrasov
aa54acd54d
core: add a test to reproduce #9312
7 years ago
dkurt
583b327523
Fix JSON booleans without quotes
7 years ago
dkurt
3515f6ec33
Missed NAMED bit of JSON nodes tag
7 years ago
Alexander Alekhin
d9e092325b
test: regression test for IPP minMaxIdx problem
7 years ago
Alexander Alekhin
5bc291937f
test: FileStorage format regression test
7 years ago
Tomoaki Teshima
e63d628677
remove some rand functions
...
* make test more reproducible
7 years ago
Vladislav Sovrasov
e5fbb4f5d2
Merge pull request #9034 from sovrasov:mats_from_initializer_list
...
Add constructors taking initializer_list for some of OpenCV data types (#9034 )
* Add a constructor taking initializer_list for Matx
* Add a constructor taking initializer list for Mat and Mat_
* Add one more method to initialize Mat to the corresponding tutorial
* Add a note how to initialize Matx
* CV_CXX_11->CV_CXX11
7 years ago
Alexander Alekhin
d6c5e18e24
core(test): fix input data for OCL FP16 test
7 years ago
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
7 years ago
Vladislav Sovrasov
f42b7d03b4
core: add a test of iteration through the Mat_ with range-based for
8 years ago
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
8 years ago
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
8 years ago
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
8 years ago
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
8 years ago
Alexander Alekhin
781515c514
build: fix "ambiguous call" (MSVS2010)
8 years ago
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
8 years ago
Rostislav Vasilikhin
c6a3a18894
SoftFloat integrated ( #8668 )
...
* everything is put into softfloat.cpp and softfloat.hpp
* WIP: try to integrate softfloat into OpenCV
* extra functions removed
* softfloat made stateless
* CV_EXPORTS added
* operators fixed
* exp added, log: WIP
* log32 fixed
* shorter names; a lot of TODOs
* log64 rewritten
* cbrt32 added
* minors, refactoring
* "inline" -> "CV_INLINE"
* cast to bool warnings fixed
* several warnings fixed
* fixed warning about unsigned unary minus
* fixed warnings on type cast
* inline -> CV_INLINE
* special cases processing added (NaNs, Infs, etc.)
* constants for NaN and Inf added
* more macros and helper functions added
* added (or fixed) tests for pow32, pow64, cbrt32
* exp-like functions fixed
* minor changes
* fixed random number generation for tests
* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation
* minor warning fix
* pow(f, i) 32/64: special cases handling added
* unused functions removed
* refactoring is in progress (not compiling)
* CV_inline added
* unions {uint_t, float_t} removed
* tests compilation fixed
* static const members -> static methods returning const
* reinterpret_cast
* warning fixed
* const-ness fixed
* all FP calculations (even compile-time) are done in SoftFloat + minor fixes
* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed
* CV_INLINE -> inline
* internal constants moved to .cpp file
* toInt_minMag() methods merged into toInt() methods
* macros moved to .cpp file
* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.
* toFloat(), toDouble() -> operator float(), operator double()
* removed f32/f64 prefixes from functions names
* toType() methods removed, round() and trunc() functions added
* minor change
* minors
* MSVC: warnings fixed
* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()
* typo fixed
* type cast fixed
8 years ago
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
8 years ago
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
8 years ago
Maksim Shabunin
f23b6ba652
Fixed multidimensional count non-zero IPP implementation
8 years ago
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
8 years ago
Alexander Alekhin
75f28245a8
core: fix persistence bug in RAW I/O code
...
- persistence.cpp code expects special sizeof value for passed structures
- this assumption is lead to memory corruption problems
- fixed/workarounded test to prevent memory corruption on Linux 32-bit systems
8 years ago
Tomoaki Teshima
0f5aaade61
fix test error on VS2012
8 years ago
Arnaud Brejeon
636ab095b0
Merge pull request #8535 from arnaudbrejeon:std_array
...
Add support for std::array<T, N> (#8535 )
* Add support for std::array<T, N>
* Add std::array<Mat, N> support
* Remove UMat constructor with std::array parameter
8 years ago
Alexander Alekhin
dd304dbe05
test: fix min/max name mismatching
8 years ago
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
8 years ago