I/IDR only video decode memory optimization in latest Video Codec SDK

Hi all,

the latest Video Codec SDK video decode application note mentions the following as one of the latest improvements:

Memory optimization for I/IDR-frame only decoding: Enables user to achieve memory optimization if the use-case involves decoding of I/IDR frames only. This support is currently available for H.264, support for other codecs will be added in future drivers. It can be enabled through a flag exposed the NVDECODE API.

Ok, but what is the “flag” to use? Looking through the documentation I did not find out how to activate this feature.

Thanks for your help.

Alex

Ok, there is really nothing in the docs, but I finally managed to find the corresponding flag in the code. For anybody who is interested, it is the

CUVIDDECODECREATEINFO.ulIntraDecodeOnly

structure member as defined in dynlink_cuviddec.h

Alex