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