[x265] [PATCH 2 of 4] compress: remove unnecessary code

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


# HG changeset patch
# User Deepthi Devaki <deepthidevaki at multicorewareinc.com>
# Date 1387277433 -19800
# Node ID 90c5519746418f9880fa00d5b1fbc058faa9f26d
# Parent  9f1a3a07361c413f73f4f189eddd7a025d96334f
compress: remove unnecessary code

reco and resi buffers is not used in this function

diff -r 9f1a3a07361c -r 90c551974641 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Tue Dec 17 16:17:33 2013 +0530
+++ b/source/encoder/compress.cpp	Tue Dec 17 16:20:33 2013 +0530
@@ -206,8 +206,6 @@
     outTempCU->setCUTransquantBypassSubParts(m_cfg->getCUTransquantBypassFlagValue(), 0, depth);
 
     outTempCU->setMergeAMP(true);
-    m_tmpRecoYuv[depth]->clear();
-    m_tmpResiYuv[depth]->clear();
 
     //do motion compensation only for Luma since luma cost alone is calculated
     outTempCU->m_totalBits = 0;


More information about the x265-devel mailing list