Blame view

3rdparty/opencv-4.5.4/modules/gapi/src/backends/common/gcompoundbackend.cpp 660 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  // 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
  
  
  #include "precomp.hpp"
  
  #include <opencv2/gapi/gcompoundkernel.hpp> // compound::backend()
  
  #include "api/gbackend_priv.hpp"
  #include "compiler/gislandmodel.hpp" // GIslandExecutable
  
  cv::gapi::GBackend cv::gapi::compound::backend()
  {
      // A pointer to dummy Priv is used to uniquely identify backends
      static cv::gapi::GBackend this_backend(std::make_shared<cv::gapi::GBackend::Priv>());
      return this_backend;
  }