[x265] [PATCH] vbv:bugfix-calculate intraCuCostPerRow for vbv

santhoshini at multicorewareinc.com santhoshini at multicorewareinc.com
Fri Mar 14 09:49:30 CET 2014


# HG changeset patch
# User Santhoshini Sekar <santhoshini at multicorewareinc.com>
# Date 1394786697 -19800
#      Fri Mar 14 14:14:57 2014 +0530
# Node ID c92f5d39ff246c1c9440cb0ccaa731e25586576a
# Parent  c24eda418b5c4cc899592ea2999128bdfa844b9c
vbv:bugfix-calculate  intraCuCostPerRow for vbv

diff -r c24eda418b5c -r c92f5d39ff24 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Tue Mar 11 18:27:26 2014 -0500
+++ b/source/encoder/frameencoder.cpp	Fri Mar 14 14:14:57 2014 +0530
@@ -1170,6 +1170,7 @@
             if (m_cfg->param->rc.vbvBufferSize > 0 && m_cfg->param->rc.vbvMaxBitrate > 0)
             {
                 m_pic->m_cuCostsForVbv[cuAddr] += m_pic->m_lowres.lowresCostForRc[idx];
+                m_pic->m_intraCuCostsForVbv[cuAddr] += m_pic->m_lowres.intraCost[idx];
             }
             cnt++;
         }


More information about the x265-devel mailing list