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

String Impala::Core::VideoSet::Mpeg7Doc::Frame2TimePoint ( int  frame  )  [inline, private]

Definition at line 747 of file Mpeg7Doc.h.

References Frame2Fraction(), Impala::MakeString(), mFractions, and String2().

Referenced by ExportMediaTime().

00748     {
00749         // produce something like T00:28:21:5985F30000
00750         long totalFractions = Frame2Fraction(frame);
00751         long nrFractions = totalFractions % mFractions;
00752         long totalSeconds = (totalFractions - nrFractions) / mFractions;
00753         long hours = totalSeconds / 3600;
00754         totalSeconds %= 3600;
00755         long minutes = totalSeconds / 60;
00756         long seconds = totalSeconds % 60;
00757         return "T" + String2(hours) + ":" + String2(minutes) + ":" +
00758             String2(seconds) + ":" + MakeString(nrFractions) + "F" +
00759             String2(mFractions);
00760     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:05 2011 for ImpalaSrc by  doxygen 1.5.1