oneVPL++
C++ API Prototype for oneVPL
oneapi::vpl::default_selector Class Reference

Default implemetation selector. It accepts first implementation matching provided properties. More...

#include <impl_selector.hpp>

Inheritance diagram for oneapi::vpl::default_selector:
[legend]
Collaboration diagram for oneapi::vpl::default_selector:
[legend]

Public Member Functions

 default_selector (std::initializer_list< property > list={})
 Protected ctor. More...
 
 default_selector (const std::vector< property > &list)
 Protected ctor. More...
 
bool operator() (std::shared_ptr< base_implementation_capabilities >) const override
 Acccept first found implementation. More...
 
- Public Member Functions inherited from oneapi::vpl::implemetation_selector
virtual ~implemetation_selector ()
 dtor
 
auto session () const
 Creates session which has the requested properties. Session class object calls this method at the ctor and takes care on deletion of loader and session handles. More...
 

Additional Inherited Members

- Protected Member Functions inherited from oneapi::vpl::implemetation_selector
 implemetation_selector (std::initializer_list< property > list={})
 Protected ctor. More...
 
 implemetation_selector (const std::vector< property > &list)
 Protected ctor. More...
 
- Protected Attributes inherited from oneapi::vpl::implemetation_selector
std::vector< propertyopts_
 List of properties.
 
mfxImplCapsDeliveryFormat format_
 Implementation capabilities report format. More...
 

Detailed Description

Default implemetation selector. It accepts first implementation matching provided properties.

Constructor & Destructor Documentation

◆ default_selector() [1/2]

oneapi::vpl::default_selector::default_selector ( std::initializer_list< property list = {})
inlineexplicit

Protected ctor.

Parameters
listList of properties
Here is the call graph for this function:

◆ default_selector() [2/2]

oneapi::vpl::default_selector::default_selector ( const std::vector< property > &  list)
inlineexplicit

Protected ctor.

Parameters
listList of properties

Member Function Documentation

◆ operator()()

bool oneapi::vpl::default_selector::operator() ( std::shared_ptr< base_implementation_capabilities ) const
inlineoverridevirtual

Acccept first found implementation.

Returns
True if implementation found.

Implements oneapi::vpl::implemetation_selector.


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