Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#45 closed defect (fixed)

Console output error of nQP when LCU level rate control is enabled

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 (last modified by ksuehring)

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.

Change history (3)

comment:1 Changed 4 years ago by ksuehring

  • Description modified (diff)

comment:2 Changed 4 years ago by XiangLi

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r457.

comment:3 Changed 4 years ago by XiangLi

  • Milestone set to HM-16.6-JEM-5.1
Note: See TracTickets for help on using tickets.