oneVPL++
C++ API Prototype for oneVPL
oneapi::vpl::extension_buffer_trival< T, ID > Class Template Reference

Utilitary intermediate class to keep extension buffers without pointers. For such classes default copy ctor and operator is used. More...

#include <extension_buffer.hpp>

Inheritance diagram for oneapi::vpl::extension_buffer_trival< T, ID >:
[legend]
Collaboration diagram for oneapi::vpl::extension_buffer_trival< T, ID >:
[legend]

Public Member Functions

 extension_buffer_trival ()
 Default ctor.
 
 extension_buffer_trival (const extension_buffer_trival &other)=default
 Default copy ctor. More...
 
extension_buffer_trivaloperator= (const extension_buffer_trival &other)=default
 Default copy operator. More...
 
- Public Member Functions inherited from oneapi::vpl::extension_buffer< T, ID >
template<typename check = typename std::enable_if<is_extension_buffer::value, mfxExtBuffer>::type>
 extension_buffer ()
 Default ctor.
 
 extension_buffer (const extension_buffer &other)=default
 Default copy ctor. More...
 
extension_bufferoperator= (const extension_buffer &other)=default
 Default copy operator. More...
 
uint32_t get_ID () const
 Returns ID of the extension buffer in a form of FourCC code. More...
 
uint32_t get_size () const
 Returns size of the extension buffer in bytes. More...
 
virtual T & get_ref ()
 Returns reference to underlying C structure with the extension buffer. More...
 
get () const
 Returns instance of underlying C structure with the extension buffer. More...
 
mfxExtBuffer * get_ptr ()
 Returns raw pointer to underlying C structure with the extension buffer. More...
 
- Public Member Functions inherited from oneapi::vpl::extension_buffer_base
 extension_buffer_base ()
 Default ctor.
 
 extension_buffer_base (const extension_buffer_base &other)=default
 Default copy ctor. More...
 
extension_buffer_baseoperator= (const extension_buffer_base &other)=default
 Default copy operator. More...
 
virtual ~extension_buffer_base ()
 Dtor.
 

Additional Inherited Members

- Protected Attributes inherited from oneapi::vpl::extension_buffer< T, ID >
buffer_
 Underlying C structure.
 

Detailed Description

template<typename T, uint32_t ID>
class oneapi::vpl::extension_buffer_trival< T, ID >

Utilitary intermediate class to keep extension buffers without pointers. For such classes default copy ctor and operator is used.

Template Parameters
TC structure
IDAssotiated ID with C structure

Constructor & Destructor Documentation

◆ extension_buffer_trival()

template<typename T, uint32_t ID>
oneapi::vpl::extension_buffer_trival< T, ID >::extension_buffer_trival ( const extension_buffer_trival< T, ID > &  other)
default

Default copy ctor.

Parameters
[in]otheranother object to use as data source

Member Function Documentation

◆ operator=()

template<typename T, uint32_t ID>
extension_buffer_trival& oneapi::vpl::extension_buffer_trival< T, ID >::operator= ( const extension_buffer_trival< T, ID > &  other)
default

Default copy operator.

Parameters
[in]otheranother object to use as data source
Returns
Reference to this object

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