OpenCV
4.5.3
Open Source Computer Vision
|
An interface class for MediaFrame data adapters. More...
#include <opencv2/gapi/media.hpp>
Public Member Functions | |
virtual | ~IAdapter ()=0 |
virtual MediaFrame::View | access (MediaFrame::Access)=0 |
virtual cv::util::any | blobParams () const |
virtual cv::GFrameDesc | meta () const =0 |
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.
|
pure virtual |
|
pure virtual |
|
virtual |
|
pure virtual |