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

An immutable list of hardware codecs. More...

#include <pp.h>

Public Member Functions

virtual HwCodecat (int32_t index) const =0
 Returns a hardware codec by index.
 
virtual int32_t count () const =0
 Returns the number of hardware codecs in the list.
 

Protected Member Functions

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

Detailed Description

An immutable list of hardware codecs.

Member Function Documentation

◆ at()

virtual HwCodec * at ( int32_t  index) const
pure virtual

Returns a hardware codec by index.

Parameters
index[in] A zero-based index.
Returns
A pointer to the HwCodec object specified by index.

The caller is not required to release the returned object.

◆ count()

virtual int32_t count ( ) const
pure virtual

Returns the number of hardware codecs in the list.

Returns
number of codecs in the list.