[x265] [PATCH 3 of 3] ratecontrol: remove repeat initialisations

Steve Borho steve at borho.org
Tue May 6 22:30:06 CEST 2014


On Tue, May 6, 2014 at 5:18 AM,  <deepthi at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Deepthi Nandakumar <deepthi at multicorewareinc.com>
> # Date 1399371109 -19800
> # Node ID 96d6076fe872aa62bc898d4a3a2ae8c7aae4c3eb
> # Parent  f824c1f583f8dea91c3685b7d3228f36ac6d4878
> ratecontrol: remove repeat initialisations.
>
> diff -r f824c1f583f8 -r 96d6076fe872 source/encoder/ratecontrol.cpp
> --- a/source/encoder/ratecontrol.cpp    Tue May 06 15:34:19 2014 +0530
> +++ b/source/encoder/ratecontrol.cpp    Tue May 06 15:41:49 2014 +0530
> @@ -207,8 +207,7 @@
>      param->rc.rfConstant = Clip3((double)-QP_BD_OFFSET, (double)51, param->rc.rfConstant);
>      param->rc.rfConstantMax = Clip3((double)-QP_BD_OFFSET, (double)51, param->rc.rfConstantMax);
>      rateFactorMaxIncrement = 0;
> -    vbvMinRate = 0;
> -
> +

queued without the additional white-space changes

>      if (param->rc.rateControlMode == X265_RC_CRF)
>      {
>          param->rc.qp = (int)param->rc.rfConstant + QP_BD_OFFSET;
> _______________________________________________
> 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