2018-09-27 02:50:39 +08:00
|
|
|
// 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) 2018 Intel Corporation
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef OPENCV_GAPI_GPROTO_PRIV_HPP
|
|
|
|
#define OPENCV_GAPI_GPROTO_PRIV_HPP
|
|
|
|
|
|
|
|
#include "opencv2/gapi/gproto.hpp"
|
|
|
|
#include "opencv2/gapi/garg.hpp"
|
|
|
|
|
2019-04-18 02:54:47 +08:00
|
|
|
#include "api/gorigin.hpp"
|
2018-09-27 02:50:39 +08:00
|
|
|
|
|
|
|
namespace cv {
|
|
|
|
namespace gimpl {
|
|
|
|
namespace proto {
|
|
|
|
|
|
|
|
// These methods are used by GModelBuilder only
|
|
|
|
// FIXME: Document semantics
|
|
|
|
|
|
|
|
// FIXME: GAPI_EXPORTS because of tests only!
|
|
|
|
// FIXME: Possible dangling reference alert!!!
|
|
|
|
GAPI_EXPORTS const GOrigin& origin_of (const GProtoArg &arg);
|
|
|
|
GAPI_EXPORTS const GOrigin& origin_of (const GArg &arg);
|
|
|
|
|
|
|
|
bool is_dynamic(const GArg &arg);
|
|
|
|
GProtoArg rewrap (const GArg &arg);
|
|
|
|
|
2020-04-07 05:34:29 +08:00
|
|
|
// FIXME:: GAPI_EXPORTS because of tests only!!
|
|
|
|
GAPI_EXPORTS const void* ptr (const GRunArgP &arg);
|
2020-03-17 16:55:05 +08:00
|
|
|
|
2021-06-10 19:05:46 +08:00
|
|
|
void validate_input_meta_arg(const GMetaArg& meta);
|
|
|
|
void validate_input_meta(const GMatDesc& meta);
|
|
|
|
|
2018-09-27 02:50:39 +08:00
|
|
|
} // proto
|
|
|
|
} // gimpl
|
|
|
|
} // cv
|
|
|
|
|
2020-03-17 16:55:05 +08:00
|
|
|
// FIXME: the gproto.cpp file has more functions that listed here
|
|
|
|
// where those are declared??
|
|
|
|
|
2018-09-27 02:50:39 +08:00
|
|
|
#endif // OPENCV_GAPI_GPROTO_PRIV_HPP
|