changeset 5765:e476d497f3cd

compress: remove redundant initializations skipFlags are set to false during initialization.
author Deepthi Devaki <deepthidevaki@multicorewareinc.com>
date Tue, 17 Dec 2013 16:17:33 +0530
parents f9c427b44459
children 8c90ad61a306
files source/encoder/compress.cpp
diffstat 1 files changed, 0 insertions(+-), 2 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/compress.cpp	Tue Dec 17 15:17:42 2013 +0530
+++ b/source/encoder/compress.cpp	Tue Dec 17 16:17:33 2013 +0530
@@ -80,7 +80,6 @@ void TEncCu::xComputeCostIntraInInter(TC
 {
     uint32_t depth = cu->getDepth(0);
 
-    cu->setSkipFlagSubParts(false, 0, depth);
     cu->setPartSizeSubParts(partSize, 0, depth);
     cu->setPredModeSubParts(MODE_INTRA, 0, depth);
     cu->setCUTransquantBypassSubParts(m_cfg->getCUTransquantBypassFlagValue(), 0, depth);
@@ -202,7 +201,6 @@ void TEncCu::xComputeCostInter(TComDataC
     UChar depth = outTempCU->getDepth(0);
 
     outTempCU->setDepthSubParts(depth, 0);
-    outTempCU->setSkipFlagSubParts(false, 0, depth);
     outTempCU->setPartSizeSubParts(partSize, 0, depth);
     outTempCU->setPredModeSubParts(MODE_INTER, 0, depth);
     outTempCU->setCUTransquantBypassSubParts(m_cfg->getCUTransquantBypassFlagValue(), 0, depth);