Definition at line 223 of file VideoPlayer.h. References Impala::Core::Stream::RgbDataSrc::FrameNr(), GotoFrame(), mEndFrame, mLoopVideo, mRgbDataSrc, and mStartFrame. Referenced by KeyboardFunc(), and Impala::Visualization::VideoPlayerControl::OnRadioButton(). 00224 { 00225 if (!mRgbDataSrc) 00226 return; 00227 int fr = mRgbDataSrc->FrameNr() + inc; 00228 if (inc > 0 && fr >= mEndFrame) 00229 fr = mLoopVideo ? mStartFrame : mEndFrame; 00230 if (inc < 0 && fr < mStartFrame) 00231 fr = mLoopVideo ? mEndFrame : mStartFrame; 00232 if (fr != mRgbDataSrc->FrameNr()) 00233 GotoFrame(fr); 00234 }
Here is the call graph for this function:
|