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

virtual bool Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame ( int  frameNr,
const VideoIndex videoIndex 
) const [inline, protected, virtual]

Implements Impala::Core::Stream::Lavc::VideoAccessStrategy.

Definition at line 150 of file StrategyIgnoringNativeIndex.h.

References Impala::Core::Stream::Lavc::VideoAccessObject::CurrentFrameToRgb(), Impala::Core::Stream::Lavc::VideoAccessObject::CurrentHash(), Impala::Core::Stream::Lavc::VideoAccessStrategy::CurrentHashMatchesFrame(), Impala::Core::Stream::Lavc::VideoAccessStrategy::DecodeNextValidFrame(), Impala::Core::Stream::Lavc::VideoAccessStrategy::FrameIsStable(), ILOG_DEBUG, and Impala::Core::Stream::Lavc::VideoAccessStrategy::mVao.

00151     {
00152         if (!DecodeNextValidFrame(false))
00153         {
00154             ILOG_DEBUG("Failed on sequential read for frame " << frameNr);
00155             return false;
00156         }
00157 
00158         if (FrameIsStable(frameNr))
00159         {
00160             mVao->CurrentFrameToRgb();
00161             if (!CurrentHashMatchesFrame(frameNr))
00162             {
00163                 ILOG_DEBUG("Index error for frame " << frameNr << 
00164                     " ; hash found = " << mVao->CurrentHash());
00165                 return false;
00166             }
00167         }
00168 
00169         return true;
00170     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:36 2011 for ImpalaSrc by  doxygen 1.5.1