1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #18452 from smirnov-alexey:as/export_serialization_api

[G-API] Export a part of serialization interface

* Initial stub

* Add test on serialization of a custom type

* Namespaces rework

* Fix isSupported in test struct

* Fix clang build and rework namespaces

* Remove redundant header
This commit is contained in:
Alexey Smirnov
2020-10-01 21:11:23 +03:00
committed by GitHub
parent 40b8b58bc6
commit a3e7c2d8e3
9 changed files with 442 additions and 401 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ cv::gimpl::GCompiler::GPtr cv::gimpl::GCompiler::makeGraph(const cv::GComputatio
gm.metadata().set(p);
} else if (cv::util::holds_alternative<cv::GComputation::Priv::Dump>(priv.m_shape)) {
auto c_dump = cv::util::get<cv::GComputation::Priv::Dump>(priv.m_shape);
cv::gimpl::s11n::reconstruct(c_dump, g);
cv::gapi::s11n::reconstruct(c_dump, g);
}
return pG;
}