<div dir="ltr">yeah, that would be better. I'll send out a patch.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 4:50 PM, Deepthi Nandakumar <span dir="ltr"><<a href="mailto:deepthi@multicorewareinc.com" target="_blank">deepthi@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here, wouldnt it be better to call this --min-cu-size to go with the --max-tu-size introduced earlier?<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Feb 16, 2015 at 4:55 PM,  <span dir="ltr"><<a href="mailto:santhoshini@multicorewareinc.com" target="_blank">santhoshini@multicorewareinc.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"># HG changeset patch<br>
# User Santhoshini Sekar<<a href="mailto:santhoshini@multicorewareinc.com" target="_blank">santhoshini@multicorewareinc.com</a>><br>
# Date 1424075543 -19800<br>
#      Mon Feb 16 14:02:23 2015 +0530<br>
# Node ID 5fdaef859517b16ef37f26ec1a259a5c139744fe<br>
# Parent  24e3fc60cb4183fff50921a332f0fd0d98cc0f56<br>
CLI: add new option cu-min(minimum CU size)<br>
<br>
diff -r 24e3fc60cb41 -r 5fdaef859517 doc/reST/cli.rst<br>
--- a/doc/reST/cli.rst  Mon Feb 16 14:33:08 2015 +0530<br>
+++ b/doc/reST/cli.rst  Mon Feb 16 14:02:23 2015 +0530<br>
@@ -477,6 +477,10 @@<br>
        and less frame parallelism as well. Because of this the faster<br>
        presets use a CU size of 32. Default: 64<br>
<br>
+.. option:: --cu-min, <64|32|16|8><br>
+<br>
+       Minimum CU size (width and height). Default: 8<br>
+<br>
 .. option:: --rect, --no-rect<br>
<br>
        Enable analysis of rectangular motion partitions Nx2N and 2NxN<br>
diff -r 24e3fc60cb41 -r 5fdaef859517 source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt     Mon Feb 16 14:33:08 2015 +0530<br>
+++ b/source/CMakeLists.txt     Mon Feb 16 14:02:23 2015 +0530<br>
@@ -21,7 +21,7 @@<br>
 include(CheckCXXCompilerFlag)<br>
<br>
 # X265_BUILD must be incremented each time the public API is changed<br>
-set(X265_BUILD 45)<br>
+set(X265_BUILD 46)<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 24e3fc60cb41 -r 5fdaef859517 source/common/param.cpp<br>
--- a/source/common/param.cpp   Mon Feb 16 14:33:08 2015 +0530<br>
+++ b/source/common/param.cpp   Mon Feb 16 14:02:23 2015 +0530<br>
@@ -571,6 +571,7 @@<br>
     OPT("repeat-headers") p->bRepeatHeaders = atobool(value);<br>
     OPT("wpp") p->bEnableWavefront = atobool(value);<br>
     OPT("ctu") p->maxCUSize = (uint32_t)atoi(value);<br>
+    OPT("cu-min") p->minCUSize = (uint32_t)atoi(value);<br>
     OPT("tu-intra-depth") p->tuQTMaxIntraDepth = (uint32_t)atoi(value);<br>
     OPT("tu-inter-depth") p->tuQTMaxInterDepth = (uint32_t)atoi(value);<br>
     OPT("max-tu-size") p->maxTUSize = (uint32_t)atoi(value);<br>
@@ -1302,6 +1303,7 @@<br>
     s += sprintf(s, " bitdepth=%d", p->internalBitDepth);<br>
     BOOL(p->bEnableWavefront, "wpp");<br>
     s += sprintf(s, " ctu=%d", p->maxCUSize);<br>
+    s += sprintf(s, " cu-min=%d", p->minCUSize);<br>
     s += sprintf(s, " max-tu-size=%d", p->maxTUSize);<br>
     s += sprintf(s, " tu-intra-depth=%d", p->tuQTMaxIntraDepth);<br>
     s += sprintf(s, " tu-inter-depth=%d", p->tuQTMaxInterDepth);<br>
diff -r 24e3fc60cb41 -r 5fdaef859517 source/x265cli.h<br>
--- a/source/x265cli.h  Mon Feb 16 14:33:08 2015 +0530<br>
+++ b/source/x265cli.h  Mon Feb 16 14:02:23 2015 +0530<br>
@@ -71,6 +71,7 @@<br>
     { "no-wpp",               no_argument, NULL, 0 },<br>
     { "wpp",                  no_argument, NULL, 0 },<br>
     { "ctu",            required_argument, NULL, 's' },<br>
+    { "cu-min",       required_argument, NULL, 's' },<br>
     { "max-tu-size",    required_argument, NULL, 's' },<br>
     { "tu-intra-depth", required_argument, NULL, 0 },<br>
     { "tu-inter-depth", required_argument, NULL, 0 },<br>
@@ -265,6 +266,7 @@<br>
     H0("                                 psnr, ssim, grain, zerolatency, fastdecode\n");<br>
     H0("\nQuad-Tree size and depth:\n");<br>
     H0("-s/--ctu <64|32|16>              Maximum CU size (WxH). Default %d\n", param->maxCUSize);<br>
+    H0("   --cu-min <64|32|16|8>        Minimum CU size (WxH). Default %d\n", param->minCUSize);<br>
     H0("   --max-tu-size <32|16|8|4>     Maximum TU size (WxH). Default %d\n", param->maxTUSize);<br>
     H0("   --tu-intra-depth <integer>    Max TU recursive depth for intra CUs. Default %d\n", param->tuQTMaxIntraDepth);<br>
     H0("   --tu-inter-depth <integer>    Max TU recursive depth for inter CUs. Default %d\n", param->tuQTMaxInterDepth);<br></div></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>
<br>_______________________________________________<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" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br></div>