Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
8 years ago
Sadika Sumanapala
40e1f2fc03
Fix style
8 years ago
Alexander Alekhin
582bb3c311
core(perf): added Hamming tests
8 years ago
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
8 years ago
Alexander Alekhin
b9a2d7b600
build: remove #define to prevent unexpected impact on user applications
8 years ago
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
8 years ago
Vladislav Sovrasov
08db55fb62
core: add CV_CXX_11 flag to cvdef.h
8 years ago
Vladislav Sovrasov
3c748ccf10
core: add an ability to use cxx11 lambda as a parallel_for_ body
8 years ago
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
8 years ago
Vadim Pisarevsky
8b3d6603d5
another round of dnn optimization ( #9011 )
...
* another round of dnn optimization:
* increased malloc alignment across OpenCV from 16 to 64 bytes to make it AVX2 and even AVX-512 friendly
* improved SIMD optimization of pooling layer, optimized average pooling
* cleaned up convolution layer implementation
* made activation layer "attacheable" to all other layers, including fully connected and addition layer.
* fixed bug in the fusion algorithm: "LayerData::consumers" should not be cleared, because it desctibes the topology.
* greatly optimized permutation layer, which improved SSD performance
* parallelized element-wise binary/ternary/... ops (sum, prod, max)
* also, added missing copyrights to many of the layer implementation files
* temporarily disabled (again) the check for intermediate blobs consistency; fixed warnings from various builders
8 years ago
Alexander Alekhin
f8a75c4361
dispatch: added CV_TRY_${OPT} macro, fix dnn build
...
- 1: OPT is available directly or via dispatcher
- 0: optimization is not compiled at all
8 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Alexander Alekhin
650830b9d6
build: eliminate warning
8 years ago
Rostislav Vasilikhin
e63feba8e2
fixed typo
8 years ago
Alexander Alekhin
006966e629
trace: initial support for code trace
8 years ago
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
8 years ago
James Clarke
25020f2672
fast_math.hpp: Use __asm__ rather than asm; fixes including with -std=c99
8 years ago
Dmitry Kurtaev
16368a275b
cmake: add Halide support ( #8794 )
8 years ago
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
8 years ago
Alexander Alekhin
d3ebe665e0
core: fix IPP optimization for sortIdx
8 years ago
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
8 years ago
abratchik
037d8fbdcd
Refactor OpenCV Java Wrapping
8 years ago
Rostislav Vasilikhin
939c8e8a99
float constant replaced by int hex representations
8 years ago
Rostislav Vasilikhin
29593635ed
licence updated
8 years ago
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
8 years ago
Vadim Pisarevsky
fbafc700ea
added v_reduce_sum4() universal intrinsic; corrected number of threads in cv::getNumThreads() in the case of GCD
8 years ago
Tomoaki Teshima
94848a3e1f
suppress unreachable code warning
...
- fix the define condition based on the comment
8 years ago
Alexander Alekhin
3dee87b697
update CPU detection on ANDROID patch
8 years ago
Maksim Shabunin
f71ea4dfe9
Merge pull request #8816 from mshabunin:sprintf-fix
...
Fixed snprintf for VS 2013 (#8816 )
* Fixed snprintf for VS 2013
* snprintf: removed declaration from header, changed implementation
* cv_snprintf corrected according to comments
* update snprintf patch
8 years ago
Alexander Alekhin
5c0a287ce8
build: fix warning
...
C4189: 'clImageUV' : local variable is initialized but not referenced
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
Tomoaki Teshima
e269ef96cb
update convertFp16 using CV_CPU_CALL_FP16
...
* avoid link error (move the implementation of software version to header)
* make getConvertFuncFp16 local (move from precomp.hpp to convert.hpp)
* fix error on 32bit x86
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
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
8 years ago
Woody Chow
6e00c7651b
Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application
8 years ago
Vitaly Tuzov
1d62a025b3
Moved size restrictions for OpenVX processed images to corresponding cpp files
8 years ago
mschoeneck
4a4d94f266
Merge pull request #8694 from mschoeneck:Canny
...
Parallelize Canny with custom gradient (#8694 )
* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.
* Fix warnings.
* Missing SIMD check added.
* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp
* Fix warnings in alignSize and allocate just minimum extra columns.
* Fix another warning in map.create.
* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.
8 years ago
Matthias Grundmann
cf4e9e5ce2
Update matrix.cpp
...
Fix race condition in getDefaultAllocator and setDefaultAllocator interaction / not threadsafe currently
8 years ago
krishraghuram
9ea2f5211e
Correct the existing documented T-API functions to match the doxygen format ( #8758 )
...
* Correct the existing documented T-API functions to match the doxygen format.
* docs: fix comments style
* T-API documentation: minor formatting changes
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
Maksim Shabunin
b04ed5956e
Fixed several issues found by static analysis in core module
8 years ago
Alexander Alekhin
c5e9d1adae
macro for static analysis tools
8 years ago
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
8 years ago
cDc
003745432f
fix Mat_ release #8680
8 years ago
Alexander Alekhin
16ea72e6b9
build: fix snprintf() usage
8 years ago
Alexander Alekhin
900c406541
core: fix threads count in pthreads
8 years ago
Ryuhei Mori
bb3a416320
Fix cpu features detection on android
8 years ago