Refactor the nvImageCodec batch decoding to separate the asynchronous scheduling and waiting into distinct methods — specifically, using nvimgcodecDecoderDecode to schedule work in a request() method and nvimgcodecFutureWaitForAll to wait for completion in a wait_batch() method.
Refactor the nvImageCodec batch decoding to separate the asynchronous scheduling and waiting into distinct methods — specifically, using nvimgcodecDecoderDecode to schedule work in a request() method and nvimgcodecFutureWaitForAll to wait for completion in a wait_batch() method.