OpenCV  4.8.0
Open Source Computer Vision
Namespaces | Classes | Functions
cv::gapi::s11n Namespace Reference

This namespace contains G-API serialization and deserialization functions and data structures. More...

Namespaces

 detail
 

Classes

struct  IIStream
 This structure is an interface for deserialization routines. More...
 
struct  IOStream
 This structure is an interface for serialization routines. More...
 

Functions

IOStreamoperator<< (IOStream &os, const cv::Point &pt)
 
IOStreamoperator<< (IOStream &os, const cv::Point2f &pt)
 
IOStreamoperator<< (IOStream &os, const cv::Point3f &pt)
 
IOStreamoperator<< (IOStream &os, const cv::Size &sz)
 
IOStreamoperator<< (IOStream &os, const cv::Rect &rc)
 
IOStreamoperator<< (IOStream &os, const cv::Scalar &s)
 
IOStreamoperator<< (IOStream &os, const cv::Mat &m)
 
IOStreamoperator<< (IOStream &os, const cv::UMat &um)
 
IOStreamoperator<< (IOStream &os, const cv::RMat &r)
 
IOStreamoperator<< (IOStream &os, const cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IOStreamoperator<< (IOStream &os, const cv::detail::VectorRef &vr)
 
IOStreamoperator<< (IOStream &os, const cv::detail::OpaqueRef &opr)
 
template<typename K , typename V >
IOStreamoperator<< (IOStream &os, const std::map< K, V > &m)
 
template<typename K , typename V >
IOStreamoperator<< (IOStream &os, const std::unordered_map< K, V > &m)
 
template<typename T >
IOStreamoperator<< (IOStream &os, const std::vector< T > &ts)
 
template<typename... Ts>
IOStreamoperator<< (IOStream &os, const cv::util::variant< Ts... > &v)
 
IIStreamoperator>> (IIStream &is, cv::Point &pt)
 
IIStreamoperator>> (IIStream &is, cv::Point2f &pt)
 
IIStreamoperator>> (IIStream &is, cv::Point3f &pt)
 
IIStreamoperator>> (IIStream &is, cv::Size &sz)
 
IIStreamoperator>> (IIStream &is, cv::Rect &rc)
 
IIStreamoperator>> (IIStream &is, cv::Scalar &s)
 
IIStreamoperator>> (IIStream &is, cv::Mat &m)
 
IIStreamoperator>> (IIStream &is, cv::UMat &um)
 
IIStreamoperator>> (IIStream &is, cv::RMat &r)
 
IIStreamoperator>> (IIStream &is, cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IIStreamoperator>> (IIStream &is, cv::detail::VectorRef &vr)
 
IIStreamoperator>> (IIStream &is, cv::detail::OpaqueRef &opr)
 
template<typename K , typename V >
IIStreamoperator>> (IIStream &is, std::map< K, V > &m)
 
template<typename K , typename V >
IIStreamoperator>> (IIStream &is, std::unordered_map< K, V > &m)
 
template<typename T >
IIStreamoperator>> (IIStream &is, std::vector< T > &ts)
 
template<typename... Ts>
IIStreamoperator>> (IIStream &is, cv::util::variant< Ts... > &v)
 

Detailed Description

This namespace contains G-API serialization and deserialization functions and data structures.

Function Documentation

◆ operator<<() [1/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Point pt 
)

◆ operator<<() [2/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Point2f pt 
)

◆ operator<<() [3/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Point3f pt 
)

◆ operator<<() [4/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Size sz 
)

◆ operator<<() [5/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Rect rc 
)

◆ operator<<() [6/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Scalar s 
)

◆ operator<<() [7/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Mat m 
)

◆ operator<<() [8/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::UMat um 
)

◆ operator<<() [9/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::RMat r 
)

◆ operator<<() [10/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::gapi::wip::IStreamSource::Ptr issptr 
)

◆ operator<<() [11/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::detail::VectorRef vr 
)

◆ operator<<() [12/16]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::detail::OpaqueRef opr 
)

◆ operator<<() [13/16]

template<typename K , typename V >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::map< K, V > &  m 
)

◆ operator<<() [14/16]

template<typename K , typename V >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::unordered_map< K, V > &  m 
)

◆ operator<<() [15/16]

template<typename T >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::vector< T > &  ts 
)

◆ operator<<() [16/16]

template<typename... Ts>
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::util::variant< Ts... > &  v 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ operator>>() [1/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Point pt 
)

◆ operator>>() [2/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Point2f pt 
)

◆ operator>>() [3/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Point3f pt 
)

◆ operator>>() [4/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Size sz 
)

◆ operator>>() [5/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Rect rc 
)

◆ operator>>() [6/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Scalar s 
)

◆ operator>>() [7/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Mat m 
)

◆ operator>>() [8/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::UMat um 
)

◆ operator>>() [9/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::RMat r 
)

◆ operator>>() [10/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::gapi::wip::IStreamSource::Ptr issptr 
)

◆ operator>>() [11/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::detail::VectorRef vr 
)

◆ operator>>() [12/16]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::detail::OpaqueRef opr 
)

◆ operator>>() [13/16]

template<typename K , typename V >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::map< K, V > &  m 
)

◆ operator>>() [14/16]

template<typename K , typename V >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::unordered_map< K, V > &  m 
)

◆ operator>>() [15/16]

template<typename T >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::vector< T > &  ts 
)

◆ operator>>() [16/16]

template<typename... Ts>
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::util::variant< Ts... > &  v 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.