Skip to main content

codec_thread_budget

Function codec_thread_budget 

Source
pub fn codec_thread_budget() -> i64
Expand description

Returns the worker budget for one standalone software video codec context.

A standalone context is capped at 16 workers. Without an override, two cores are reserved for non-codec work. The export host uses codec_thread_allocation to divide a budget of up to 64 workers across all active contexts.