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

Method SeekFrame

dali/operators/video/frames_decoder_gpu.cc:537–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537void FramesDecoderGpu::SeekFrame(int frame_id) {
538 // Will seek or reset decoder, otherwise we will only skip frames
539 if (frame_id < next_frame_idx_) {
540 SendLastPacket(true);
541 }
542 FramesDecoderBase::SeekFrame(frame_id);
543}
544
545bool FramesDecoderGpu::ReadNextFrameWithIndex(uint8_t *data) {
546 bool copy_to_output = data != nullptr;

Callers 2

RunTestMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 2

RunTestMethod · 0.36
TEST_FFunction · 0.36