Opened 7 years ago
Last modified 7 years ago
#45 closed defect
Console output error of nQP when LCU level rate control is enabled — at Initial Version
Reported by: | FangliangSong | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | HM-16.6-JEM-5.1 |
Component: | JEM | Version: | HM-16.6-JEM-5.0 |
Keywords: | Cc: | ksuehring, XiangLi, jvet@… |
Description
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.