OpenCV  4.8.0
Open Source Computer Vision
Classes | Namespaces | Typedefs | Enumerations | Functions
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>

Classes

struct  cv::detail::CompileArgTag< T >
 
struct  cv::detail::CompileArgTag< cv::graph_dump_path >
 
struct  cv::GCompileArg
 Represents an arbitrary compilation argument. More...
 
struct  cv::detail::GOpaqueTraits< T >
 
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::gapi::s11n::detail::wrap_serialize< T >
 
struct  cv::gapi::s11n::detail::wrap_serialize< T >
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::detail
 
 cv::gapi
 
 cv::gapi::s11n
 This namespace contains G-API serialization and deserialization functions and data structures.
 
 cv::gapi::s11n::detail
 

Typedefs

using cv::GCompileArgs = std::vector< GCompileArg >
 
using cv::detail::GOpaqueTraitsArrayTypes = std::tuple< int, double, float, uint64_t, bool, std::string, cv::Size, cv::Scalar, cv::Point, cv::Point2f, cv::Point3f, cv::Mat, cv::Rect, cv::gapi::wip::draw::Prim >
 
using cv::detail::GOpaqueTraitsOpaqueTypes = std::tuple< int, double, float, uint64_t, bool, std::string, cv::Size, cv::Point, cv::Point2f, cv::Point3f, cv::Rect, cv::gapi::wip::draw::Prim >
 
template<typename T >
using cv::detail::is_compile_arg = std::is_same< GCompileArg, typename std::decay< T >::type >
 

Enumerations

enum  cv::GShape : int {
  cv::GShape::GMAT,
  cv::GShape::GSCALAR,
  cv::GShape::GARRAY,
  cv::GShape::GOPAQUE,
  cv::GShape::GFRAME
}
 
enum  cv::detail::OpaqueKind : int {
  cv::detail::OpaqueKind::CV_UNKNOWN,
  cv::detail::OpaqueKind::CV_BOOL,
  cv::detail::OpaqueKind::CV_INT,
  cv::detail::OpaqueKind::CV_INT64,
  cv::detail::OpaqueKind::CV_DOUBLE,
  cv::detail::OpaqueKind::CV_FLOAT,
  cv::detail::OpaqueKind::CV_UINT64,
  cv::detail::OpaqueKind::CV_STRING,
  cv::detail::OpaqueKind::CV_POINT,
  cv::detail::OpaqueKind::CV_POINT2F,
  cv::detail::OpaqueKind::CV_POINT3F,
  cv::detail::OpaqueKind::CV_SIZE,
  cv::detail::OpaqueKind::CV_RECT,
  cv::detail::OpaqueKind::CV_SCALAR,
  cv::detail::OpaqueKind::CV_MAT,
  cv::detail::OpaqueKind::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). More...
 
template<typename T >
cv::util::optional< T > cv::gapi::getCompileArg (const cv::GCompileArgs &args)
 Retrieves particular compilation argument by its type from cv::GCompileArgs. More...
 
cv::GCompileArgscv::operator+= (cv::GCompileArgs &lhs, const cv::GCompileArgs &rhs)