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

int Impala::Core::VideoSet::Segmentation::GetShotId ( int  videoId,
int  frameNr 
) [inline]

Definition at line 111 of file Segmentation.h.

References GetEnd(), GetFirstShotVideo(), GetNrShotsVideo(), and GetStart().

00112     {
00113         int first = GetFirstShotVideo(videoId);
00114         int number = GetNrShotsVideo(videoId);
00115         for (int s=first ; s<first+number ; s++)
00116             if ((frameNr >= GetStart(s)) && (frameNr <= GetEnd(s)))
00117                 return s;
00118         return -1;
00119     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:31:25 2010 for ImpalaSrc by  doxygen 1.5.1