Definition at line 561 of file Mpeg7Doc.h. References Impala::MakeString(), mFractions, and String2(). Referenced by ExportMediaTime(). 00562 { 00563 // produce something like T00:28:21:5985F30000 00564 long totalFractions = frame; 00565 if (mFractions == 30000) // probably NTSC with time unit PT1001N30000F 00566 totalFractions *= 1001; 00567 long nrFractions = totalFractions % mFractions; 00568 long totalSeconds = (totalFractions - nrFractions) / mFractions; 00569 long hours = totalSeconds / 3600; 00570 totalSeconds %= 3600; 00571 long minutes = totalSeconds / 60; 00572 long seconds = totalSeconds % 60; 00573 return "T" + String2(hours) + ":" + String2(minutes) + ":" + 00574 String2(seconds) + ":" + MakeString(nrFractions) + "F" + 00575 String2(mFractions); 00576 }
Here is the call graph for this function:
|