1. 21 5月, 2021 3 次提交
    • A
    • H
      Merge pull request #19967 from HattrickGenerator:master · 115e4715
      HattrickGenerator 提交于
      * Adding functions rbegin() and rend() functions to matrix class.
      This is important to be more standard compliant with C++ and an ever increasing number of people using standard algorithms for better code readability- and maintainability.
      
      The functions are copy pated from their counterparts (even though they should probably call the counterparts but this gave me some troube).
      They return iterators using std::reverse_iterators
      
      Follow up of an open feature request:
      https://github.com/opencv/opencv/issues/4641
      
      * Fix rbegin() and rend() and provide tests for them
      
      * Removing unnecessary whitespaces
      
      * Adding rbegin and rend to Mat_ class with the right parameters so we don't need to repeat the template argument.
      An instantiating cv::Mat_<int> for example can call it's rbegin() function and doesn't need rbegin<int>() with this convience addition.
      
      Follows what is done for forward iterators
      
      * static cast the vector size (return size_t) to an int (that is required for opencv mat constructor)
      Co-authored-by: NStefan <stefan.gerl@tum.de>
      115e4715
    • A
      Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api · c4df8989
      Anatoliy Talamanov 提交于
      G-API: New python operations API
      
      * Reimplement test using decorators
      
      * Custom python operation API
      
      * Remove wip status
      
      * python: support Python code in bindings (through loader only)
      
      * cleanup, skip tests for Python 2.x (not supported)
      
      * python 2.x can't skip unittest modules
      
      * Clean up
      
      * Clean up
      
      * Fix segfault python3.9
      Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
      c4df8989
  2. 19 5月, 2021 3 次提交
  3. 18 5月, 2021 5 次提交
  4. 17 5月, 2021 3 次提交
  5. 16 5月, 2021 1 次提交
  6. 15 5月, 2021 2 次提交
    • A
      901ed554
    • 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
  7. 14 5月, 2021 4 次提交
  8. 13 5月, 2021 1 次提交
  9. 12 5月, 2021 6 次提交
  10. 11 5月, 2021 3 次提交
  11. 09 5月, 2021 1 次提交
  12. 08 5月, 2021 1 次提交
  13. 07 5月, 2021 2 次提交
  14. 05 5月, 2021 1 次提交
  15. 02 5月, 2021 1 次提交
  16. 01 5月, 2021 3 次提交