OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::gapi::wip::onevpl::GSource 類參考

基於 OneVPL 實現的 G-API 流式源。 更多...

#include <opencv2/gapi/streaming/onevpl/source.hpp>

cv::gapi::wip::onevpl::GSource 的協作圖

公共成員函式

 GSource (const std::string &filePath, const CfgParams &cfg_params, const Device &device, const Context &ctx)
 
 GSource (const std::string &filePath, const CfgParams &cfg_params, const std::string &device_id, void *accel_device_ptr, void *accel_ctx_ptr)
 
 GSource (const std::string &filePath, const CfgParams &cfg_params, std::shared_ptr< IDeviceSelector > selector)
 
 GSource (const std::string &filePath, const CfgParams &cfg_params=CfgParams{})
 
 GSource (std::shared_ptr< IDataProvider > source, const CfgParams &cfg_params, const std::string &device_id, void *accel_device_ptr, void *accel_ctx_ptr)
 
 GSource (std::shared_ptr< IDataProvider > source, const CfgParams &cfg_params, std::shared_ptr< IDeviceSelector > selector)
 
 GSource (std::shared_ptr< IDataProvider > source, const CfgParams &cfg_params=CfgParams{})
 
 ~GSource () override
 
GMetaArg descr_of () const override
 
bool pull (cv::gapi::wip::Data &data) override
 
- 從 cv::gapi::wip::IStreamSource 繼承的公共成員函式
virtual ~IStreamSource ()=default
 
virtual void halt ()
 
Ptr ptr ()
 

其他繼承的成員

- 從 cv::gapi::wip::IStreamSource 繼承的公共型別
using Ptr = std::shared_ptr<IStreamSource>
 

詳細描述

基於 OneVPL 實現的 G-API 流式源。

此類實現 IStreamSource 介面。 它的建構函式採用原始檔路徑(以通常的方式)或 onevpl::IDataProvider 介面實現(對於非基於檔案的源)。 它還允許透過使用多個 onevpl::CfgParam 傳遞 oneVPL 配置引數。

注意
流源透過共享指標傳遞給 G-API,因此請使用 gapi::make_onevpl_src<> 建立物件並使用 ptr()GSource 傳遞給 cv::gin()

建構函式 & 解構函式文件

◆ GSource() [1/7]

cv::gapi::wip::onevpl::GSource::GSource ( const std::string & filePath,
const CfgParams & cfg_params = CfgParams{} )

◆ GSource() [2/7]

cv::gapi::wip::onevpl::GSource::GSource ( const std::string & filePath,
const CfgParams & cfg_params,
const std::string & device_id,
void * accel_device_ptr,
void * accel_ctx_ptr )

◆ GSource() [3/7]

cv::gapi::wip::onevpl::GSource::GSource ( const std::string & filePath,
const CfgParams & cfg_params,
const Device & device,
const Context & ctx )

◆ GSource() [4/7]

cv::gapi::wip::onevpl::GSource::GSource ( const std::string & filePath,
const CfgParams & cfg_params,
std::shared_ptr< IDeviceSelector > selector )

◆ GSource() [5/7]

cv::gapi::wip::onevpl::GSource::GSource ( std::shared_ptr< IDataProvider > source,
const CfgParams & cfg_params = CfgParams{} )

◆ GSource() [6/7]

cv::gapi::wip::onevpl::GSource::GSource ( std::shared_ptr< IDataProvider > source,
const CfgParams & cfg_params,
const std::string & device_id,
void * accel_device_ptr,
void * accel_ctx_ptr )

◆ GSource() [7/7]

cv::gapi::wip::onevpl::GSource::GSource ( std::shared_ptr< IDataProvider > source,
const CfgParams & cfg_params,
std::shared_ptr< IDeviceSelector > selector )

◆ ~GSource()

cv::gapi::wip::onevpl::GSource::~GSource ( )
override

成員函式文件

◆ descr_of()

GMetaArg cv::gapi::wip::onevpl::GSource::descr_of ( ) const
overridevirtual

◆ pull()

bool cv::gapi::wip::onevpl::GSource::pull ( cv::gapi::wip::Data & data)
overridevirtual

此類文件由以下檔案生成