Zhigang Gong
2e49ca4903
Avoid unmap an umat(ocl) which hasn't been mapped at all.
...
According to opencl 1.2 spec 5.4.2:
enqueues a command to unmap a previously mapped region of a memory object.
...
CL_INVALID_VALUE if mapped_ptr is not a valid pointer returned by
clEnqueueMapBuffer, or clEnqueueMapImage for memobj.
So if the u->data is not from a clEnqueueMapBuffer call, we should not
call clEnqueueUnmapMemObject() unmap it. With this patch, the cases
./opencv_test_video --gtest_filter=OCL_Video/FarnebackOpticalFlow.Mat/*
could work well with beignet 0.9.1, Otherwise, it will get a
CL_INVALID_VALUE at the clEnqueueUnmapMemObject().
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
11 years ago
Alexander Alekhin
0f1a0a9818
Merge pull request #2951 from ilya-lavrenov:tapi_ipp_filter2d
11 years ago
Ilya Lavrenov
e8f5c2fcf6
OpenCL before IPP
11 years ago
Alexander Alekhin
e79ceb4b45
Merge pull request #2936 from ilya-lavrenov:tapi_minmaxloc_opt
11 years ago
Vadim Pisarevsky
d05d235c01
Merge pull request #2669 from Adil-Ibragimov:flann_distance_fix
11 years ago
Vadim Pisarevsky
e1553d5da3
Merge pull request #2929 from ilya-lavrenov:sse_pow
11 years ago
Vadim Pisarevsky
b2ab1b758a
Merge pull request #2937 from ilya-lavrenov:sse_patch_nans
11 years ago
Vadim Pisarevsky
41dcd0ac03
Merge pull request #2941 from ilya-lavrenov:sse_inrange
11 years ago
Alexander Alekhin
7d9f79b130
Merge pull request #2944 from bkueng:fix_compiler_error
11 years ago
Beat Küng
90dce84314
imgproc: fix compiler error for gcc 4.8
...
this bug was introduced in a73809e6
.
11 years ago
Ilya Lavrenov
e2b86974ae
SSE2 optimization of cv::patchNaNs
11 years ago
Ilya Lavrenov
e04c39b089
SSE2 optimization of cv::inRange
11 years ago
Alexander Alekhin
964b260937
Merge pull request #2932 from ilya-lavrenov:tapi_other_vendors
11 years ago
Ilya Lavrenov
55d84cf815
optimization of cv::minMaxLoc - used min/max
11 years ago
Ilya Lavrenov
2fe07abf83
use vectors for devices of all vendors
11 years ago
Alexander Alekhin
d183554600
Merge pull request #2931 from alalek:mac_fix_master
11 years ago
Alexander Alekhin
e6c305cb75
Merge pull request #2897 from vbystricky:oclopt_sepFilter2D
11 years ago
Alexander Alekhin
c5d3c08256
ocl: add try-catch for OpenCL device getter
11 years ago
Ilya Lavrenov
93f8581b69
fixed warnings
11 years ago
Ilya Lavrenov
e5b63d43f2
sse2 optimization of inv_sqrt_64f
11 years ago
Alexander Alekhin
effff27c4e
Merge pull request #2928 from ilya-lavrenov:tapi_warp_fix
11 years ago
Ilya Lavrenov
46e2216165
fixed cv::warpPerspective
11 years ago
Vadim Pisarevsky
c3329ff79d
Merge pull request #2856 from sanchom:master
11 years ago
Vadim Pisarevsky
0e534b5a25
Merge pull request #2923 from alalek:ocl_default_device_ignore_cpu
11 years ago
Vadim Pisarevsky
d6233b13ba
Merge pull request #2913 from ilya-lavrenov:sse2_precornerdetect
11 years ago
Alexander Alekhin
d65abcaedb
Merge pull request #2830 from mlyashko:moments
11 years ago
Vadim Pisarevsky
15197eb09b
Merge pull request #2911 from ilya-lavrenov:sse2_convert_scale_abs
11 years ago
Vadim Pisarevsky
fe4bdcd71b
Merge pull request #2895 from fradelg:master
11 years ago
Alexander Alekhin
6bb8c46d9a
Merge pull request #2906 from ilya-lavrenov:tapi_transpose
11 years ago
Alexander Alekhin
157257b072
ocl: don't use OpenCL CPU device in default setup
11 years ago
Ilya Lavrenov
972119bff3
sse2 optimization of cv::convertScaleAbs
11 years ago
Ilya Lavrenov
54e4ef657c
optimized cv::transpose inplace
11 years ago
Ilya Lavrenov
9c8b9fc733
cv::transpose
11 years ago
Alexander Alekhin
cbd0511a56
Merge pull request #2907 from ilya-lavrenov:tapi_perf_transpose
11 years ago
Ilya Lavrenov
978f7eb44a
added perf test for transpose inplace
11 years ago
Alexander Alekhin
acbabedac9
Merge pull request #2869 from ilya-lavrenov:tapi_warps
11 years ago
Alexander Alekhin
e0584bb818
Merge pull request #2876 from vbystricky:oclopt_integralsum
11 years ago
Alexander Alekhin
1493160f26
Merge pull request #2899 from ilya-lavrenov:tapi_ex
11 years ago
Alexander Alekhin
b304868d91
Merge pull request #2886 from ilya-lavrenov:tapi_inrange
11 years ago
Alexander Alekhin
667a9328fb
Merge pull request #2829 from ilya-lavrenov:tapi_cvtcolor
11 years ago
Ilya Lavrenov
654bdde8ed
SSE2 optimization of cv::preCornerDetect
11 years ago
Ilya Lavrenov
36db85a94d
optimized some operations
11 years ago
Alexander Alekhin
2d81595ed4
Merge pull request #2852 from ilya-lavrenov:tapi_abs
11 years ago
Roman Donchenko
e8850bf84a
Merge pull request #2626 from KayKwon:matlab_formatter
11 years ago
Roman Donchenko
1576e24c93
Merge pull request #2672 from a-wi:findContours
11 years ago
Roman Donchenko
e89e3066e8
Merge pull request #2774 from 23pointsNorth:lsd-nfa-fix
11 years ago
Roman Donchenko
e9bb750d4e
Merge pull request #2858 from 23pointsNorth:patch-3
11 years ago
Roman Donchenko
b0a70787e1
Merge pull request #2824 from abidrahmank:pylsd
11 years ago
vbystricky
1a73aa1f6a
Change local size
11 years ago
Ilya Lavrenov
16ab6ec534
ported changes from PR #2867
11 years ago