[x265] [PATCH 4 of 4] param: allow --cip shorthand for constrained intra

Steve Borho steve at borho.org
Wed Mar 18 01:31:31 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1426638651 18000
#      Tue Mar 17 19:30:51 2015 -0500
# Node ID a981d35ef9d035f9db809740952cdd95777639c2
# Parent  abcd1ace8a5a9fe7782cbb1baa157be331e6c952
param: allow --cip shorthand for constrained intra

diff -r abcd1ace8a5a -r a981d35ef9d0 source/common/param.cpp
--- a/source/common/param.cpp	Tue Mar 17 19:28:52 2015 -0500
+++ b/source/common/param.cpp	Tue Mar 17 19:30:51 2015 -0500
@@ -591,7 +591,7 @@
     OPT("strong-intra-smoothing") p->bEnableStrongIntraSmoothing = atobool(value);
     OPT("lossless") p->bLossless = atobool(value);
     OPT("cu-lossless") p->bCULossless = atobool(value);
-    OPT("constrained-intra") p->bEnableConstrainedIntra = atobool(value);
+    OPT2("constrained-intra", "cip") p->bEnableConstrainedIntra = atobool(value);
     OPT("fast-intra") p->bEnableFastIntra = atobool(value);
     OPT("open-gop") p->bOpenGOP = atobool(value);
     OPT("scenecut")
diff -r abcd1ace8a5a -r a981d35ef9d0 source/x265cli.h
--- a/source/x265cli.h	Tue Mar 17 19:28:52 2015 -0500
+++ b/source/x265cli.h	Tue Mar 17 19:30:51 2015 -0500
@@ -99,6 +99,8 @@
     { "no-cu-lossless",       no_argument, NULL, 0 },
     { "no-constrained-intra", no_argument, NULL, 0 },
     { "constrained-intra",    no_argument, NULL, 0 },
+    { "cip",                  no_argument, NULL, 0 },
+    { "no-cip",               no_argument, NULL, 0 },
     { "fast-intra",           no_argument, NULL, 0 },
     { "no-fast-intra",        no_argument, NULL, 0 },
     { "no-open-gop",          no_argument, NULL, 0 },


More information about the x265-devel mailing list