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

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

Definition at line 658 of file VideoAccessStrategy.h.

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

Referenced by IndexValid().

00659     {
00660         int startFrame = 0;
00661         for (int f = startFrame; f < mFailingKeyFrameNr; f++)
00662             if (idx.IsSeekable(f))
00663                 startFrame = f;
00664 
00665         ResetVideoSrc();
00666         for (int f = startFrame; f < NrOfFrames(); f++)
00667             if (idx.IsSeekable(f) && !JumpValidForFrame(f, idx))
00668             {
00669                 mFailingKeyFrameNr = f;
00670                 return false;
00671             }
00672         return true;
00673     }

Here is the call graph for this function:


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