Class cv::MediaFrame::IAdapter#

An interface class for MediaFrame data adapters. View details

Collaboration diagram for cv::MediaFrame::IAdapter:

Detailed Description#

An interface class for MediaFrame data adapters.

Implement this interface to wrap media data in the MediaFrame. It makes sense to implement this class if there is a custom cv::gapi::wip::IStreamSource defined — in this case, a stream source can produce MediaFrame objects with this adapter and the media data may be passed to graph without any copy. For example, a GStreamer-based stream source can implement an adapter over GstBuffer and G-API will transparently use it in the graph.

Constructor & Destructor Documentation#

~IAdapter()#

cv::MediaFrame::IAdapter::~IAdapter()

Member Function Documentation#

access()#

MediaFrame::View cv::MediaFrame::IAdapter::access(MediaFrame::Access)

blobParams()#

cv::util::any cv::MediaFrame::IAdapter::blobParams()

deserialize()#

void cv::MediaFrame::IAdapter::deserialize(cv::gapi::s11n::IIStream &)

meta()#

cv::GFrameDesc cv::MediaFrame::IAdapter::meta()

serialize()#

void cv::MediaFrame::IAdapter::serialize(cv::gapi::s11n::IOStream &)

Source file#

The documentation for this class was generated from the following file: