Definition at line 763 of file Mpeg7Doc.h. References Frame2Fraction(), mFractions, and String2(). Referenced by ExportMediaTime(). 00764 { 00765 // produce something like PT00H00M04S2122N30000F 00766 long totalFractions = Frame2Fraction(frame); 00767 long nrFractions = totalFractions % mFractions; 00768 long totalSeconds = (totalFractions - nrFractions) / mFractions; 00769 long hours = totalSeconds / 3600; 00770 totalSeconds %= 3600; 00771 long minutes = totalSeconds / 60; 00772 long seconds = totalSeconds % 60; 00773 return "PT" + String2(hours) + "H" + String2(minutes) + "M" + 00774 String2(seconds) + "S" + String2(nrFractions) + "N" + 00775 String2(mFractions) + "F"; 00776 }
Here is the call graph for this function:
|