[x265] [PATCH] rc: fix crash in 2 pass for faster preset (ultrafast - faster)
Steve Borho
steve at borho.org
Tue Jul 29 20:45:09 CEST 2014
On 07/29, aarthi at multicorewareinc.com wrote:
> # HG changeset patch
> # User Aarthi Thirumalai
> # Date 1406655882 -19800
> # Tue Jul 29 23:14:42 2014 +0530
> # Node ID 94072231a518b6964c6c85d476976f9cf74e5c7a
> # Parent 3a1245fb52a47bed07de6bc0711501eca7e24c8a
> rc: fix crash in 2 pass for faster preset (ultrafast - faster)
queued, thanks
> diff -r 3a1245fb52a4 -r 94072231a518 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp Tue Jul 29 01:26:19 2014 -0500
> +++ b/source/encoder/encoder.cpp Tue Jul 29 23:14:42 2014 +0530
> @@ -1379,9 +1379,6 @@
> x265_log(p, X265_LOG_WARNING, "--tune %s should be used if attempting to benchmark %s!\n", s, s);
> }
>
> - if (p->bOpenGOP && p->rc.bStatRead)
> - p->lookaheadDepth = 0;
> -
> //====== Coding Tools ========
>
> uint32_t tuQTMaxLog2Size = maxLog2CUSize - 1;
> diff -r 3a1245fb52a4 -r 94072231a518 source/encoder/ratecontrol.cpp
> --- a/source/encoder/ratecontrol.cpp Tue Jul 29 01:26:19 2014 -0500
> +++ b/source/encoder/ratecontrol.cpp Tue Jul 29 23:14:42 2014 +0530
> @@ -573,7 +573,7 @@
> return false;
> }
>
> - if ((m_param->rc.cuTree || m_param->rc.vbvBufferSize) && ((p = strstr(opts, "rc-lookahead=")) != 0) && sscanf(p, "rc-lookahead=%d", &i))
> + if ((p = strstr(opts, "rc-lookahead=")) != 0 && sscanf(p, "rc-lookahead=%d", &i))
> m_param->lookaheadDepth = i;
> }
> /* find number of pics */
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
--
Steve Borho
More information about the x265-devel
mailing list