Definition at line 24 of file ExportFrames.h. References Impala::atof(), Impala::atol(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), Impala::Core::Array::gWriteJpgQuality, ILOG_INFO, mBuf, mBufSize, mJpg, mReporter, mScale, mSplitArchive, and Impala::Core::VideoSet::Reporter::SetReportArray(). 00025 { 00026 mReporter = reporter; 00027 mSplitArchive = false; 00028 if (options.GetNrArg() > 2) 00029 if (options.GetArg(2) == "split") 00030 mSplitArchive = true; 00031 mJpg = false; 00032 if (options.GetNrArg() > 3) 00033 if (options.GetArg(3) == "jpg") 00034 mJpg = true; 00035 mScale = 1.0; 00036 if (options.GetNrArg() > 4) 00037 mScale = atof(options.GetArg(4)); 00038 ILOG_INFO("scale = " << mScale); 00039 if (options.GetNrArg() > 5) 00040 Core::Array::gWriteJpgQuality = atol(options.GetArg(5)); 00041 mBuf = 0; 00042 if (mSplitArchive) 00043 { 00044 mReporter->SetReportArray(false); // we will cause a "memory leak" 00045 mBufSize = 10000000; 00046 mBuf = new char[mBufSize]; 00047 } 00048 }
Here is the call graph for this function:
|