Definition at line 379 of file mainRepository.cpp. References Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), GetKeyframesLocator(), GetVideoSet(), ILOG_INFO, and ILOG_VAR. Referenced by mainRepository(). 00380 { 00381 ILOG_VAR(Impala.Application.Repository.DoDumpKeyframes); 00382 CmdOptions& options = CmdOptions::GetInstance(); 00383 00384 KeyframesLocator loc = GetKeyframesLocator(options, true); 00385 VideoSet* vidSet = GetVideoSet(options, true); 00386 Keyframes* keys = KeyframesRepository().Get(loc, vidSet); 00387 00388 ILOG_INFO("nrVideos = " << keys->GetNrVideos()); 00389 ILOG_INFO("nrShots = " << keys->GetNrShots()); 00390 ILOG_INFO("nrKeyframes = " << keys->GetNrKeyframes()); 00391 if (options.GetInt("end") == 0) 00392 return; 00393 for (int i=0 ; i<keys->GetNrVideos() ; i++) 00394 std::cout << " vid " << i << " has " << keys->GetNrKeyframesVideo(i) 00395 << " keyframes" << std::endl; 00396 //keys.DumpGroups(); 00397 keys->Dump(options.GetInt("start"), options.GetInt("end")); 00398 delete keys; 00399 delete vidSet; 00400 }
Here is the call graph for this function:
|