Definition at line 336 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(). 00337 { 00338 Segmentation* seg = mSegDoc->GetSegmentation(); 00339 int firstShot = seg->GetFirstShotVideo(mCurFile); 00340 int lastShot = firstShot+seg->GetNrShotsVideo(mCurFile); 00341 int i; 00342 00343 for (i=firstShot; i<lastShot; i++) 00344 if (seg->GetStart(i) > frame) 00345 break; 00346 return i==firstShot ? i : i-1; 00347 }
Here is the call graph for this function:
|