Alexander Alekhin
ffaf15d0d9
cmake: reuse OpenCV NEON detection in carotene
...
- use carotene if NEON available only
5 years ago
Khem Raj
2bd9488475
carotene: Replace ipcp-unit-growth with ipa-cp-unit-growth on gcc >= 10
...
gcc 10+ has renamed this option, therefore check for gcc version before
deciding which name to use for opt parameter
Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years ago
Tomoaki Teshima
d6ba235655
fix fall through warning
5 years ago
Thomas Peters
e8ac3ea9ea
fix implicit fallthrough warning.
6 years ago
Maksim Shabunin
26cb154f40
Fixed NEON detection in Carotene build
6 years ago
Tomoaki Teshima
e324d2e534
suppress warning on Arm platform
7 years ago
Tomoaki Teshima
98d9369a38
add new comparison to tolerate with rounding error
...
* restore resize of carotene
* clean up the source code
* remove unused member function (Near)
* add strict test on the border
7 years ago
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
7 years ago
Tomoaki Teshima
06babf90a5
let the test OCL_ImgprocWarp/Resize.Mat pass on ARM/Aarch64
...
* disable carotenete when calling resize on ARM/Aarch64
* loosen eps on Aarch64
7 years ago
Alexander Alekhin
50365b7741
cmake: update CMAKE_POSITION_INDEPENDENT_CODE
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Khem Raj
2c7a123ed8
Do not enable asm with clang
...
clang pretends to be gcc 4.2.0 which means we will
use inline asm for no reason, instead of builtins
on clang when possible.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years ago
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
7 years ago
Alexander Alekhin
97aaaf50b8
carotene: removed unnecessary 'register' specifier
7 years ago
Alexander Alekhin
c5f2170ce8
carotene: don't use __asm__ with aarch64
7 years ago
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
7 years ago
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
8 years ago
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
8 years ago
Tomoaki Teshima
2a91453ef1
brush up divSaturate of carotene
...
* use rounding to nearest same as divSaturateQ
8 years ago
Tomoaki Teshima
971a7c88dc
let the performance test pass on ARM
...
* use round-to-neaerest in div of carotene
8 years ago
Tomoaki Teshima
c0216c518f
let the build available using clang
...
* add if section for clang
8 years ago
Vitaly Tuzov
f773f45d90
Updated HAL interface for separable filters to address that both kernels are vectors.
8 years ago
Matthew Cook
e06a9e9009
Fix android libc++ build
8 years ago
kurenai
2dec662ebf
Fix error when compiling with clang
8 years ago
Vitaly Tuzov
04c7d03188
Improved Carotene library linear resize evaluation precision and enabled it as HAL implementation.
9 years ago
Vitaly Tuzov
e3f5bbd217
Removed unnecessary check for Android API level and unused flags.
9 years ago
Elif Albuz
8f91529edf
Add Carotene - NVIDIA Hardware-Abstraction-Layer for ARM platforms
9 years ago