Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
9 years ago
Tomoaki Teshima
bfcb40ad77
fix Core_MulSpectrum test on 64bit ARM + release mode
...
* fix issue #6536
* increase threshold in particular tests due to the difference of fmsub and fsub
9 years ago
Tomoaki Teshima
7077d1de63
fix hal_intrin test on 64bit ARM
...
* fix issue 6521
* use correct comparison
9 years ago
Philipp Hasper
b6d8c9d990
operator<< handles keys starting with underscore
9 years ago
Philipp Hasper
47c4ee974a
operator<< handles keys starting with underscore
9 years ago
Maksim Shabunin
008abd28fd
Extracted HAL interfaces for DFT/DCT, added new test
9 years ago
Alexander Alekhin
f48cda2f95
test: initialize test data in test_umat.cpp (6102)
9 years ago
Alexander Alekhin
96f5a930f4
test: regression 5991
9 years ago
Alexander Alekhin
17e4d33b0e
added regression test for #5876
9 years ago
Maksim Shabunin
84f37d352f
HAL moved back to core
9 years ago
Alexander Alekhin
b26580cc7b
checkRange fixes
...
1) fix multichannel support
2) remove useless bad_value, read value from original Mat directly
3) add more tests
4) fix docs for cvCeil and checkRange
9 years ago
hoangviet1985
3e96b724c2
squash
9 years ago
hoangviet1985
b96def885f
squash
9 years ago
Vladislav Vinogradov
d5e6503fe5
fix signed/unsigned comparison warning in core/test/test_math.cpp
9 years ago
Viet Dinh
68bcff26fb
fix solveCubic
...
The original solution did not handle correctly when delta = 0,
resulting as nan errors. I also wrote a test case to test solving
equation x^3 = 0 after fixing.
9 years ago
Viet Dinh
cfd5caf29d
deal with type casting issues
9 years ago
Viet Dinh
09b0193186
even more correct
...
calculates cube root of complex number to give more correct results.
9 years ago
Viet Dinh
537a978dcf
update test_math.cpp
9 years ago
Maksim Shabunin
31e0d90da6
Enable temp objects destruction test for VS versions less than 2015
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
9 years ago
Pavel Rojtberg
46ada3886f
fix wrong parsing of values containing '='
...
fixes #5074
9 years ago
Pavel Rojtberg
1dd7f546af
CommandLineParser: add special <none> value to disallow empty strings
...
some mandatory string keys like paths must not be empty. Add the special
default value `<none>` so the CommandLineParser can enforce this and
generate an according error message for us.
9 years ago
Pavel Rojtberg
a388806555
enable additional CommandLineParser tests
9 years ago
Pavel Rojtberg
2ced3ba276
CommandLineParser: throw on programmer error
...
requesting a previously undeclared key is most likely an programming
error. e.g. a typo "--unused vs --unsued".
So throw in those cases.
Add an according failure testcase.
9 years ago
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
9 years ago
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
9 years ago
Ilya Lavrenov
ecc53dd7a4
fixed memory leak in core ds tests
...
(cherry picked from commit 7719da9552
)
9 years ago
Alexander Alekhin
bf42b9603b
fix "unreachable code" warning
9 years ago
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
9 years ago
Ilya Lavrenov
0303e8067e
fixed memory leak in core ds tests
9 years ago
Alexander Alekhin
ad70ab404c
ocl: workaround for getUMat()
9 years ago
Andrey Pavlenko
cea2dafa0f
man/unmap, preventing getMat/getUMat from temp object, fix thread-unsafe code in `UMat::getMat()`
9 years ago
Alexander Alekhin
8694ba0978
update custom_ptr test
9 years ago
Andrey Pavlenko
4aefb9f2fc
making the test deepper
9 years ago
Andrey Pavlenko
3656a1aa66
fixing 'map_unmap_counting'
9 years ago
Philippe FOUBERT
b668d3f693
Modification of the related tests in core/tests/ocl
9 years ago
Vitaliy Lyudvichenko
85cc11e3b2
Changed behaviour of Mat/UMat::reshape() to accept n-dim shapes
9 years ago
Ilya Lavrenov
7719da9552
fixed memory leak in core ds tests
9 years ago
Vladimir Dudnik
131d7c394e
enabled test UMat copyTo. Now it will detect FAIL on Intel platform for ROI (issue with clEnqueueCopyBufferRect)
9 years ago
Alexander Alekhin
cda9ed449f
fix some functions for valid processing of empty string content (cstr_==0, len_==0)
9 years ago
Alexander Alekhin
3316e58314
more test loops (and disable tests - tests pass but require a lot of time)
9 years ago
Alexander Alekhin
8293ed7f9b
add tests from issue 4468 ( #5062 )
9 years ago
Alexander Alekhin
21467d817b
tapi: add test from issue 4380 ( #5010 )
9 years ago
Alexander Alekhin
1704aea6a0
tapi: enable some disabled tests
9 years ago
Alexander Alekhin
9bcccb028b
fixes
9 years ago
Alexander Alekhin
cd5c70691a
ocl: add map tests
9 years ago
Alexander Alekhin
b36f565d13
fix OpenCV code (bug 4006: #4862 )
9 years ago
Vladimir Dudnik
ed7907e46c
add test for bug 4006: #4862
9 years ago
Gleb Gladilov
07de67c32f
Added test of minMaxLoc on filling with maximums of int
9 years ago
Alexander Alekhin
a6f46d7bb1
issue 4457
10 years ago