MCPcopy Create free account
hub / github.com/NVIDIA/DALI / ReadNextFrame

Method ReadNextFrame

dali/operators/video/frames_decoder_gpu.cc:760–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760bool FramesDecoderGpu::ReadNextFrame(uint8_t *data) {
761 // No more frames in the file
762 if (next_frame_idx_ == -1) {
763 return false;
764 }
765
766 if (HasIndex()) {
767 return ReadNextFrameWithIndex(data);
768 } else {
769 return ReadNextFrameWithoutIndex(data);
770 }
771}
772
773unsigned int FramesDecoderGpu::NumBufferedFrames() const {
774 unsigned int num_buffered = 0;

Callers 3

RunTestMethod · 0.45
VideoInputRunImplMethod · 0.45

Calls 1

HasIndexFunction · 0.85

Tested by 2

RunTestMethod · 0.36