Skip to main content

check_cu_encode

Function check_cu_encode 

Source
pub fn check_cu_encode(result: CUresult, context: &str) -> Result<()>
Expand description

Convert a CUDA result to an engine Result, mapping failures to EngineError::Encode.

Use in encode-side code paths (NVENC session, context switching for encoder, stream sync during encode).