OpenCV  4.5.5-dev
Open Source Computer Vision
Classes | Functions
Gapi_data_structures

Extra G-API data structures used to pass input/output data to the graph for processing. More...

Classes

class  cv::MediaFrame::IAdapter
 An interface class for MediaFrame data adapters. More...
 
class  cv::MediaFrame
 cv::MediaFrame class represents an image/media frame obtained from an external source. More...
 
class  cv::RMat
 
class  cv::MediaFrame::View
 Provides access to the MediaFrame's underlying data. More...
 

Functions

template<class T , class... Args>
static cv::MediaFrame cv::MediaFrame::Create (Args &&... args)
 Constructs a MediaFrame with the given parameters for the Adapter. The adapter of type T is costructed on the fly. More...
 
template<typename T , typename... Ts>
RMat cv::make_rmat (Ts &&... args)
 

Detailed Description

Extra G-API data structures used to pass input/output data to the graph for processing.

Function Documentation

◆ Create()

template<class T , class... Args>
cv::MediaFrame cv::MediaFrame::Create ( Args &&...  args)
inlinestatic

#include <opencv2/gapi/media.hpp>

Constructs a MediaFrame with the given parameters for the Adapter. The adapter of type T is costructed on the fly.

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

Parameters
argslist of arguments to construct an adapter of type T.

◆ make_rmat()

template<typename T , typename... Ts>
RMat cv::make_rmat ( Ts &&...  args)