[x265] [PATCH STABLE] param: add missing rdoq-level and deblock offsets to param2string()

Steve Borho steve at borho.org
Fri Mar 27 19:13:25 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1427479727 18000
#      Fri Mar 27 13:08:47 2015 -0500
# Branch stable
# Node ID 30197f49d87ad279c1c0fdcfaa5f628ce9388b42
# Parent  22c59a45a7e780e55af8b89df0beb7894ecef393
param: add missing rdoq-level and deblock offsets to param2string()

replace the deprecated --[no-]lft with --[no]deblock[=tC:B]

diff -r 22c59a45a7e7 -r 30197f49d87a source/common/param.cpp
--- a/source/common/param.cpp	Fri Mar 27 10:41:24 2015 -0500
+++ b/source/common/param.cpp	Fri Mar 27 13:08:47 2015 -0500
@@ -1383,9 +1383,12 @@
     s += sprintf(s, " crqpoffs=%d", p->crQpOffset);
     s += sprintf(s, " rd=%d", p->rdLevel);
     s += sprintf(s, " psy-rd=%.2f", p->psyRd);
+    s += sprintf(s, " rdoq-level=%d", p->rdoqLevel);
     s += sprintf(s, " psy-rdoq=%.2f", p->psyRdoq);
     BOOL(p->bEnableSignHiding, "signhide");
-    BOOL(p->bEnableLoopFilter, "lft");
+    BOOL(p->bEnableLoopFilter, "deblock");
+    if (p->bEnableLoopFilter && (p->deblockingFilterBetaOffset || p->deblockingFilterTCOffset))
+        s += sprintf(s, "=%d:%d", p->deblockingFilterTCOffset, p->deblockingFilterBetaOffset);
     BOOL(p->bEnableSAO, "sao");
     BOOL(p->bSaoNonDeblocked, "sao-non-deblock");
     BOOL(p->bBPyramid, "b-pyramid");


More information about the x265-devel mailing list