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

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

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

Definition at line 69 of file ThreadShots.h.

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

00070     {
00071         Quid shotquid = mSegmentation->GetQuidShot(shot);
00072         int r = Column::Find(mShots->GetColumn1(), shotquid, 0, mShots->Size());
00073         int dst = r + offset;
00074         if ((dst < 0) || (dst >= mShots->Size())) {
00075             return -1;
00076         }
00077         return mSegmentation->GetShotId(mShots->Get1(dst));
00078     }

Here is the call graph for this function:


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