Definition at line 311 of file SegmentationDocumentGuiAnno.h. References Impala::Core::VideoSet::Segmentation::GetFirstShotVideo(), Impala::Core::VideoSet::Segmentation::GetNrShotsVideo(), Impala::Core::VideoSet::SegmentationDocument::GetSegmentation(), Impala::Core::VideoSet::Segmentation::GetStart(), mCurFile, and mSegDoc. Referenced by DisplaySegShots(), DisplayShotRelevances(), DoAnno(), Synchronize(), and ToRankedShots(). 00312 { 00313 Segmentation* seg = mSegDoc->GetSegmentation(); 00314 int firstShot = seg->GetFirstShotVideo(mCurFile); 00315 int lastShot = firstShot+seg->GetNrShotsVideo(mCurFile); 00316 int i; 00317 00318 for (i=firstShot; i<lastShot; i++) 00319 if (seg->GetStart(i) > frame) 00320 break; 00321 return i==firstShot ? i : i-1; 00322 }
Here is the call graph for this function: ![]()
|