[x265] [PATCH] rc: store qp in TComPic::avgQpRc in CQP

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Tue Feb 25 07:20:31 CET 2014


# HG changeset patch
# User Aarthi Thirumalai
# Date 1393309215 -19800
#      Tue Feb 25 11:50:15 2014 +0530
# Node ID 2788eee02b24035dd315f9879592ff8ae9c5d041
# Parent  6214d2609ea806408ed18d92f5f95acad8c8c5d1
rc: store qp in TComPic::avgQpRc in CQP.

diff -r 6214d2609ea8 -r 2788eee02b24 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp	Mon Feb 24 22:45:15 2014 -0600
+++ b/source/encoder/ratecontrol.cpp	Tue Feb 25 11:50:15 2014 +0530
@@ -427,6 +427,7 @@
             qp = (qpConstant[B_SLICE] + qpConstant[P_SLICE]) / 2;
         else
             qp = qpConstant[sliceType];
+        pic->m_avgQpRc = qp;
     }
     if (sliceType != B_SLICE)
     {


More information about the x265-devel mailing list