OpenCV  4.5.3
Open Source Computer Vision
Classes | Namespaces | Functions
s11n.hpp File Reference
#include <vector>
#include <map>
#include <unordered_map>
#include <opencv2/gapi/s11n/base.hpp>
#include <opencv2/gapi/gcomputation.hpp>
#include <opencv2/gapi/rmat.hpp>

Classes

struct  cv::gapi::s11n::IIStream
 
struct  cv::gapi::s11n::IOStream
 

Namespaces

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

Functions

template<typename T >
static T cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GComputation cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GMetaArgs cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GRunArgs cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
std::vector< std::string > cv::gapi::deserialize (const std::vector< char > &p)
 
template<typename T , typename... Types>
std::enable_if< std::is_same< T, GCompileArgs >::value, GCompileArgs >::type cv::gapi::deserialize (const std::vector< char > &p)
 
template<typename T , typename RMatAdapterType >
std::enable_if< std::is_same< T, GRunArgs >::value, GRunArgs >::type cv::gapi::deserialize (const std::vector< char > &p)
 
template<typename V >
IIStream & cv::gapi::s11n::detail::get_v (IIStream &, V &, std::size_t, std::size_t)
 
template<typename V , typename X , typename... Xs>
IIStream & cv::gapi::s11n::detail::get_v (IIStream &is, V &v, std::size_t i, std::size_t gi)
 
std::unique_ptr< IIStream > cv::gapi::s11n::detail::getInStream (const std::vector< char > &p)
 
template<typename... Ts>
void cv::gapi::s11n::getRunArgByIdx (IIStream &is, cv::util::variant< Ts... > &v, uint32_t idx)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Point &pt)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Point2f &pt)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Size &sz)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Rect &rc)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Scalar &s)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Mat &m)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::UMat &)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::RMat &r)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::gapi::wip::IStreamSource::Ptr &)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::detail::VectorRef &)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::detail::OpaqueRef &)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::MediaFrame &)
 
template<typename K , typename V >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::map< K, V > &m)
 
template<typename K , typename V >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::unordered_map< K, V > &m)
 
template<typename T >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::vector< T > &ts)
 
template<typename... Ts>
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::util::variant< Ts... > &v)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Point &pt)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Point2f &pt)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Size &sz)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Rect &rc)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Scalar &s)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Mat &m)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::UMat &)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::RMat &r)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::gapi::wip::IStreamSource::Ptr &)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::detail::VectorRef &)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::detail::OpaqueRef &)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::MediaFrame &)
 
template<typename K , typename V >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::map< K, V > &m)
 
template<typename K , typename V >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::unordered_map< K, V > &m)
 
template<typename T >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::vector< T > &ts)
 
template<typename... Ts>
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::util::variant< Ts... > &v)
 
template<typename V >
IOStream & cv::gapi::s11n::detail::put_v (IOStream &, const V &, std::size_t)
 
template<typename V , typename X , typename... Xs>
IOStream & cv::gapi::s11n::detail::put_v (IOStream &os, const V &v, std::size_t x)
 
std::vector< char > cv::gapi::serialize (const cv::GComputation &c)
 
std::vector< char > cv::gapi::serialize (const cv::GCompileArgs &)
 
std::vector< char > cv::gapi::serialize (const cv::GMetaArgs &)
 
std::vector< char > cv::gapi::serialize (const cv::GRunArgs &)
 
std::vector< char > cv::gapi::serialize (const std::vector< std::string > &)