<div dir="ltr">Thanks a lot. Still reeling at how long this bug stayed alive. <br><br>Also updating docs on limit-refs to capture this behaviour. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 4:34 PM, <span dir="ltr"><<a href="mailto:ashok@multicorewareinc.com" target="_blank">ashok@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Ashok Kumar Mishra<<a href="mailto:ashok@multicorewareinc.com">ashok@multicorewareinc.com</a>><br>
# Date 1433416219 -19800<br>
# Thu Jun 04 16:40:19 2015 +0530<br>
# Node ID 8aa2bedda74066528cbdf1b6d7d36954a09e5b98<br>
# Parent 1c6de5ac38836c62230ba020ca21b35f96f659c1<br>
analysis: allow intra mode in RD-0/4<br>
Output wiil be changed for --limit-refs 0 command line<br>
<br>
diff -r 1c6de5ac3883 -r 8aa2bedda740 source/encoder/analysis.cpp<br>
--- a/source/encoder/analysis.cpp Thu Jun 18 15:29:11 2015 -0500<br>
+++ b/source/encoder/analysis.cpp Thu Jun 04 16:40:19 2015 +0530<br>
@@ -967,7 +967,7 @@<br>
if ((bTryIntra && md.bestMode->cu.getQtRootCbf(0)) ||<br>
md.bestMode->sa8dCost == MAX_INT64)<br>
{<br>
- if (splitIntra)<br>
+ if (!m_param->limitReferences || splitIntra)<br>
{<br>
ProfileCounter(parentCTU, totalIntraCU[cuGeom.depth]);<br>
md.pred[PRED_INTRA].cu.initSubCU(parentCTU, cuGeom, qp);<br>
@@ -993,7 +993,7 @@<br>
<br>
if (bTryIntra || md.bestMode->sa8dCost == MAX_INT64)<br>
{<br>
- if (splitIntra)<br>
+ if (!m_param->limitReferences || splitIntra)<br>
{<br>
ProfileCounter(parentCTU, totalIntraCU[cuGeom.depth]);<br>
md.pred[PRED_INTRA].cu.initSubCU(parentCTU, cuGeom, qp);<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>