opencv/modules
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>
2014-07-09 16:21:20 +08:00
..
androidcamera Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-03-24 19:02:16 +04:00
calib3d Removed "CV_" prefix from constants in docs 2014-06-14 18:41:04 +01:00
core Avoid unmap an umat(ocl) which hasn't been mapped at all. 2014-07-09 16:21:20 +08:00
cuda Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudaarithm Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudabgsegm Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudacodec Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudafeatures2d Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudafilters Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudaimgproc Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudalegacy Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-02-03 13:23:59 +04:00
cudaoptflow Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudastereo Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudawarping Don't build CUDA modules stubs by default (use -DBUILD_CUDA_STUBS=ON if need them) 2014-06-16 11:18:52 +04:00
cudev fix bug #3678 (cuda::integral failures) 2014-05-14 12:48:12 +04:00
features2d fixed defects found by coverity scan 2014-06-10 13:14:51 +04:00
flann Merge pull request #2669 from Adil-Ibragimov:flann_distance_fix 2014-07-07 13:35:09 +00:00
highgui fixed warnings 2014-07-03 11:10:28 +04:00
imgproc OpenCL before IPP 2014-07-08 18:51:27 +04:00
java Add AKAZE support for the Java wrapper 2014-06-03 18:41:58 +09:00
matlab Changing #include to generic video.hpp 2014-06-11 02:00:21 -05:00
ml Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-06-02 13:43:28 +04:00
nonfree Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-05-19 18:39:20 +04:00
objdetect Merge pull request #2856 from sanchom:master 2014-07-02 14:22:56 +00:00
optim Merge pull request #2784 from saree90:bugfix_Simplex 2014-06-12 21:41:10 +04:00
photo cv2cvtest part2 2014-04-09 13:08:51 +04:00
python removed contrib, legacy and softcsscade modules; removed latentsvm and datamatrix detector from objdetect. removed haartraining and sft apps. 2014-06-24 19:18:51 +04:00
shape fixed defects from Xcode 2014-02-25 17:33:12 +04:00
stitching optimized stitching warpers 2014-05-15 16:28:34 +04:00
superres Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-03-24 19:02:16 +04:00
ts fixed warnings 2014-06-09 15:54:10 +04:00
video fix according review 2014-05-30 15:44:51 +04:00
videostab Update global_motion.cpp 2014-06-10 17:31:18 +03:00
viz Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-04-14 16:08:02 +04:00
world Merge remote-tracking branch 'origin/2.4' into merge-2.4 2014-05-12 17:38:07 +04:00
CMakeLists.txt
refman.rst.in