[x265] [PATCH] param: added rc states for setting Aq mode and Aq strength

Aarthi Thirumalai aarthi at multicorewareinc.com
Fri Oct 11 13:08:19 CEST 2013


# HG changeset patch
# User Aarthi Thirumalai
# Date 1381489679 -19800
#      Fri Oct 11 16:37:59 2013 +0530
# Node ID 94f1681d7841afeb2d66150a434d9d12a779ed6a
# Parent  df60f7175473db9723987f9f4f8f85b2fe3d7587
param: added rc states for setting Aq mode and Aq strength

diff -r df60f7175473 -r 94f1681d7841 source/common/common.cpp
--- a/source/common/common.cpp	Fri Oct 11 16:31:21 2013 +0530
+++ b/source/common/common.cpp	Fri Oct 11 16:37:59 2013 +0530
@@ -169,6 +169,8 @@
     param->rc.qpStep = 4;
     param->rc.rateControlMode = X265_RC_CQP;
     param->rc.qp = 32;
+    param->rc.aqMode = 0;
+    param->rc.aqStrength = 1.0;
 
     /* Quality Measurement Metrics */
     param->bEnablePsnr = 1;
diff -r df60f7175473 -r 94f1681d7841 source/x265.h
--- a/source/x265.h	Fri Oct 11 16:31:21 2013 +0530
+++ b/source/x265.h	Fri Oct 11 16:37:59 2013 +0530
@@ -295,6 +295,8 @@
         int       rateControlMode;             ///<Values corresponding to RcMethod 
         int       qp;                          ///< Constant QP base value
         int       rateFactor;                  ///< Constant rate factor (CRF)
+        int       aqMode;                      ///< Adaptive QP (AQ)
+        double    aqStrength;
     } rc;
 }
 x265_param_t;


More information about the x265-devel mailing list