[x265] [PATCH] rc: improve visual quality in high bit depth encodes
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Mon Jun 2 17:49:11 CEST 2014
# HG changeset patch
# User Aarthi Thirumalai
# Date 1401724132 -19800
# Mon Jun 02 21:18:52 2014 +0530
# Node ID 5a43c29f2c236beaf418dc9679715dbe32954bb1
# Parent a5998df9b12ef81e48e7c5b89219a74276a75f27
rc: improve visual quality in high bit depth encodes.
diff -r a5998df9b12e -r 5a43c29f2c23 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Mon Jun 02 07:36:20 2014 +0530
+++ b/source/encoder/ratecontrol.cpp Mon Jun 02 21:18:52 2014 +0530
@@ -323,9 +323,9 @@
init();
/* Adjust the first frame in order to stabilize the quality level compared to the rest */
-#define ABR_INIT_QP_MIN (24 + QP_BD_OFFSET)
-#define ABR_INIT_QP_MAX (40 + QP_BD_OFFSET)
-#define CRF_INIT_QP ((int)param->rc.rfConstant) + QP_BD_OFFSET
+#define ABR_INIT_QP_MIN (24)
+#define ABR_INIT_QP_MAX (40)
+#define CRF_INIT_QP (int)param->rc.rfConstant
for (int i = 0; i < 3; i++)
lastQScaleFor[i] = x265_qp2qScale(param->rc.rateControlMode == X265_RC_CRF ? CRF_INIT_QP : ABR_INIT_QP_MIN);
More information about the x265-devel
mailing list