mirror of
https://github.com/opencv/opencv.git
synced 2026-11-19 15:55:28 -06:00
G-API: Introduce runtime in-graph metadata * G-API: In-graph metadata -- initial implementation * G-API: Finish the in-graph metadata implementation for Streaming * G-API: Fix standalone build & warnings for in-graph metadata * G-API: In-graph meta -- fixed review comments * G-API: Fix issues with desync causing failing tests
34 lines
984 B
C++
34 lines
984 B
C++
// This file is part of OpenCV project.
|
|
// It is subject to the license terms in the LICENSE file found in the top-level directory
|
|
// of this distribution and at http://opencv.org/license.html.
|
|
//
|
|
// Copyright (C) 2020 Intel Corporation
|
|
|
|
#include "precomp.hpp"
|
|
#include <opencv2/gapi/garg.hpp>
|
|
|
|
cv::GRunArg::GRunArg() {
|
|
}
|
|
|
|
cv::GRunArg::GRunArg(const cv::GRunArg &arg)
|
|
: cv::GRunArgBase(static_cast<const cv::GRunArgBase&>(arg))
|
|
, meta(arg.meta) {
|
|
}
|
|
|
|
cv::GRunArg::GRunArg(cv::GRunArg &&arg)
|
|
: cv::GRunArgBase(std::move(static_cast<const cv::GRunArgBase&>(arg)))
|
|
, meta(std::move(arg.meta)) {
|
|
}
|
|
|
|
cv::GRunArg& cv::GRunArg::operator= (const cv::GRunArg &arg) {
|
|
cv::GRunArgBase::operator=(static_cast<const cv::GRunArgBase&>(arg));
|
|
meta = arg.meta;
|
|
return *this;
|
|
}
|
|
|
|
cv::GRunArg& cv::GRunArg::operator= (cv::GRunArg &&arg) {
|
|
cv::GRunArgBase::operator=(std::move(static_cast<const cv::GRunArgBase&>(arg)));
|
|
meta = std::move(arg.meta);
|
|
return *this;
|
|
}
|