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

virtual void Impala::Core::VideoSet::Reporter::HandleNewFrame ( VideoSet vs,
int  fileId,
Stream::RgbDataSrc src,
Geometry::Rectangle  rect,
std::string  anno 
) [inline, virtual]

Arrived at a new frame in a "bookmark" walk.

Reimplemented from Impala::Core::VideoSet::Listener.

Definition at line 153 of file Reporter.h.

References AllDoneFrame(), Impala::Core::Stream::RgbDataSrc::FrameNr(), ILOG_DEBUG, ILOG_INFO, Impala::Core::Array::ArraySystem::Instance(), Impala::Core::Array::ArraySystem::MarkMemoryUsage(), mDoPrint, mMaster, mNrDone, mReport, and mTotalNrFramesInBookmarks.

00155     {
00156         if (mMaster)
00157         {
00158             int frameNr = (src) ? src->FrameNr() : 0;
00159             ILOG_DEBUG("..   new frame number = " << frameNr);
00160         }
00161         if (mMaster)
00162         {
00163             mMaster->AllDoneFrame();
00164             return;
00165         }
00166         mDoPrint = false;
00167         mNrDone++;
00168         if ((mReport > 0) && (mNrDone % mReport == 0))
00169             mDoPrint = true;
00170         if (mDoPrint)
00171         {
00172             int nrFrames = mTotalNrFramesInBookmarks;
00173             int perc = (int) (((double)mNrDone / (double)nrFrames) * 100);
00174             ILOG_INFO("--   at nr " << mNrDone << " of " << nrFrames
00175                       << " (" << perc << "%)");
00176         }
00177         Array::ArraySystem::Instance().MarkMemoryUsage(false);
00178     }

Here is the call graph for this function:


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