mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #20163 from smirnov-alexey:as/gapi_serialization_docs
G-API: add documentation on serialization functionality * Add documentation on serialization/deserialization * Add docs on bind() methods * Fix typo * Docs refactoring * Fix s11n docs * Fix deserialize() docs * Change deserialize docs * Fix warning * Address review comments * Fix sample * Fix warnings and errors * Fix docs warnings * Fix warnings * Address review comments * Add prefixes to snippets and fix indentation * Address review comments and move snippets to a single file
This commit is contained in:
@@ -65,11 +65,11 @@ std::vector<char> cv::gapi::serialize(const std::vector<std::string>& vs)
|
||||
|
||||
// FIXME: This function should move from S11N to GRunArg-related entities.
|
||||
// it has nothing to do with the S11N as it is
|
||||
cv::GRunArgsP cv::gapi::bind(cv::GRunArgs &results)
|
||||
cv::GRunArgsP cv::gapi::bind(cv::GRunArgs &out_args)
|
||||
{
|
||||
cv::GRunArgsP outputs;
|
||||
outputs.reserve(results.size());
|
||||
for (cv::GRunArg &res_obj : results)
|
||||
outputs.reserve(out_args.size());
|
||||
for (cv::GRunArg &res_obj : out_args)
|
||||
{
|
||||
using T = cv::GRunArg;
|
||||
switch (res_obj.index())
|
||||
|
||||
Reference in New Issue
Block a user