<div dir="ltr">Please ignore this patch.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 4:10 PM, Divya Manivannan <span dir="ltr"><<a href="mailto:divya@multicorewareinc.com" target="_blank">divya@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 Divya Manivannan <<a href="mailto:divya@multicorewareinc.com">divya@multicorewareinc.com</a>><br>
# Date 1432809496 -19800<br>
# Thu May 28 16:08:16 2015 +0530<br>
# Node ID 43b26edba7aed482297bcd27cfbe9266eb2fd669<br>
# Parent 1f697f9a4d5d9f825ffe26ef93f339fcf6de7be1<br>
stats: remove --cu-stats option<br>
<br>
--cu-stats option collected data based on slicetype. This is removed and those data will be collected based on frame.<br>
A warning message is displayed when --cu-stats option is given by the user.<br>
<br>
diff -r 1f697f9a4d5d -r 43b26edba7ae source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt Wed May 27 18:09:06 2015 +0530<br>
+++ b/source/CMakeLists.txt Thu May 28 16:08:16 2015 +0530<br>
@@ -30,7 +30,7 @@<br>
mark_as_advanced(FPROFILE_USE FPROFILE_GENERATE NATIVE_BUILD)<br>
<br>
# X265_BUILD must be incremented each time the public API is changed<br>
-set(X265_BUILD 60)<br>
+set(X265_BUILD 61)<br>
configure_file("${PROJECT_SOURCE_DIR}/<a href="http://x265.def.in" target="_blank">x265.def.in</a>"<br>
"${PROJECT_BINARY_DIR}/x265.def")<br>
configure_file("${PROJECT_SOURCE_DIR}/<a href="http://x265_config.h.in" target="_blank">x265_config.h.in</a>"<br>
diff -r 1f697f9a4d5d -r 43b26edba7ae source/common/param.cpp<br>
--- a/source/common/param.cpp Wed May 27 18:09:06 2015 +0530<br>
+++ b/source/common/param.cpp Thu May 28 16:08:16 2015 +0530<br>
@@ -103,6 +103,7 @@<br>
param->logLevel = X265_LOG_INFO;<br>
param->csvfn = NULL;<br>
param->rc.lambdaFileName = NULL;<br>
+ param->bLogCuStats = 0;<br>
param->decodedPictureHashSEI = 0;<br>
<br>
/* Quality Measurement Metrics */<br>
@@ -580,6 +581,7 @@<br>
p->logLevel = parseName(value, logLevelNames, bError) - 1;<br>
}<br>
}<br>
+ OPT("cu-stats") p->bLogCuStats = atobool(value);<br>
OPT("annexb") p->bAnnexB = atobool(value);<br>
OPT("repeat-headers") p->bRepeatHeaders = atobool(value);<br>
OPT("wpp") p->bEnableWavefront = atobool(value);<br>
diff -r 1f697f9a4d5d -r 43b26edba7ae source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp Wed May 27 18:09:06 2015 +0530<br>
+++ b/source/encoder/encoder.cpp Thu May 28 16:08:16 2015 +0530<br>
@@ -1757,6 +1757,9 @@<br>
}<br>
else<br>
m_param->rc.qgSize = p->maxCUSize;<br>
+<br>
+ if (p->bLogCuStats)<br>
+ x265_log(p, X265_LOG_WARNING, "--cu-stats option is replaced by --log-level 4 option\n");<br>
}<br>
<br>
void Encoder::allocAnalysis(x265_analysis_data* analysis)<br>
diff -r 1f697f9a4d5d -r 43b26edba7ae source/x265.h<br>
--- a/source/x265.h Wed May 27 18:09:06 2015 +0530<br>
+++ b/source/x265.h Thu May 28 16:08:16 2015 +0530<br>
@@ -439,6 +439,10 @@<br>
<br>
/*== Logging Features ==*/<br>
<br>
+ /* Enable analysis and logging distribution of CUs encoded across various<br>
+ * modes during mode decision. Default disabled */<br>
+ int bLogCuStats;<br>
+<br>
/* Enable the measurement and reporting of PSNR. Default is enabled */<br>
int bEnablePsnr;<br>
<br>
diff -r 1f697f9a4d5d -r 43b26edba7ae source/x265cli.h<br>
--- a/source/x265cli.h Wed May 27 18:09:06 2015 +0530<br>
+++ b/source/x265cli.h Thu May 28 16:08:16 2015 +0530<br>
@@ -54,6 +54,8 @@<br>
{ "allow-non-conformance",no_argument, NULL, 0 },<br>
{ "no-allow-non-conformance",no_argument, NULL, 0 },<br>
{ "csv", required_argument, NULL, 0 },<br>
+ { "no-cu-stats", no_argument, NULL, 0 },<br>
+ { "cu-stats", no_argument, NULL, 0 },<br>
{ "y4m", no_argument, NULL, 0 },<br>
{ "no-progress", no_argument, NULL, 0 },<br>
{ "output", required_argument, NULL, 'o' },<br>
</blockquote></div><br></div>