[inline]
Calculates MD5Hash from the current RGB frame data; note that you need to call CurrentFrameToRgb() before calling this method.
Definition at line 488 of file VideoAccessObject.h.
References CurrentFrameValid(), Impala::Core::Array::MD5Hash(), mRgbBuffer, and mVideoCodecCtx.
Referenced by Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ConstructIndexProtected(), Impala::Core::Stream::Lavc::VideoAccessStrategy::CurrentFrameHash(), Impala::Core::Stream::Lavc::VideoAccessStrategy::CurrentHashMatchesFrame(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame(), and Impala::Core::Stream::Lavc::VideoAccessStrategy::ProcessFrame().
00489 { 00490 if (!CurrentFrameValid()) 00491 return "DUMMY"; 00492 00493 Array::Array2dVec3UInt8* arr = new Array::Array2dVec3UInt8( 00494 mVideoCodecCtx->width, mVideoCodecCtx->height, 0, 0, 00495 mRgbBuffer, true, false); 00496 String hash = Array::MD5Hash(arr); 00497 delete arr; 00498 00499 return hash; 00500 }
Here is the call graph for this function: