DeviceCapabilities

What this device's encoders can actually do.

Built once per process and cached. Check a source against it before planning an export.

Properties

Link copied to clipboard

Every audio encoder the device offers.

Link copied to clipboard

How many hardware encode sessions the device will grant at once, or null when it does not say. A floor rather than a guarantee.

Link copied to clipboard

Whether any encoder here can produce HDR.

Link copied to clipboard

Every video encoder the device offers for a codec this library probes, most preferred first. A codec can appear more than once, one entry per encoder the device offers for it, and the backend that built the list ordered each codec's entries.

Functions

Link copied to clipboard

Looks up what the device can do with codec.

Link copied to clipboard
open override fun toString(): String