[x265] [PATCH] need not compute chroma in xGetInterPredictionError

Wenju He wenju at multicorewareinc.com
Sun Oct 27 23:24:08 CET 2013


# HG changeset patch
# User Wenju He <wenju at multicorewareinc.com>
# Date 1382912295 18000
#      Sun Oct 27 17:18:15 2013 -0500
# Node ID 7c2ce4d33f62d62fa3be26ec1790bf6b712190c3
# Parent  e1453bc3ae1e6b882762ce7205298e8983c35c67
need not compute chroma in xGetInterPredictionError

diff -r e1453bc3ae1e -r 7c2ce4d33f62 source/Lib/TLibEncoder/TEncSearch.cpp
--- a/source/Lib/TLibEncoder/TEncSearch.cpp	Sun Oct 27 17:06:37 2013 -0500
+++ b/source/Lib/TLibEncoder/TEncSearch.cpp	Sun Oct 27 17:18:15 2013 -0500
@@ -2095,7 +2095,7 @@
     UInt absPartIdx;
     int width, height;
 
-    motionCompensation(cu, &m_tmpYuvPred, REF_PIC_LIST_X, partIdx);
+    motionCompensation(cu, &m_tmpYuvPred, REF_PIC_LIST_X, partIdx, true, false);
     cu->getPartIndexAndSize(partIdx, absPartIdx, width, height);
     UInt cost = m_me.bufSA8D(m_tmpYuvPred.getLumaAddr(absPartIdx), m_tmpYuvPred.getStride());
     x265_emms();


More information about the x265-devel mailing list