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
Alexander Alekhin
dcdd5d64b6
ocl: dump OpenCL driver version in tests
8 years ago
Adeel
03fb85f179
update fix for #8105 (compiling with mingw32)
...
taken from https://github.com/google/googletest/pull/856
8 years ago
msk-repo01
9a1835ce66
Fix for opencv/opencv#8105 (compiling with mingw32)
...
fix for opencv/opencv#8105 , compilation issue with mingw32 (in
google/googletest#721 a similar issue was solved and the reason was
described as MinGW defines _CRITICAL_SECTION and _RTL_CRITICAL_SECTION
as two separate (equivalent) structs, instead of using typedef)
8 years ago
Alexander Alekhin
36b34465a4
cmake: include contrib modules into opencv_world
8 years ago
Alexander Alekhin
f94e64a0ae
cuda: fix CUDA tests initialization
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
mshabunin
f5bf1e510b
Test run script: added long test filter for valgrind
8 years ago
Alexander Alekhin
03bcfe4107
test: fix RNG problem in accuracy tests
8 years ago
Alexander Alekhin
71b2409df0
ts: added findDataFile() utility function and SkipTestException
8 years ago
Alexander Alekhin
2c03c8d71f
Update googletests 1.8.0 (20160822) ( #7738 )
...
* restore Google Test 1.7.0 (get patch)
* ts: update Google Test to 1.8.0 release
https://github.com/google/googletest
* ts: re-apply OpenCV patch for gtest
* ts: fixes for gtest 1.8.0
* ts: workaround MSVS2015 problem in gtest
8 years ago
Alexander Alekhin
1a3f1a31b2
ts: CV_ENUM fix static initialization order fiasco
8 years ago
Maksim Shabunin
21167b1bf1
Fixed several GCC 5.x warnings
8 years ago
Declan Moran
4d84e6efee
fix compiler error when building with gnu-5 toolchain (eg as currently shipped with crystax.org android ndk, and presumably soon with android studio).
...
"ts_perf.cpp ....error: 'errno' was not declared in this scope
int err=errno;"
8 years ago
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
8 years ago
Alexander Alekhin
c57f145e90
ts: update run.py
...
Add information about python bindings
8 years ago
Alexander Alekhin
8577f71810
ts: 2.4 changes
8 years ago
Alexander Alekhin
6f00e53159
ts: update run.py
...
Add information about python bindings
8 years ago
Alexander Alekhin
5da8d65371
eliminate compiler warnings
8 years ago
sourin
a34fbf7bb1
Fixed identifiers warns
8 years ago
Alexander Alekhin
10d18a315c
instrumentation: minor refactoring, wrap OpenCL
...
- calculate ticksTotal instead of ticksMean
- local / global width is based on ticksTotal value
- added instrumentation for OpenCL program compilation
- added instrumentation for OpenCL kernel execution
8 years ago
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
8 years ago
Vadim Pisarevsky
d7ee62f03b
1. fix warning from Xcode 7.x
...
2. fixed parsing of "cat[range_spec]ord[range_spec]" type specification string when using ml::TrainData::loadFromCSV(). Thanks to A. Kaehler for reporting it
8 years ago
Alexander Alekhin
e20a93f7d6
imgproc test: Canny with custom gradient
8 years ago
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
Julien Nabet
a29c814bd8
cppcheck: fix some reports
...
All of these: (performance) Prefer prefix ++/-- operators for non-primitive types.
[modules/calib3d/src/fundam.cpp:1049] -> [modules/calib3d/src/fundam.cpp:1049]: (style) Same expression on both sides of '&&'.
9 years ago
Maksim Shabunin
ba3b1de93f
Updates for XCode 7.3
9 years ago
StevenPuttemans
c34bb0ed03
remove warnings generated during TS module tests
9 years ago
shengyu
21513caf3f
missing right quote
9 years ago
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
9 years ago
Marina Noskova
617dd5db5b
Fixed doc/opencv.bib
9 years ago
Marina Noskova
40bf97c6d1
Refactored SVMSGD class
9 years ago
Alexander Alekhin
43033f0b1d
ts: move PARAM_TEST_CASE and GET_PARAM into ts.hpp
9 years ago
Maksim Shabunin
7cb78451d1
Backported several changes from master branch:
...
- #3771 - inline round on ARM
- #5633 - documentation for MSER
- #5666 - run.py fixes
9 years ago
Alexander Alekhin
a153871940
disable ts module if it is not used: BUILD_TESTS=OFF and BUILD_PERF_TESTS=OFF
9 years ago
ausentso
9abdf39c90
added test for goodFeaturesToTrack;
9 years ago
Nikolay Polyarniy
8026824563
ts module: includes moved out from cvtest namespace
9 years ago
Maksim Shabunin
c3cf1be344
fixup! run.py: issues with forced configuration fixed
9 years ago
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
9 years ago
Maksim Shabunin
7df392bfd8
run.py: issues with forced configuration fixed
9 years ago
Maksim Shabunin
97878645bc
Fix run.py test detection issues for debug VS configurations
9 years ago
Maksim Shabunin
ffb9e877e9
Restore ts/gpu_perf.hpp, trying to compile with VS 2015
9 years ago
Maksim Shabunin
1e869c5e49
ts: refactor run.py script
...
Conflicts:
modules/ts/misc/run.py
9 years ago
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
9 years ago
Maksim Shabunin
90c74e3be0
ts: refactor run.py script
9 years ago
Vladislav Vinogradov
02c48ab7d6
add CTest support to build tree
9 years ago
Alexander Alekhin
12f01b778b
fix perf tests
9 years ago
Alexander Alekhin
be507b20cd
fix perf tests
9 years ago
Gleb Gladilov
344d9fd83f
Fixed minMaxLoc and test functions
9 years ago