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