spdl.io.nvdec_decoder

nvdec_decoder(use_cache: bool = True) NvDecDecoder[source]

Instantiate an NvDecDecoder object.

Parameters:

use_cache – If True (default), the decoder isntance cached in thread local storage is used. Otherwise a new decoder instance is created.