Naba Kumar
cdcf44b3ef
Expose BufferPool class for external use also
8 years ago
Woody Chow
c370cc10e9
Optimize normL2Sqr_ with AVX2
8 years ago
Woody Chow
a8763c1fec
Optimize exp32f with AVX2
8 years ago
KUANG, Fangjun
debc1c4c95
fix an error while setting kernel argument for a 3-D matrix.
8 years ago
KUANG, Fangjun
be7d4608fb
Add more comments to the members of CoreTLSData related to OpenCL.
8 years ago
chacha21
74abbd0898
Fix compilation when USE_ZLIB is false
...
create a dummy gzFile type
8 years ago
chacha21
aa1b031274
get rid of warning C4800 under VS2010
...
the "std::basic_ios::operator bool" differs between C++98 and C++11. The
"double not" syntax is portable and covers both cases with equivalent
meaning
8 years ago
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
8 years ago
Alexander Alekhin
649bb7ac04
core: parallel_for_(): update RNG state of the main thread
8 years ago
Alexander Alekhin
b28fd79fdc
core: parallel_for_(): propagate RNG state from the main thread
8 years ago
Vladislav Sovrasov
595437bdd1
hal: replace round() with cvRound()
8 years ago
Vladislav Sovrasov
14451f3f06
core: fix adjustROI behavior on indexes overflow
8 years ago
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
8 years ago
Alexander Alekhin
ec7f74f7b4
core(TLS): add cleanup() method
8 years ago
Fangjun KUANG
526220a171
Fix typos in the documentation ( #8226 )
...
* fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
8 years ago
Jinay Patel
f710d96602
Update ocl.cpp function Device::OpenCLVersion()
...
Instead of CL_DEVICE_EXTENSIONS in Querying OpenCLVersion, it should be CL_DEVICE_VERSION flag which needs to be passed to the function.
8 years ago
Fangjun KUANG
5e4dfb9546
Change the argument type to cl_platform_info.
...
Although both `cl_platform_info` and `cl_device_info` are defined as macro `cl_uint`, it needs to use `cl_platform_info` to get
the platform information.
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
e16227b53c
cmake: support multiple CPU targets
8 years ago
Vitaly Tuzov
4950f542d1
Fix for SGBM compute() buffer allocation failure on big images
8 years ago
Maksim Shabunin
b417b4dbee
KMeans improvement
...
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
8 years ago
Tomoaki Teshima
fd711219a2
use universal intrinsic in VBLAS
...
- brush up v_reduce_sum of SSE version
8 years ago
Tomoaki Teshima
d0bdf99501
check correct flag
8 years ago
Tomoaki Teshima
820fdbff23
brush up AVX optimization in popcount
...
- make sure SIMD optimization works even when AVX is not available
8 years ago
Vladislav Sovrasov
896c34fab3
Add support of type headings from YAML1.2
8 years ago
Alexander Alekhin
3668a01fca
eliminate warnings
...
hal_internal.cpp(101): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
8 years ago
Tomoaki Teshima
8b22099da2
use universal intrinsic and SSE4 popcount instruction in normHamming
...
- add v_popcount in universal intrinsic
- add test for v_popcount
- add wrapper of popcount for both MSVC and GCC
8 years ago
atinfinity
b3c77e664d
added to check the support of AVX2
8 years ago
Matt Bennett
c3a8db6d6c
Merge pull request #7952 from mattmyne:JSONWriteFixTrailingDecimalPoint
...
Append zero to trailing decimal place for FileStorage JSON write of a float or double value (#7952 )
* Fix for FileStorage JSON write of a float or double value that has no fractional part; appends a zero character after the trailing decimal place to meet JSON standard.
* strlen return to size_t type rather than unnecessary cast to int
8 years ago
Steve
8a6fabed83
Avoid segmentation fault
...
Change `<=` to `<` to avoid accessing the first character of an empty string
8 years ago
Vadim Pisarevsky
ad74fdd7cc
moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository ( #7918 )
...
* moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository.
* trying to fix the bug with undefined symbols sgesdd_ and dgesdd_
* removed extra whitespaces; disabled LAPACK on IOS
8 years ago
Alexander Alekhin
c3e409f950
ocl: update program cache defaults
8 years ago
Alexander Alekhin
7a95e654eb
ocl: update compiled programs
...
- minimize library initialization time (lazy calculations of program hash)
- LRU cache of in-memory compiled programs
8 years ago
Alexander Alekhin
05d187ec90
ocl: move deprecated code from ocl.cpp
8 years ago
Rostislav Vasilikhin
fcdbe16252
openvx_cvt disabled for Khronos, fixed sstep and dstep usage
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago
Rostislav Vasilikhin
cf5e976fad
OpenVX convert enabled
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
Addison Elliott
eb04b2bfa9
Added N-dim submat selection with vectors
...
Currently, to select a submatrix of a N-dimensional matrix, it requires
two lines of code while only one line of code is required if using a 2D
array.
I added functionality to be able to select an N-dim submatrix using a
vector list instead of a Range pointer. This allows initializer lists to
be used for a one-line selection.
8 years ago
Addison Elliott
fa6692afcf
Added new overloaded functions for Mat and UMat that accepts std::vector<int> instead of int * for the sizes on a N-dimensional array.
...
This allows for an N-dimensional array to be setup in one line instead of two when using C++11 initializer lists. cv::Mat(3, {zDim, yDim, xDim}, ...) can be used instead of having to create an int pointer to hold the size array.
8 years ago
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
8 years ago
bedbad
ffcf866e2f
Merge pull request #7754 from LAZI-2240:toupstream2.4
...
Introducing boundingRect2f() (#7754 )
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f() - update
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f() - update - tested
8 years ago
apavlenko
76c38f0c80
trying to enable canny_vx adding a new test comparing canny_cv vs canny_vx
8 years ago
apavlenko
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
8 years ago
Alexander Alekhin
6946f510fe
mulSpectrums: refactor code
8 years ago
mshabunin
e941259434
Persistence: fixed valgrind warning in base64 decoder
8 years ago
Alexander Alekhin
21f3531b17
core: fix inplace support in mulSpectrums
8 years ago
Rostislav Vasilikhin
695b20172b
Merge pull request #7794 from savuor:fix/ovx_cvt_continuous
...
Fixed OpenVX wrapper for Mat::convertTo() (#7794 )
* fixed for cases of unrolled (w*h x 1) matrices
* more error handling
8 years ago
Alexander Alekhin
fef94315af
core: exp/log workaround for MSVS
8 years ago
Alexander Alekhin
44d9d59f08
ocl: stop using of OpenCL without explicit UMat arguments
8 years ago