[x265] [PATCH] rc:bug fix-store average Qp as decided by AQ only if aq is enabled
santhoshini at multicorewareinc.com
santhoshini at multicorewareinc.com
Wed Feb 26 13:36:40 CET 2014
# HG changeset patch
# User Santhoshini Sekar <santhoshini at multicorewareinc.com>
# Date 1393417865 -19800
# Wed Feb 26 18:01:05 2014 +0530
# Node ID f4e74db2286d9d294dea389372eb42dfa69f683a
# Parent 46207f6f5c8c7a85290c26467345f143e73a0bd8
rc:bug fix-store average Qp as decided by AQ only if aq is enabled
diff -r 46207f6f5c8c -r f4e74db2286d source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp Wed Feb 26 00:43:46 2014 -0600
+++ b/source/encoder/frameencoder.cpp Wed Feb 26 18:01:05 2014 +0530
@@ -1077,7 +1077,8 @@
qp = X265_MIN(qp, MAX_QP);
cu->setQP(0, char(qp));
cu->m_baseQp = qpBase;
- m_pic->m_qpaAq[row] += qp;
+ if (m_cfg->param.rc.aqMode)
+ m_pic->m_qpaAq[row] += qp;
}
codeRow.processCU(cu, m_pic->getSlice(), bufSbac, m_cfg->param.bEnableWavefront && col == 1);
if (isVbv)
More information about the x265-devel
mailing list