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

VideoIndex* Impala::Core::Stream::Lavc::VideoAccessStrategy::ConstructIndexPrivate (  )  [inline, private]

Definition at line 605 of file VideoAccessStrategy.h.

References ConstructIndexProtected(), ILOG_DEBUG, ILOG_ERROR, IndexValid(), mFailingKeyFrameNr, and Impala::Core::Stream::Lavc::VideoIndex::SetNotSeekable().

Referenced by ConstructIndex().

00606     {
00607         VideoIndex* videoIndex = ConstructIndexProtected();
00608         if (videoIndex == 0)
00609             return 0;
00610 
00611         // disable the index' seekable entries that appear to be invalid
00612         while (!IndexValid(*videoIndex))
00613         {
00614             int failingFrameNr = mFailingKeyFrameNr;
00615             ILOG_DEBUG("Disabling invalid video index entry for frame " << 
00616                 failingFrameNr);
00617             if (!videoIndex->SetNotSeekable(failingFrameNr))
00618             {
00619                 ILOG_ERROR("Index entry could not be disabled for frame " << 
00620                     failingFrameNr);
00621                 delete videoIndex;
00622                 return 0;
00623             }
00624         }
00625 
00626         ILOG_DEBUG("Index validated");
00627 
00628         return videoIndex;
00629     }

Here is the call graph for this function:


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