﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
595	14-bit offset issues	pandrivon		"Offset issues w.r.t. 14-bit:

in HM7.0, TComWeightPrediction::addWeightBi()and 

TComWeightPrediction::addWeightUni()appearing three times (luma and chroma) for each.
{
…
  Int shiftNum = IF_INTERNAL_PREC - ( g_uiBitDepth + g_uiBitIncrement );
  Int shift   = wp0[0].shift + shiftNum; '''may be null'''
  Int round   = (1<<(shift-1)) * bRound; '''beget negative shift here!'
…
}
and
in HM7.0 TComInterpolationFilter::filterCopy()
{
…
Int shift = IF_INTERNAL_PREC - ( g_uiBitDepth + g_uiBitIncrement ); '''may be null'''
Short offset = IF_INTERNAL_OFFS + (1 << (shift - 1)); '''beget negative shift here!'
…
}

Lightweight solution is to set ''round'' and ''offset'' to 0 when bit-depth = 14...
Same issue in Draft 7 d4 (Cf. [http://hevc.kw.bbc.co.uk/trac/ticket/594 Ticket #594])
Any thoughts?
"	defect	closed	major		HM	HM-7.0	fixed		fbossen ksuehring davidf jct-vc@…
