[x265] [PATCH 1 of 4] param: make --tune zero-latency actually have zero-latency at the encoder

Steve Borho steve at borho.org
Wed Jan 21 16:29:41 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1421853136 21600
#      Wed Jan 21 09:12:16 2015 -0600
# Node ID 15119ec537e0ed00b6a9f7bcb06b636a2fcc2fb5
# Parent  66f85a0519e2e881b3ecd0026b3fabfc46926293
param: make --tune zero-latency actually have zero-latency at the encoder

It now disables frame parallelism, which can be a large performance loss.
Users may want to increase the number of frame encoders if they only need
zero-latency at the decoder.

diff -r 66f85a0519e2 -r 15119ec537e0 source/common/param.cpp
--- a/source/common/param.cpp	Fri Dec 19 18:32:20 2014 +0100
+++ b/source/common/param.cpp	Wed Jan 21 09:12:16 2015 -0600
@@ -409,6 +409,7 @@
             param->lookaheadDepth = 0;
             param->scenecutThreshold = 0;
             param->rc.cuTree = 0;
+            param->frameNumThreads = 1;
         }
         else if (!strcmp(tune, "grain"))
         {


More information about the x265-devel mailing list