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

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

Definition at line 164 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().

00165     {
00166         const int level = 2;
00167         ILOG_NDC_PUSH("Level-" << MakeString(level));
00168         ILOG_INFO("Test level " << MakeString(level) << " started");
00169         const int lastFrameNr = src->LastFrame();
00170         int stepSize = Max(2, Max(lastFrameNr / 100, src->GopSize()));
00171         for (int f = 0; f <= lastFrameNr; f += stepSize)
00172         {
00173             if (f > 0)
00174                 ILOG_DEBUG("Going " << stepSize << " forwards");
00175 
00176             if (!testFrameAccuracyBase(src, f, level))
00177             {
00178                 ILOG_NDC_POP;
00179                 return false;
00180             }
00181         }
00182         ILOG_NDC_POP;
00183         return true;
00184     }

Here is the call graph for this function:


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