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

virtual int Impala::Core::Trec::ThreadShots::GetShotPosition ( int  shot  )  [inline, virtual]

Implements Impala::Core::Trec::Thread.

Definition at line 81 of file ThreadShots.h.

References Impala::Core::Column::Find(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn1(), Impala::Core::VideoSet::Segmentation::GetQuidShot(), mSegmentation, mShots, and Impala::Core::Table::Table::Size().

00082     {
00083         if (shot<0) return -1;
00084         Quid shotquid = mSegmentation->GetQuidShot(shot);
00085         int r = Column::Find(mShots->GetColumn1(), shotquid, 0, mShots->Size());
00086         if (r == mShots->Size())
00087             return -1;
00088         return r;
00089     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:26:24 2010 for ImpalaSrc by  doxygen 1.5.1