Definition at line 212 of file TrecTopic.h. References ILOG_ERROR, mYear, and ParseTime(). Referenced by GetVideoExampleEndFrame(), and GetVideoExampleStartFrame(). 00213 { 00214 double seconds = ParseTime(str); 00215 double fractions = 29.97; 00216 if (mYear == 0) 00217 ILOG_ERROR("Need year to compute frame"); 00218 if (mYear >= 2007) 00219 fractions = 25; 00220 return seconds * fractions; 00221 }
Here is the call graph for this function:
|