﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
45	Console output error of nQP when LCU level rate control is enabled	FangliangSong		"When encoding, nQP and QP is outputed in the console. nQP means the nearest QP to the step size (JCTVC-G382), and have different value with QP only when the option AdaptiveQpSelection(-aqps) is enabled. However, when LCU level rate control is enabled, nQP is different from QP for every frame, including I frames.

For current HM software, when LCU level rate control is enabled, the output value of nQP is the QP of last LCU in current frame. The QP of last LCU in current frame should not be assigned to TComSlice::m_iSliceQpBase. 

The following code in the function body of TEncSlice::compressSlice should be removed:

{{{
#if ADAPTIVE_QP_SELECTION
      pCtu->getSlice()->setSliceQpBase( estQP );
#endif
}}}

After removing these code, all of output information in console remain the same except nQP value in RA and LD cases.
"	defect	closed	minor	HM-16.6-JEM-5.1	JEM	HM-16.6-JEM-5.0	fixed		ksuehring XiangLi jvet@…
