Arrived at a new frame in a "normal" walk.
Reimplemented from Impala::Core::VideoSet::Listener. Definition at line 64 of file MakeQuidLookup.h. References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), Impala::FileNameCtor(), Impala::Core::Stream::RgbDataSrc::FrameNr(), Impala::Core::VideoSet::Keyframes::GetFrameId(), Impala::Core::VideoSet::Keyframes::GetName(), Impala::Core::Stream::RgbDataSrc::GetName(), Impala::Core::VideoSet::Segmentation::GetQuidShot(), mKeyframes, mSegmentation, mTable, and Impala::StringReplaceAll(). 00065 { 00066 String videoName = src->GetName(); 00067 String::size_type p = videoName.rfind("/"); 00068 if (p != std::string::npos) 00069 videoName = videoName.substr(p+1, videoName.size()); 00070 00071 String imName = FileNameCtor(videoName, "frame", src->FrameNr(), ""); 00072 imName = StringReplaceAll(imName, ".", "_"); 00073 00074 Quid quid = vs->GetQuidFrame(fileId, src->FrameNr()); 00075 00076 String friendlyName = ""; 00077 if(mKeyframes) 00078 { 00079 int shotId = mKeyframes->GetFrameId(quid); 00080 if(shotId != -1) 00081 { 00082 friendlyName = mKeyframes->GetName(shotId); 00083 } 00084 } 00085 00086 Quid shotQuid = 0; 00087 if(mSegmentation) 00088 { 00089 shotQuid = mSegmentation->GetQuidShot(fileId, src->FrameNr()); 00090 } 00091 00092 mTable->Add(quid, imName, friendlyName, shotQuid); 00093 }
Here is the call graph for this function:
|