Definition at line 481 of file RgbDataSrcLavc.h. References Impala::Core::Stream::RgbDataSrc::CalcHash_protected(), FrameIsStable(), Impala::Core::Stream::RgbDataSrcInfo::GetHash(), ILOG_ERROR, Impala::Core::Stream::RgbDataSrc::mIndexExists, and Impala::Core::Stream::RgbDataSrc::mIsFrameAccurate. Referenced by ReadFrameData(). 00482 { 00483 if (!mIndexExists) 00484 return true; 00485 00486 if (!FrameIsStable(frameNr)) 00487 return true; 00488 00489 const String refHash = GetHash(frameNr); 00490 const String hash = CalcHash_protected(); 00491 mIsFrameAccurate = (hash == refHash); 00492 if (mIsFrameAccurate) 00493 { 00494 //ILOG_DEBUG("Hash match for frame " << frameNr << ": " << refHash); 00495 return true; 00496 } 00497 00498 ILOG_ERROR("No hash match for frame " << frameNr << "; expected " << 00499 refHash << " but found " << hash); 00500 return false; 00501 }
Here is the call graph for this function:
|