﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
315	Alignment of WD description and software about QP wrapping	kchono		"HM software misses the QP wrapping defined in WD text as follows: 
 QPY = ( ( ( QPY,PREV + cu_qp_delta +52+ 2*QpBdOffsetY )%( 52 + QpBdOffsetY ) ) - QpBdOffsetY                  (7‑21)

In CE4 common test settings, HM software does not send cu_qp_delta values that need the QP wrapping. So this fix does not change BD-rate results. In order to align WD description and software, it is recommended to fix this issue when HM-6.0 is released. Attachment is a patch to HM-5.1-dev-cleanup.

#define FIX_CU_DQP_WRAP                     1      ///< Fix wrapping of cu_qp_delta

#if FIX_CU_DQP_WRAP
#define RESET_QP_OFFSET                     1      ///< This macro shall be set equal to 0 or removed when JCTVC-H0400 is integrated.
#endif

There is another issue that the QpBdOffsetY may not be used appropriately in HM software. (This issue is also related to ticket #313.) It is recommended that the RESET_QP_OFFSET macro is also integrated into HM-6.0 in order to avoid its impact on the QP wrapping fix. Then RESET_QP_OFFSET macro should be removed when JCTVC-H0400 is integrated. "	defect	closed	minor	HM-6.0	HM	HM-5.1	fixed	QP wrapping	fbossen ksuehring davidf jct-vc@…
