1. 29 11月, 2021 1 次提交
  2. 28 11月, 2021 5 次提交
  3. 27 11月, 2021 9 次提交
  4. 26 11月, 2021 6 次提交
  5. 25 11月, 2021 3 次提交
  6. 24 11月, 2021 4 次提交
    • A
    • C
      Merge pull request #20978 from cudawarped:videocapture_read_raw_enchancement · 97c6ec6d
      cudawarped 提交于
      Add capacity to Videocapture to return the extraData from FFmpeg when required
      
      * Update rawMode to append any extra data recieved during the initial negotiation of an RTSP stream or during the parsing of an MPEG4 file header.
      For h264[5] RTSP streams this ensures the parameter sets if available are always returned on the first call to grab()/read() and has two purposes:
      1) To ensure the parameter sets are available even if they are not transmitted in band.  This is common for axis ip camera's.
      2) To allow callers of VideoCapture::grab()[read()] to write to split the raw stream over multiple files by appending the parameter sets to the begining of any new files.
      For (1) there is no alternative, for (2) if the parameter sets were provided in band it would be possible to parse the raw bit stream and search for the parameter sets however that would be a lot of work when that information is already provided by FFMPEG.
      For MPEG4 files this information is only suplied in the header and is required for decoding.
      
      Two properties are also required to enable the raw encoded bitstream to be written to multiple files, these are;
      1) an indicator as to whether the last frame was a key frame or not - each new file needs to start at a key frame to avoid storing unusable frame diffs,
      2) the length in bytes of the paramater sets contained in the last frame - required to split the paramater sets from the frame without having to parse the stream.  Any call to VideoCapture::get(CAP_PROP_LF_PARAM_SET_LEN) returning a number greater than zero indicates the presense of a parameter set at the begining of the raw bitstream.
      
      * Adjust test data to account for extraData
      
      * Address warning.
      
      * Change added property names and remove paramater set start code check.
      
      * Output extra data on calls to retrieve instead of appending to the first packet.
      
      * Reverted old test case and added new one to evaluate new functionality.
      
      * Add missing definition.
      
      * Remove flag from legacy api.
      Add property to determine if returning extra data is supported.
      Always allow extra data to be returned on calls to cap.retrieve()
      Update test case.
      
      * Update condition which indicates CAP_PROP_CODEC_EXTRADATA_INDEX is not supported in test case.
      
      * Include compatibility for windows dll if not updated.
      Enforce existing return status convention.
      
      * Fix return error and missing test constraints.
      97c6ec6d
    • H
      Merge pull request #20406 from MarkGHX:gsoc_2021_webnn · 1fcf7ba5
      Hanxi Guo 提交于
      [GSoC] OpenCV.js: Accelerate OpenCV.js DNN via WebNN
      
      * Add WebNN backend for OpenCV DNN Module
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Add WebNN head files into OpenCV 3rd partiy files
      
      Create webnn.hpp
      
      update cmake
      
      Complete README and add OpenCVDetectWebNN.cmake file
      
      add webnn.cpp
      
      Modify webnn.cpp
      
      Can successfully compile the codes for creating a MLContext
      
      Update webnn.cpp
      
      Update README.md
      
      Update README.md
      
      Update README.md
      
      Update README.md
      
      Update cmake files and
      
      update README.md
      
      Update OpenCVDetectWebNN.cmake and README.md
      
      Update OpenCVDetectWebNN.cmake
      
      Fix OpenCVDetectWebNN.cmake and update README.md
      
      Add source webnn_cpp.cpp and libary libwebnn_proc.so
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      update dnn.cpp
      
      update op_webnn
      
      update op_webnn
      
      Update op_webnn.hpp
      
      update op_webnn.cpp & hpp
      
      Update op_webnn.hpp
      
      Update op_webnn
      
      update the skeleton
      
      Update op_webnn.cpp
      
      Update op_webnn
      
      Update op_webnn.cpp
      
      Update op_webnn.cpp
      
      Update op_webnn.hpp
      
      update op_webnn
      
      update op_webnn
      
      Solved the problems of released variables.
      
      Fixed the bugs in op_webnn.cpp
      
      Implement op_webnn
      
      Implement Relu by WebNN API
      
      Update dnn.cpp for better test
      
      Update elementwise_layers.cpp
      
      Implement ReLU6
      
      Update elementwise_layers.cpp
      
      Implement SoftMax using WebNN API
      
      Implement Reshape by WebNN API
      
      Implement PermuteLayer by WebNN API
      
      Implement PoolingLayer using WebNN API
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Implement poolingLayer by WebNN API and add more detailed logs
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Remove redundant codes and add more logs for poolingLayer
      
      Add more logs in the pooling layer implementation
      
      Fix the indent issue and resolve the compiling issue
      
      Fix the build problems
      
      Fix the build issue
      
      FIx the build issue
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      * Fix the build issue
      
      * Implement BatchNorm Layer by WebNN API
      
      * Update convolution_layer.cpp
      
      This is a temporary file for Conv2d layer implementation
      
      * Integrate some general functions into op_webnn.cpp&hpp
      
      * Update const_layer.cpp
      
      * Update convolution_layer.cpp
      
      Still have some bugs that should be fixed.
      
      * Update conv2d layer and fc layer
      
      still have some problems to be fixed.
      
      * update constLayer, conv layer, fc layer
      
      There are still some bugs to be fixed.
      
      * Fix the build issue
      
      * Update concat_layer.cpp
      
      Still have some bugs to be fixed.
      
      * Update conv2d layer, fully connected layer and const layer
      
      * Update convolution_layer.cpp
      
      * Add OpenCV.js DNN module WebNN Backend (both using webnn-polyfill and electron)
      
      * Delete bib19450.aux
      
      * Add WebNN backend for OpenCV DNN Module
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Add WebNN head files into OpenCV 3rd partiy files
      
      Create webnn.hpp
      
      update cmake
      
      Complete README and add OpenCVDetectWebNN.cmake file
      
      add webnn.cpp
      
      Modify webnn.cpp
      
      Can successfully compile the codes for creating a MLContext
      
      Update webnn.cpp
      
      Update README.md
      
      Update README.md
      
      Update README.md
      
      Update README.md
      
      Update cmake files and
      
      update README.md
      
      Update OpenCVDetectWebNN.cmake and README.md
      
      Update OpenCVDetectWebNN.cmake
      
      Fix OpenCVDetectWebNN.cmake and update README.md
      
      Add source webnn_cpp.cpp and libary libwebnn_proc.so
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      update dnn.cpp
      
      update op_webnn
      
      update op_webnn
      
      Update op_webnn.hpp
      
      update op_webnn.cpp & hpp
      
      Update op_webnn.hpp
      
      Update op_webnn
      
      update the skeleton
      
      Update op_webnn.cpp
      
      Update op_webnn
      
      Update op_webnn.cpp
      
      Update op_webnn.cpp
      
      Update op_webnn.hpp
      
      update op_webnn
      
      update op_webnn
      
      Solved the problems of released variables.
      
      Fixed the bugs in op_webnn.cpp
      
      Implement op_webnn
      
      Implement Relu by WebNN API
      
      Update dnn.cpp for better test
      
      Update elementwise_layers.cpp
      
      Implement ReLU6
      
      Update elementwise_layers.cpp
      
      Implement SoftMax using WebNN API
      
      Implement Reshape by WebNN API
      
      Implement PermuteLayer by WebNN API
      
      Implement PoolingLayer using WebNN API
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Update pooling_layer.cpp
      
      Implement poolingLayer by WebNN API and add more detailed logs
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      Remove redundant codes and add more logs for poolingLayer
      
      Add more logs in the pooling layer implementation
      
      Fix the indent issue and resolve the compiling issue
      
      Fix the build problems
      
      Fix the build issue
      
      FIx the build issue
      
      Update dnn.cpp
      
      Update dnn.cpp
      
      * Fix the build issue
      
      * Implement BatchNorm Layer by WebNN API
      
      * Update convolution_layer.cpp
      
      This is a temporary file for Conv2d layer implementation
      
      * Integrate some general functions into op_webnn.cpp&hpp
      
      * Update const_layer.cpp
      
      * Update convolution_layer.cpp
      
      Still have some bugs that should be fixed.
      
      * Update conv2d layer and fc layer
      
      still have some problems to be fixed.
      
      * update constLayer, conv layer, fc layer
      
      There are still some bugs to be fixed.
      
      * Update conv2d layer, fully connected layer and const layer
      
      * Update convolution_layer.cpp
      
      * Add OpenCV.js DNN module WebNN Backend (both using webnn-polyfill and electron)
      
      * Update dnn.cpp
      
      * Fix Error in dnn.cpp
      
      * Resolve duplication in conditions in convolution_layer.cpp
      
      * Fixed the issues in the comments
      
      * Fix building issue
      
      * Update tutorial
      
      * Fixed comments
      
      * Address the comments
      
      * Update CMakeLists.txt
      
      * Offer more accurate perf test on native
      
      * Add better perf tests for both native and web
      
      * Modify per tests for better results
      
      * Use more latest version of Electron
      
      * Support latest WebNN Clamp op
      
      * Add definition of HAVE_WEBNN macro
      
      * Support group convolution
      
      * Implement Scale_layer using WebNN
      
      * Add Softmax option for native classification example
      
      * Fix comments
      
      * Fix comments
      1fcf7ba5
    • A
      12c1e1d1
  7. 23 11月, 2021 3 次提交
  8. 22 11月, 2021 1 次提交
    • S
      Merge pull request #21022 from sivanov-work:async_mfp_demux · 02f08879
      Sergey Ivanov 提交于
      G-API: oneVPL Implement asynchronous MFP demux data provider
      
      * Add dummy dmux
      
      * Initial commit for draft versionn
      
      * Demux for low res file works
      
      * Add media source resolver to work over incorrect MIME
      
      * Add MFP Demux logger
      
      * stash changes
      
      * Extend IDataProvider with CodecId, Add troubleshooting info
      
      * Add IDapaProvider dispatcher
      
      * Add ComPtrGuard wrappers
      
      * Add new unit test scope for MFP demux & Add minor changes
      
      * Enhance UTs
      
      * Remove ATL header
      
      * Remove ATL another one
      
      * Fix build
      
      * Add static for some methods
      
      * Initial commit
      
      * Add async demuxing
      
      * Apply tdd idea
      
      * Intro IDataProvider changes: +fetch_bitstream, -fetch_data
      
      * Fix UTs
      
      * Remove IDataProvider::CodecId & Fix EOF hang
      
      * Remove sync demux
      
      * Remove mfp async dependencies
      
      * Remove VPL dependencies from IDataProvider declaration
      
      * Apply comments
      
      * Fix compilation
      
      * Suppress unused warning
      
      * Apply some comments
      
      * Apply some comments
      
      * Apply comments
      02f08879
  9. 20 11月, 2021 3 次提交
  10. 19 11月, 2021 5 次提交