Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

int Impala::Visualization::AllFramesTLineVideo::FindFrameShot ( int  frame  )  [inline]

Definition at line 244 of file AllFramesTLineVideo.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 GoToAdjacentShot().

00245     {
00246         Segmentation* seg       = mSegDoc->GetSegmentation();
00247         int           firstShot = seg->GetFirstShotVideo(mCurFile);
00248         int           lastShot  = firstShot+seg->GetNrShotsVideo(mCurFile);
00249         int               i;
00250 
00251         for (i=firstShot; i<lastShot; i++)
00252             if (seg->GetStart(i) > frame)
00253                 break;
00254         return i-1;
00255     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:28 2011 for ImpalaSrc by  doxygen 1.5.1