[x265] [PATCH] ratecontrol: initialize frameThreads

Deepthi Nandakumar deepthi at multicorewareinc.com
Mon Oct 21 18:47:12 CEST 2013


Pushed this - but the user name has not been configured properly.


On Mon, Oct 21, 2013 at 6:16 PM, Rafaël Carré <funman at videolan.org> wrote:

> Fix a floating point exceptio
> ---
>  source/encoder/ratecontrol.cpp | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/source/encoder/ratecontrol.cpp
> b/source/encoder/ratecontrol.cpp
> index b588bde..9085ec3 100644
> --- a/source/encoder/ratecontrol.cpp
> +++ b/source/encoder/ratecontrol.cpp
> @@ -129,6 +129,7 @@ void RateControl::calcAdaptiveQuantFrame(TComPic *pic)
>  RateControl::RateControl(TEncCfg * _cfg)
>  {
>      this->cfg = _cfg;
> +    frameThreads = cfg->param.frameNumThreads;
>      bitrate = cfg->param.rc.bitrate * 1000;
>      frameDuration = 1.0 / cfg->param.frameRate;
>      ncu = (int)((cfg->param.sourceHeight * cfg->param.sourceWidth) /
> pow((int)cfg->param.maxCUSize, 2.0));
> --
> 1.8.3.2
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131021/01c14eee/attachment.html>


More information about the x265-devel mailing list