Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 149 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.

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

Here is the call graph for this function:


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