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

Impala::Visualization::RgbDataSrcLavcTestGUI::RgbDataSrcLavcTestGUI ( int  x,
int  y,
bool  doZoom,
bool  mainIs2d,
bool  vpIs2d,
RgbDataSrcLavc src 
) [inline]

Definition at line 962 of file RgbDataSrcLavcTestGUI.h.

References Impala::Visualization::PropertySheet::ContentPane(), OglGui::Tabs::CreateTab(), Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::CmdOptions::GetInstance(), Impala::Core::Stream::RgbDataSrc::GetName(), Impala::Visualization::AppController::Instance(), Impala::Visualization::AppController::MainLoop(), Impala::Core::VideoSet::MakeVideoSet(), mCPropSheet, mDDCodec, mDDFormat, mDDFrame, mDDPacket, mDDStream, mFPropSheet, mFrPropSheet, mLavcsrc, mPPropSheet, mSPropSheet, mTabs, mVideoCtrl, mVideoNav, mVideoSet, OglGui::Tabs::SetActiveTab(), OglGui::OglWindow::SetAlwaysDraw(), OglGui::OglWindow::SetBackground(), OglGui::OglWindow::SetDimensions(), OglGui::Window::SetForeground(), SetSource(), Impala::Visualization::VideoNav::SetVideoNavListener(), and OglGui::OglWindow::W().

00964     : Window(x, y, 1280, SuggestWndHeight(1, src->FrameHeight()+550),
00965               mainIs2d),
00966       AppControlSrc(1)
00967     {
00968         //Get The Command line options
00969         CmdOptions& options = CmdOptions::GetInstance();
00970 
00971         //Set the source
00972         SetSource(src);
00973         mLavcsrc=src;
00974         SetForeground(oglDARKGREY);
00975         SetBackground(oglLIGHTGREY);
00976         mTabs = new Tabs(this, src->FrameWidth()+20, src->FrameHeight()+70);
00977 
00978         mVideoNav = new VideoNav(mTabs->CreateTab("Video", 80), src);
00979         mVideoNav->SetVideoNavListener(this);
00980 
00981         /*
00982          * mFrameView = new View(mTabs->CreateTab("Frame",80)->GetOGLWND(),
00983                     0, 60,
00984                     src->FrameWidth()+10,
00985                     src->FrameHeight()+10,1,true,true,true);
00986         */
00987         mTabs->SetActiveTab(0);
00988 
00989         //standart video navigation stuff
00990 //        mStaticText=
00991         mVideoCtrl=new FFMPEGControl(this,W()-src->FrameWidth()-50,70+src->FrameHeight(),src,this);
00992         mFPropSheet = new PropertySheet(this, 250, 500);
00993         mCPropSheet = new PropertySheet(this, 250, 500);
00994         mFrPropSheet= new PropertySheet(this, 250, 500);
00995         mSPropSheet = new PropertySheet(this, 250, 500);
00996         mPPropSheet = new PropertySheet(this, 250, 500);
00997 
00998 
00999 
01000         //mDropDown = new DropDownWindow(content,400,20,"FFMPEG Structs");
01001 
01002         OglGui::Window*  content   = mFPropSheet->ContentPane();
01003         content->SetDimensions(0, 0, 250, 4000);
01004         mDDFormat = new AVFormatDD(content,240,20,"Format Context");
01005         
01006         content   = mCPropSheet->ContentPane();
01007         content->SetDimensions(0, 0, 250, 4000);
01008         mDDCodec  = new AVCodecDD(content,240,20,"CodecContext");
01009         
01010         content   = mFrPropSheet->ContentPane();
01011         content->SetDimensions(0, 0, 250, 4000);
01012         mDDFrame  = new AVFrameDD(content,240,20,"Frame");
01013         
01014         content   = mSPropSheet->ContentPane();
01015         content->SetDimensions(0, 0, 250, 4000);
01016         mDDStream  = new AVStreamDD(content,240,20,"Stream");
01017 
01018         content   = mPPropSheet->ContentPane();
01019         content->SetDimensions(0, 0, 250, 4000);
01020         mDDPacket  = new AVPacketDD(content,240,20,"Packet");
01021 
01022         mVideoSet = MakeVideoSet(src->GetName());
01023         mVideoCtrl->SetBackground(oglTrLIGHTGREEN);
01024         //WriteRawFrames();
01025         //TempTest();
01026 
01027 #ifdef OGL_USING_GLUT
01028         SetAlwaysDraw(); // UpdateScene() doesn't work.
01029 #endif
01030         AppController::Instance().MainLoop();
01031 
01032     }

Here is the call graph for this function:


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