1. 23 Jun, 2015 1 commit
  2. 19 Jun, 2015 1 commit
    • Vladimir Dudnik's avatar
      OpenCV-OpenCL interop (PR #4072): · 217dd63e
      Vladimir Dudnik authored
      Commits:
      added new function, cv::ocl::attachContext(String& platformName, void* platformID, void* context, void* deviceID) which allow to attach externally created OpenCL context to OpenCV.
      add definitions of clRetainDevice, clRetainContext funcs
      removed definitions for clRetainContext, clRetainDevice
      fixed build issue under Linux
      fixed uninitialized vars, replace dbgassert in error handling
      remove function which is not ready yet
      add new function, cv::ocl::convertFromBuffer(int rows, int cols, int type, void* cl_mem_obj, UMat& dst, UMatUsageFlags usageFlags = cv::USAGE_DEFAULT) which attaches user allocated OpenCL clBuffer to UMat
      uncommented clGetMemObjectInfo definition (otherwise prevent opencv build)
      fixed build issue on linux and android
      add step parameter to cv::ocl::convertFromBuffer func
      suppress compile-time warning
      added sample opencl-opencv interoperability (showcase for cv::ocl::convertFromBuffer func)
      CMakeLists.txt modified to not create sample build script if OpenCL SDK not found in system
      fixed build issue (apple opencl include dir and spaces in CMake file)
      added call to clRetainContext for attachContext func and call to clRetainMemObject for convertFromBuffer func
      uncommented clRetainMemObject definition
      added comments and cleanup
      add local path to cmake modules search dirs (instead of replacing)
      remove REQUIRED for find_package call (sample build together with opencv). need to try standalone sample build
      opencl-interop sample moved to standalone build
      set minimum version requirement for sample's cmake to 3.1
      put cmake_minimum_required under condition, so do not check if samples not builded
      remove code dups for setSize, updateContinuityFlag, and finalizeHdr
      commented out cmake_minimum_required(VERSION 3.1)
      add safety check for cmake version
      add convertFromImage func and update opencl-interop sample
      uncommented clGetImageInfo defs
      uncommented clEnqueueCopyImageToBuffer defs
      fixed clEnqueueCopyImageToBuffer defs
      add doxygen comments
      remove doxygen @fn tag
      try to restart buildbot
      add doxygen comments to directx interop funcs
      remove internal header, use fwd declarations in affected compile units instead
      217dd63e
  3. 18 Jun, 2015 1 commit
  4. 20 Mar, 2015 1 commit
  5. 02 Mar, 2015 2 commits
  6. 04 Feb, 2015 1 commit
  7. 23 Jan, 2015 1 commit
  8. 26 Nov, 2014 1 commit
  9. 05 Nov, 2014 1 commit
  10. 24 Oct, 2014 2 commits
  11. 23 Oct, 2014 1 commit
  12. 21 Oct, 2014 2 commits
  13. 15 Oct, 2014 1 commit
    • Pavel Vlasov's avatar
      Implementation detector and selector for IPP and OpenCL; · 45958eaa
      Pavel Vlasov authored
      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;
      45958eaa
  14. 09 Oct, 2014 1 commit
  15. 04 Sep, 2014 1 commit
  16. 03 Sep, 2014 1 commit
  17. 29 Aug, 2014 2 commits
  18. 25 Aug, 2014 3 commits
  19. 15 Aug, 2014 1 commit
  20. 13 Aug, 2014 1 commit
    • Adil Ibragimov's avatar
      Several type of formal refactoring: · 8a4a1bb0
      Adil Ibragimov authored
      1. someMatrix.data -> someMatrix.prt()
      2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
      3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
      4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
      8a4a1bb0
  21. 09 Aug, 2014 1 commit
  22. 24 Jul, 2014 1 commit
  23. 22 Jul, 2014 1 commit
  24. 11 Jul, 2014 1 commit
  25. 09 Jul, 2014 1 commit
    • Zhigang Gong's avatar
      Avoid unmap an umat(ocl) which hasn't been mapped at all. · 2e49ca49
      Zhigang Gong authored
      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: 's avatarZhigang Gong <zhigang.gong@intel.com>
      2e49ca49
  26. 03 Jul, 2014 2 commits
  27. 01 Jul, 2014 1 commit
  28. 23 Jun, 2014 1 commit
  29. 19 Jun, 2014 1 commit
  30. 17 Jun, 2014 1 commit
    • Hans Johnson's avatar
      COMP: Fix problem with narrowing in c++11 · 4c7ed03b
      Hans Johnson authored
      modules/core/src/arithm.cpp:345:51:
      error: constant expression evaluates to 4294967295 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
      static int CV_DECL_ALIGNED(16) v64f_absmask[] = { 0xffffffff, 0x7fffffff, 0xffffffff, 0x7fffffff };
                                                        ^~~~~~~~~~
      
      Converted to unsigned int.  This variable is only used to initialize a bit pattern anywhy for a 128bit type.
      4c7ed03b
  31. 28 May, 2014 1 commit
  32. 23 May, 2014 1 commit
  33. 12 May, 2014 1 commit