MCPcopy Create free account
hub / github.com/bluescan/tacentview / GetFrameDuration

Method GetFrameDuration

Src/CommandOps.cpp:1725–1732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1723
1724
1725float Command::PostOperationCombine::GetFrameDuration(int frameNum) const
1726{
1727 for (IntervalDurationPair* pair = Durations.Last(); pair; pair = pair->Prev())
1728 if (pair->FrameInterval.Contains(frameNum))
1729 return pair->Duration / 1000.0f;
1730
1731 return 33.0f/1000.0f;
1732}
1733
1734
1735bool Command::PostOperationCombine::Apply(tList<Viewer::Image>& images)

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected