[x265] [PATCH 1 of 2] rc: correctly update the intra row predictors for B frames
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Thu Nov 12 10:15:57 CET 2015
# HG changeset patch
# User Aarthi Thirumalai
# Date 1447239250 -19800
# Wed Nov 11 16:24:10 2015 +0530
# Node ID ca5137a54613304a6351a31c022806686898a52a
# Parent 45ea73c63c12c66e5e5e777e80853c8b3cadf101
rc: correctly update the intra row predictors for B frames
diff -r 45ea73c63c12 -r ca5137a54613 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Fri Nov 06 11:55:27 2015 +0530
+++ b/source/encoder/ratecontrol.cpp Wed Nov 11 16:24:10 2015 +0530
@@ -1969,7 +1969,7 @@
}
rowSatdCost >>= X265_DEPTH - 8;
updatePredictor(rce->rowPred[0], qScaleVbv, (double)rowSatdCost, encodedBits);
- if (curEncData.m_slice->m_sliceType == P_SLICE)
+ if (curEncData.m_slice->m_sliceType != I_SLICE)
{
Frame* refFrame = curEncData.m_slice->m_refFrameList[0][0];
if (qpVbv < refFrame->m_encData->m_rowStat[row].diagQp)
More information about the x265-devel
mailing list