AVBlocks for C++  3.0
Audio and Video Software Development Kit
Loading...
Searching...
No Matches
HwCodec Class Referenceabstract

Describes a hardware encoder, decoder or filter. More...

#include <pp.h>

Public Member Functions

virtual HwApi::Enum api () const =0
 Returns hardware API.
 
virtual HwEngine::Enum engine () const =0
 Returns hardware engine.
 
virtual const char_t * name () const =0
 Returns hardware codec name.
 
virtual HwCodecType::Enum type () const =0
 Returns hardware codec type.
 

Protected Member Functions

virtual ~HwCodec ()
 This object can be destroyed only by the library.
 

Detailed Description

Describes a hardware encoder, decoder or filter.

Member Function Documentation

◆ api()

virtual HwApi::Enum api ( ) const
pure virtual

Returns hardware API.

Returns
HwApi constant.
See also
HwApi::Enum

◆ engine()

virtual HwEngine::Enum engine ( ) const
pure virtual

Returns hardware engine.

Returns
HwEngine constant.
See also
HwEngine::Enum

◆ name()

virtual const char_t * name ( ) const
pure virtual

Returns hardware codec name.

Returns
A pointer to zero terminated ANSI string. The returned pointer cannot be NULL.

◆ type()

virtual HwCodecType::Enum type ( ) const
pure virtual

Returns hardware codec type.

Returns
HwCodecType constant.
See also
HwCodecType::Enum