[x265] [PATCH 3 of 4] compress: remove redundant initializations

deepthidevaki at multicorewareinc.com deepthidevaki at multicorewareinc.com
Tue Dec 17 13:42:12 CET 2013


# HG changeset patch
# User Deepthi Devaki <deepthidevaki at multicorewareinc.com>
# Date 1387279251 -19800
# Node ID 73bf5cc140edc91b8b580811a7f3dd51bbf31769
# Parent  90c5519746418f9880fa00d5b1fbc058faa9f26d
compress: remove redundant initializations

depth is already initialized in initsubcu

diff -r 90c551974641 -r 73bf5cc140ed source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Tue Dec 17 16:20:33 2013 +0530
+++ b/source/encoder/compress.cpp	Tue Dec 17 16:50:51 2013 +0530
@@ -200,7 +200,6 @@
 {
     UChar depth = outTempCU->getDepth(0);
 
-    outTempCU->setDepthSubParts(depth, 0);
     outTempCU->setPartSizeSubParts(partSize, 0, depth);
     outTempCU->setPredModeSubParts(MODE_INTER, 0, depth);
     outTempCU->setCUTransquantBypassSubParts(m_cfg->getCUTransquantBypassFlagValue(), 0, depth);


More information about the x265-devel mailing list