[x265] [PATCH] Warn no support of pme and pmode in SEA motion search

vignesh at multicorewareinc.com vignesh at multicorewareinc.com
Fri Dec 2 10:48:52 CET 2016


# HG changeset patch
# User Vignesh Vijayakumar <vignesh at multicorewareinc.com>
# Date 1480657851 -19800
#      Fri Dec 02 11:20:51 2016 +0530
# Node ID 354541c6dac4b122d22264b2552307559bbba0a8
# Parent  e44b7b50f24c3772b608bdc55e70b070e9f393bb
Warn no support of pme and pmode in SEA motion search

diff -r e44b7b50f24c -r 354541c6dac4 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Wed Nov 30 08:49:06 2016 +0530
+++ b/source/encoder/encoder.cpp	Fri Dec 02 11:20:51 2016 +0530
@@ -1975,6 +1975,13 @@
             x265_log(p, X265_LOG_WARNING, "--tune %s should be used if attempting to benchmark %s!\n", s, s);
     }
 
+    if (p->searchMethod == X265_SEA && (p->bDistributeMotionEstimation || p->bDistributeModeAnalysis))
+    {
+        x265_log(p, X265_LOG_WARNING, "Disabling pme and pmode: --pme and --pmode cannot be used with SEA motion search!\n");
+        p->bDistributeMotionEstimation = 0;
+        p->bDistributeModeAnalysis = 0;
+    }
+
     /* some options make no sense if others are disabled */
     p->bSaoNonDeblocked &= p->bEnableSAO;
     p->bEnableTSkipFast &= p->bEnableTransformSkip;


More information about the x265-devel mailing list