Hardware¶
primo::codecs::Hardware
-
class Hardware : public primo::Reference¶
Enumerates available hardware codecs.
Public Functions
-
virtual void refresh(HwVendor::Enum vendor = HwVendor::None) = 0¶
Scans the system for available hardware codecs and populates the device list.
- Parameters:
vendor – [in] Vendor filter. Only devices that match the specified vendor are queried. By default vendor is HwVendor::None which queries all known devices on the system.
-
virtual HwDeviceList *devices() = 0¶
Returns an immutable list of devices that support hardware-accelerated encoding, decoding or processing.
The returned list exists only in the context of Hardware.
-
virtual void refresh(HwVendor::Enum vendor = HwVendor::None) = 0¶