[x265] [PATCH 2 of 2] slicetype: avoid redundant call. intraSatd costs are updated in frameEncoder already

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Tue May 6 13:45:32 CEST 2014


# HG changeset patch
# User Aarthi Thirumalai
# Date 1399376671 -19800
#      Tue May 06 17:14:31 2014 +0530
# Node ID 8fd20757e79aa44f44f4ad2c229ceeaea4d6457c
# Parent  a3a234d72841f94f605c6075a5531e93f06eaeb6
slicetype: avoid redundant call. intraSatd costs are updated in frameEncoder already

diff -r a3a234d72841 -r 8fd20757e79a source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp	Tue May 06 16:50:33 2014 +0530
+++ b/source/encoder/slicetype.cpp	Tue May 06 17:14:31 2014 +0530
@@ -242,10 +242,6 @@
     {
         /* update row satds based on cutree offsets */
         pic->m_lowres.satdCost = frameCostRecalculate(frames, p0, p1, b);
-
-        /* update intra row satds on P or B frames */
-        if (b && param->rc.vbvBufferSize)
-            frameCostRecalculate(frames, b, b, b);
     }
     else if (param->rc.aqMode)
         pic->m_lowres.satdCost = pic->m_lowres.costEstAq[b - p0][p1 - b];


More information about the x265-devel mailing list