[x265] [PATCH 4 of 7] param: show quant-group size in logs, move AQ config into its own line
deepthi at multicorewareinc.com
deepthi at multicorewareinc.com
Sat Apr 18 08:22:06 CEST 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1428597033 18000
# Thu Apr 09 11:30:33 2015 -0500
# Node ID 0e21e549cdd9940e84c2526813e28394783dc5cf
# Parent aaf3c4712b8c140c39c98ba385500ade64272a97
param: show quant-group size in logs, move AQ config into its own line
diff -r aaf3c4712b8c -r 0e21e549cdd9 source/common/param.cpp
--- a/source/common/param.cpp Thu Apr 09 11:20:57 2015 -0500
+++ b/source/common/param.cpp Thu Apr 09 11:30:33 2015 -0500
@@ -1273,22 +1273,20 @@
x265_log(param, X265_LOG_INFO, "b-pyramid / weightp / weightb / refs: %d / %d / %d / %d\n",
param->bBPyramid, param->bEnableWeightedPred, param->bEnableWeightedBiPred, param->maxNumReferences);
+ 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);
+
if (param->bLossless)
x265_log(param, X265_LOG_INFO, "Rate Control : Lossless\n");
else switch (param->rc.rateControlMode)
{
case X265_RC_ABR:
- x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : ABR-%d kbps / %0.1f / %d\n", param->rc.bitrate,
- param->rc.aqStrength, param->rc.cuTree);
- break;
+ x265_log(param, X265_LOG_INFO, "Rate Control : ABR-%d kbps\n", param->rc.bitrate); break;
case X265_RC_CQP:
- x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : CQP-%d / %0.1f / %d\n", param->rc.qp, param->rc.aqStrength,
- param->rc.cuTree);
- break;
+ x265_log(param, X265_LOG_INFO, "Rate Control : CQP-%d\n", param->rc.qp); break;
case X265_RC_CRF:
- x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : CRF-%0.1f / %0.1f / %d\n", param->rc.rfConstant,
- param->rc.aqStrength, param->rc.cuTree);
- break;
+ x265_log(param, X265_LOG_INFO, "Rate Control : CRF-%0.1f\n", param->rc.rfConstant); break;
}
if (param->rc.vbvBufferSize)
More information about the x265-devel
mailing list