[x265] [PATCH 3 of 4] rd: fix incorrect check for rdlevel

deepthidevaki at multicorewareinc.com deepthidevaki at multicorewareinc.com
Fri Dec 20 11:37:43 CET 2013


# HG changeset patch
# User Deepthi Devaki <deepthidevaki at multicorewareinc.com>
# Date 1387367713 -19800
# Node ID c69ef62da2b6ec3344fff69e9db9205b6b4d0846
# Parent  edeccf4c6cdde6b5e93d8cb548ad994a5c3c7a47
rd: fix incorrect check for rdlevel

Merge-skip check should be only for rdlevel 2

diff -r edeccf4c6cdd -r c69ef62da2b6 source/encoder/compress.cpp
--- a/source/encoder/compress.cpp	Wed Dec 18 16:03:19 2013 +0530
+++ b/source/encoder/compress.cpp	Wed Dec 18 17:25:13 2013 +0530
@@ -580,7 +580,7 @@
                         }
                     }
                     //Check Merge-skip
-                    if (m_cfg->param.rdLevel <= 2)
+                    if (m_cfg->param.rdLevel == 2)
                     {
                         if (!(outBestCU->getPredictionMode(0) == MODE_INTER && outBestCU->getPartitionSize(0) == SIZE_2Nx2N && outBestCU->getMergeFlag(0)))
                         {


More information about the x265-devel mailing list