[x265] [PATCH] bugfix: disable aq only when both aq-strength and cu-tree is off

santhoshini at multicorewareinc.com santhoshini at multicorewareinc.com
Mon Aug 4 08:25:29 CEST 2014


# HG changeset patch
# User Santhoshini Sekar <santhoshini at multicorewareinc.com>
# Date 1407133482 -19800
#      Mon Aug 04 11:54:42 2014 +0530
# Node ID cbfc23468ad499bfcd31e84ff29b24d780e4ebfb
# Parent  774dc8b6a53507ed788aee1a4662321986502330
bugfix: disable aq only when both aq-strength and cu-tree is off

AQ can be on when cutree is on even if aq-strength is 0.Do not force aq to be
off whenever aq strength is 0.

diff -r 774dc8b6a535 -r cbfc23468ad4 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Sun Aug 03 18:09:12 2014 -0500
+++ b/source/encoder/encoder.cpp	Mon Aug 04 11:54:42 2014 +0530
@@ -1330,9 +1330,6 @@
     if (p->rc.aqMode == X265_AQ_NONE && p->rc.cuTree == 0)
         p->rc.aqStrength = 0;
 
-    if (p->rc.aqStrength == 0)
-        p->rc.aqMode = 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