<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 6:12 PM, <span dir="ltr"><<a href="mailto:gopi.satykrishna@multicorewareinc.com" target="_blank">gopi.satykrishna@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 Gopi Satykrishna Akisetty <<a href="mailto:gopi.satykrishna@multicorewareinc.com">gopi.satykrishna@<wbr>multicorewareinc.com</a>><br>
# Date 1490695845 -19800<br>
# Tue Mar 28 15:40:45 2017 +0530<br>
# Node ID 15d8739ea4e37def1ba00883cd6d01<wbr>0529b5d590<br>
# Parent c7b7c736696f67d990d4c77367dff9<wbr>124d935350<br>
rcStats: add more fields to rcStats<br></blockquote><div><br></div><div>Pushed into default branch.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r c7b7c736696f -r 15d8739ea4e3 source/common/frame.h<br>
--- a/source/common/frame.h Mon Apr 10 11:42:20 2017 +0530<br>
+++ b/source/common/frame.h Tue Mar 28 15:40:45 2017 +0530<br>
@@ -60,6 +60,12 @@<br>
int encodeOrder;<br>
int sliceType;<br>
int keptAsRef;<br>
+ double wantedBitsWindow;<br>
+ double cplxrSum;<br>
+ double shortTermCplxSum;<br>
+ double shortTermCplxCount;<br>
+ int64_t totalBits;<br>
+ int64_t encodedBits;<br>
};<br>
<br>
class Frame<br>
diff -r c7b7c736696f -r 15d8739ea4e3 source/encoder/ratecontrol.cpp<br>
--- a/source/encoder/ratecontrol.<wbr>cpp Mon Apr 10 11:42:20 2017 +0530<br>
+++ b/source/encoder/ratecontrol.<wbr>cpp Tue Mar 28 15:40:45 2017 +0530<br>
@@ -1348,6 +1348,8 @@<br>
curFrame->m_rcData-><wbr>cumulativePNorm = m_accumPNorm;<br>
for (int i = 0; i < 3; i++)<br>
curFrame->m_rcData-><wbr>lastQScaleFor[i] = m_lastQScaleFor[i];<br>
+ curFrame->m_rcData-><wbr>shortTermCplxSum = m_shortTermCplxSum;<br>
+ curFrame->m_rcData-><wbr>shortTermCplxCount = m_shortTermCplxCount;<br>
}<br>
else // CQP<br>
{<br>
@@ -2693,6 +2695,10 @@<br>
int qp = int (rce->qpaRc + 0.5);<br>
m_qpToEncodedBits[qp] = m_qpToEncodedBits[qp] == 0 ? actualBits : (m_qpToEncodedBits[qp] + actualBits) * 0.5;<br>
}<br>
+ curFrame->m_rcData-><wbr>wantedBitsWindow = m_wantedBitsWindow;<br>
+ curFrame->m_rcData->cplxrSum = m_cplxrSum;<br>
+ curFrame->m_rcData->totalBits = m_totalBits;<br>
+ curFrame->m_rcData-><wbr>encodedBits = m_encodedBits;<br>
}<br>
<br>
if (m_2pass)<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>
</blockquote></div><br></div></div>