Simon Que
705464258e
Merge pull request #11353 from eecsninja:3.4
...
* Fix CV_Asserts with negation of strings
{!"string"} causes some compilers to throw a warning.
The value of the string is not that important -- it's only for printing
the assertion message.
Replace these calls with:
CV_Error(Error::StsError, "string")
to suppress the warning.
* remove unnecessary 'break' after CV_Error()
7 years ago
Alexander Alekhin
d76b41b50e
ocl: CL_MEM_USE_HOST_PTR workaround test
7 years ago
Alexander Alekhin
12e8e33144
build: enable -Wimplicit-fallthrough warning for OpenCV modules
7 years ago
Alexander Alekhin
647eb243ae
core: CV_Error is marked as 'noreturn'
7 years ago
Alexander Alekhin
fa3cb03f62
core(hal): v_min()/v_max() use SSE4.1 intrinsics
7 years ago
Alexander Alekhin
97882d03cc
core: fix FP16 conversion with CV_DISABLE_OPTIMIZATION option
...
Reproducer:
cmake -DCPU_BASELINE=AVX2 -DCV_DISABLE_OPTIMIZATION=ON ...
7 years ago
Alexander Alekhin
59b413c8a1
imgproc(ipp): disable parallel GaussianBlur
7 years ago
Tomoaki Teshima
a82e70cd40
remove raw SSE2/NEON implementation from imgwarp.cpp
...
* use universal intrinsic instead of raw intrinsic
* add 2 channels de-interleave on x86 platform
* add v_int32x4 version of v_muladd
* add accumulate version of v_dotprod based on the commit from seiko2plus on bf1852d
* remove some verify check in performance test
* avoid the out of boundary access and keep the performance
7 years ago
Alexander Alekhin
670ef403b0
ocl: improve trace messages of OpenCL calls
7 years ago
Sayed Adel
56ec10bfa2
core:ppc Several improvements on VSX(1)
...
* remove unnecessary defines from vsx_utils
* fix v_load_expand, load lower 64bit
* use vec_ld, vec_st with alignment load/store on all types except 64bit
* map v_extract to v_rotate_right
* update license header
* enable VSX by default on clang since #11167
7 years ago
Alexander Alekhin
567ae61e78
core: add "check" macros
7 years ago
Alexander Alekhin
7dc162cb42
core: fix mm_pause() for non-SSE i386 builds
...
replaced to safe binary compatible 'rep; nop' asm instruction
7 years ago
Alexander Alekhin
854ab48de0
tbb: fix build warnings -Wshadow
7 years ago
Alexander Alekhin
8dacbe7584
android: std::exception_ptr is not available on some platforms (even with enabled C++11)
7 years ago
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
7 years ago
k-shinotsuka
fbdcc0e8e4
add universal intrinsics for HSV2RGB_f
7 years ago
Dmitry Kurtaev
73ca194313
Fix convertFp16 in JavaScript build
7 years ago
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
7 years ago
lopespt
c17ce1a0af
Solves issue #10506
7 years ago
Alexander Alekhin
7818071ba2
cuda: eliminate part of build warnings
7 years ago
Alexander Alekhin
82ba3ac894
cuda: refactor MemoryPool
...
- make non-copyable (aligns inner mutex semantic to std::mutex)
- getMemoryPool() returns reference instead of pointer (NULL is not expected here)
7 years ago
yuki takehara
d57e5c31c0
Merge pull request #11214 from take1014:core_9720
...
* fix #9720
* Add regression test
* Fix calculation method for scale
7 years ago
Alexander Alekhin
45a69ebec8
core: fix AVX2 min implementation
7 years ago
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
7 years ago
Alexander Alekhin
6f69800d0c
core: propagate parallel_for() exceptions
7 years ago
ltqusst
0d646490f5
Fix #10557
...
Fix overflow bugs in conversion from NV12 VA-surface/D3D11texture2D to OpenCL UMat
7 years ago
Alexander Alekhin
8c4b5b6a70
core(test): parallel_for test with exception
7 years ago
Alexander Alekhin
87498bc6d4
cmake: workaround CPATH ipp_iw issue
...
CPATH entries are processed before any -isystem:
https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
7 years ago
Alexander Alekhin
9111538bfb
core: apply CV_OVERRIDE/CV_FINAL
7 years ago
Alexander Alekhin
84980741a8
core: add CV_OVERRIDE/CV_FINAL macros
7 years ago
Dmitry Kurtaev
2f3a9ba1d4
Update OpenCVDetectInferenceEngine.cmake
7 years ago
LaurentBerger
03eb463f1c
Solves #11156 ( #11160 )
...
* Solves #11156
* Check file size for all file format. Disable APPEND if file is empty
* Add test for APPEND mode
7 years ago
Collen Jones
687ccdf8db
Fix link to Hershey fonts
7 years ago
Alexander Alekhin
7d8f1dde26
core(persistence): disable checks for base64 streams
7 years ago
Alexander Alekhin
f4c4b01455
core: added checks and "fixit" items for persistence parsers
...
To raise errors with proper messages of the problems.
7 years ago
Alexander Alekhin
d1311518a3
core: test-sample for FIXED_TYPE demonstration
...
with implementation of functions with multiple output formats
7 years ago
Alexander Alekhin
7f9253ea0a
samples: avoid using of legacy C-like API
...
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h
- samples/cpp/filestorage_base64.cpp is dropped
7 years ago
Namgoo Lee
a8f86af633
Update GpuMat, GpuMat::download, GpuMat::upload documentation
7 years ago
Alexander Alekhin
4378e8fcc0
core: fix cv::Mat constructor
7 years ago
Tomoaki Teshima
6c25351049
make the asynchronous call to NPP safe
...
* Stop calling nppSetStream
7 years ago
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
7 years ago
Aleksandr Tischenko
22ecdd16ef
Merge pull request #11101 from lamantine:fix_11100
...
* fixed bug #11100 Integer overflow in kmeans
* fixed integer overflow in other divUp-s in kmeans code
fixed warning about size_t to double conversion
7 years ago
Alexander Alekhin
8781ee971c
core: write log messages via __android_log_print (logcat) too
7 years ago
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
7 years ago
Alexander Alekhin
ee1ac1140d
core: use explicit for cv::AutoBuffer
...
To avoid compilation of this code:
- buf = 0;
This code can be received after refactoring of 1D cv::Mat to cv::AutoBuffer.
- "cv_mat = 0" calls setTo().
- cv::AutoBuffer calls "allocate(0)" - this is wrong.
7 years ago
Dmitry Kurtaev
538fd42363
Add test for Scalar arguments at CommandLineParser
7 years ago
yuki takehara
0792ef8789
Merge pull request #11049 from take1014:#10948
...
* Fix #10948
* Add test code
* Fixed build error
* Add value zero
* eigen: test cleanup
7 years ago
Dmitry Kurtaev
130546e1d9
Semantic segmentation sample.
7 years ago
Maksim Shabunin
7bbe002a2f
Add install component for 3rdparty libraries licenses
7 years ago
native-api
dc1d9ae973
Include error code description into the message ( #10982 )
7 years ago