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 }
|