Commit Graph

8839 Commits

Author SHA1 Message Date
Alexander Alekhin
50d2c1066b ocl: split: update tests and implementation 2013-10-30 14:08:37 +04:00
Roman Donchenko
d07e7897a0 Fixed building with OpenCL, but without the ocl module.
HAVE_opencv_ocl implies HAVE_OPENCL, so checking for both is not
necessary.
2013-10-30 14:07:34 +04:00
Roman Donchenko
8a4f1bbbdf Merge pull request #1714 from jet47:find-cuda-fix 2013-10-30 13:27:41 +04:00
Alexander Smorkalov
994e07db07 Bug #3276 Java bindings binary compatibility is broken in branch 2.4 fixed.
New version of Java wrappers' generator uses different wrappers for VideoCapture
on Android and desktop to prevent binary compatibility issues.
2013-10-30 12:51:49 +04:00
Roman Donchenko
d11921f1a4 Merge pull request #1675 from krodyush:opencl-optimization 2013-10-30 12:28:31 +04:00
Roman Donchenko
9f162cb8d3 Merge pull request #1713 from pengx17:patch-2 2013-10-30 12:27:11 +04:00
Vladislav Vinogradov
5e75a22559 fixed find package CUDA for cross-compilation
replaced find_host_package with find_package and
set CMAKE_FIND_ROOT_PATH_MODE_LIBRARY to BOTH, because NEVER 
doesn't work for CUDA_CUDA_LIBRARY, which is located in 
/usr/arm-linux-gnueabihf/lib/libcuda.so for ARM
2013-10-30 12:10:35 +04:00
Jin Ma
7469c2eb9d fixed a bug when double is not supported. 2013-10-30 14:37:13 +08:00
Peng Xiao
252f13f53e Fix a typo 2013-10-30 10:36:28 +08:00
Ilya Lavrenov
bf6b5ee925 fixed extrapolation for ocl::cornerMinEigenVal and ocl::cornerHarris; enabled CV_32FC1 for the first function 2013-10-29 19:59:21 +04:00
Roman Donchenko
d6a7a6d503 VideoCapture: copy the captured frame, to avoid dangling Mats
Previously, VideoCapture::retrieve would return a Mat that referenced
the internal IplImage. Since the latter is rewritten every time a
frame is captured, it means that if the user captures two frames in a row,
the first frame would reference nothing. Similar if a user captures a frame,
then destroys the VideoCapture instance.

