opencv/modules/gapi/test/streaming
Dmitry Matveev d19fc1264b
Merge pull request #24178 from dmatveev:dm/streaming_queue
G-API: Introduce a Queue Source #24178

- Added a new IStreamSource class: in fact, a wrapper over a concurrent queue;
- Added minimal example on how it can be used;
- Extended IStreamSource with optional "halt" interface to break the blocking calls in the emitter threads when required to stop.
- Introduced a QueueInput class which allows to pass the whole graph's input vector at once. In fact it is a thin wrapper atop of individual Queue Sources.

There is a hidden trap found with our type system as described in https://github.com/orgs/g-api-org/discussions/2

While it works even in this form, it should be addressed somewhere in the 5.0 timeframe.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2023-09-04 12:48:53 +03:00
..
gapi_gstreamer_pipeline_facade_int_tests.cpp build: eliminate build warnings on Ubuntu 20.04/16.04 2022-12-20 06:46:30 +00:00
gapi_gstreamersource_tests.cpp Merge pull request #21560 from dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source 2022-02-08 16:51:53 +03:00
gapi_streaming_queue_source_tests.cpp Merge pull request #24178 from dmatveev:dm/streaming_queue 2023-09-04 12:48:53 +03:00
gapi_streaming_sync_tests.cpp gapi(build): eliminate Win32 build warning 2021-03-25 22:15:06 +00:00
gapi_streaming_tests.cpp Fix some clang 14 warnings 2023-02-07 01:19:00 +03:00
gapi_streaming_utils_test.cpp Merge pull request #21049 from sivanov-work:vpl_dx11_merge 2021-12-08 07:09:33 +00:00
gapi_streaming_vpl_core_test.cpp Copy mpashchenkov's changes 2022-11-16 14:17:02 +01:00
gapi_streaming_vpl_data_provider.cpp Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux 2022-05-12 08:42:38 +00:00
gapi_streaming_vpl_device_selector.cpp Add VAAPI into tests & VPL sample 2022-07-08 11:43:56 +03:00
gapi_streaming_vpp_preproc_test.cpp Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux 2022-05-12 08:42:38 +00:00