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

bool Impala::Core::Stream::Lavc::VideoAccessStrategy::IndexValidTraversingBackwards ( const VideoIndex idx  )  const [inline, private]

Definition at line 640 of file VideoAccessStrategy.h.

References Impala::Core::Stream::Lavc::VideoIndex::IsSeekable(), JumpValidForFrame(), mFailingKeyFrameNr, and NrOfFrames().

Referenced by IndexValid().

00641     {
00642         const int startFrame = 
00643             (mFailingKeyFrameNr < 0) ? NrOfFrames() : mFailingKeyFrameNr;
00644         for (int f = startFrame; f > 0 ; )
00645             if (idx.IsSeekable(--f))
00646             {
00647                 //ResetVideoSrc();
00648                 if (!JumpValidForFrame(f, idx))
00649                 {
00650                     mFailingKeyFrameNr = f;
00651                     return false;
00652                 }
00653             }
00654         return true;
00655     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:18:59 2010 for ImpalaSrc by  doxygen 1.5.1