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

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

Definition at line 671 of file KfrMotionExtractor.h.

References IsInShot, m_EnergyBuffer, and m_EnergyMap.

Referenced by ComputeEnergy().

00672     {
00673         if (!IsInShot)
00674         {
00675             for (int i = 0; i < bWidth * bHeight; i++)
00676                 m_EnergyMap[i] = 1.0;
00677             memset(m_EnergyBuffer, 255, bWidth * bHeight);
00678 
00679             IsInShot = TRUE;
00680         }
00681 
00682         //DumpEnergyBuffer(bWidth, bHeight);
00683 
00684     }


Generated on Fri Mar 19 11:30:21 2010 for ImpalaSrc by  doxygen 1.5.1