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.

Capped at 16 workers; by default two cores are reserved for non-codec work. Exports split up to 64 workers across contexts with codec_thread_allocation.