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

Impala::Core::VideoJob::Reporter::Reporter ( const Data data,
CmdOptions options 
) [inline]

Definition at line 39 of file Reporter.h.

References Impala::CmdOptions::GetInt(), mData, Impala::Core::VideoJob::Data::mProcessDef, mStatusImageColWidth, mStatusImageHeight, mStatusImageRowHeight, mStatusImageWidth, SetupImage(), Impala::Core::VideoJob::ProcessDefinition::StepCount(), and Impala::Core::VideoJob::Data::VideoSetSize().

00039                                                     : mData(data), mStatusImage(0)
00040     {
00041         int nImageWidth = options.GetInt("imageWidth", 320);
00042         if (nImageWidth<320) nImageWidth = 320;
00043 
00044         //mStatusImageColWidth = 1 + Max<int>(2, 320 / mData.VideoSetSize());
00045         //mStatusImageColWidth = 1 + Max<int>(2, 1024 / mData.VideoSetSize());
00046         mStatusImageColWidth = 1 + Max<int>(2, nImageWidth / mData.VideoSetSize());
00047 
00048         mStatusImageWidth = 1 + mStatusImageColWidth * mData.VideoSetSize();
00049         mStatusImageRowHeight = 1 + 12;
00050         mStatusImageHeight = 1 + mStatusImageRowHeight *
00051             mData.mProcessDef->StepCount();
00052 
00053         SetupImage();
00054     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:42 2011 for ImpalaSrc by  doxygen 1.5.1