[x265] [PATCH] ssim-rd: fix for transform skip

ashok at multicorewareinc.com ashok at multicorewareinc.com
Wed Jan 4 11:48:31 CET 2017


# HG changeset patch
# User Ashok Kumar Mishra <ashok at multicorewareinc.com>
# Date 1483441260 -19800
#      Tue Jan 03 16:31:00 2017 +0530
# Node ID fff226628dc2c743f56d8fcd301db17c767bba13
# Parent  a2fe29ca5c6c67921bbe3e35330854d4d4fe6dc3
ssim-rd: fix for transform skip

diff -r a2fe29ca5c6c -r fff226628dc2 source/encoder/search.cpp
--- a/source/encoder/search.cpp	Fri Dec 30 09:20:28 2016 +0530
+++ b/source/encoder/search.cpp	Tue Jan 03 16:31:00 2017 +0530
@@ -635,7 +635,7 @@
         }
         else if(m_rdCost.m_ssimRd)
         {
-            tmpEnergy = m_quant.ssimDistortion(cu, fenc, stride, reconQt, reconQtStride, log2TrSize, TEXT_LUMA, absPartIdx);
+            tmpEnergy = m_quant.ssimDistortion(cu, fenc, stride, tmpRecon, tmpReconStride, log2TrSize, TEXT_LUMA, absPartIdx);
             tmpCost = m_rdCost.calcSsimRdCost(tmpDist, tmpBits, tmpEnergy);
         }
         else


More information about the x265-devel mailing list