OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::gapi::wip::onevpl Namespace Reference

Classes

struct  CfgParam
 Public class is using for creation of onevpl::GSource instances. More...
 
struct  Context
 
struct  DataProviderException
 
struct  DataProviderImplementationException
 
struct  DataProviderSystemErrorException
 
struct  DataProviderUnsupportedException
 
struct  Device
 
class  GSource
 G-API streaming source based on OneVPL implementation. More...
 
struct  IDataProvider
 Public interface allows to customize extraction of video stream data used by onevpl::GSource instead of reading stream from file (by default). More...
 
struct  IDeviceSelector
 

Typedefs

using CfgParams = std::vector<CfgParam>
 

Enumerations

enum class  AccelType : uint8_t {
  HOST ,
  DX11 ,
  VAAPI ,
  LAST_VALUE = std::numeric_limits<uint8_t>::max()
}
 

Functions

Context create_dx11_context (Context::Ptr ctx_ptr)
 
Device create_dx11_device (Device::Ptr device_ptr, const std::string &device_name)
 
Context create_host_context ()
 
Device create_host_device ()
 
Context create_vaapi_context (Context::Ptr ctx_ptr)
 
Device create_vaapi_device (Device::Ptr device_ptr, const std::string &device_name)
 
std::shared_ptr< IDeviceSelectorgetDefaultDeviceSelector (const std::vector< CfgParam > &cfg_params)
 Provides default device selector based on config.
 
const char * to_cstring (AccelType type)
 

Typedef Documentation

◆ CfgParams

Enumeration Type Documentation

◆ AccelType

enum class cv::gapi::wip::onevpl::AccelType : uint8_t
strong
Enumerator
HOST 
DX11 
VAAPI 
LAST_VALUE 

Function Documentation

◆ create_dx11_context()

Context cv::gapi::wip::onevpl::create_dx11_context ( Context::Ptr ctx_ptr)

◆ create_dx11_device()

Device cv::gapi::wip::onevpl::create_dx11_device ( Device::Ptr device_ptr,
const std::string & device_name )

◆ create_host_context()

Context cv::gapi::wip::onevpl::create_host_context ( )

◆ create_host_device()

Device cv::gapi::wip::onevpl::create_host_device ( )

◆ create_vaapi_context()

Context cv::gapi::wip::onevpl::create_vaapi_context ( Context::Ptr ctx_ptr)

◆ create_vaapi_device()

Device cv::gapi::wip::onevpl::create_vaapi_device ( Device::Ptr device_ptr,
const std::string & device_name )

◆ getDefaultDeviceSelector()

std::shared_ptr< IDeviceSelector > cv::gapi::wip::onevpl::getDefaultDeviceSelector ( const std::vector< CfgParam > & cfg_params)

Provides default device selector based on config.

◆ to_cstring()

const char * cv::gapi::wip::onevpl::to_cstring ( AccelType type)