<div dir="ltr">Is this patch fixed all load/save issues in smoke/regression test and should be pushed into stable tip?<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 7, 2018 at 5:55 PM,  <span dir="ltr"><<a href="mailto:kavitha@multicorewareinc.com" target="_blank">kavitha@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 Kavitha Sampath <<a href="mailto:kavitha@multicorewareinc.com">kavitha@multicorewareinc.com</a>><br>
# Date 1525425970 -19800<br>
#      Fri May 04 14:56:10 2018 +0530<br>
# Node ID b97a65d1227fbe8e80ed15a426ec4b<wbr>c44537c247<br>
# Parent  147b7dcee675a7cd394125788e1290<wbr>9cdce0c373<br>
bug fix in scalefactor 0<br>
<br>
diff -r 147b7dcee675 -r b97a65d1227f source/encoder/analysis.cpp<br>
--- a/source/encoder/analysis.cpp       Wed May 02 15:14:30 2018 +0530<br>
+++ b/source/encoder/analysis.cpp       Fri May 04 14:56:10 2018 +0530<br>
@@ -2500,6 +2500,15 @@<br>
                         uint8_t candDir[MRG_MAX_NUM_CANDS];<br>
                         <a href="http://mode.cu">mode.cu</a>.<wbr>getInterMergeCandidates(pu.<wbr>puAbsPartIdx, part, candMvField, candDir);<br>
                         uint8_t mvpIdx = mode.cu.m_mvpIdx[0][pu.<wbr>puAbsPartIdx];<br>
+                        if (mode.cu.isBipredRestriction()<wbr>)<br>
+                        {<br>
+                            /* do not allow bidir merge candidates if PU is smaller than 8x8, drop L1 reference */<br>
+                            if (candDir[mvpIdx] == 3)<br>
+                            {<br>
+                                candDir[mvpIdx] = 1;<br>
+                                candMvField[mvpIdx][1].refIdx = REF_NOT_VALID;<br>
+                            }<br>
+                        }<br>
                         mode.cu.setPUInterDir(candDir[<wbr>mvpIdx], pu.puAbsPartIdx, part);<br>
                         mode.cu.setPUMv(0, candMvField[mvpIdx][0].mv, pu.puAbsPartIdx, part);<br>
                         mode.cu.setPUMv(1, candMvField[mvpIdx][1].mv, pu.puAbsPartIdx, part);<br>
<br>______________________________<wbr>_________________<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/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>