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

bool Impala::Core::VideoSet::TestVideo::testFrameAccuracyBase ( Stream::RgbDataSrc src,
int  targetFrame,
int  testLevel 
) [inline, private]

Definition at line 251 of file TestVideo.h.

References FailTest(), Impala::Core::Stream::RgbDataSrc::FrameNr(), Impala::Core::Stream::RgbDataSrc::GotoFrame(), ILOG_DEBUG, Impala::Core::Stream::RgbDataSrc::IsFrameAccurate(), and Impala::MakeString().

Referenced by testFrameAccuracyLevel0(), testFrameAccuracyLevel1(), testFrameAccuracyLevel2(), testFrameAccuracyLevel3(), and testFrameAccuracyLevel4().

00252     {
00253         src->GotoFrame(targetFrame);
00254             ILOG_DEBUG("Current frame is " << src->FrameNr());
00255 
00256         if (!src->IsFrameAccurate())
00257         {
00258             String errFrame = MakeString(src->FrameNr());
00259             String level = MakeString(testLevel);
00260             FailTest("Frame accuracy level " + level + " at frame: " + errFrame);
00261             return false;
00262         }
00263 
00264         return true;
00265     }

Here is the call graph for this function:


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