[x265] [PATCH] CLI: informs if '--ssim-rd' is used

Mateusz Brzostek mateusz at msystem.waw.pl
Tue Apr 11 03:15:39 CEST 2017


There are complaints about no information if '--ssim-rd' option is used or not (reported by Motenai Yoda and LigH).

# HG changeset patch
# User Ma0 <mateuszb at poczta.onet.pl>
# Date 1491872880 -7200
#      Tue Apr 11 03:08:00 2017 +0200
# Node ID 0ef56c154e54d9d4eb684b92281e85172b7a3866
# Parent  c7b7c736696f67d990d4c77367dff9124d935350
CLI: informs if '--ssim-rd' is used

diff -r c7b7c736696f -r 0ef56c154e54 source/common/param.cpp
--- a/source/common/param.cpp    Mon Apr 10 11:42:20 2017 +0530
+++ b/source/common/param.cpp    Tue Apr 11 03:08:00 2017 +0200
@@ -1430,6 +1430,7 @@
     TOOLOPT(param->limitModes, "limit-modes");
     TOOLVAL(param->rdLevel, "rd=%d");
     TOOLVAL(param->dynamicRd, "dynamic-rd=%.2f");
+    TOOLOPT(param->bSsimRd, "ssim-rd");
     TOOLVAL(param->psyRd, "psy-rd=%.2lf");
     TOOLVAL(param->rdoqLevel, "rdoq=%d");
     TOOLVAL(param->psyRdoq, "psy-rdoq=%.2lf");
@@ -1530,6 +1531,7 @@
     s += sprintf(s, " limit-tu=%d", p->limitTU);
     s += sprintf(s, " rdoq-level=%d", p->rdoqLevel);
     s += sprintf(s, " dynamic-rd=%.2f", p->dynamicRd);
+    BOOL(p->bSsimRd, "ssim-rd");
     BOOL(p->bEnableSignHiding, "signhide");
     BOOL(p->bEnableTransformSkip, "tskip");
     s += sprintf(s, " nr-intra=%d", p->noiseReductionIntra);


-------------- next part --------------
# HG changeset patch
# User Ma0 <mateuszb at poczta.onet.pl>
# Date 1491872880 -7200
#      Tue Apr 11 03:08:00 2017 +0200
# Node ID 0ef56c154e54d9d4eb684b92281e85172b7a3866
# Parent  c7b7c736696f67d990d4c77367dff9124d935350
CLI: informs if '--ssim-rd' is used

diff -r c7b7c736696f -r 0ef56c154e54 source/common/param.cpp
--- a/source/common/param.cpp	Mon Apr 10 11:42:20 2017 +0530
+++ b/source/common/param.cpp	Tue Apr 11 03:08:00 2017 +0200
@@ -1430,6 +1430,7 @@
     TOOLOPT(param->limitModes, "limit-modes");
     TOOLVAL(param->rdLevel, "rd=%d");
     TOOLVAL(param->dynamicRd, "dynamic-rd=%.2f");
+    TOOLOPT(param->bSsimRd, "ssim-rd");
     TOOLVAL(param->psyRd, "psy-rd=%.2lf");
     TOOLVAL(param->rdoqLevel, "rdoq=%d");
     TOOLVAL(param->psyRdoq, "psy-rdoq=%.2lf");
@@ -1530,6 +1531,7 @@
     s += sprintf(s, " limit-tu=%d", p->limitTU);
     s += sprintf(s, " rdoq-level=%d", p->rdoqLevel);
     s += sprintf(s, " dynamic-rd=%.2f", p->dynamicRd);
+    BOOL(p->bSsimRd, "ssim-rd");
     BOOL(p->bEnableSignHiding, "signhide");
     BOOL(p->bEnableTransformSkip, "tskip");
     s += sprintf(s, " nr-intra=%d", p->noiseReductionIntra);


More information about the x265-devel mailing list