Vladislav Vinogradov
439c3574ed
renamed gpu_private.hpp to private.gpu.hpp
12 years ago
Vladislav Vinogradov
0489489322
used cudaMalloc for 1-row or 1-column matrix instead of cudaMallocPitch
12 years ago
Vladislav Vinogradov
1db4afac6a
made createContinuous & ensureSizeIsEnough generic (OutputArray support)
12 years ago
Vladislav Vinogradov
f17b836d24
added Event class (wrapper for cudaEvent)
12 years ago
Vladislav Vinogradov
2dab93c2e8
refactored gpu info structures (TargetArchs and DeviceInfo)
...
now DeviceInfo provides full information about device (from cudaDeviceProp)
12 years ago
Vladislav Vinogradov
76f4b02b06
refactored gpu::Stream (minor fixes)
12 years ago
Vladislav Vinogradov
a52af84dcf
refactored CudaMem (now alloc type assign only in constructor)
12 years ago
Vladislav Vinogradov
cc34a8ac3c
new implementation for GpuMat::setTo (without constant memory)
12 years ago
Vladislav Vinogradov
69be49bac1
refactored GpuMat:
...
* switch to InputArray/OutputArray
* add Stream support
12 years ago
Vladislav Vinogradov
db1178b5df
moved GpuMat implementation to separate file
12 years ago
Vladislav Vinogradov
2153a14872
moved inline implementation to separate file
12 years ago
Vladislav Vinogradov
6994a02c15
added Stream support to ogl::Buffer
12 years ago
Vladislav Vinogradov
649737b6a8
removed obsolete DevMem2D class
12 years ago
Vladislav Vinogradov
4c9773d55f
renamed gpu headers (made it more consistent)
12 years ago
Vladislav Vinogradov
6c253a41c2
added CudaMem support to Input/Output arrays
12 years ago
Vladislav Vinogradov
2fae1d9507
removed ogl::Texture2D support from InputArray
12 years ago
Vladislav Vinogradov
4559d46190
fixed BroxOpticalFlow sanity test (increase epsilon value)
12 years ago
Vladislav Vinogradov
4d9a1cf14b
fixed BoxFilter sanity test (different rounding results)
12 years ago
Vladislav Vinogradov
302250f241
fixed BroxOpticalFlow regression test
...
the output of BroxOpticalFlow differs a bit in CUDA 5.5
12 years ago
Vladislav Vinogradov
14e4b3adde
rewrite core/cuda/vec_math.hpp file
...
old version isn't compiled with CUDA 5.5
new version doesn't depend on functional.hpp
12 years ago
Vladislav Vinogradov
869a35faef
fixed constructors for functional objects (added __host__ modifier)
12 years ago
Vladislav Vinogradov
bf7c1c6c25
fixed NPP error constants usage
12 years ago
Vladislav Vinogradov
3eeaa9189c
Revert "Revert "Merge pull request #836 from jet47:gpu-modules""
12 years ago
yao
9284c07a84
remove commented lines
12 years ago
yao
960a0eacf3
merge openCLMallocPitch and openCLMallocPitchEx into one interface
12 years ago
IanVS
41fc41829c
Updated documentation to new "COLOR_" format for color conversion enums.
12 years ago
Andrey Pavlenko
c2d3ce9ce5
fix failing test
...
small matrix becomes the same after shuffling
12 years ago
Andrey Pavlenko
c7873dd03d
fixing broken Mat::dump() in Java
12 years ago
Malcolm Reynolds
a9c9210bf9
update safe_call.hpp to fix OpenCL import on case sensitive mac FS
...
On a Mac with a case sensitive filesystem <OpenCL/OpenCL.h> does not exist but <OpenCL/opencl.h> does. I presume (!), but have no way to test, that on a Mac with case insensitive FS this change will make no difference.
12 years ago
Malcolm Reynolds
229ff632b6
update util.hpp to fix OpenCL import on case sensitive mac FS
...
On a Mac with a case sensitive filesystem <OpenCL/OpenCL.h> does not exist but <OpenCL/opencl.h> does. I presume (!), but have no way to test, that on a Mac with case insensitive FS this change will make no difference.
12 years ago
Vladislav Vinogradov
bcf8bdb401
fixed constructors for functional objects (added __host__ modifier)
12 years ago
Vladislav Vinogradov
58e472754a
fixed norm diff function (it uses pre-allocated buffer now)
12 years ago
Vladislav Vinogradov
0521e8908c
fixed NPP error constants usage
12 years ago
Vladislav Vinogradov
013581f371
fixed GPU module compialtion with CMake 2.8.11
...
CMake 2.8.11 removed linkage with CUDA driver library,
but it's used by gpu video encoding/decoding
12 years ago
Roman Donchenko
f90fd5b0da
Split CLAHE into its own file, because it's faster that way.
...
Yes, it's as ludicrous as it sounds, but it's still true. Bizarrely,
the previous commit makes CLAHE run about 10% slower on Android, even
though it doesn't even touch any CLAHE code. Splitting it off fixes that,
although the reason it does is a mystery for the ages.
It's cleaner when it's in its own file, anyway. ;=]
12 years ago
Roman Donchenko
29b13ec1de
Replaced most of the usages of parallel_for with that of parallel_for_.
...
This should allow many algorithms to take advantage of more parallelization
technologies.
12 years ago
yao
7ed9c0e87a
Fix brute_force_matcher's hung on some Intel CPU OCL
12 years ago
peng xiao
fd7ba355ee
Add non-stump based ocl Haar cascade classifier support.
...
For example, haarcascade_frontalface_alt2.xml is now supported.
Note that classifier's pattern of a cascade file must be consistent,
i.e., all trees must either have two nodes or one node, otherwise
unexpected results will occur.
Other fixes:
Test cases are updated.
Some unused codes are removed.
Fix some problems of haar when using OclCascadeClassifierBuf.
12 years ago
Vladislav Vinogradov
6b1c28ce6d
fixed some gpu tests (different rounding results due to float arithmetics)
12 years ago
yao
a9b7ff41bd
adjust test cases
12 years ago
peng xiao
d015fa76fa
Fix 2.4 ocl Canny.
...
This fix is a workaround for current 2.4 branch without introducing an
additional oclMat buffer into CannyBuf object.
Test case is cleaned up.
Volatile keywords in kernels are removed for performance concern.
12 years ago
yao
d81c145fa9
fix memory leak
12 years ago
yao
14bd6402be
revise perf
12 years ago
peng xiao
1d0c283508
Fix a bug when pushing pointers of arguments into std::vector.
...
When argument pointers pushed into an vector and the pointers point to
address on stack, we need to make sure they are valid until kernels are
successfully flushed onto the queue.
12 years ago
peng xiao
6fae02c05d
Fix some OpenCL kernel file build errors on Mac.
12 years ago
Alexander Smorkalov
20fef00a77
android -> plarforms/android
12 years ago
abidrahmank
ca09ba6852
Bug #2960 : docs about CV_BGR2GRAY
12 years ago
abidrahmank
98960bf201
A new python sample on grabcut
12 years ago
yao
c58e0d5d73
fix hog
12 years ago
Roman Donchenko
dad58d8940
Fix a build error which manifests when building with CUDA < 5.
12 years ago