[x265] [PATCH] rc: enable row diagonal vbv for crf multi-pass

Divya Manivannan divya at multicorewareinc.com
Wed Jun 22 15:32:08 CEST 2016


# HG changeset patch
# User Divya Manivannan <divya at multicorewareinc.com>
# Date 1466601607 -19800
#      Wed Jun 22 18:50:07 2016 +0530
# Node ID 636647491b90b66b7b6e923b14c500135231238f
# Parent  626fcbac7ffba723dabd3a9f0507c4c80f3e7bc9
rc: enable row diagonal vbv for crf multi-pass

diff -r 626fcbac7ffb -r 636647491b90 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp	Thu Jun 16 12:57:38 2016 +0530
+++ b/source/encoder/ratecontrol.cpp	Wed Jun 22 18:50:07 2016 +0530
@@ -2183,8 +2183,6 @@
 
 int RateControl::rowDiagonalVbvRateControl(Frame* curFrame, uint32_t row, RateControlEntry* rce, double& qpVbv)
 {
-    if (m_param->rc.bStatRead && m_param->rc.rateControlMode == X265_RC_CRF)
-        return 0;
     FrameData& curEncData = *curFrame->m_encData;
     double qScaleVbv = x265_qp2qScale(qpVbv);
     uint64_t rowSatdCost = curEncData.m_rowStat[row].diagSatd;


More information about the x265-devel mailing list