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

Impala::Core::VideoSet::ExportStills::ExportStills ( Reporter reporter,
CmdOptions options 
) [inline]

Definition at line 31 of file ExportStills.h.

References Impala::atol(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), Impala::Core::Array::gWriteJpgQuality, ILOG_ERROR, mBuf, mBufSize, mDoData, mDoDef, mDoFullSize, mImSet, mNr, mNrIm, mReporter, mSkipFr, and mStills.

00032     {
00033         mReporter = reporter;
00034         mImSet = 0;
00035         mStills = 0;
00036         mSkipFr = 15;
00037         mNrIm = 16;
00038         mDoFullSize = true;
00039         mBufSize = 1000000;
00040         mBuf = new char[mBufSize];
00041         mNr = 0;
00042         mDoDef = false;
00043         mDoData = false;
00044         if (options.GetNrArg() < 3)
00045         {
00046             ILOG_ERROR("Need argument [def|data]");
00047         }
00048         else
00049         {
00050             if (options.GetArg(2) == "def")
00051                 mDoDef = true;
00052             else if (options.GetArg(2) == "data")
00053                 mDoData = true;
00054             else
00055             {
00056                 ILOG_ERROR("Argument should be def or data");
00057             }
00058             if (options.GetNrArg() > 3)
00059                 Core::Array::gWriteJpgQuality = atol(options.GetArg(3));
00060         }
00061     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:29:10 2010 for ImpalaSrc by  doxygen 1.5.1