[x265] [PATCH] compress: fix for sa8dcost storage in rdlevel 1, 0

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Mon Jul 14 13:57:14 CEST 2014


# HG changeset patch
# User Sumalatha Polureddy<sumalatha at multicorewareinc.com>
# Date 1405339024 -19800
# Node ID 0d91d986d8615104c7b111b0977a3f41cd807cf2
# Parent  6fdae4c60b1f03974aad08160b74b79c62e7330b
compress: fix for sa8dcost storage in rdlevel 1, 0

diff -r 6fdae4c60b1f -r 0d91d986d861 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Mon Jul 14 16:11:23 2014 +0530
+++ b/source/encoder/compress.cpp	Mon Jul 14 17:27:04 2014 +0530
@@ -729,7 +729,7 @@
                 outTempCU->m_totalRDCost = m_rdCost.calcRdCost(outTempCU->m_totalDistortion, outTempCU->m_totalBits);
         }
         else
-            outTempCU->m_totalRDCost = m_rdCost.calcRdSADCost(outTempCU->m_totalDistortion, outTempCU->m_totalBits);
+            outTempCU->m_sa8dCost = m_rdCost.calcRdSADCost(outTempCU->m_totalDistortion, outTempCU->m_totalBits);
 
         if ((g_maxCUSize >> depth) == slice->getPPS()->getMinCuDQPSize() && slice->getPPS()->getUseDQP())
         {


More information about the x265-devel mailing list