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

void Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::ScanPackets ( bool  validating  )  [inline, private]

Definition at line 175 of file StrategyIgnoringNativeIndex.h.

References ILOG_DEBUG, Impala::Core::Stream::Lavc::VideoAccessStrategy::mBadFrameCount, Impala::Core::Stream::Lavc::VideoAccessStrategy::mLeadingBadFrameCount, and ScanOnePacket().

Referenced by ScanProtected().

00176     {
00177         int packetCount = 0;
00178         int frameCount = 0;
00179         mBadFrameCount = 0;
00180         mLeadingBadFrameCount = 0;
00181 
00182         // ***************************
00183         // SK: for debugging
00184         bool _limitWork4Debugging = false;
00185         int _myMax = -1;
00186         if (_limitWork4Debugging)
00187         {
00188             _myMax = 30;
00189             _myMax *= 1;
00190         }
00191         else
00192         {
00193             _myMax *= 1;
00194         }
00195 
00196         bool noMorePackets = false;
00197         while (!noMorePackets && !(_limitWork4Debugging && frameCount > _myMax))
00198         // ***************************
00199             noMorePackets = ScanOnePacket(&packetCount, &frameCount, validating);
00200 
00201         ILOG_DEBUG("Scanned " << packetCount << " packets, and found " <<
00202             frameCount << " frames");
00203     }

Here is the call graph for this function:


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