HwConfig

primo::avblocks::HwConfig

class HwConfig

Global hardware configuration.

Public Functions

virtual bool_t intelMedia() const = 0

Returns whether Intel Quick Sync Video is enabled.

Returns:

TRUE if Intel Quick Sync Video is enabled, FALSE otherwise

virtual void setIntelMedia(bool_t enable) = 0

Enables/disables use of Intel Quick Sync Video.

Parameters:

enable – [in] Specifies whether to enable/disable the hardware codec.

virtual bool_t nvenc() const = 0

Returns whether nVidia NVENC is enabled.

Returns:

TRUE if nVidia NVENC is enabled, FALSE otherwise

virtual void setNvenc(bool_t enable) = 0

Enables/disables use of nVidia NVENC.

Parameters:

enable – [in] Specifies whether to enable/disable the hardware codec.

virtual bool_t amdOpenVideo() const = 0

Returns whether AMD Video Coding Engine is enabled through OpenVideo.

Returns:

TRUE if AMD VCE/OpenVideo is enabled, FALSE otherwise

virtual void setAmdOpenVideo(bool_t enable) = 0

Enables/disables use of AMD Video Coding Engine through OpenVideo.

Parameters:

enable – [in] Specifies whether to enable/disable the hardware codec.

virtual bool_t amdMft() const = 0

Returns whether AMD Video Coding Engine is enabled through Windows Media Foundation.

Returns:

TRUE if AMD VCE/MFT is enabled, FALSE otherwise

virtual void setAmdMft(bool_t enable) = 0

Enables/disables use of AMD Video Coding Engine through Windows Media Foundation.

Parameters:

enable – [in] Specifies whether to enable/disable the hardware codec.

virtual void resetDefault() = 0

Resets hardware configuration settings to the default configuration.