Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
device_quotas.hpp File Reference
#include <pulp/platform/device_capability.hpp>
#include <compare>
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Classes

struct  pulp::format::DeviceQuotas
 Ceilings a consumer may grant at one (tier, thermal state) cell. More...

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.
namespace  pulp::format::detail
 The plugin processor interface.

Enumerations

enum class  pulp::format::PreviewQuality : std::uint8_t { pulp::format::Disabled = 0 , pulp::format::Reduced = 1 , pulp::format::Full = 2 }
 How much work a preview render may do, ascending in cost. More...

Functions

constexpr DeviceQuotas pulp::format::device_quotas (platform::DeviceCapabilityTier tier, platform::ThermalState thermal)
 Returns the quotas granted at one tier under one live thermal state.

Variables

constexpr DeviceQuotas pulp::format::detail::kQuotaTable [platform::kDeviceCapabilityTierCount][platform::kThermalStateCount]
 The quota table, indexed [tier][thermal state].