<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 5:36 PM, Steve Borho <span dir="ltr"><<a href="mailto:steve@borho.org" target="_blank">steve@borho.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">
<div class="im">On Wed, Sep 25, 2013 at 5:27 PM, Olivier Lapicque <span dir="ltr"><<a href="mailto:olapicque@nvidia.com" target="_blank">olapicque@nvidia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p>
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Shouldn’t it be </span>X265_MAX(m_numReorderPics[i]<b> + 2</b>, _param->maxNumReferences<b>+1</b>) <span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">?<u></u><u></u></span></p>

<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Unlike H.264, the picture is added to the DPB before being decoded (so the current picture always takes up one slot in the DPB)</span></p>
</div></div></blockquote></div></div></div></div></blockquote><div><br></div><div>pushed as:</div><div><br></div></div>m_maxDecPicBuffering[i] = X265_MIN(MAX_NUM_REF, X265_MAX(m_numReorderPics[i] + 1, _param->maxNumReferences) + 1);</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Thanks<br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>