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

void Impala::Core::VideoSet::VxsDocument::GotoFrame ( int  frame  )  [inline]

Definition at line 258 of file VxsDocument.h.

References Impala::Core::Stream::RgbDataSrc::DataPtr(), Impala::Core::Stream::RgbDataSrc::FrameNr(), Impala::Core::Stream::RgbDataSrc::GotoFrame(), mCurrentFrame, mCurSrc, and Impala::Core::Stream::RgbDataSrc::NextFrame().

00259     {
00260         if (frame == -1)
00261         {
00262             mCurrentFrame = -1;
00263             return;
00264         }
00265         if (mCurSrc)
00266         {
00267             mCurSrc->GotoFrame(frame);
00268             int nStartRetry = 3;
00269             while ((nStartRetry > 0) && (mCurSrc->DataPtr() == 0))
00270             {
00271                 std::cout << "Skipping empty frame" << std::endl;
00272                 nStartRetry--;
00273                 mCurSrc->NextFrame();
00274             }
00275             mCurrentFrame = mCurSrc->FrameNr();
00276         }
00277     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:18 2011 for ImpalaSrc by  doxygen 1.5.1