[x265] [PATCH] lowres: re-init plannedType
aruna at multicorewareinc.com
aruna at multicorewareinc.com
Thu Oct 26 07:57:01 CEST 2017
# 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
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],
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_clone.patch
Type: text/x-patch
Size: 910 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20171026/792c2c5b/attachment.bin>
More information about the x265-devel
mailing list