1. 23 6月, 2015 1 次提交
  2. 19 6月, 2015 1 次提交
    • V
      OpenCV-OpenCL interop (PR #4072): · 217dd63e
      Vladimir Dudnik 提交于
      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 6月, 2015 1 次提交
  4. 20 3月, 2015 1 次提交
  5. 03 3月, 2015 2 次提交
  6. 04 2月, 2015 1 次提交
  7. 24 1月, 2015 1 次提交
  8. 26 11月, 2014 1 次提交
  9. 06 11月, 2014 1 次提交
  10. 24 10月, 2014 2 次提交
  11. 23 10月, 2014 1 次提交
  12. 21 10月, 2014 2 次提交
  13. 15 10月, 2014 1 次提交
    • P
      Implementation detector and selector for IPP and OpenCL; · 45958eaa
      Pavel Vlasov 提交于
      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 10月, 2014 1 次提交
  15. 04 9月, 2014 1 次提交
  16. 03 9月, 2014 1 次提交
  17. 29 8月, 2014 2 次提交
  18. 25 8月, 2014 3 次提交
  19. 16 8月, 2014 1 次提交
  20. 13 8月, 2014 1 次提交
    • A
      Several type of formal refactoring: · 8a4a1bb0
      Adil Ibragimov 提交于
      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. 10 8月, 2014 1 次提交
  22. 24 7月, 2014 1 次提交
  23. 22 7月, 2014 1 次提交
  24. 11 7月, 2014 1 次提交
  25. 09 7月, 2014 1 次提交
    • Z
      Avoid unmap an umat(ocl) which hasn't been mapped at all. · 2e49ca49
      Zhigang Gong 提交于
      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: NZhigang Gong <zhigang.gong@intel.com>
      2e49ca49
  26. 03 7月, 2014 2 次提交
  27. 01 7月, 2014 1 次提交
  28. 23 6月, 2014 1 次提交
  29. 19 6月, 2014 1 次提交
  30. 18 6月, 2014 1 次提交
    • H
      COMP: Fix problem with narrowing in c++11 · 4c7ed03b
      Hans Johnson 提交于
      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 5月, 2014 1 次提交
  32. 23 5月, 2014 1 次提交
  33. 12 5月, 2014 1 次提交