On Mon, Nov 13, 2017 at 7:27 PM, <as...@multicorewareinc.com> wrote:

> # HG changeset patch
> # User Ashok Kumar Mishra <as...@multicorewareinc.com>
> # Date 1510320768 -19800
> #      Fri Nov 10 19:02:48 2017 +0530
> # Node ID c4632652c590397bd875ee2ca05c8c2f1284f792
> # Parent  563cbe1f4a21dcfe2117ccaa874b713d94434f92
> Encoder: avoid blocking in getEncodedPicture() for zero latency when
> multiple slices are enabled
> Improved performance by 10 - 15 fps depending upon preset and number of
> slices.
>

Gains look impressive. Patch pushed to default branch.


>
> diff -r 563cbe1f4a21 -r c4632652c590 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp        Wed Nov 08 17:08:18 2017 +0530
> +++ b/source/encoder/encoder.cpp        Fri Nov 10 19:02:48 2017 +0530
> @@ -387,7 +387,7 @@
>          }
>      }
>
> -    m_bZeroLatency = !m_param->bframes && !m_param->lookaheadDepth &&
> m_param->frameNumThreads == 1;
> +    m_bZeroLatency = !m_param->bframes && !m_param->lookaheadDepth &&
> m_param->frameNumThreads == 1 && m_param->maxSlices == 1;
>
>      m_aborted |= parseLambdaFile(m_param);
>
> _______________________________________________
> x265-devel mailing list
> x265-devel@videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to