[x265] [PATCH] vbv: log frame-average QPs for VBV; even when AQ is disabled
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Tue Apr 8 17:03:54 CEST 2014
# HG changeset patch
# User Aarthi Thirumalai
# Date 1396969086 -19800
# Tue Apr 08 20:28:06 2014 +0530
# Node ID cac0dcd5a5c2470194d58057d9decd38da3e4405
# Parent b5caca9954f36fc8e1cfb9e25f96288bf3aa18e2
vbv: log frame-average QPs for VBV; even when AQ is disabled.
diff -r b5caca9954f3 -r cac0dcd5a5c2 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Tue Apr 08 16:13:11 2014 +0530
+++ b/source/encoder/ratecontrol.cpp Tue Apr 08 20:28:06 2014 +0530
@@ -1027,6 +1027,8 @@
pic->m_avgQpRc /= (pic->getFrameHeightInCU() * pic->getFrameWidthInCU());
rce->qpaRc = pic->m_avgQpRc;
+ // copy avg RC qp to m_avgQpAq. To print out the correct qp when aq/cutree is disabled.
+ pic->m_avgQpAq = pic->m_avgQpRc;
}
if (pic->m_qpaAq)
More information about the x265-devel
mailing list