[x265] remove unnecessary copyToPicLuma() call

Satoshi Nakagawa nakagawa424 at oki.com
Thu Feb 6 03:04:44 CET 2014


# HG changeset patch
# User Satoshi Nakagawa <nakagawa424 at oki.com>
# Date 1391652151 -32400
#      Thu Feb 06 11:02:31 2014 +0900
# Node ID bae0927fdb3f8b3f3a2deaff1e5179ced5304348
# Parent  fc90c9b265fdd46bb1f375a51ca5183f1bd4d700
remove unnecessary copyToPicLuma() call

diff -r fc90c9b265fd -r bae0927fdb3f source/Lib/TLibEncoder/TEncCu.cpp
--- a/source/Lib/TLibEncoder/TEncCu.cpp	Wed Feb 05 18:20:41 2014 -0600
+++ b/source/Lib/TLibEncoder/TEncCu.cpp	Thu Feb 06 11:02:31 2014 +0900
@@ -1395,8 +1395,6 @@
 
     m_search->estIntraPredQT(outTempCU, m_origYuv[depth], m_tmpPredYuv[depth], m_tmpResiYuv[depth], m_tmpRecoYuv[depth], preCalcDistC, true);
 
-    m_tmpRecoYuv[depth]->copyToPicLuma(outTempCU->getPic()->getPicYuvRec(), outTempCU->getAddr(), outTempCU->getZorderIdxInCU());
-
     m_search->estIntraPredChromaQT(outTempCU, m_origYuv[depth], m_tmpPredYuv[depth], m_tmpResiYuv[depth], m_tmpRecoYuv[depth], preCalcDistC);
 
     m_entropyCoder->resetBits();
@@ -1444,8 +1442,6 @@
     m_search->estIntraPredQT(outTempCU, m_origYuv[depth], m_tmpPredYuv[depth], m_tmpResiYuv[depth], m_tmpRecoYuv[depth],
                              preCalcDistC, bSeparateLumaChroma);
 
-    m_tmpRecoYuv[depth]->copyToPicLuma(outTempCU->getPic()->getPicYuvRec(), outTempCU->getAddr(), outTempCU->getZorderIdxInCU());
-
     m_search->estIntraPredChromaQT(outTempCU, m_origYuv[depth], m_tmpPredYuv[depth], m_tmpResiYuv[depth], m_tmpRecoYuv[depth], preCalcDistC);
 
     m_entropyCoder->resetBits();
diff -r fc90c9b265fd -r bae0927fdb3f source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Wed Feb 05 18:20:41 2014 -0600
+++ b/source/encoder/compress.cpp	Thu Feb 06 11:02:31 2014 +0900
@@ -51,8 +51,6 @@
     //===== set distortion (rate and r-d costs are determined later) =====
     cu->m_totalDistortion = puDistY + puDistC;
 
-    outReconYuv->copyToPicLuma(cu->getPic()->getPicYuvRec(), cu->getAddr(), cu->getZorderIdxInCU());
-
     m_search->estIntraPredChromaQT(cu, fencYuv, predYuv, outResiYuv, outReconYuv, puDistC);
     m_entropyCoder->resetBits();
     if (cu->getSlice()->getPPS()->getTransquantBypassEnableFlag())


More information about the x265-devel mailing list