MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / frame_ended

Method frame_ended

DSView/pv/view/decodetrace.cpp:639–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639void DecodeTrace::frame_ended()
640{
641 const uint64_t last_samples = _session->cur_samplelimits() - 1;
642
643 if (_decode_start > last_samples) {
644 _decode_start = 0;
645 _decode_cursor1 = 0;
646 }
647
648 if (_decode_cursor2 == 0 ||
649 _decode_end > last_samples) {
650 _decode_end = last_samples;
651 _decode_cursor2 = 0;
652 }
653
654 decoder()->frame_ended();
655
656 for(auto dec : _decoder_stack->stack()) {
657 dec->set_decode_region(_decode_start, _decode_end);
658 dec->commit();
659 }
660}
661
662void* DecodeTrace::get_key_handel()
663{

Callers

nothing calls this directly

Calls 3

cur_samplelimitsMethod · 0.80
set_decode_regionMethod · 0.80
commitMethod · 0.45

Tested by

no test coverage detected