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

void Impala::Core::Stream::RgbDataSrc::Frame2Time ( int  frameNr,
long &  hour,
long &  minute,
long &  second,
long &  fraction 
) const [inline, protected]

Definition at line 442 of file RgbDataSrc.h.

References GetTimeBaseDenominator(), and GetTimeBaseNumerator().

Referenced by FrameAsTimeString(), and GetTime().

00444     {
00445         long numerator = GetTimeBaseNumerator();
00446         long denominator = GetTimeBaseDenominator();
00447         long totalFractions = frameNr * numerator;
00448         fraction = totalFractions % denominator;
00449         long totalSeconds = (totalFractions - fraction) / denominator;
00450         hour = totalSeconds / 3600;
00451         totalSeconds %= 3600;
00452         minute = totalSeconds / 60;
00453         second = totalSeconds % 60;
00454     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:29 2011 for ImpalaSrc by  doxygen 1.5.1