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

virtual void Impala::Core::VideoSet::ExportKeyframes::HandleDoneFile ( VideoSet vs,
int  fileId,
Stream::RgbDataSrc src 
) [inline, virtual]

Completed given DB_FILE in a "normal" walk.

Reimplemented from Impala::Core::VideoSet::Listener.

Definition at line 174 of file ExportKeyframes.h.

References Impala::Core::Array::ArrayListDelete(), Impala::Core::Database::RawDataSet::GetContainerDir(), Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathImageArchive(), Impala::Core::Database::RawDataSet::GetFirstFileId(), mImList, mImSet, mSplitArchive, and Impala::Core::Array::WriteRawListVar().

00175     {
00176         if (!mSplitArchive)
00177             return;
00178 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00179         int id = mImSet->GetFirstFileId(fileId); // use video as dir
00180         String fName = mImSet->GetFilePathImageArchive(id, "images.raw",
00181                                                        true, false);
00182         if (fName.empty())
00183             return;
00184         Array::WriteRawListVar(mImList, fName, mImSet->GetDatabase(), true, true);
00185 #else // REPOSITORY_USED
00186         String container = mImSet->GetContainerDir(fileId); // use video as dir
00187         Persistency::ImageArchiveLocator loc(vs->GetLocator(), false,
00188                                              container, "images.raw", 0);
00189         Array::ImageArchiveMemory wrapper(&mImList);
00190         Persistency::ImageArchiveRepository().Add(loc, &wrapper);
00191 #endif // REPOSITORY_USED
00192         Array::ArrayListDelete(&mImList);
00193     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:29:06 2010 for ImpalaSrc by  doxygen 1.5.1