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

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

Definition at line 176 of file StrategyIgnoringNativeIndex.h.

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

Referenced by ScanProtected().

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

Here is the call graph for this function:


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