Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 423 of file RgbDataSrc.h.

References GetTimeBaseDenominator(), and GetTimeBaseNumerator().

Referenced by FrameAsTimeString(), and GetTime().

00425     {
00426         long numerator = GetTimeBaseNumerator();
00427         long denominator = GetTimeBaseDenominator();
00428         long totalFractions = frameNr * numerator;
00429         fraction = totalFractions % denominator;
00430         long totalSeconds = (totalFractions - fraction) / denominator;
00431         hour = totalSeconds / 3600;
00432         totalSeconds %= 3600;
00433         minute = totalSeconds / 60;
00434         second = totalSeconds % 60;
00435     }

Here is the call graph for this function:


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