OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
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>
#include <opencv2/gapi/media.hpp>
#include <opencv2/gapi/util/util.hpp>
Include dependency graph for s11n.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  cv::gapi::s11n::IIStream
 This structure is an interface for deserialization routines. More...
 
struct  cv::gapi::s11n::IOStream
 This structure is an interface for serialization routines. More...
 

Namespaces

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

Functions

template<>
cv::GComputation cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize GComputation from a byte array.
 
template<>
cv::GMetaArgs cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize GMetaArgs from a byte array.
 
template<>
cv::GRunArgs cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize GRunArgs from a byte array.
 
template<>
std::vector< std::string > cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize std::vector<std::string> from a byte array.
 
template<typename T , typename... Types>
std::enable_if< std::is_same< T, GCompileArgs >::value, GCompileArgs >::type cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize GCompileArgs which types were specified in the template from a byte array.
 
template<typename T , typename AtLeastOneAdapterT , typename... AdapterTypes>
std::enable_if< std::is_same< T, GRunArgs >::value, GRunArgs >::type cv::gapi::deserialize (const std::vector< char > &bytes)
 Deserialize GRunArgs including RMat and MediaFrame objects if any from a byte array.
 
template<typename V >
IIStreamcv::gapi::s11n::detail::get_v (IIStream &, V &, std::size_t, std::size_t)
 
template<typename V , typename X , typename... Xs>
IIStreamcv::gapi::s11n::detail::get_v (IIStream &is, V &v, std::size_t i, std::size_t gi)
 
std::unique_ptr< IIStreamcv::gapi::s11n::detail::getInStream (const std::vector< char > &bytes)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::detail::OpaqueRef &opr)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::detail::VectorRef &vr)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Mat &m)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Point &pt)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Point2f &pt)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Point3f &pt)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Rect &rc)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::RMat &r)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Scalar &s)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::Size &sz)
 
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const cv::UMat &um)
 
template<typename... Ts>
IOStreamcv::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.
 
template<typename K , typename V >
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const std::map< K, V > &m)
 
template<typename K , typename V >
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const std::unordered_map< K, V > &m)
 
template<typename T >
IOStreamcv::gapi::s11n::operator<< (IOStream &os, const std::vector< T > &ts)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::detail::OpaqueRef &opr)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::detail::VectorRef &vr)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Mat &m)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Point &pt)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Point2f &pt)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Point3f &pt)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Rect &rc)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::RMat &r)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Scalar &s)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::Size &sz)
 
IIStreamcv::gapi::s11n::operator>> (IIStream &is, cv::UMat &um)
 
template<typename... Ts>
IIStreamcv::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.
 
template<typename K , typename V >
IIStreamcv::gapi::s11n::operator>> (IIStream &is, std::map< K, V > &m)
 
template<typename K , typename V >
IIStreamcv::gapi::s11n::operator>> (IIStream &is, std::unordered_map< K, V > &m)
 
template<typename T >
IIStreamcv::gapi::s11n::operator>> (IIStream &is, std::vector< T > &ts)
 
template<typename V >
IOStreamcv::gapi::s11n::detail::put_v (IOStream &, const V &, std::size_t)
 
template<typename V , typename X , typename... Xs>
IOStreamcv::gapi::s11n::detail::put_v (IOStream &os, const V &v, std::size_t x)
 
std::vector< char > cv::gapi::serialize (const cv::GCompileArgs &ca)
 
std::vector< char > cv::gapi::serialize (const cv::GComputation &c)
 Serialize a graph represented by GComputation into an array of bytes.
 
std::vector< char > cv::gapi::serialize (const cv::GMetaArgs &ma)
 
std::vector< char > cv::gapi::serialize (const cv::GRunArgs &ra)
 
std::vector< char > cv::gapi::serialize (const std::vector< std::string > &vs)