[x265] [PATCH] param: add limit-tu to slower, veryslow presets - upto 20% increase in FPS

bhavna at multicorewareinc.com bhavna at multicorewareinc.com
Fri Mar 10 10:19:54 CET 2017


# HG changeset patch
# User Bhavna Hariharan <bhavna at multicorewareinc.com>
# Date 1489137512 -19800
#      Fri Mar 10 14:48:32 2017 +0530
# Node ID 1373c1bfcdc6278fba8aa0c1ae1118d41fbafd6c
# Parent  88fd9082764c7d7b4668e30763a93215980efd70
param: add limit-tu to slower, veryslow presets - upto 20% increase in FPS

diff -r 88fd9082764c -r 1373c1bfcdc6 doc/reST/presets.rst
--- a/doc/reST/presets.rst	Wed Mar 08 17:15:59 2017 +0530
+++ b/doc/reST/presets.rst	Fri Mar 10 14:48:32 2017 +0530
@@ -95,6 +95,8 @@
 +-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+
 | tu-inter        |  1  |  1  |  1  |   1 |   1 |   1 |   1  |   2  |   3  |  4   |
 +-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+
+| limit-tu        |  0  |  0  |  0  |   0 |   0 |   0 |   0  |   4  |   4  |  0   |
++-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+
 
 .. _tunings:
 
diff -r 88fd9082764c -r 1373c1bfcdc6 source/common/param.cpp
--- a/source/common/param.cpp	Wed Mar 08 17:15:59 2017 +0530
+++ b/source/common/param.cpp	Fri Mar 10 14:48:32 2017 +0530
@@ -396,6 +396,7 @@
             param->limitModes = 1;
             param->bIntraInBFrames = 1;
             param->lookaheadSlices = 4; // limit parallelism as already enough work exists
+            param->limitTU = 4;
         }
         else if (!strcmp(preset, "veryslow"))
         {
@@ -417,6 +418,7 @@
             param->limitModes = 1;
             param->bIntraInBFrames = 1;
             param->lookaheadSlices = 0; // disabled for best quality
+            param->limitTU = 4;
         }
         else if (!strcmp(preset, "placebo"))
         {


More information about the x265-devel mailing list