TimeForFrame
info->activation_time = TimeForFrame(info->activation_frame);
return TimeForFrame(FrameForTime(fCurrentVideoTime));
return TimeForFrame(FrameForTime(min((bigtime_t)fCurrentAudioTime,
return TimeForFrame(NextFrame());
endTime = TimeForFrame(_StateAt(startIndex + 1)->activation_frame);
endTime = TimeForFrame(_SpeedInfoAt(startIndex + 1)->activation_frame);
bigtime_t endTimeForFrame = TimeForFrame(endFrame);
+ bigtime_t(double(startTime - TimeForFrame(startFrame))
+ startTime - TimeForFrame(startFrame);
- bigtime_t(double(startTime - TimeForFrame(startFrame))
- startTime + TimeForFrame(startFrame);
if (TimeForFrame(frame) > time)
else if (TimeForFrame(frame + 1) <= time)
if (TimeForFrame(frame) > time)
else if (TimeForFrame(frame + 1) <= time)
SetCurrentVideoTime(TimeForFrame(frame));
SetPerformanceTime(TimeForFrame(frame));
bigtime_t TimeForFrame(int64 frame) const;
bigtime_t TimeForFrame(int64 frame) const;
performanceTime = fManager->TimeForFrame(fFrame);
nextPerformanceTime = fManager->TimeForFrame(fFrame + 1);