[x265] [PATCH] param: adjust x265_print_params for more reasonable

zj262144 at 163.com zj262144 at 163.com
Sat May 30 05:39:40 CEST 2015


# HG changeset patch
# User Jie Zhang <zj262144 at 163.com>
# Date 1432957024 -28800
#      Sat May 30 11:37:04 2015 +0800
# Node ID dfc62442c2d4ec26d4990d769bb116043e62d019
# Parent  12f0ed28ba0eb29f2df0bb8adbc5f3cfb40a6361
param: adjust x265_print_params for more reasonable

Remove duplicated Ref info, also more cosmetic.
As AQ is more related to RC, and Ref is more related to B/P features, swap the lines.

diff -r 12f0ed28ba0e -r dfc62442c2d4 source/common/param.cpp
--- a/source/common/param.cpp	Fri May 29 10:46:29 2015 +0530
+++ b/source/common/param.cpp	Sat May 30 11:37:04 2015 +0800
@@ -1274,14 +1274,14 @@
         x265_log(param, X265_LOG_INFO, "Intra 32x32 TU penalty type         : %d\n", param->rdPenalty);
 
     x265_log(param, X265_LOG_INFO, "Lookahead / bframes / badapt        : %d / %d / %d\n", param->lookaheadDepth, param->bframes, param->bFrameAdaptive);
-    x265_log(param, X265_LOG_INFO, "b-pyramid / weightp / weightb / refs: %d / %d / %d / %d\n",
-             param->bBPyramid, param->bEnableWeightedPred, param->bEnableWeightedBiPred, param->maxNumReferences);
+    x265_log(param, X265_LOG_INFO, "b-pyramid / weightp / weightb       : %d / %d / %d\n",
+             param->bBPyramid, param->bEnableWeightedPred, param->bEnableWeightedBiPred);
+    x265_log(param, X265_LOG_INFO, "References / ref-limit  cu / depth  : %d / %d / %d\n",
+             param->maxNumReferences, !!(param->limitReferences & X265_REF_LIMIT_CU), !!(param->limitReferences & X265_REF_LIMIT_DEPTH));
 
     if (param->rc.aqMode)
         x265_log(param, X265_LOG_INFO, "AQ: mode / str / qg-size / cu-tree  : %d / %0.1f / %d / %d\n", param->rc.aqMode,
                  param->rc.aqStrength, param->rc.qgSize, param->rc.cuTree);
-    x265_log(param, X265_LOG_INFO, "References / ref-limit  cu / depth  : %d / %d / %d\n",
-             param->maxNumReferences, !!(param->limitReferences & X265_REF_LIMIT_CU), !!(param->limitReferences & X265_REF_LIMIT_DEPTH));
 
     if (param->bLossless)
         x265_log(param, X265_LOG_INFO, "Rate Control                        : Lossless\n");



More information about the x265-devel mailing list