Definition at line 85 of file VideoJpgPlayer.h. References Impala::Visualization::Video::GetNrOfFirstFrame(), Impala::Visualization::Video::GetNrOfLastFrame(), Impala::Visualization::Video::GetTimePerFrame(), OglGui::OglWindow::H(), IsPower2(), mArray, mFirstFrameNr, mFrameNr, mImH, mImW, mIncrement, mLastFrameNr, mLastReadFrameNr, mNewFrame, mOglView, OglGui::OglWindow::mOglWnd, mPower2H, mPower2W, mShowMaxFrameNr, mTimePerFrame, mVideo, OglImageReadFirstFrame(), and OglGui::OglWindow::W(). Referenced by Impala::Application::SDash::SurveillanceApp::GuiEvent(), Init(), and Impala::Application::SDash::SurveillanceApp::VideoInspect(). 00086 { 00087 mVideo = &video; 00088 00089 if (mOglView) 00090 viewSys.SetImage(mOglView,0); 00091 mArray = 0; 00092 00093 mTimePerFrame = mVideo->GetTimePerFrame(); 00094 mFirstFrameNr = mVideo->GetNrOfFirstFrame(); 00095 mLastFrameNr = mShowMaxFrameNr = mVideo->GetNrOfLastFrame(); 00096 mFrameNr = mFirstFrameNr; 00097 mIncrement = 1; 00098 mNewFrame = false; 00099 mLastReadFrameNr = -999999; 00100 00101 OGLIMAGE* im = OglImageReadFirstFrame(); 00102 IsPower2(mImW, &mPower2W); 00103 IsPower2(mImH, &mPower2H); 00104 im->noTexScaling = 1; 00105 00106 if (!mOglView) 00107 { 00108 mOglView = viewSys.View2D(mOglWnd, NULL, 0, 0, W(), H()); 00109 viewSys.SetColor(mOglView, OGL_BG, 0x400000ff); 00110 viewSys.SetTexturing(mOglView, true); 00111 viewSys.SetTags(mOglView, FlexViewTags & ~deletableTag); 00112 viewSys.SetTags(mOglView, selectedTag); 00113 } 00114 00115 if (mOglView) 00116 viewSys.SetImage(mOglView, im); 00117 oglSys.ReleaseOglImage(im); 00118 }
Here is the call graph for this function:
|