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

void Impala::Visualization::VideoNav::Init ( RgbDataSrc src,
bool  allowJump,
double  viewScale 
) [inline, private]

Definition at line 157 of file VideoNav.h.

References Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::Core::Stream::RgbDataSrc::LastFrame(), mAllowJump, mDisplayFrameHash, mLastFrame, mLastFrameHeight, mLastFrameWidth, mLastHash, mMappedFramePos, mRequestedFrame, mScrollDrag, mSrc, mVideoNavListener, and mViewScale.

00158     {
00159         mSrc = src;
00160         mLastFrameWidth = (src) ? src->FrameWidth() : -1;
00161         mLastFrameHeight = (src) ? src->FrameHeight() : -1;
00162         mAllowJump = allowJump;
00163         mViewScale = viewScale;
00164         if (mSrc && (mSrc->LastFrame() > 1000000)) // navigation not supported
00165             mAllowJump = false;
00166         mRequestedFrame = 0;
00167         mMappedFramePos = 0;
00168         mScrollDrag = false;
00169         mVideoNavListener = 0;
00170         SetMakeViewWithRect(true);
00171 
00172         mLastFrame = -1;
00173         mLastHash = "";
00174         mDisplayFrameHash = true;
00175     }

Here is the call graph for this function:


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