Merge pull request #16081 from dmatveev:dm/ocv42_gapi_bugfixes
authorDmitry Matveev <dmitry.matveev@intel.com>
Tue, 10 Dec 2019 10:31:43 +0000 (13:31 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 10 Dec 2019 10:31:42 +0000 (13:31 +0300)
commit9a18330f3a1a5eddb5e4f23e8daa9534d83fa8c6
treea88f55fbf4ea0578b322bc39f8fb89f7021aa172
parentc89780dfe0304fe0b884015bb0573f811de8bbca
Merge pull request #16081 from dmatveev:dm/ocv42_gapi_bugfixes

G-API: Fix various issues for 4.2 release

* G-API: Fix issues reported by Coverity

- Fixed: passing values by value instead of passing by reference

* G-API: Fix redundant std::move()'s in return statements

Fixes #15903

* G-API: Added a smarter handling of Stop messages in the pipeline

- This should fix the "expected 100, got 99 frames" problem
- Fixes #15882

* G-API: Pass enum instead of GKernelPackage in Streaming test parameters

- Likely fixes #15836

* G-API: Address review issues in new bugfix comments
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
modules/gapi/src/compiler/gmodel.cpp
modules/gapi/src/compiler/gmodel.hpp
modules/gapi/src/executor/gstreamingexecutor.cpp
modules/gapi/src/executor/gstreamingexecutor.hpp
modules/gapi/test/internal/gapi_int_pattern_matching_test.cpp
modules/gapi/test/streaming/gapi_streaming_tests.cpp