HwCodecList

primo::codecs::HwCodecList

class HwCodecList

An immutable list of hardware codecs.

Public Functions

virtual int32_t count() const = 0

Returns the number of hardware codecs in the list.

Returns:

number of codecs in the list.

virtual HwCodec *at(int32_t index) const = 0

Returns a hardware codec by index.

The caller is not required to release the returned object.

Parameters:

index – [in] A zero-based index.

Returns:

A pointer to the HwCodec object specified by index.