1. 03 6月, 2021 1 次提交
  2. 28 5月, 2021 1 次提交
  3. 15 5月, 2021 1 次提交
    • M
      Merge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat · a604d44d
      Mikhail Nikolskii 提交于
      cv::UMat output/input in VideoCapture/VideoWriter (data stays in GPU memory)
      
      * FFMPEG with UMat input/output
      
      * OpenCL_D3D* context
      
      * fix Linux build
      
      * cosmetic changes
      
      * fix build if USE_AV_HW_CODECS=0
      
      * simplify how child context pointer stored in parent context
      
      * QSV interop with OpenCL on Windows
      
      * detect_msdk.cmake via pkg-config
      
      * fix av_buffer_ref() usage
      
      * revert windows-decode-mfx whitelisting; remove debug msg
      
      * address review comments
      
      * rename property to HW_ACCELERATION_USE_OPENCL
      
      * fix issue with "cl_khr_d3d11_sharing" extension not reported by OpenCL GPU+CPU platform
      
      * core(ocl): add OpenCL stubs for configurations without OpenCL
      
      * videoio(ffmpeg): update #if guards
      
      * Put OpenCL related code under HAVE_OPENCL; simplify reuse of media context from OpenCL context
      
      * videoio(test): skip unsupported tests
      
      - plugins don't support OpenCL/UMat yet
      - change handling of *_USE_OPENCL flag
      
      * videoio(ffmpeg): OpenCL dependency
      
      * videoio(ffmpeg): MediaSDK/oneVPL dependency
      
      * cleanup, logging
      
      * cmake: fix handling of 3rdparty interface targets
      Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
      a604d44d
  4. 21 2月, 2021 2 次提交
  5. 20 2月, 2021 1 次提交
  6. 24 1月, 2021 1 次提交
  7. 18 1月, 2021 1 次提交
  8. 16 12月, 2020 1 次提交
  9. 15 12月, 2020 1 次提交
  10. 14 12月, 2020 1 次提交
  11. 25 11月, 2020 1 次提交
  12. 19 10月, 2020 1 次提交
    • M
      Merge pull request #18593 from masa-iwm:master · 5ac0712c
      masa-iwm 提交于
      Add support thread-local directx (OpenCL interop) initialization
      
      * support thread-local directx (OpenCL interop) initialization
      
      * reflect reviews
      
      * Remove verbose function prototype declarations
      
      * Countermeasures for VC warnings. (declaration of 'platform' hides class member)
      
      * core(directx): remove internal stuff from public headers
      5ac0712c
  13. 26 9月, 2020 1 次提交
  14. 18 9月, 2020 1 次提交
  15. 04 9月, 2020 1 次提交
  16. 02 9月, 2020 1 次提交
  17. 31 8月, 2020 1 次提交
  18. 14 8月, 2020 1 次提交
  19. 02 4月, 2020 1 次提交
  20. 04 3月, 2020 1 次提交
  21. 21 2月, 2020 1 次提交
    • V
      Merge pull request #16608 from vpisarev:fix_mac_ocl_tests · 07b47506
      Vadim Pisarevsky 提交于
      * fixed several problems when running tests on Mac:
      * OCL_pyrUp
      * OCL_flip
      * some basic UMat tests
      * histogram badarg test (out of range access)
      
      * retained the storepix fix in ocl_flip only for 16U/16S datatype, where the OpenCL compiler on Mac generates incorrect code
      
      * moved deletion of ACCESS_FAST flag to non-SVM branch (where SVM is shared virtual memory (in OpenCL 2.x), not support vector machine)
      
      * force OpenCL to use read/write for GPU<=>CPU memory transfers on machines with discrete video only on Macs. On Windows/Linux the drivers are seemingly smart enough to implement map/unmap properly (and maybe more efficiently than explicit read/write)
      07b47506
  22. 06 11月, 2019 1 次提交
    • I
      Fix OpenCL device detection when some OpenCL platform has no devices · cdbfdcc3
      Igor Murzov 提交于
      It's not an error if some OpenCL platform has no devices. This makes
      OpenCL device detection work correctly in the following scenario:
      
      $ OPENCV_OPENCL_DEVICE=:GPU: ./opencv_test_dnn
      
      OpenCV version: 4.1.2-dev
      OpenCV VCS version: 4.1.2-80-g467748ee98-dirty
      Build type: Debug
      Compiler: /usr/bin/g++  (ver 7.4.0)
      Parallel framework: pthreads
      CPU features: SSE SSE2 SSE3 *SSE4.1 *SSE4.2 *FP16 *AVX *AVX2 *AVX512-SKX?
      Intel(R) IPP version: ippIP AVX2 (l9) 2019.0.0 Gold (-) Jul 24 2018
      OpenCL Platforms:
          AMD Accelerated Parallel Processing
          Portable Computing Language
              CPU: pthread-AMD Ryzen 7 2700X Eight-Core Processor (OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-znver1)
          NVIDIA CUDA
              dGPU: GeForce GTX 1080 (OpenCL 1.2 CUDA)
      Current OpenCL device:
          Type = dGPU
          Name = GeForce GTX 1080
          Version = OpenCL 1.2 CUDA
          Driver version = 430.26
      cdbfdcc3
  23. 24 10月, 2019 1 次提交
    • A
      core(tls): implement releasing of TLS on thread termination · 17e2bf57
      Alexander Alekhin 提交于
      - move TLS & instrumentation code out of core/utility.hpp
      - (*) TLSData lost .gather() method (to dispose thread data on thread termination)
      - use TLSDataAccumulator for reliable collecting of thread data
      - prefer using of .detachData() + .cleanupDetachedData() instead of .gather() method
      
      (*) API is broken: replace TLSData => TLSDataAccumulator if gather required
      (objects disposal on threads termination is not available in accumulator mode)
      17e2bf57
  24. 25 9月, 2019 1 次提交
  25. 21 8月, 2019 1 次提交
    • M
      modules/core/src/ocl.cpp: Fix dangling pointer · 0e92ac2a
      Matthias Gehre 提交于
      Detected by clang trunk:
      ```
      opencv/modules/core/src/ocl.cpp:4337:37: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling]
              CV_OCL_CHECK_RESULT(retval, cv::format("clCreateBuffer(capacity=%lld) => %p", (long long int)entry.capacity_, (void*)entry.clBuffer_).c_str());
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      opencv/modules/core/src/ocl.cpp:193:42: note: expanded from macro 'CV_OCL_CHECK_RESULT'
                  if (0) { const char* msg_ = (msg); CV_UNUSED(msg_); /* ensure const char* type (cv::String without c_str()) */ } \
      ```
      because `cv::format` yields a temporary std::string, and thus `msg_` points to a destroyed buffer.
      0e92ac2a
  26. 16 8月, 2019 2 次提交
    • L
      Fix modules/ typos · fcc7d8dd
      luz.paz 提交于
      Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
      
      backporting of commit: ec43292e
      fcc7d8dd
    • L
      Fix modules/ typos · ec43292e
      luz.paz 提交于
      Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
      ec43292e
  27. 25 7月, 2019 1 次提交
  28. 09 4月, 2019 1 次提交
    • A
      ts: test tags for flexible/reliable tests filtering · b38de57f
      Alexander Alekhin 提交于
      - added functionality to collect memory usage of OpenCL sybsystem
      - memory usage of fastMalloc() (disabled by default):
        * It is not accurate sometimes - external memory profiler is required.
      - specify common `CV_TEST_TAG_` macros
      - added applyTestTag() function
      - write memory usage / enabled tags into Google Tests output file (.xml)
      b38de57f
  29. 13 3月, 2019 1 次提交
  30. 07 2月, 2019 1 次提交
  31. 30 1月, 2019 1 次提交
  32. 18 12月, 2018 1 次提交
  33. 24 11月, 2018 1 次提交
  34. 09 11月, 2018 1 次提交
  35. 02 11月, 2018 1 次提交
  36. 16 10月, 2018 1 次提交
  37. 11 10月, 2018 1 次提交
  38. 01 10月, 2018 1 次提交