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

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

Definition at line 619 of file VideoAccessStrategy.h.

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

Referenced by ConstructIndex().

00620     {
00621         VideoIndex* videoIndex = ConstructIndexProtected();
00622         if (videoIndex == 0)
00623             return 0;
00624 
00625         // disable the index' seekable entries that appear to be invalid
00626         while (!IndexValid(*videoIndex))
00627         {
00628             int failingFrameNr = mFailingKeyFrameNr;
00629             ILOG_DEBUG("Disabling invalid video index entry for frame " << 
00630                 failingFrameNr);
00631             if (!videoIndex->SetNotSeekable(failingFrameNr))
00632             {
00633                 ILOG_ERROR("Index entry could not be disabled for frame " << 
00634                     failingFrameNr);
00635                 delete videoIndex;
00636                 return 0;
00637             }
00638         }
00639 
00640         ILOG_DEBUG("Index validated");
00641 
00642         return videoIndex;
00643     }

Here is the call graph for this function:


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