Definition at line 482 of file SegmentationDocument.h. References Impala::Core::VideoSet::Segmentation::GetNrShots(), mCurrentShotId, mShots, and SameVideo(). Referenced by GetNextShot(), and GetPrevShot(). 00483 { 00484 int newShot = oldShot + dir; 00485 if ((newShot < 0) || (newShot >= mShots->GetNrShots())) 00486 return -1; 00487 if (! SameVideo(mCurrentShotId, newShot)) 00488 return -1; 00489 if (--steps <= 0) 00490 return newShot; 00491 return GetShotMove(newShot, dir, steps); 00492 }
Here is the call graph for this function:
|