[x265] [PATCH] commit : changes to no-rdo path on top of rev 2876. improve PSNR. same speedup

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Wed Jul 10 14:43:22 CEST 2013


# HG changeset patch
# User sumalatha
# Date 1373460193 -19800
# Node ID 7410b971a91811e1a87563fb3de0954c098e2ad4
# Parent  ae3cf6062c1ac55006e71a591e1ab8766f332ecc
commit : changes to no-rdo path on top of rev 2876. improve PSNR. same speedup.

diff -r ae3cf6062c1a -r 7410b971a918 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Wed Jul 10 00:41:02 2013 -0500
+++ b/source/encoder/compress.cpp	Wed Jul 10 18:13:13 2013 +0530
@@ -266,7 +266,7 @@
         {
             if (!(uiNoResidual == 1 && mergeCandBuffer[uiMergeCand] == 1))
             {
-                if (!(bestIsSkip && uiNoResidual == 0))
+                if (!(bestIsSkip ))
                 {
                     // set MC parameters
                     rpcTempCU->setPredModeSubParts(MODE_INTER, 0, uhDepth); // interprets depth relative to LCU level
@@ -325,7 +325,7 @@
             }
         }
 
-        if (uiNoResidual == 0 && m_pcEncCfg->getUseEarlySkipDetection())
+        if ( m_pcEncCfg->getUseEarlySkipDetection())
         {
             if (rpcBestCU->getQtRootCbf(0) == 0)
             {
@@ -374,6 +374,7 @@
     m_ppcResiYuvTemp[uhDepth]->clear();
 
     m_pcPredSearch->predInterSearch(rpcTempCU, m_ppcOrigYuv[uhDepth], m_ppcPredYuvMode[Index][uhDepth], bUseMRG);
+     rpcTempCU->getTotalCost() = primitives.sse_pp[PartitionFromSizes(rpcTempCU->getWidth(0), rpcTempCU->getHeight(0))]((pixel*)m_ppcOrigYuv[uhDepth]->getLumaAddr(), (intptr_t)m_ppcOrigYuv[uhDepth]->getStride(), (pixel*)m_ppcPredYuvMode[Index][uhDepth]->getLumaAddr(),  m_ppcPredYuvMode[Index][uhDepth]->getStride());
 }
 
 Void TEncCu::xCompressInterCU(TComDataCU*& rpcBestCU, TComDataCU*& rpcTempCU, TComDataCU*& pcCU, UInt uiDepth, UInt PartitionIndex)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: july_10.patch
Type: text/x-patch
Size: 1724 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130710/294867b0/attachment.bin>


More information about the x265-devel mailing list