<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 30, 2017 at 11:40 AM, Pradeep Ramachandran <span dir="ltr"><<a href="mailto:pradeep@multicorewareinc.com" target="_blank">pradeep@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 Pradeep Ramachandran <<a href="mailto:pradeep@multicorewareinc.com">pradeep@multicorewareinc.com</a>><br>
# Date 1498803001 -19800<br>
# Fri Jun 30 11:40:01 2017 +0530<br>
# Node ID 0216c8ccfdb7eb95ad003dab8050b5<wbr>9b16a83ccb<br>
# Parent ef8dfbb70dd69b8a00e1c93176b7d8<wbr>63574596ca<br>
bug: Fix build failure with DETAILED_CU_STATS enabled<br></blockquote><div><br></div><div>Pushed to default</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r ef8dfbb70dd6 -r 0216c8ccfdb7 source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp Thu Jun 29 00:43:47 2017 +0800<br>
+++ b/source/encoder/encoder.cpp Fri Jun 30 11:40:01 2017 +0530<br>
@@ -1422,7 +1422,7 @@<br>
/* Summarize stats from all frame encoders */<br>
CUStats cuStats;<br>
for (int i = 0; i < m_param->frameNumThreads; i++)<br>
- cuStats.accumulate(m_<wbr>frameEncoder[i]->m_cuStats, m_param);<br>
+ cuStats.accumulate(m_<wbr>frameEncoder[i]->m_cuStats, *m_param);<br>
<br>
if (!cuStats.totalCTUTime)<br>
return;<br>
diff -r ef8dfbb70dd6 -r 0216c8ccfdb7 source/encoder/frameencoder.<wbr>cpp<br>
--- a/source/encoder/frameencoder.<wbr>cpp Thu Jun 29 00:43:47 2017 +0800<br>
+++ b/source/encoder/frameencoder.<wbr>cpp Fri Jun 30 11:40:01 2017 +0530<br>
@@ -1110,7 +1110,7 @@<br>
/* Accumulate CU statistics from each worker thread, we could report<br>
* per-frame stats here, but currently we do not. */<br>
for (int i = 0; i < numTLD; i++)<br>
- m_cuStats.accumulate(m_tld[i].<wbr>analysis.m_stats[m_jpId], m_param);<br>
+ m_cuStats.accumulate(m_tld[i].<wbr>analysis.m_stats[m_jpId], *m_param);<br>
#endif<br>
<br>
m_endFrameTime = x265_mdate();<br>
</blockquote></div><br></div></div>