Definition at line 543 of file mainDataServer.cpp. References Impala::Util::Channel::DATA_BUFFER_SIZE, Impala::Core::Stream::RgbDataSrcInfo::DumpIndexHashes(), Impala::Util::Database::GetFilePath(), and Impala::Core::Stream::RgbDataSrcFactory::SRC_LAVC. Referenced by AcceptRequest(). 00544 { 00545 #ifdef AVC_USED 00546 String videoPath = db.GetFilePath(videoFileName, false, false); 00547 if (videoPath.empty()) 00548 return -1; 00549 Core::Stream::RgbDataSrcInfo* video = 00550 new Core::Stream::RgbDataSrcLavc( 00551 Core::Stream::RgbDataSrcFactory::SRC_LAVC, videoPath, &db, READIDX); 00552 if (!video) 00553 return -1; 00554 int bufUsed = video->DumpIndexHashes(buf, Channel::DATA_BUFFER_SIZE); 00555 if (bufUsed < 0) 00556 return -1; 00557 return bufUsed; 00558 #else 00559 return -1; 00560 #endif 00561 }
Here is the call graph for this function:
|