[x265] [PATCH] Add missing parameters in SEI: rdoq & deblock

Xinyue Lu maillist at 7086.in
Fri Mar 27 00:55:04 CET 2015


Hi all,

I'm new to the mail list. Please let me know if I did anything wrong.
Thanks.

This patch is put into public domain by author, to avoid any copyright
etc problems.

# HG changeset patch
# User msg7086 <i at 7086.in>
# Date 1427412793 25200
#      Thu Mar 26 16:33:13 2015 -0700
# Node ID 759c7031bb4ebce18e632fb1daf7ebf4733e666b
# Parent  dc7a6c5fbda13173004e6193f185ea857d7a22c8
param: add missing parameters in sei

diff -r dc7a6c5fbda1 -r 759c7031bb4e source/common/param.cpp
--- a/source/common/param.cpp Thu Mar 26 11:24:23 2015 -0500
+++ b/source/common/param.cpp Thu Mar 26 16:33:13 2015 -0700
@@ -1383,6 +1383,7 @@
     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=%d", p->rdoqLevel);
     s += sprintf(s, " psy-rdoq=%.2f", p->psyRdoq);
     BOOL(p->bEnableSignHiding, "signhide");
     BOOL(p->bEnableLoopFilter, "lft");
@@ -1420,6 +1421,12 @@
         if (p->bframes)
             s += sprintf(s, " pbratio=%.2f", p->rc.pbFactor);
     }
+    if (p->bEnableLoopFilter)
+    {
+        BOOL(true, "deblock");
+        if (p->deblockingFilterBetaOffset || p->deblockingFilterTCOffset)
+            s += sprintf(s, "=%d:%d", p->deblockingFilterTCOffset,
p->deblockingFilterBetaOffset);
+    }
 #undef BOOL
     return buf;
 }


More information about the x265-devel mailing list