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

bool Impala::Core::VideoSet::TestVideo::testFrameAccuracyLevel3 ( Stream::RgbDataSrc src  )  [inline, private]

Definition at line 188 of file TestVideo.h.

References Impala::Core::Stream::RgbDataSrc::GopSize(), ILOG_DEBUG, ILOG_INFO, ILOG_NDC_POP, ILOG_NDC_PUSH, Impala::Core::Stream::RgbDataSrc::LastFrame(), Impala::MakeString(), Impala::Max(), and testFrameAccuracyBase().

Referenced by testFrameAccuracy().

00189     {
00190         const int level = 3;
00191         ILOG_NDC_PUSH("Level-" << MakeString(level));
00192         ILOG_INFO("Test level " << MakeString(level) << " started");
00193         const int lastFrameNr = src->LastFrame();
00194         int stepSize = Max(2, Max(lastFrameNr / 100, src->GopSize()));
00195         for (int f = lastFrameNr; f >= 0; f -= stepSize)
00196         {
00197             if (f < lastFrameNr)
00198                 ILOG_DEBUG("Going " << stepSize << " backwards");
00199 
00200             if (!testFrameAccuracyBase(src, f, level))
00201             {
00202                 ILOG_NDC_POP;
00203                 return false;
00204             }
00205         }
00206         ILOG_NDC_POP;
00207         return true;
00208     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:32:48 2010 for ImpalaSrc by  doxygen 1.5.1