[x265] [PATCH] Changed the LOG, the pred mode was selected wrongly in few cases. Fixed

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Fri Jul 19 10:16:21 CEST 2013


# HG changeset patch
# User sumalatha
# Date 1374221767 -19800
# Node ID 8fc632ae929c9efe456e94314a6dc1cc6158d81d
# Parent  9f5ad254bd9c2ecf755cd28f2866beb6a6264109
Changed the LOG, the pred mode was selected wrongly in few cases. Fixed

diff -r 9f5ad254bd9c -r 8fc632ae929c source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Thu Jul 18 18:15:26 2013 +0530
+++ b/source/encoder/compress.cpp	Fri Jul 19 13:46:07 2013 +0530
@@ -511,7 +511,7 @@
         {
             if (outBestCU->getTotalCost() < outTempCU->getTotalCost())
             {
-                fprintf(fp1, "\n%d vs %d  : selected mode :N : %d , cost : %d , Part mode : %d , Pred Mode : %d ", outBestCU->getWidth(0) / 2, outTempCU->getWidth(0) / 2, outBestCU->getWidth(0) / 2, outBestCU->getTotalCost(),  outTempCU->getPartitionSize(0), outTempCU->getPredictionMode(0));
+                fprintf(fp1, "\n%d vs %d  : selected mode :N : %d , cost : %d , Part mode : %d , Pred Mode : %d ", outBestCU->getWidth(0) / 2, outTempCU->getWidth(0) / 2, outBestCU->getWidth(0) / 2, outBestCU->getTotalCost(),  outBestCU->getPartitionSize(0), outBestCU->getPredictionMode(0));
                 if (outBestCU->getPredictionMode(0) == MODE_INTER)
                 {
                     cntInter[depth]++;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_jul_17.patch
Type: text/x-patch
Size: 1266 bytes
Desc: not available
URL: <http://mailman.videolan.org/private/x265-devel/attachments/20130719/b69bf69f/attachment-0001.bin>


More information about the x265-devel mailing list