1. 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
  2. 11 5月, 2021 1 次提交
  3. 26 4月, 2021 1 次提交
  4. 19 4月, 2021 2 次提交
  5. 04 4月, 2021 2 次提交
  6. 01 4月, 2021 2 次提交
  7. 31 3月, 2021 2 次提交
  8. 07 3月, 2021 2 次提交
  9. 03 3月, 2021 4 次提交
  10. 02 3月, 2021 1 次提交
  11. 01 3月, 2021 1 次提交
    • M
      Merge pull request #19460 from mikhail-nikolskiy:videoio-hw · 7bcb51ed
      Mikhail Nikolskii 提交于
      videoio: HW decode/encode in FFMPEG backend; new properties with support in FFMPEG/GST/MSMF
      
      * HW acceleration in FFMPEG backend
      
      * fixes on Windows, remove D3D9
      
      * HW acceleration in FFMPEG backend
      
      * fixes on Windows, remove D3D9
      
      * improve va test
      
      * Copyright
      
      * check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
      
      * CAP_MSMF test on .mp4
      
      * .mp4 in test
      
      * improve va test
      
      * Copyright
      
      * check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
      
      * CAP_MSMF test on .mp4
      
      * .mp4 in test
      
      * .avi for GStreamer test
      
      * revert changes around seek()
      
      * cv_writer_open_with_params
      
      * params.warnUnusedParameters
      
      * VideoCaptureParameters in GStreamer
      
      * open_with_params
      
      * params->getUnused
      
      * Reduce PSNR threshold 33->32 (other tests use 30)
      
      * require FFMPEG 4.0+; PSNR 30 as in other tests
      
      * GStreamer AVI-demux plugin not installed in Ubuntu test environment?
      
      * fix build on very old ffmpeg
      
      * fix build on very old ffmpeg
      
      * fix build issues
      
      * fix build issues (static_cast)
      
      * FFMPEG built on Windows without H264 encoder?
      
      * fix for write_nothing test on VAAPI
      
      * fix warnings
      
      * fix cv_writer_get_prop in plugins
      
      * use avcodec_get_hw_frames_parameters; more robust fallback to SW codecs
      
      * internal function hw_check_device() for device check/logging
      
      * two separate tests for HW read and write
      
      * image size 640x480 in encode test
      
      * WITH_VA=ON (only .h headers used in OpenCV, no linkage dependency)
      
      * exception on VP9 SW encoder?
      
      * rebase master; refine info message
      
      * videoio: fix FFmpeg standalone plugin build
      
      * videoio(ffmpeg): eliminate MSVC build warnings
      
      * address review comments
      
      * videoio(hw): update videocapture_acceleration.read test
      
      - remove parallel decoding by SW code path
      - check PSNR against the original generated image
      
      * videoio: minor fixes
      
      * videoio(test): disable unsupported MSMF cases (SW and HW)
      
      * videoio(test): update PSNR thresholds for HW acceleration read
      
      * videoio(test): update debug messages
      
      * "hw_acceleration" whitelisting parameter
      
      * little optimization in test
      
      * D3D11VA supports decoders, doesn't support encoders
      
      * videoio(test): adjust PSNR threshold in write_read_position tests
      
      * videoio(ffmpeg): fix rejecting on acceleration device name mismatch
      
      * videoio(ffmpeg): fix compilation USE_AV_HW_CODECS=0, add more debug logging
      
      * videoio: rework VideoAccelerationType behavior
      
      - enum is not a bitset
      - default value is backend specific
      - only '_NONE' and '_ANY' may fallback on software processing
      - specific H/W acceleration doesn't fallback on software processing. It fails if there is no support for specified H/W acceleration.
      
      * videoio(test): fix for current FFmpeg wrapper
      Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
      7bcb51ed
  12. 26 2月, 2021 2 次提交
  13. 25 2月, 2021 3 次提交
  14. 24 2月, 2021 1 次提交
  15. 16 2月, 2021 1 次提交
  16. 14 2月, 2021 1 次提交
  17. 29 1月, 2021 1 次提交
    • O
      Merge pull request #19370 from OlivierLDff:patch-dshow-convertrgb · 4c7f5626
      Olivier Le Doeuff 提交于
      VideoCapture/DSHOW : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL/WIDTH/HEIGHT.
      
      * 🐛 cap_dshow : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL
      
      * 🐛 cap_dshow : fix g_VI.setConvertRGB not being called with correct boolean value on first property set.
      
      *  cap_dshow : Test CAP_PROP_CONVERT_RGB persistence
      
      * 🚨 Fix cast from bool to double
      
      * 🚨 Fix trailing whitespace
      4c7f5626
  18. 28 1月, 2021 2 次提交
  19. 22 1月, 2021 1 次提交
  20. 20 1月, 2021 2 次提交
  21. 14 1月, 2021 4 次提交
  22. 15 12月, 2020 1 次提交
  23. 10 12月, 2020 1 次提交
  24. 08 12月, 2020 1 次提交