Vladislav Vinogradov
00e7816c1b
add auxiliary functions to work with Input/Output arrays:
...
they allow to perform asynchronous upload/download into temporary buffer
to get valid GpuMat object
10 years ago
Vladislav Vinogradov
f36546dbd2
improve error reporting in _InputArray methods
11 years ago
Vladislav Vinogradov
f054d6316a
add cuda::HostMem::getAllocator method
...
it allows to use cudaHostAlloc methods for cv::Mat objects
11 years ago
Vladislav Vinogradov
53862687d5
rename CudaMem -> HostMem to better reflect its purpose
11 years ago
Vladislav Vinogradov
9210d8e542
move allocMatFromBuf function to farneback.cpp:
...
* it is the only place, where it is used
* no need to make this function public
11 years ago
Vladislav Vinogradov
68e08bbecd
fix null stream initialization for multi-gpu systems
11 years ago
Vladislav Vinogradov
05d40946f3
move StackAllocator to cpp file
...
it is internal class, no need to export it
11 years ago
Vladislav Vinogradov
7ed38b97c3
fix cuda::BufferPool deinitialization
...
The deinitialization of BufferPool internal objects is controled by global
object, but it depends on other global objects, which leads to errors
caused by undefined deinitialization order of global objects.
I merge global objects initialization into single class, which performs
initialization and deinitialization in correct order.
11 years ago
Chuanbo Weng
2d8c89c40b
Remove unnecessary kercn limitation of 4.
...
When accessing global memory by DWORD4, memory bandwidth
can be fully utilized on Intel platform. This patch will
make more image format(e.g. 8UC4) be processed in DWORD4
by work-item. After applying this patch, 3 subcase of
./opencv_perf_core --gtest_filter=OCL_RepeatFixture_Repeat.Repeat/*
can be speedup on HD4000 graphics card with Beignet:
OCL_RepeatFixture_Repeat.Repeat/2, 64% improvement.
OCL_RepeatFixture_Repeat.Repeat/6, 50% improvement.
OCL_RepeatFixture_Repeat.Repeat/8, 56% improvement.
Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
11 years ago
Dmitry-Me
4ff8a3ad92
Fix incorrect size computation
11 years ago
Alexander Karsakov
462c3c25a9
Removed incorrect using of rootn() and powr() in ocl_pow
11 years ago
Alexander Alekhin
4eb16122c0
ocl: change processing of OpenCL failures
...
disable "unwanted" messages
11 years ago
Alexander Alekhin
1c9f590f0d
IPPICV: disable NormDiff_L1_16s_C1R for IPP/ICV 8.2/8.2.1
11 years ago
Ilya Lavrenov
5ca25ab8f0
cv::pow (integer power)
11 years ago
Ilya Lavrenov
ccdc71286c
cv::polarToCart
11 years ago
Ilya Lavrenov
d5f006eee5
cv::magnitude; cv::corner**
11 years ago
Ilya Lavrenov
fb97273b3c
cv::phase; cv::cartToPolar
11 years ago
ElenaGvozdeva
d88fdd0378
use LOCAL_SIZE+1
11 years ago
ElenaGvozdeva
65b8a1cb37
Some small fixes
11 years ago
Elena Gvozdeva
c5a2879ce0
use vectors
11 years ago
Elena Gvozdeva
2d89df1804
use local memory
11 years ago
Elena Gvozdeva
d78bc3c321
naive implementation
11 years ago
vbystricky
8466911ad0
Move _dst.create() to the begining of scaleAdd function
11 years ago
Alexander Karsakov
237cb93143
Added extra checks to ocl::Image2D
11 years ago
Alexander Alekhin
579a7fff6d
ocl: restore clFinish() in unmap() for AMD devices
...
This reverts commit 7d91b8efcd
.
11 years ago
Alexander Karsakov
3a263c6326
Added tests for Image2D
11 years ago
vbystricky
a8aa6381d9
Optimize OpenCL version of conversScaleAbs function
11 years ago
ElenaGvozdeva
070e5ec042
Changed predictOptimalVectorWidth function, now it is possible to choose vector size.
11 years ago
Vadim Pisarevsky
d2b9dc5530
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
11 years ago
Maksim Shabunin
ef3d02214b
Fixing iOS clang warnings, part 2
11 years ago
Vadim Pisarevsky
01d3848f17
all the tests now pass except for MSER
11 years ago
Vadim Pisarevsky
c5261ea3d2
all the tests now pass except for MSER
11 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
5f23d99918
the rest modes of cv::Mat::convertTo
11 years ago
Ilya Lavrenov
4babecf3b0
fixes for cv::addWeighted and cv::Mat::dot
11 years ago
vbystricky
1d280352f4
Add code for print errors of OpenCL kernels runing
11 years ago
Ilya Lavrenov
00f16e9178
neon
11 years ago
Ilya Lavrenov
be3efdf274
cv::sum refactoring
11 years ago
Ilya Lavrenov
a3e56114d1
cv::multiply
11 years ago
Ilya Lavrenov
1c491c42cd
fix for cornerHarris
11 years ago
Ilya Lavrenov
bbc161e1cb
fix for cv::Mat::convertTo with scale
11 years ago
Ilya Lavrenov
f50f0ba63e
cv::norm
11 years ago
Ilya Lavrenov
44ea50f1c4
cv::countNonZero
11 years ago
Ilya Lavrenov
34a571d37f
cv::Mat::dot
11 years ago
Ilya Lavrenov
e46332a183
cv::Mat::convertTo with scale and shift
11 years ago
Ilya Lavrenov
74e60e44ad
cv::compare
11 years ago
Ilya Lavrenov
857a2d5bfd
cv::addWeighted
11 years ago
Ilya Lavrenov
345b1369be
correct neon rounding
11 years ago
Ilya Lavrenov
5d018c090f
Neon optimization of cv::scaleAdd (CV_32F)
11 years ago
Ilya Lavrenov
4b3f2c1972
Neon optimization of Mat::convertTo
11 years ago