Merge pull request #18292 from smirnov-alexey:as/osd_serialization
authorAlexey Smirnov <alexey.smirnov@intel.com>
Mon, 21 Sep 2020 19:08:58 +0000 (22:08 +0300)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 19:08:58 +0000 (19:08 +0000)
commitf6aa9ac304e418af0f2556609f3a467bc50b6e0f
tree4eeaf6a1741cb4d5d1139ef1fc137f0b5b972dd1
parentf52a2cf5e16c5545d8e6cc7bcb1571e4d3c2cddf
Merge pull request #18292 from smirnov-alexey:as/osd_serialization

[G-API]: Support render primitives serialization

* Add GOpaque and GArray serialization support

* Address review comments

* Remove holds() method

* Add serialization mechanism for render primitives

* Fix standalone mode

* Fix wchar_t error on win64

* Fix assert on windows

* Address review comments

* Fix GArray and GOpaque reset() method to store proper kind

* Reset wchar before deserializing it

* Fix wchar_t cross-platform issue

* Address review comments

* Fix wchar_t serialization and tests

* Remove FText serialization
modules/gapi/include/opencv2/gapi/garray.hpp
modules/gapi/include/opencv2/gapi/gcommon.hpp
modules/gapi/include/opencv2/gapi/gopaque.hpp
modules/gapi/include/opencv2/gapi/render/render.hpp
modules/gapi/include/opencv2/gapi/render/render_types.hpp [new file with mode: 0644]
modules/gapi/src/backends/common/serialization.cpp
modules/gapi/src/backends/common/serialization.hpp
modules/gapi/test/gapi_array_tests.cpp
modules/gapi/test/gapi_opaque_tests.cpp
modules/gapi/test/s11n/gapi_s11n_tests.cpp
modules/gapi/test/s11n/gapi_sample_pipelines_s11n.cpp