Merge pull request #20785 from smirnov-alexey:as/oak_backend
authorAlexey Smirnov <alexey.smirnov@intel.com>
Mon, 17 Jan 2022 22:56:01 +0000 (01:56 +0300)
committerGitHub <noreply@github.com>
Mon, 17 Jan 2022 22:56:01 +0000 (22:56 +0000)
commitf2d5d6d24ecda47115547c800e47b2915787f23e
treedcad72a6d0e385388cac4f424278ff77e824ee31
parenta1ec4ea3a95e2512a0cb5344450423a08ff82088
Merge pull request #20785 from smirnov-alexey:as/oak_backend

GAPI: Add OAK backend

* Initial tests and cmake integration

* Add a public header and change tests

* Stub initial empty template for the OAK backend

* WIP

* WIP

* WIP

* WIP

* Runtime dai hang debug

* Refactoring

* Fix hang and debug frame data

* Fix frame size

* Fix data size issue

* Move test code to sample

* tmp refactoring

* WIP: Code refactoring except for the backend

* WIP: Add non-camera sample

* Fix samples

* Backend refactoring wip

* Backend rework wip

* Backend rework wip

* Remove mat encoder

* Fix namespace

* Minor backend fixes

* Fix hetero sample and refactor backend

* Change linking logic in the backend

* Fix oak sample

* Fix working with ins/outs in OAK island

* Trying to fix nv12 problem

* Make both samples work

* Small refactoring

* Remove meta args

* WIP refactoring kernel API

* Change in/out args API for kernels

* Fix build

* Fix cmake warning

* Partially address review comments

* Partially address review comments

* Address remaining comments

* Add memory ownership

* Change pointer-to-pointer to reference-to-pointer

* Remove unnecessary reference wrappers

* Apply review comments

* Check that graph contains only one OAK island

* Minor refactoring

* Address review comments
modules/gapi/CMakeLists.txt
modules/gapi/cmake/init.cmake
modules/gapi/include/opencv2/gapi/oak/oak.hpp [new file with mode: 0644]
modules/gapi/samples/oak_rgb_camera_encoding.cpp [new file with mode: 0644]
modules/gapi/samples/oak_small_hetero_pipeline.cpp [new file with mode: 0644]
modules/gapi/src/backends/oak/goak.cpp [new file with mode: 0644]
modules/gapi/src/backends/oak/goak_media_adapter.cpp [new file with mode: 0644]
modules/gapi/src/backends/oak/goakbackend.cpp [new file with mode: 0644]
modules/gapi/src/backends/oak/oak_media_adapter.hpp [new file with mode: 0644]
modules/gapi/test/oak/gapi_tests_oak.cpp [new file with mode: 0644]