[x265] [PATCH] param: added qcomp into x265 info on ABR or CRF ratecontrol mode

zj262144 at 163.com zj262144 at 163.com
Wed May 6 06:40:22 CEST 2015


# HG changeset patch
# User upyzl
# Date 1430887059 -28800
#      Wed May 06 12:37:39 2015 +0800
# Node ID 4681217ce93dbb14024f9fc20d8db3d98f98f2fb
# Parent  9d9239258f3c0aad810559e6e8d75d99738f98ae
param: added qcomp into x265 info on ABR or CRF ratecontrol mode

diff -r 9d9239258f3c -r 4681217ce93d source/common/param.cpp
--- a/source/common/param.cpp	Tue May 05 12:46:23 2015 -0500
+++ b/source/common/param.cpp	Wed May 06 12:37:39 2015 +0800
@@ -1283,11 +1283,11 @@
     else switch (param->rc.rateControlMode)
     {
     case X265_RC_ABR:
-        x265_log(param, X265_LOG_INFO, "Rate Control                        : ABR-%d kbps\n", param->rc.bitrate); break;
+        x265_log(param, X265_LOG_INFO, "Rate Control / qCompress            : ABR-%d kbps / %0.2f\n", param->rc.bitrate, param->rc.qCompress); break;
     case X265_RC_CQP:
         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                        : CRF-%0.1f\n", param->rc.rfConstant);  break;
+        x265_log(param, X265_LOG_INFO, "Rate Control / qCompress            : CRF-%0.1f / %0.2f\n", param->rc.rfConstant, param->rc.qCompress);  break;
     }
 
     if (param->rc.vbvBufferSize)



More information about the x265-devel mailing list