[x265] [PATCH] lowres: re-init plannedType
Pradeep Ramachandran
pradeep at multicorewareinc.com
Thu Oct 26 09:39:38 CEST 2017
On Thu, Oct 26, 2017 at 11:27 AM, <aruna at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Aruna Matheswaran <aruna at multicorewareinc.com>
> # Date 1507551164 -19800
> # Mon Oct 09 17:42:44 2017 +0530
> # Node ID ddf40c72e672b4106097facfaf26bf32f0979b18
> # Parent 0e168bdeb48b3d57d896d3823e2efb2bf69d4b26
> lowres: re-init plannedType
>
Pushed to default branch
>
> diff -r 0e168bdeb48b -r ddf40c72e672 source/common/lowres.cpp
> --- a/source/common/lowres.cpp Mon Oct 09 12:34:25 2017 +0530
> +++ b/source/common/lowres.cpp Mon Oct 09 17:42:44 2017 +0530
> @@ -161,6 +161,10 @@
> for (int i = 0; i < bframes + 2; i++)
> intraMbs[i] = 0;
>
> + if (origPic->m_param->rc.vbvBufferSize)
> + for (int i = 0; i < X265_LOOKAHEAD_MAX + 1; i++)
> + plannedType[i] = X265_TYPE_AUTO;
> +
> /* downscale and generate 4 hpel planes for lookahead */
> primitives.frameInitLowres(origPic->m_picOrg[0],
> lowresPlane[0], lowresPlane[1],
> lowresPlane[2], lowresPlane[3],
>
> _______________________________________________
> 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/20171026/55b2e998/attachment.html>
More information about the x265-devel
mailing list