[x265] [PATCH] frameencoder: set QP to all parts of CU. No logic change

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Thu Mar 13 01:31:43 CET 2014


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1394670652 -19800
# Node ID edf2233418d93831e72a54d127877c77fca7466f
# Parent  4fdcea7426f110e916fbbf36729c963bc4a927b1
frameencoder: set QP to all parts of CU. No logic change.

diff -r 4fdcea7426f1 -r edf2233418d9 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Wed Mar 12 17:11:44 2014 +0530
+++ b/source/encoder/frameencoder.cpp	Thu Mar 13 06:00:52 2014 +0530
@@ -1076,7 +1076,7 @@
             int qp = calcQpForCu(m_pic, cuAddr, qpBase);
             setLambda(qp, row);
             qp = X265_MIN(qp, MAX_QP);
-            cu->setQP(0, char(qp));
+            cu->setQPSubParts(char(qp), 0, 0);
             cu->m_baseQp = qpBase;
             if (m_cfg->param->rc.aqMode)
                 m_pic->m_qpaAq[row] += qp;


More information about the x265-devel mailing list