<div dir="ltr">Pushed to Release_3.1 and grafted the fix to Release_3.2 and default.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 22, 2019 at 10:43 PM Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com">aruna@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"># HG changeset patch<br>
# User Aruna Matheswaran <<a href="mailto:aruna@multicorewareinc.com" target="_blank">aruna@multicorewareinc.com</a>><br>
# Date 1573207250 -19800<br>
# Fri Nov 08 15:30:50 2019 +0530<br>
# Branch Release_3.2<br>
# Node ID bdaec830f10d29daac3d5842c6c7e45348c00364<br>
# Parent b5c86a64bbbede216b25092def72272ecde5523a<br>
limit-tu: Fix bug in loading co-located CU's TU depth<br>
<br>
diff -r b5c86a64bbbe -r bdaec830f10d source/encoder/analysis.cpp<br>
--- a/source/encoder/analysis.cpp Tue Oct 29 17:25:05 2019 +0530<br>
+++ b/source/encoder/analysis.cpp Fri Nov 08 15:30:50 2019 +0530<br>
@@ -375,12 +375,12 @@<br>
CUData* neighbourCU;<br>
uint8_t count = 0;<br>
int32_t maxTUDepth = -1;<br>
- neighbourCU = m_slice->m_refFrameList[0][0]->m_encData->m_picCTU;<br>
+ neighbourCU = &m_slice->m_refFrameList[0][0]->m_encData->m_picCTU[parentCTU.m_cuAddr];<br>
predDepth += neighbourCU->m_refTuDepth[cuGeom.geomRecurId];<br>
count++;<br>
if (m_slice->isInterB())<br>
{<br>
- neighbourCU = m_slice->m_refFrameList[1][0]->m_encData->m_picCTU;<br>
+ neighbourCU = &m_slice->m_refFrameList[1][0]->m_encData->m_picCTU[parentCTU.m_cuAddr];<br>
predDepth += neighbourCU->m_refTuDepth[cuGeom.geomRecurId];<br>
count++;<br>
}<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="georgia, serif">Regards,</font><div><b><font face="georgia, serif">Aruna Matheswaran,</font></b></div><div><font face="georgia, serif">Video Codec Engineer,</font></div><div><font face="georgia, serif">Media & AI analytics BU,</font></div><div><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:153px;height:58px"><img src="https://lh5.googleusercontent.com/gjX5cPNIZgwUrhfqkTwQUZWztIKmmo0qs3kbwvkS5H-bDVE2ftte9pMTVnFLSjOcjYWLtfc6_OGpxW4vraLg2r5QAIf1Q3MpldFDgWtzK_gXi8ptw5B3joIbsGL6mxj-JRdjHzT5" width="96" height="36" style="margin-left: 0px; margin-top: 0px;"></span></span></span><font face="georgia, serif"><br></font></div><div><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:153px;height:58px"><img src="https://lh5.googleusercontent.com/gjX5cPNIZgwUrhfqkTwQUZWztIKmmo0qs3kbwvkS5H-bDVE2ftte9pMTVnFLSjOcjYWLtfc6_OGpxW4vraLg2r5QAIf1Q3MpldFDgWtzK_gXi8ptw5B3joIbsGL6mxj-JRdjHzT5" style="margin-left: 0px; margin-top: 0px;"></span></span></span><font face="georgia, serif"><br></font></div><div><font face="georgia, serif"><br></font></div></div></div></div></div></div></div></div></div>