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

Quid Impala::Core::Trec::SearchTopic::GetVideoExampleQuid ( int  topic,
int  example 
) [inline]

Definition at line 114 of file SearchTopic.h.

References Impala::Core::Database::RawDataSet::GetFile(), Impala::Core::Database::RawDataSet::GetFirstFileId(), Impala::Core::VideoSet::Keyframes::GetFrameId(), Impala::Core::VideoSet::Keyframes::GetQuidFrame(), mKeyframes, mTopics, and mVideos.

Referenced by GetCurTopicExampleQuid().

00115     {
00116         if (!mKeyframes)
00117         {
00118             mKeyframes = new Core::VideoSet::Keyframes(mVideos, "");
00119         }
00120 
00121         int fileId = mTopics->GetFirstFileId(topic) + example;
00122         
00123         int keyframeId = mKeyframes->GetFrameId(mTopics->GetFile(fileId));
00124         Quid q = mKeyframes->GetQuidFrame(keyframeId);
00125         return q;
00126     }

Here is the call graph for this function:


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