OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
gcommon.hpp File Reference
#include <functional>
#include <vector>
#include <type_traits>
#include <opencv2/gapi/opencv_includes.hpp>
#include <opencv2/gapi/util/any.hpp>
#include <opencv2/gapi/util/optional.hpp>
#include <opencv2/gapi/own/exports.hpp>
#include <opencv2/gapi/own/assert.hpp>
#include <opencv2/gapi/render/render_types.hpp>
#include <opencv2/gapi/s11n/base.hpp>
Include dependency graph for gcommon.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  cv::detail::CompileArgTag< cv::graph_dump_path >
 
struct  cv::detail::CompileArgTag< cv::use_threaded_executor >
 
struct  cv::GCompileArg
 Represents an arbitrary compilation argument. More...
 
struct  cv::detail::GOpaqueTraits< T >
 
struct  cv::detail::GOpaqueTraits< bool >
 
struct  cv::detail::GOpaqueTraits< cv::gapi::wip::draw::Prim >
 
struct  cv::detail::GOpaqueTraits< cv::GMat >
 
struct  cv::detail::GOpaqueTraits< cv::Mat >
 
struct  cv::detail::GOpaqueTraits< cv::Point >
 
struct  cv::detail::GOpaqueTraits< cv::Point2f >
 
struct  cv::detail::GOpaqueTraits< cv::Point3f >
 
struct  cv::detail::GOpaqueTraits< cv::Rect >
 
struct  cv::detail::GOpaqueTraits< cv::Scalar >
 
struct  cv::detail::GOpaqueTraits< cv::Size >
 
struct  cv::detail::GOpaqueTraits< double >
 
struct  cv::detail::GOpaqueTraits< float >
 
struct  cv::detail::GOpaqueTraits< int64_t >
 
struct  cv::detail::GOpaqueTraits< std::string >
 
struct  cv::detail::GOpaqueTraits< uint64_t >
 
struct  cv::graph_dump_path
 Ask G-API to dump compiled graph in Graphviz format under the given file name. More...
 
struct  std::hash< cv::GShape >
 
struct  cv::detail::KernelTag
 
struct  cv::detail::TransformTag
 
struct  cv::use_threaded_executor
 Ask G-API to use threaded executor when cv::GComputation is compiled via cv::GComputation::compile method. More...
 
struct  cv::gapi::s11n::detail::wrap_serialize< T >
 

Namespaces

namespace  cv
 
namespace  cv::detail
 
namespace  cv::gapi
 
namespace  cv::gapi::s11n
 This namespace contains G-API serialization and deserialization functions and data structures.
 
namespace  cv::gapi::s11n::detail
 
namespace  std
 STL namespace.
 

Typedefs

using cv::GCompileArgs = std::vector<GCompileArg>
 
using cv::detail::GOpaqueTraitsArrayTypes
 
using cv::detail::GOpaqueTraitsOpaqueTypes
 
template<typename T >
using cv::detail::is_compile_arg = std::is_same<GCompileArg, typename std::decay<T>::type>
 

Enumerations

enum class  cv::GShape : int {
  cv::GMAT ,
  cv::GSCALAR ,
  cv::GARRAY ,
  cv::GOPAQUE ,
  cv::GFRAME
}
 
enum class  cv::detail::OpaqueKind : int {
  cv::detail::CV_UNKNOWN ,
  cv::detail::CV_BOOL ,
  cv::detail::CV_INT ,
  cv::detail::CV_INT64 ,
  cv::detail::CV_DOUBLE ,
  cv::detail::CV_FLOAT ,
  cv::detail::CV_UINT64 ,
  cv::detail::CV_STRING ,
  cv::detail::CV_POINT ,
  cv::detail::CV_POINT2F ,
  cv::detail::CV_POINT3F ,
  cv::detail::CV_SIZE ,
  cv::detail::CV_RECT ,
  cv::detail::CV_SCALAR ,
  cv::detail::CV_MAT ,
  cv::detail::CV_DRAW_PRIM
}
 

Functions

template<typename... Ts>
GCompileArgs cv::compile_args (Ts &&... args)
 Wraps a list of arguments (a parameter pack) into a vector of compilation arguments (cv::GCompileArg).
 
template<typename T >
cv::util::optional< T > cv::gapi::getCompileArg (const cv::GCompileArgs &args)
 Retrieves particular compilation argument by its type from cv::GCompileArgs.
 
cv::GCompileArgscv::operator+= (cv::GCompileArgs &lhs, const cv::GCompileArgs &rhs)