Hi NVIDIA developers,
I am working with the CUVID decoder API and have a question about reusing an already initialized decoder when handling video formats with resolutions smaller than the configured maximum resolution.
When creating the decoder, I set the maximum resolution using CUVIDDECODECREATEINFO::ulMaxWidth
and CUVIDDECODECREATEINFO::ulMaxHeight
. My understanding is that if the resolution of a new video format is smaller than these maximum values, it is possible to reuse the existing decoder instance without calling cuvidReconfigureDecoder()
.
However, I could not find explicit confirmation of this behavior in the documentation. Can someone clarify:
- Is it safe and efficient to reuse the decoder in this case without reconfiguration?
- Are there any potential issues or limitations I should be aware of when reusing the decoder for smaller resolutions?
- Could you point me to the specific section in the documentation or any official resources that confirm this behavior?
Thank you for your assistance!
Best regards,
Shin