github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/opencv4/include/opencv2/gapi/streaming/sync.hpp (about)

     1  // This file is part of OpenCV project.
     2  // It is subject to the license terms in the LICENSE file found in the top-level directory
     3  // of this distribution and at http://opencv.org/license.html.
     4  //
     5  // Copyright (C) 2021 Intel Corporation
     6  
     7  #ifndef OPENCV_GAPI_STREAMING_SYNC_HPP
     8  #define OPENCV_GAPI_STREAMING_SYNC_HPP
     9  
    10  namespace cv {
    11  namespace gapi {
    12  namespace streaming {
    13  
    14  enum class sync_policy {
    15      dont_sync,
    16      drop
    17  };
    18  
    19  } // namespace streaming
    20  } // namespace gapi
    21  
    22  namespace detail {
    23      template<> struct CompileArgTag<gapi::streaming::sync_policy> {
    24          static const char* tag() { return "gapi.streaming.sync_policy"; }
    25      };
    26  
    27  } // namespace detail
    28  } // namespace cv
    29  
    30  #endif // OPENCV_GAPI_STREAMING_SYNC_HPP