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

virtual bool Impala::Core::Stream::Lavc::VideoAccessStrategy::DecodeNextValidFrame ( bool  lookForKeyFrame,
PacketTrace pktTrace = 0 
) const [inline, protected, virtual]

Definition at line 385 of file VideoAccessStrategy.h.

References DecodeNextFrame().

Referenced by Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ConstructIndexProtected(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::IsValidSeekTarget(), Jump(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame(), Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ScanProtected(), and Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::ScanProtected().

00386     {
00387         bool isValidFrame;
00388         bool isKeyFrame;
00389         do
00390         {
00391             if (DecodeNextFrame(&isValidFrame, &isKeyFrame, pktTrace) != 0) 
00392                 // eof or error
00393                 return false; 
00394             if (!isValidFrame)
00395             {
00396                 //ILOG_DEBUG("Skipping invalid frame");
00397                 continue;
00398             }
00399             if (lookForKeyFrame && !isKeyFrame)
00400             {
00401                 //ILOG_DEBUG("Skipping non-keyframe");
00402                 continue;
00403             }
00404             break;
00405         } while (true);
00406 
00407         return true;
00408     }

Here is the call graph for this function:


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