Deric Crago
a0d7cf89f2
Fixed 'boundary' spelling
8 years ago
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
8 years ago
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
8 years ago
Maksim Shabunin
b04ed5956e
Fixed several issues found by static analysis in core module
8 years ago
Alexander Alekhin
4c7aa8645a
ocl: validate arguments in KernelArgs constructor
...
- don't use undefined flag=0. It should be CONSTANT instead.
- don't allow 'UMat* m=NULL' argument (except LOCAL/CONSTANT flags).
This case is not handled well to provide NULL __global pointers.
It is better to use '-D' macro defines instead (at least for performance)
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
9 years ago
Ilya Lavrenov
71cbd6f02e
fixed bug #5775
9 years ago
Maksim Shabunin
5877debb6f
HAL resize, warpAffine, warpPerspective interface
...
- added HAL documentation support
- added documentation to HAL replacement interface
- updated several HAL functions in imgproc module
9 years ago
Maksim Shabunin
84f37d352f
HAL moved back to core
9 years ago
Maksim Shabunin
b4bcdd10a1
HAL: improvements
...
- added new functions from core module: split, merge, add, sub, mul, div, ...
- added function replacement mechanism
- added example of HAL replacement library
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
10 years ago
Pavel Vlasov
33e659786f
Fix for cmp16s condition during IPP compare type convert;
10 years ago
Vadim Pisarevsky
9fbd1d68ad
refactored div & pow funcs; added tests for special cases in pow() function.
...
fixed http://code.opencv.org/issues/3935
possibly fixed http://code.opencv.org/issues/3594
10 years ago
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
10 years ago
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
10 years ago
Mansour Moufid
35a89b1541
Change some vector mask types to unsigned.
10 years ago
Ilya Lavrenov
6bce6ee34a
checks
10 years ago
Ilya Lavrenov
ef29b15c9a
reciprocal
10 years ago
Ilya Lavrenov
44d89638fd
divide
10 years ago
Ilya Lavrenov
f2cd65cf1e
fixes
10 years ago
Ilya Lavrenov
25e99c453f
avx2 in arithm
10 years ago
Ilya Lavrenov
fc0869735d
used popcnt
10 years ago
Ilya Lavrenov
a2a8ba17fc
compare
10 years ago
Ilya Lavrenov
68962adc54
SSE mul
10 years ago
Ilya Lavrenov
60f2f7898a
SSE4.1 addWeighted fo 16u
10 years ago
Ilya Lavrenov
f6b3bc01e5
addWeighted
10 years ago
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
11 years ago
Ilya Lavrenov
4babecf3b0
fixes for cv::addWeighted and cv::Mat::dot
11 years ago
Ilya Lavrenov
a3e56114d1
cv::multiply
11 years ago
Ilya Lavrenov
74e60e44ad
cv::compare
11 years ago
Ilya Lavrenov
857a2d5bfd
cv::addWeighted
11 years ago
Vadim Pisarevsky
d97f9fc477
now the tests pass with loop_times==30
11 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
11 years ago
Yury Gorbachev
9a233999a9
Fixed review comment from Vadim Pisarevsky
11 years ago
Alexander Alekhin
55188fe991
world fix
11 years ago
Yury Gorbachev
61423a2d47
ARM NEON accelerated implementation of cv::addWeighted, cv::inRange and cv::compare functions.
...
NOT verified on target platform, compilation passes with and without NEON.
11 years ago
Vadim Pisarevsky
5267ed46c7
1. disabled OpenCL acceleration for cv::multiply() (CV_32F), cv::divide (CV_32F), cv::convertScaleAbs (CV_32F) and cv::reduce (SUM, CV_32F), cv::reduce (MIN & MAX), cv::flip (3-channel case).
...
2. changed the number of test loops from 1 to 30 (except for cv::pow() test, which fails for yet unknown reason)
3. disabled IPP acceleration for 3-channel norms.
4. modified relativeNorm test function to handle very small values
11 years ago
Adrian Stratulat
a98ce86ca3
Add NEON intrinsics to core/src/arithm.cpp
11 years ago
Ilya Lavrenov
e04c39b089
SSE2 optimization of cv::inRange
11 years ago
Ilya Lavrenov
e89cee35e5
optimized cv::inRange
11 years ago
Ilya Lavrenov
0528d2e2b3
added 32s to 32u conversion
11 years ago
Alexander Alekhin
d9daa0cbaa
ocl: added runtime flags for debugging
11 years ago
Hans Johnson
4c7ed03b5f
COMP: Fix problem with narrowing in c++11
...
modules/core/src/arithm.cpp:345:51:
error: constant expression evaluates to 4294967295 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
static int CV_DECL_ALIGNED(16) v64f_absmask[] = { 0xffffffff, 0x7fffffff, 0xffffffff, 0x7fffffff };
^~~~~~~~~~
Converted to unsigned int. This variable is only used to initialize a bit pattern anywhy for a 128bit type.
11 years ago
Ilya Lavrenov
bd5e4c6c49
other kernels now use row scheme
11 years ago
Ilya Lavrenov
15738bf7ef
multiple rows in KF kernel
11 years ago
Ilya Lavrenov
19a2495067
fixed IPP related warnings
11 years ago
Vladislav Vinogradov
77275031ab
finally fix cv::subtract
11 years ago
Vladislav Vinogradov
942401de16
fix output matrix allocation in cv::subtract(cherry picked from commit 629461c836
)
11 years ago
Vladislav Vinogradov
629461c836
fix output matrix allocation in cv::subtract
11 years ago