Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Visualization::VideoPlayer::HandleMoveToFrame (  )  [inline]

Definition at line 282 of file VideoPlayer.h.

References FrameNr(), GotoFrame(), mMoveToFrameTarget, mOglView, mPlaying, mRgbDataSrc, and StopMoveToFrame().

Referenced by DisplayFunc().

00283     {
00284         if (mMoveToFrameTarget == -1)
00285             return;
00286         if (!mRgbDataSrc || !mOglView || mPlaying)
00287         {
00288             mMoveToFrameTarget = -1;
00289             return;
00290         }
00291         int frameNr = FrameNr();
00292         if (frameNr == -1 || frameNr == mMoveToFrameTarget)
00293             StopMoveToFrame();
00294         else {
00295             int dir = (mMoveToFrameTarget < frameNr) ? -1 : 1;
00296             int inc = (mMoveToFrameTarget - frameNr) / 4;
00297             if (abs(inc)<6) inc = dir;   
00298             GotoFrame(frameNr+inc);
00299         }
00300     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:28 2011 for ImpalaSrc by  doxygen 1.5.1