Merge pull request #16031 from aDanPin:dm/streaming_auto_meta
authorPinaev Danil <41565593+aDanPin@users.noreply.github.com>
Tue, 3 Dec 2019 16:14:13 +0000 (19:14 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 3 Dec 2019 16:14:13 +0000 (19:14 +0300)
commit5e3a7ac8a7f4465cfccc9e1a550442fb2f5b8f0c
tree66204eade169932faf8eb4e7cd7a47aa6fa3055a
parent4b0132ed7a7ca2c704b4c9abee8e2f6e180bd791
Merge pull request #16031 from aDanPin:dm/streaming_auto_meta

G-API-NG/Streaming: don't require explicit metadata in compileStreaming()

* First probably working version
Hardcode gose to setSource() :)

* Pre final version of move metadata declaration from compileStreaming() to setSource().

* G-API-NG/Streaming: recovered the existing Streaming functionality

- The auto-meta test is disabling since it crashes.
- Restored .gitignore

* G-API-NG/Streaming: Made the meta-less compileStreaming() work

- Works fine even with OpenCV backend;
- Fluid doesn't support such kind of compilation so far - to be fixed

* G-API-NG/Streaming: Fix Fluid to support meta-less compilation

- Introduced a notion of metadata-sensitive passes and slightly
  refactored GCompiler and GFluidBackend to support that
- Fixed a TwoVideoSourcesFail test on streaming

* Add three smoke streaming tests to gapi_streaming_tests.
All three teste run pipeline with two different input sets
1) SmokeTest_Two_Const_Mats test run pipeline with two const Mats
2) SmokeTest_One_Video_One_Const_Scalar test run pipleline with Mat(video source) and const Scalar
3) SmokeTest_One_Video_One_Const_Vector test run pipeline with Mat(video source) and const Vector
 # Please enter the commit message for your changes. Lines starting

* style fix

* Some review stuff

* Some review stuff
20 files changed:
modules/gapi/include/opencv2/gapi/gcomputation.hpp
modules/gapi/include/opencv2/gapi/streaming/cap.hpp
modules/gapi/include/opencv2/gapi/streaming/source.hpp
modules/gapi/src/api/gbackend.cpp
modules/gapi/src/api/gbackend_priv.hpp
modules/gapi/src/api/gcomputation.cpp
modules/gapi/src/api/gproto.cpp
modules/gapi/src/backends/fluid/gfluidbackend.cpp
modules/gapi/src/compiler/gcompiler.cpp
modules/gapi/src/compiler/gcompiler.hpp
modules/gapi/src/compiler/gislandmodel.cpp
modules/gapi/src/compiler/gislandmodel.hpp
modules/gapi/src/compiler/gmodel.hpp
modules/gapi/src/compiler/gstreaming.cpp
modules/gapi/src/compiler/gstreaming_priv.hpp
modules/gapi/src/compiler/passes/exec.cpp
modules/gapi/src/compiler/passes/passes.hpp
modules/gapi/src/executor/gstreamingexecutor.cpp
modules/gapi/src/executor/gstreamingexecutor.hpp
modules/gapi/test/streaming/gapi_streaming_tests.cpp