Note that the other branch of the if isn't affected, since flip allocates
a new Mat.
2013-10-29 18:47:08 +04:00
Jin Ma
b6b190df5c Rewrote moments of opencl version. 2013-10-29 18:05:29 +08:00
Roman Donchenko
957c85e9c4 Merge pull request #1670 from jet47:cuda-cmake-fix 2013-10-29 13:24:14 +04:00
Andrey Pavlenko
c5e8a9a29b Merge pull request #1702 from alalek:ocl_memory_corruption_check 2013-10-29 11:07:04 +04:00
Andrey Pavlenko
c6a01f2641 Merge pull request #1688 from alalek:ocl_fix_filters 2013-10-29 11:05:10 +04:00
Andrey Pavlenko
ea64589164 Merge pull request #1687 from bitwangyaoyao:2.4_fix 2013-10-29 11:03:34 +04:00
Andrey Pavlenko
f4b8babbc8 Merge pull request #1677 from pengx17:patch-1 2013-10-29 11:00:26 +04:00
Andrey Pavlenko
42c4f91ef4 Merge pull request #1495 from StevenPuttemans:bugfix_3282 2013-10-29 10:51:01 +04:00
Andrey Pavlenko
9bfa346c38 Merge pull request #1544 from ilya-lavrenov:ocl_blendLinear 2013-10-29 10:49:46 +04:00
Andrey Pavlenko
e52459a324 Merge pull request #1708 from ilya-lavrenov:ocl_threshold 2013-10-29 10:43:44 +04:00
Andrey Pavlenko
106d5eda5f Merge pull request #1700 from ilya-lavrenov:ocl_bitwise_perf 2013-10-29 10:43:27 +04:00
Andrey Pavlenko
acadfcff2d Merge pull request #1707 from ilya-lavrenov:ocl_morph 2013-10-29 10:38:23 +04:00
Andrey Pavlenko
2b05dc7d1e Merge pull request #1699 from ilya-lavrenov:ocl_minMax 2013-10-29 10:35:58 +04:00
Andrey Pavlenko
5fa6d70ab0 Merge pull request #1695 from ilya-lavrenov:ocl_showDiff 2013-10-29 10:35:42 +04:00
Ilya Lavrenov
c49c3e0a91 fixed and generalized ocl::blendLinear 2013-10-28 23:56:40 +04:00
Ilya Lavrenov
58be2546ca fixed OpenCL morph operations for case when kernel does not have zero element 2013-10-28 20:09:49 +04:00
Alexander Alekhin
b10e1e5c7e ocl: filters: update documentation 2013-10-28 20:09:49 +04:00
Alexander Alekhin
98f73705df ocl: fix morph filters 2013-10-28 20:09:49 +04:00
Alexander Alekhin
0f95f0d8b3 ocl: rewrite filter2D 2013-10-28 20:09:49 +04:00
Alexander Alekhin
0bf9ece998 ocl: rewrite boxFilter 2013-10-28 20:09:49 +04:00
Alexander Alekhin
cb6ea8bfa1 ocl: update filter tests 2013-10-28 20:09:49 +04:00
Roman Donchenko
529f086b62 Merge pull request #1691 from SpecLad:ffmpeg-test 2013-10-28 19:35:08 +04:00
Alexander Alekhin
447c052e59 ocl: memory corruption check 2013-10-28 19:33:00 +04:00
Roman Donchenko
766a3511c6 Merge pull request #1706 from ilya-lavrenov:example_fix 2013-10-28 19:05:19 +04:00
Andrey Pavlenko
95bd32b516 Merge pull request #1705 from ilya-lavrenov:ocl_flip 2013-10-28 19:02:24 +04:00
Andrey Pavlenko
bb15c00665 Merge pull request #1703 from bitwangyaoyao:2.4_fix1480 2013-10-28 19:01:51 +04:00
Andrey Pavlenko
d3c0b36cd0 Merge pull request #1701 from alalek:ocl_fix_canny 2013-10-28 19:01:13 +04:00
Andrey Pavlenko
1cc58f9770 Merge pull request #1698 from ilya-lavrenov:ocl_warp 2013-10-28 18:59:08 +04:00
Ilya Lavrenov
7afbae57ba fixed ocl::minMax for FP-types 2013-10-28 18:49:16 +04:00
Ilya Lavrenov
eb2f8a2948 ocl tests: show diff when cv::countNonZero(diff) > 0 2013-10-28 18:20:02 +04:00
Ilya Lavrenov
1f7f9c9682 rewrote and generalized ocl::threshold 2013-10-28 18:11:24 +04:00
Ilya Lavrenov
e70dfe5a50 fixed OpenCL morph operations for case when kernel does not have zero element 2013-10-28 16:46:41 +04:00
Ilya Lavrenov
ee8f0a3f36 ocl example typo 2013-10-28 14:09:30 +04:00
Ilya Lavrenov
cf5df1a7e7 fixed ocl::flip 2013-10-28 13:57:29 +04:00
Roman Donchenko
d3bcf609f1 Merge pull request #1657 from KonstantinMatskevich:ocldistanceToCenters 2013-10-28 13:46:32 +04:00
yao
0fd872bfa9 fix bug #1480 2013-10-28 17:36:43 +08:00
yao
632452cdd8 fix the mismatch running on cpu devices 2013-10-28 16:32:46 +08:00
Roman Donchenko
88f5ef9acc Merge pull request #1696 from apavlenko:fix_typo_GpuMaterials 2013-10-28 12:18:42 +04:00
Peng Xiao
ab2bd58f5c Fixed a missing barrier. 2013-10-28 14:17:59 +08:00
Vladislav Vinogradov
06c1f9a329 added own version of FindCUDA.cmake 2013-10-28 10:09:16 +04:00