[x265] [PATCH] param: set aq strength to 0 in CQP

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Wed Apr 2 15:21:23 CEST 2014


# HG changeset patch
# User Aarthi Thirumalai
# Date 1396444865 -19800
#      Wed Apr 02 18:51:05 2014 +0530
# Node ID 7c1775d63ffde829e7b9005ad8469c7720bf0d6f
# Parent  03bad90e94adce6fb89c6d5edb86919a1e783402
param: set aq strength to 0 in CQP

diff -r 03bad90e94ad -r 7c1775d63ffd source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Wed Apr 02 06:51:35 2014 +0530
+++ b/source/encoder/encoder.cpp	Wed Apr 02 18:51:05 2014 +0530
@@ -1415,6 +1415,7 @@
         p->rc.aqMode = X265_AQ_NONE;
         p->rc.bitrate = 0;
         p->rc.cuTree = 0;
+        p->rc.aqStrength = 0;
     }
 
     if (p->rc.aqMode == 0 && p->rc.cuTree)
@@ -1434,6 +1435,11 @@
         p->rc.aqMode = X265_AQ_NONE;
     }
 
+    if (p->rc.aqMode == X265_AQ_NONE && p->rc.cuTree == 0)
+    {
+        p->rc.aqStrength = 0;
+    }
+
     if (p->internalCsp != X265_CSP_I420)
     {
         x265_log(p, X265_LOG_WARNING, "!! HEVC Range Extension specifications are not finalized !!\n");


More information about the x265-devel mailing list