[x265] [PATCH] revert unintended comments in 638a3af86fa1

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Wed Mar 18 03:39:26 CET 2015


# HG changeset patch
# User Aarthi Thirumalai
# Date 1426646352 -19800
#      Wed Mar 18 08:09:12 2015 +0530
# Node ID c92fd0798e71e72c18deef967fb7a95960d9bc27
# Parent  a593af2995788a3c6762f51d56c5f7d32e3ebce9
revert unintended comments in 638a3af86fa1

diff -r a593af299578 -r c92fd0798e71 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp	Tue Mar 17 16:46:48 2015 -0500
+++ b/source/encoder/ratecontrol.cpp	Wed Mar 18 08:09:12 2015 +0530
@@ -1386,6 +1386,8 @@
                 qScale = clipQscale(curFrame, rce, qScale);
                 /* clip qp to permissible range after vbv-lookahead estimation to avoid possible 
                  * mispredictions by initial frame size predictors */
+                if (m_pred[m_sliceType].count == 1)
+                    qScale = x265_clip3(lmin, lmax, qScale);
                 m_lastQScaleFor[m_sliceType] = qScale;
                 rce->frameSizePlanned = predictSize(&m_pred[m_sliceType], qScale, (double)m_currentSatd);
             }


More information about the x265-devel mailing list