<div dir="ltr">Pushed the patch series into default.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 13, 2019 at 12:22 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 Santhoshini Sekar <<a href="mailto:santhoshini@multicorewareinc.com" target="_blank">santhoshini@multicorewareinc.com</a>><br>
# Date 1571648235 -19800<br>
#      Mon Oct 21 14:27:15 2019 +0530<br>
# Node ID fbb3957d8b5e46dc4049d3c8365ebc52b8f9f46e<br>
# Parent  5297824e605c5eed543c2f99c41335d466d17b4b<br>
add total intra percentage per frame in analysis structure<br>
<br>
diff -r 5297824e605c -r fbb3957d8b5e source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp        Mon Oct 21 14:11:47 2019 +0530<br>
+++ b/source/encoder/encoder.cpp        Mon Oct 21 14:27:15 2019 +0530<br>
@@ -1826,6 +1826,17 @@<br>
                     for (int ref = 0; ref < MAX_NUM_REF; ref++)<br>
                         pic_out->analysisData.list0POC[ref] = frameData->list0POC[ref];<br>
<br>
+                    double totalIntraPercent = 0;<br>
+<br>
+                    for (uint32_t depth = 0; depth < m_param->maxCUDepth; depth++)<br>
+                        for (uint32_t intramode = 0; intramode < 3; intramode++)<br>
+                            totalIntraPercent += frameData->cuStats.percentIntraDistribution[depth][intramode];<br>
+                    totalIntraPercent += frameData->cuStats.percentIntraNxN;<br>
+<br>
+                    for (uint32_t depth = 0; depth < m_param->maxCUDepth; depth++)<br>
+                        totalIntraPercent += frameData->puStats.percentIntraPu[depth];<br>
+                    pic_out->analysisData.totalIntraPercent = totalIntraPercent;<br>
+<br>
                     if (!slice->isInterP())<br>
                     {<br>
                         for (int ref = 0; ref < MAX_NUM_REF; ref++)<br>
diff -r 5297824e605c -r fbb3957d8b5e source/x265.h<br>
--- a/source/x265.h     Mon Oct 21 14:11:47 2019 +0530<br>
+++ b/source/x265.h     Mon Oct 21 14:27:15 2019 +0530<br>
@@ -223,6 +223,7 @@<br>
     uint64_t                          frameBits;<br>
     int                               list0POC[MAX_NUM_REF];<br>
     int                               list1POC[MAX_NUM_REF];<br>
+    double                            totalIntraPercent;<br>
 } x265_analysis_data;<br>
<br>
 /* cu statistics */<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>