unsafe fn probe_session_codecs(
nvenc_lib: &NvencLibrary,
cu_context: CUcontext,
) -> Result<Vec<(Codec, Formats)>, String>Expand description
Open a bare NVENC session on a current CUDA context, list the codecs its device encodes and the formats past 8-bit 4:2:0 it encodes each in, and close it.