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

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

Definition at line 241 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().

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

Here is the call graph for this function:


Generated on Fri Mar 19 11:41:56 2010 for ImpalaSrc by  doxygen 1.5.1