Merge pull request #18496 from AsyaPronina:comp_args_serialization
authorAnastasiya(Asya) Pronina <anastasiya.pronina@intel.com>
Wed, 7 Oct 2020 21:48:49 +0000 (00:48 +0300)
committerGitHub <noreply@github.com>
Wed, 7 Oct 2020 21:48:49 +0000 (21:48 +0000)
commitaf2f8c69f03ae5ee381d60f2f44bad849bd05e06
tree3fa8b26773990754f4721951bd8de67ae585d328
parent46ccde82cfcfbd8012bcfa165c8505442fab2135
Merge pull request #18496 from AsyaPronina:comp_args_serialization

Serialization && deserialization for compile arguments

* Initial stub

* Add test on serialization of a custom type

* Namespaces rework

* Fix isSupported in test struct

* Fix clang lookup issue

* Initial implementation

* Drop the isSupported flag

* Initial implementation

* Removed internal header inclusion

* Switched to public API

* Implemented serialization

* Adding desirialize: WIP

* Fixed merge errors

* Implemented

* Final polishing

* Addressed review comments and added debug throw

* Added FluidROI test

* Polishing

* Polishing

* Polishing

* Polishing

* Polishing

* Updated CMakeLists.txt

* Fixed comments

* Addressed review comments

* Removed decay from deserialize_arg

* Addressed review comments

* Removed extra inclusion

* Fixed Win64 warning

* Update gcommon.hpp

* Update serialization.cpp

* Update gcommon.hpp

* gapi: drop GAPI_EXPORTS_W_SIMPLE from GCompileArg

Co-authored-by: Smirnov Alexey <alexey.smirnov@intel.com>
Co-authored-by: AsyaPronina <155jj@mail.ru>
modules/gapi/CMakeLists.txt
modules/gapi/include/opencv2/gapi/gcommon.hpp
modules/gapi/include/opencv2/gapi/s11n.hpp
modules/gapi/include/opencv2/gapi/s11n/base.hpp [new file with mode: 0644]
modules/gapi/misc/python/shadow_gapi.hpp
modules/gapi/src/api/s11n.cpp
modules/gapi/src/backends/common/serialization.cpp
modules/gapi/src/backends/common/serialization.hpp
modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp
modules/gapi/test/s11n/gapi_s11n_tests.cpp