[x265] [PATCH] Force numPics in RPS <= maxDecPicBuffering - 1
deepthidevaki at multicorewareinc.com
deepthidevaki at multicorewareinc.com
Thu Sep 26 08:09:50 CEST 2013
# HG changeset patch
# User Deepthi Devaki <deepthidevaki at multicorewareinc.com>
# Date 1380175768 -19800
# Node ID 7bbdd9cb086f39fcd566fcbc1971512a6b7a9a94
# Parent 0dbfb0bbca1a1b714aa48db7eaae3f2f9ab713ec
Force numPics in RPS <= maxDecPicBuffering - 1
because maxDecPicBuffering is now set to numReferences+1
diff -r 0dbfb0bbca1a -r 7bbdd9cb086f source/encoder/dpb.cpp
--- a/source/encoder/dpb.cpp Wed Sep 25 14:34:49 2013 +0530
+++ b/source/encoder/dpb.cpp Thu Sep 26 11:39:28 2013 +0530
@@ -202,7 +202,7 @@
unsigned int poci = 0, numNeg = 0, numPos = 0;
TComList<TComPic*>::iterator iterPic = m_picList.begin();
- while ((iterPic != m_picList.end()) && (poci < maxDecPicBuffer))
+ while ((iterPic != m_picList.end()) && (poci < maxDecPicBuffer - 1))
{
refPic = *(iterPic);
if ((refPic->getPOC() != curPoc) && (refPic->getSlice()->isReferenced()))
More information about the x265-devel
mailing list