<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 29, 2016 at 11:01 PM, Mario Rohkrämer <span dir="ltr"><<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 28.12.2016, 16:11 Uhr, schrieb <<a href="mailto:ashok@multicorewareinc.com" target="_blank">ashok@multicorewareinc.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r af10eaeb36cd -r 146036b4049c source/x265cli.h<br>
--- a/source/x265cli.h Wed Dec 28 10:17:08 2016 +0530<br>
+++ b/source/x265cli.h Wed Dec 28 19:12:02 2016 +0530<br>
@@ -256,6 +256,8 @@<br>
{ "analyze-src-pics", no_argument, NULL, 0 },<br>
{ "no-analyze-src-pics", no_argument, NULL, 0 },<br>
{ "slices", required_argument, NULL, 0 },<br>
+ { "ssim-rd", no_argument, NULL, 0 },<br>
+ { "no-ssim-rd", no_argument, NULL, 0 },<br>
{ 0, 0, 0, 0 },<br>
{ 0, 0, 0, 0 },<br>
{ 0, 0, 0, 0 },<br>
@@ -340,6 +342,7 @@<br>
H0(" --[no-]psy-rd <0..5.0> Strength of psycho-visual rate distortion optimization, 0 to disable. Default %.1f\n", param->psyRd);<br>
H0(" --[no-]rdoq-level <0|1|2> Level of RDO in quantization 0:none, 1:levels, 2:levels & coding groups. Default %d\n", param->rdoqLevel);<br>
H0(" --[no-]psy-rdoq <0..50.0> Strength of psycho-visual optimization in RDO quantization, 0 to disable. Default %.1f\n", param->psyRdoq);<br>
+ H0(" --[no-]ssim-rd Enable ssim rate distortion optimization, 0 to disable. Default %.1f\n", OPT(param->bSsimRd));<br>
H0(" --[no-]rd-refine Enable QP based RD refinement for rd levels 5 and 6. Default %s\n", OPT(param->bEnableRdRefine));<br>
H0(" --[no-]early-skip Enable early SKIP detection. Default %s\n", OPT(param->bEnableEarlySkip));<br>
H0(" --[no-]rskip Enable early exit from recursion. Default %s\n", OPT(param->bEnableRecursionSki<wbr>p));<br>
</blockquote>
<br>
<br></span>
Copy/paste mistake? May be another case of default "disabled", where the CLI option has no argument, only the negation prefix (so "0 to disable" is already misleading IMHO; but I don't know if there will be several levels<br>
in the future, beyond 0=off/1=on).<br></blockquote><div><br></div><div>Copy-paste mistake. Have pushed patches to fix this (and another warning from rdcost.h).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
+----<br>
In file included from h:/MSYS-GCC620/home/LigH/x265/<wbr>source/x265.cpp:30:0:<br>
h:/MSYS-GCC620/home/LigH/x265/<wbr>source/x265cli.h: In function 'void x265::showHelp(x265_param*)':<br>
h:/MSYS-GCC620/home/LigH/x265/<wbr>source/x265cli.h:347:134: warning: format '%f' expects argument of type 'double', but argument 2 has type 'const char*' [-Wformat=]<span class=""><br>
H0(" --[no-]ssim-rd Enable ssim rate distortion optimization, 0 to disable. Default %.1f\n", OPT(param->bSsimRd));<br></span>
^<br>
+----<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Fun and success!<br>
Mario *LigH* Rohkrämer<br>
mailto:<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://mailman.videolan.org/l<wbr>istinfo/x265-devel</a><br>
</div></div></blockquote></div><br></div></div>