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:
|