Alexander Alekhin
cc45c10f3d
ocl: bailout from unsupported types
6 years ago
Alexander Alekhin
f185640eda
Merge pull request #12799 from alalek:update_build_js
...
* js: update build script
- support emscipten 1.38.12 (wasm is ON by default)
- verbose build messages
* js: use builtin Math functions
* js: disable tracing code completelly
6 years ago
Vitaly Tuzov
43d9256096
Replaced core module calls to universal intrinsics with wide universal intrinsics
6 years ago
Alexander Alekhin
fd832bb57d
core: follow IEEE 754 rules for floating-point division
6 years ago
Alexander Alekhin
09cb329d73
core(test): zero values divide test (4.0+)
6 years ago
Alexander Alekhin
5677a683a5
core(test): zero values divide test (3.x)
6 years ago
Alexander Alekhin
c813ad5533
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
...
- always pass DEPTH_dst value to core/arithm kernel
6 years ago
Alexander Alekhin
8c4f886f5f
core: re-throw allocation exception if there is no fallback
6 years ago
Sayed Adel
5771fd693d
Change behaviour of 16-bit multiply operator
...
- redefine 16-bit multiply operator to perform saturating multiply
instead of non-saturating multiply
- implement 8-bit multiply operator to perform saturating multiply
- implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
- improve performance of v_mul_hi() for VSX
- update intrin tests with new changes
- replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes
- Several improvements depend on vpisarev review
* initial forward declarations for universal intrinsics
* move emulating SSE intrinsics into separate file
* implement v_mul_expand for 8-bit
* reimplement saturating multiply using v_mul_expand + v_pack
* map v_expand, v_load_expand, v_load_expand_q to sse4.1
* fix overflow avx2::v_pack(uint32)
* implement two universal intrinsics v_expand_low and v_expand_high
6 years ago
Vitaly Tuzov
1ff11c84ab
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels
6 years ago
Alexander Alekhin
4e62900009
core: call omp_set_dynamic() for better CPU usage
...
Similar to 'OMP_DYNAMIC=TRUE'.
6 years ago
Vitaly Tuzov
cc10e6b344
pyrDown and pyrUp SSE2 implementations replaced with wide universal intrinsics implementations
6 years ago
Alexander Alekhin
11e2a216c5
ocl(win32): bypass deallocate() during process termination
6 years ago
Alexander Alekhin
70f2ee917e
cmake: add DllMain() into each OpenCV DLL
...
to detect process termination after ExitProcess() call
6 years ago
Alexander Alekhin
18bf91a08b
core: update allocSingleton implementation, valgrind suppression
6 years ago
Anush Elangovan
630a94b8b7
_tzcnt_u32() is undefined in clang-cl so use alternate impl
...
_tzcnt_u32() is not exported by clang-cl intrin.h so check for
clang-cl and enable an alterate for _tzcnt_u32()
Some discussions:
http://lists.llvm.org/pipermail/cfe-dev/2016-October/051329.html
https://bugs.llvm.org/show_bug.cgi?id=30506
TEST=Build with clang-cl
6 years ago
Rostislav Vasilikhin
da5e0ef461
ocl::KernelArg::Local(): added size argument
6 years ago
Alexander Alekhin
0926a84a45
cmake: define CV_ErrorNoReturn under CV_STATIC_ANALYSIS
...
to avoid build break without `__OPENCV_BUILD`
6 years ago
Vitaly Tuzov
283348afc3
SSE2 code in invert() replaced with universal intrinsics
6 years ago
Alexander Alekhin
94201b7cf9
ocl: OPENCV_OPENCL_BUILD_EXTRA_OPTIONS parameter
6 years ago
Maksim Shabunin
15632c6305
Added support for multi-path configuration parameter (env)
6 years ago
Hamdi Sahloul
5f17cc1abd
Fix Python wrapper for GpuMat
6 years ago
Alexander Alekhin
8f6695acc7
CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement
6 years ago
chacha21
9524abcd28
Merge pull request #12658 from chacha21:clr-mutex
...
* hide use of std::mutex from /clr compilation under Visual Studio
C++11 <mutex> is not available when compiling with /clr under Visual Studio, thus opencv cannot be easily included.
It is fixed by making a CEEMutex wrapper class, around an opaque implementation using std::mutex internally
* fixed compilation outside of Visual Studio
fixed compilation outside of Visual Studio by avoiding some macros
* fixed indentation, prepare getting rid of CEEMutex/CEELockGuard
fixed indentation
After discussion, CEEMutex and CEELockGuard can be totally removed, letting the developer in a /clr context to provide his own implementation
* remove CEEMutex/CEELockGuard
6 years ago
Alexander Alekhin
5575171652
Merge pull request #12673 from alalek:fix_build_warnings
...
* fix build warnings
* python: forbid wrapping of functions with "void*" arguments
6 years ago
Hamdi Sahloul
e104fcc000
Generate enum bindings automatically
6 years ago
Rostislav Vasilikhin
be989b3b60
Merge pull request #12637 from savuor:fix/instr_ipp_ocl
...
Fixes for instrumentation of IPP and OCL (#12637 )
* fixed warning about re-declaring variable when both IPP and instrumentation are enabled
* fixed segfault when no funName provided
* compilation fixed when both OCL and instrumentation are enabled
6 years ago
Alexander Alekhin
48e8e76a34
fix build warnings
6 years ago
Alexander Alekhin
e4f71994c2
calib3d: findChessboardCornersSB() minor updates
...
- avoid updating of input image during equalizeHist() call
- avoid for() with double variable (use 'int' instead)
- more CV_Check*() macros
- use Mat_<T>, Matx
- static for local variables
6 years ago
Dmitry Kurtaev
24ab751547
Merge pull request #12565 from dkurt:dnn_non_intel_gpu
...
* Remove isIntel check from deep learning layers
* Remove fp16->fp32 fallbacks where it's not necessary
* Fix Kernel::run to prevent localsize > globalsize
6 years ago
Alexander Alekhin
962dc21f2b
docs: fix CUDA docs section
6 years ago
Dmitry Kurtaev
ad5898224d
Add a file with preprocessing parameters for deep learning networks
6 years ago
Hamdi Sahloul
47bb09bc4b
OpenGL: avoid losing precision in double-to-float conversion
6 years ago
Maksim Shabunin
e0f524d3b7
Fixed several incorrect printf format specifiers
6 years ago
Pavel Rojtberg
d1c842cf29
core: fix printf warnings by using c++11 format
6 years ago
Pavel Rojtberg
4d23a5d92d
core: enable printf format warnings for cv::format
6 years ago
Hamdi Sahloul
b7e8ce4523
fix a bug in OpenGL
6 years ago
Hamdi Sahloul
ef5579dc86
Merge pull request #12310 from cv3d:chunks/enum_interface
...
* Cleanup macros and enable expansion of `__VA_ARGS__` for Visual Studio
* Macros for enum-arguments backwards compatibility
* Convert struct Param to enum struct
* Enabled ParamType.type for enum types
* Enabled `cv.read` and `cv.write` for enum types
* Rename unnamed enum to AAKAZE.DescriptorType
* Rename unnamed enum to AccessFlag
* Rename unnamed enum to AgastFeatureDetector.DetectorType
* Convert struct DrawMatchesFlags to enum struct
* Rename unnamed enum to FastFeatureDetector.DetectorType
* Rename unnamed enum to Formatter.FormatType
* Rename unnamed enum to HOGDescriptor.HistogramNormType
* Rename unnamed enum to DescriptorMatcher.MatcherType
* Rename unnamed enum to KAZE.DiffusivityType
* Rename unnamed enum to ORB.ScoreType
* Rename unnamed enum to UMatData.MemoryFlag
* Rename unnamed enum to _InputArray.KindFlag
* Rename unnamed enum to _OutputArray.DepthMask
* Convert normType enums to static const NormTypes
* Avoid conflicts with ElemType
* Rename unnamed enum to DescriptorStorageFormat
6 years ago
Alexander Alekhin
68942affdb
release: OpenCV 4.0.0-alpha (version++)
6 years ago
Alexander Alekhin
5fb0f34e8a
Merge pull request #12570 from alalek:drop_usrtype1
...
* core: drop usage of CV_USRTYPE1 in OpenCV
avoid OpenCV crashes due size change CV_ELEM_SIZE(CV_USRTYPE1): 8 -> 2
* ! fix persistence internal types
6 years ago
Hamdi Sahloul
ecc9bd0925
Support GpuMat in copyTo() functions
6 years ago
Vitaly Tuzov
95502242c9
meanStdDev() implementation updated to use wide universal intrinsics
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Takuho NAKANO
451340fd3d
Merge pull request #12523 from takotakot:12455_rotatedrect_constructor
...
* Fix perpendicular decision of RotatedRect::RotatedRect
Error estimation is based on #12455 .
* Fix abs to std::fabs and atan to std::atan
6 years ago
Maksim Shabunin
78c500e97a
Removed unnecessary build-time MediaSDK detection
6 years ago
Alexander Alekhin
b80c978f5d
core: change cv::Ptr DefaultDeleter
6 years ago
Hamdi Sahloul
03b3be0f51
MSVC: Slience external/meaningless warnings
6 years ago
Hamdi Sahloul
10ae0c4364
Merge pull request #12486 from cv3d:fix_cpp11
...
Support MSVC 2013 (#12486 )
* Added CV_CONSTEXPR macro
* Utilize CV_NOEXCEPT and CV_CONSTEXPR
* Provides some Ptr<> logical operators
6 years ago
cyy
8f78a1123b
fix uninitialized read errors reported by CUDA-INITCHECK
6 years ago
Vitaly Tuzov
0a5bd0ac8b
sum() implementation updated to use wide universal intrinsics
6 years ago