spdl.io.nvdec_decoder¶
- nvdec_decoder(use_cache: bool = True) NvDecDecoder[source]¶
Instantiate an
NvDecDecoderobject.- Parameters:
use_cache – If
True(default), the decoder instance cached in thread local storage is used. Otherwise a new decoder instance is created.