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

void Impala::Core::VideoSet::KfrMotionExtractor::OnShotStart ( int  bWidth,
int  bHeight 
) [inline]

Definition at line 678 of file KfrMotionExtractor.h.

References IsInShot, m_EnergyBuffer, and m_EnergyMap.

Referenced by ComputeEnergy().

00679     {
00680         if (!IsInShot)
00681         {
00682             for (int i = 0; i < bWidth * bHeight; i++)
00683                 m_EnergyMap[i] = 1.0;
00684             memset(m_EnergyBuffer, 255, bWidth * bHeight);
00685 
00686             IsInShot = TRUE;
00687         }
00688 
00689         //DumpEnergyBuffer(bWidth, bHeight);
00690 
00691     }


Generated on Thu Jan 13 09:22:01 2011 for ImpalaSrc by  doxygen 1.5.1