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

String Impala::Core::Stream::Lavc::VideoAccessObject::CurrentHash (  )  const [inline]

Calculate MD5Hash from the current RGB frame data; note that you need to call CurrentFrameToRgb() before calling this method.

Definition at line 421 of file VideoAccessObject.h.

References Impala::Core::Array::MD5Hash(), mVideoCodecCtx, and RgbDataPtr().

Referenced by Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ConstructIndexProtected(), Impala::Core::Stream::Lavc::VideoAccessStrategy::CurrentHashMatchesFrame(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame(), and Impala::Core::Stream::Lavc::VideoAccessStrategy::ProcessFrame().

00422     {
00423         Array::Array2dVec3UInt8* arr = new Array::Array2dVec3UInt8(
00424             mVideoCodecCtx->width, mVideoCodecCtx->height, 0, 0,
00425                 RgbDataPtr(), true, false);
00426         String hash = Array::MD5Hash(arr);
00427         delete arr;
00428         return hash;
00429     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:18:37 2010 for ImpalaSrc by  doxygen 1.5.1