Blame view

3rdparty/opencv-4.5.4/modules/gapi/src/api/gproto_priv.hpp 1.21 KB
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  // 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"
  
  #include "api/gorigin.hpp"
  
  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);
  
  // FIXME:: GAPI_EXPORTS because of tests only!!
  GAPI_EXPORTS const void*    ptr       (const GRunArgP  &arg);
  
  void validate_input_meta_arg(const GMetaArg& meta);
  void validate_input_meta(const GMatDesc& meta);
  
  } // proto
  } // gimpl
  } // cv
  
  // FIXME: the gproto.cpp file has more functions that listed here
  // where those are declared??
  
  #endif // OPENCV_GAPI_GPROTO_PRIV_HPP