AVBlocks for C++  2.1
Audio and Video Software Development Kit
HwCodecList Class Referenceabstract

An immutable list of hardware codecs. More...

Public Member Functions

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

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

virtual HwCodec* at ( int32_t  index) const
pure virtual

Returns a hardware codec by index.

Parameters
index[in] A zero-based index.
@return A pointer to the HwCodec object specified by <i>index</i>.

The caller is not required to release the returned object.

virtual int32_t count ( ) const
pure virtual

Returns the number of hardware codecs in the list.

Returns
number of codecs in the list.